Lines Matching defs:priv
67 #define usbhs_platform_call(priv, func, args...)\ argument
75 u16 usbhs_read(struct usbhs_priv *priv, u32 reg) in usbhs_read()
80 void usbhs_write(struct usbhs_priv *priv, u32 reg, u16 data) in usbhs_write()
85 void usbhs_bset(struct usbhs_priv *priv, u32 reg, u16 mask, u16 data) in usbhs_bset()
103 static void usbhs_sys_clock_ctrl(struct usbhs_priv *priv, int enable) in usbhs_sys_clock_ctrl()
108 void usbhs_sys_host_ctrl(struct usbhs_priv *priv, int enable) in usbhs_sys_host_ctrl()
126 void usbhs_sys_function_ctrl(struct usbhs_priv *priv, int enable) in usbhs_sys_function_ctrl()
142 void usbhs_sys_function_pullup(struct usbhs_priv *priv, int enable) in usbhs_sys_function_pullup()
147 void usbhs_sys_set_test_mode(struct usbhs_priv *priv, u16 mode) in usbhs_sys_set_test_mode()
155 int usbhs_frame_get_num(struct usbhs_priv *priv) in usbhs_frame_get_num()
163 void usbhs_usbreq_get_val(struct usbhs_priv *priv, struct usb_ctrlrequest *req) in usbhs_usbreq_get_val()
176 void usbhs_usbreq_set_val(struct usbhs_priv *priv, struct usb_ctrlrequest *req) in usbhs_usbreq_set_val()
189 void usbhs_bus_send_sof_enable(struct usbhs_priv *priv) in usbhs_bus_send_sof_enable()
201 void usbhs_bus_send_reset(struct usbhs_priv *priv) in usbhs_bus_send_reset()
206 int usbhs_bus_get_speed(struct usbhs_priv *priv) in usbhs_bus_get_speed()
222 int usbhs_vbus_ctrl(struct usbhs_priv *priv, int enable) in usbhs_vbus_ctrl()
229 static void usbhsc_bus_init(struct usbhs_priv *priv) in usbhsc_bus_init()
239 int usbhs_set_device_config(struct usbhs_priv *priv, int devnum, in usbhs_set_device_config()
281 void usbhs_xxxsts_clear(struct usbhs_priv *priv, u16 sts_reg, u16 bit) in usbhs_xxxsts_clear()
291 static void usbhsc_set_buswait(struct usbhs_priv *priv) in usbhsc_set_buswait()
341 static void usbhsc_power_ctrl(struct usbhs_priv *priv, int enable) in usbhsc_power_ctrl()
370 static void usbhsc_hotplug(struct usbhs_priv *priv) in usbhsc_hotplug()
442 struct usbhs_priv *priv = container_of(work, in usbhsc_notify_hotplug() local
450 struct usbhs_priv *priv = usbhs_pdev_to_priv(pdev); in usbhsc_drvcllbck_notify_hotplug() local
516 struct usbhs_priv *priv; in usbhs_probe() local
691 struct usbhs_priv *priv = usbhs_pdev_to_priv(pdev); in usbhs_remove() local
715 struct usbhs_priv *priv = dev_get_drvdata(dev); in usbhsc_suspend() local
731 struct usbhs_priv *priv = dev_get_drvdata(dev); in usbhsc_resume() local