Lines Matching refs:usbhs_priv

68 u16 usbhs_read(struct usbhs_priv *priv, u32 reg)  in usbhs_read()
73 void usbhs_write(struct usbhs_priv *priv, u32 reg, u16 data) in usbhs_write()
78 void usbhs_bset(struct usbhs_priv *priv, u32 reg, u16 mask, u16 data) in usbhs_bset()
88 struct usbhs_priv *usbhs_pdev_to_priv(struct platform_device *pdev) in usbhs_pdev_to_priv()
96 static void usbhs_sys_clock_ctrl(struct usbhs_priv *priv, int enable) in usbhs_sys_clock_ctrl()
101 void usbhs_sys_host_ctrl(struct usbhs_priv *priv, int enable) in usbhs_sys_host_ctrl()
119 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()
334 static void usbhsc_power_ctrl(struct usbhs_priv *priv, int enable) in usbhsc_power_ctrl()
363 static void usbhsc_hotplug(struct usbhs_priv *priv) in usbhsc_hotplug()
435 struct usbhs_priv *priv = container_of(work, in usbhsc_notify_hotplug()
436 struct usbhs_priv, in usbhsc_notify_hotplug()
443 struct usbhs_priv *priv = usbhs_pdev_to_priv(pdev); in usbhsc_drvcllbck_notify_hotplug()
540 struct usbhs_priv *priv; in usbhs_probe()
727 struct usbhs_priv *priv = usbhs_pdev_to_priv(pdev); in usbhs_remove()
751 struct usbhs_priv *priv = dev_get_drvdata(dev); in usbhsc_suspend()
767 struct usbhs_priv *priv = dev_get_drvdata(dev); in usbhsc_resume()