Lines Matching defs:priv
53 #define usbhs_platform_call(priv, func, args...)\ argument
61 u16 usbhs_read(struct usbhs_priv *priv, u32 reg) in usbhs_read()
66 void usbhs_write(struct usbhs_priv *priv, u32 reg, u16 data) in usbhs_write()
71 void usbhs_bset(struct usbhs_priv *priv, u32 reg, u16 mask, u16 data) in usbhs_bset()
94 static void usbhs_sys_clock_ctrl(struct usbhs_priv *priv, int enable) in usbhs_sys_clock_ctrl()
99 void usbhs_sys_host_ctrl(struct usbhs_priv *priv, int enable) in usbhs_sys_host_ctrl()
113 void usbhs_sys_function_ctrl(struct usbhs_priv *priv, int enable) in usbhs_sys_function_ctrl()
135 void usbhs_sys_function_pullup(struct usbhs_priv *priv, int enable) in usbhs_sys_function_pullup()
140 void usbhs_sys_set_test_mode(struct usbhs_priv *priv, u16 mode) in usbhs_sys_set_test_mode()
148 int usbhs_frame_get_num(struct usbhs_priv *priv) in usbhs_frame_get_num()
156 void usbhs_usbreq_get_val(struct usbhs_priv *priv, struct usb_ctrlrequest *req) in usbhs_usbreq_get_val()
169 void usbhs_usbreq_set_val(struct usbhs_priv *priv, struct usb_ctrlrequest *req) in usbhs_usbreq_set_val()
182 void usbhs_bus_send_sof_enable(struct usbhs_priv *priv) in usbhs_bus_send_sof_enable()
194 void usbhs_bus_send_reset(struct usbhs_priv *priv) in usbhs_bus_send_reset()
199 int usbhs_bus_get_speed(struct usbhs_priv *priv) in usbhs_bus_get_speed()
215 int usbhs_vbus_ctrl(struct usbhs_priv *priv, int enable) in usbhs_vbus_ctrl()
222 static void usbhsc_bus_init(struct usbhs_priv *priv) in usbhsc_bus_init()
232 int usbhs_set_device_config(struct usbhs_priv *priv, int devnum, in usbhs_set_device_config()
274 void usbhs_xxxsts_clear(struct usbhs_priv *priv, u16 sts_reg, u16 bit) in usbhs_xxxsts_clear()
284 static void usbhsc_set_buswait(struct usbhs_priv *priv) in usbhsc_set_buswait()
293 static bool usbhsc_is_multi_clks(struct usbhs_priv *priv) in usbhsc_is_multi_clks()
298 static int usbhsc_clk_get(struct device *dev, struct usbhs_priv *priv) in usbhsc_clk_get()
321 static void usbhsc_clk_put(struct usbhs_priv *priv) in usbhsc_clk_put()
332 static int usbhsc_clk_prepare_enable(struct usbhs_priv *priv) in usbhsc_clk_prepare_enable()
351 static void usbhsc_clk_disable_unprepare(struct usbhs_priv *priv) in usbhsc_clk_disable_unprepare()
403 static void usbhsc_power_ctrl(struct usbhs_priv *priv, int enable) in usbhsc_power_ctrl()
439 static void usbhsc_hotplug(struct usbhs_priv *priv) in usbhsc_hotplug()
511 struct usbhs_priv *priv = container_of(work, in usbhsc_notify_hotplug() local
519 struct usbhs_priv *priv = usbhs_pdev_to_priv(pdev); in usbhsc_schedule_notify_hotplug() local
591 struct usbhs_priv *priv; in usbhs_probe() local
767 struct usbhs_priv *priv = usbhs_pdev_to_priv(pdev); in usbhs_remove() local
787 struct usbhs_priv *priv = dev_get_drvdata(dev); in usbhsc_suspend() local
803 struct usbhs_priv *priv = dev_get_drvdata(dev); in usbhsc_resume() local