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()
140 void usbhs_sys_function_pullup(struct usbhs_priv *priv, int enable) in usbhs_sys_function_pullup()
145 void usbhs_sys_set_test_mode(struct usbhs_priv *priv, u16 mode) in usbhs_sys_set_test_mode()
153 int usbhs_frame_get_num(struct usbhs_priv *priv) in usbhs_frame_get_num()
161 void usbhs_usbreq_get_val(struct usbhs_priv *priv, struct usb_ctrlrequest *req) in usbhs_usbreq_get_val()
174 void usbhs_usbreq_set_val(struct usbhs_priv *priv, struct usb_ctrlrequest *req) in usbhs_usbreq_set_val()
187 void usbhs_bus_send_sof_enable(struct usbhs_priv *priv) in usbhs_bus_send_sof_enable()
199 void usbhs_bus_send_reset(struct usbhs_priv *priv) in usbhs_bus_send_reset()
204 int usbhs_bus_get_speed(struct usbhs_priv *priv) in usbhs_bus_get_speed()
220 int usbhs_vbus_ctrl(struct usbhs_priv *priv, int enable) in usbhs_vbus_ctrl()
227 static void usbhsc_bus_init(struct usbhs_priv *priv) in usbhsc_bus_init()
237 int usbhs_set_device_config(struct usbhs_priv *priv, int devnum, in usbhs_set_device_config()
279 static void usbhsc_set_buswait(struct usbhs_priv *priv) in usbhsc_set_buswait()
329 static void usbhsc_power_ctrl(struct usbhs_priv *priv, int enable) in usbhsc_power_ctrl()
358 static void usbhsc_hotplug(struct usbhs_priv *priv) in usbhsc_hotplug()
419 struct usbhs_priv *priv = container_of(work, in usbhsc_notify_hotplug() local
427 struct usbhs_priv *priv = usbhs_pdev_to_priv(pdev); in usbhsc_drvcllbck_notify_hotplug() local
484 struct usbhs_priv *priv; in usbhs_probe() local
659 struct usbhs_priv *priv = usbhs_pdev_to_priv(pdev); in usbhs_remove() local
683 struct usbhs_priv *priv = dev_get_drvdata(dev); in usbhsc_suspend() local
699 struct usbhs_priv *priv = dev_get_drvdata(dev); in usbhsc_resume() local