Home
last modified time | relevance | path

Searched refs:usbhs_priv (Results 1 – 11 of 11) sorted by relevance

/linux-4.1.27/drivers/usb/renesas_usbhs/
Dmod.h41 int (*start)(struct usbhs_priv *priv);
42 int (*stop)(struct usbhs_priv *priv);
49 int (*irq_dev_state)(struct usbhs_priv *priv,
53 int (*irq_ctrl_stage)(struct usbhs_priv *priv,
57 int (*irq_empty)(struct usbhs_priv *priv,
62 int (*irq_ready)(struct usbhs_priv *priv,
71 int (*irq_attch)(struct usbhs_priv *priv,
75 int (*irq_dtch)(struct usbhs_priv *priv,
79 int (*irq_sign)(struct usbhs_priv *priv,
83 int (*irq_sack)(struct usbhs_priv *priv,
[all …]
Dcommon.h24 struct usbhs_priv;
248 struct usbhs_priv { struct
288 u16 usbhs_read(struct usbhs_priv *priv, u32 reg); argument
289 void usbhs_write(struct usbhs_priv *priv, u32 reg, u16 data);
290 void usbhs_bset(struct usbhs_priv *priv, u32 reg, u16 mask, u16 data);
298 void usbhs_sys_host_ctrl(struct usbhs_priv *priv, int enable);
299 void usbhs_sys_function_ctrl(struct usbhs_priv *priv, int enable);
300 void usbhs_sys_function_pullup(struct usbhs_priv *priv, int enable);
301 void usbhs_sys_set_test_mode(struct usbhs_priv *priv, u16 mode);
306 void usbhs_usbreq_get_val(struct usbhs_priv *priv, struct usb_ctrlrequest *req);
[all …]
Dcommon.c75 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()
95 struct usbhs_priv *usbhs_pdev_to_priv(struct platform_device *pdev) in usbhs_pdev_to_priv()
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()
[all …]
Dmod.c43 struct usbhs_priv *priv = usbhs_pdev_to_priv(pdev); in usbhsm_autonomy_get_vbus()
48 static int usbhsm_autonomy_irq_vbus(struct usbhs_priv *priv, in usbhsm_autonomy_irq_vbus()
58 void usbhs_mod_autonomy_mode(struct usbhs_priv *priv) in usbhs_mod_autonomy_mode()
75 void usbhs_mod_register(struct usbhs_priv *priv, struct usbhs_mod *mod, int id) in usbhs_mod_register()
83 struct usbhs_mod *usbhs_mod_get(struct usbhs_priv *priv, int id) in usbhs_mod_get()
98 int usbhs_mod_is_host(struct usbhs_priv *priv) in usbhs_mod_is_host()
109 struct usbhs_mod *usbhs_mod_get_current(struct usbhs_priv *priv) in usbhs_mod_get_current()
116 int usbhs_mod_change(struct usbhs_priv *priv, int id) in usbhs_mod_change()
137 int usbhs_mod_probe(struct usbhs_priv *priv) in usbhs_mod_probe()
171 void usbhs_mod_remove(struct usbhs_priv *priv) in usbhs_mod_remove()
[all …]
Dmod_gadget.c64 int (*device)(struct usbhs_priv *priv, struct usbhsg_uep *uep,
66 int (*interface)(struct usbhs_priv *priv, struct usbhsg_uep *uep,
68 int (*endpoint)(struct usbhs_priv *priv, struct usbhsg_uep *uep,
129 struct usbhs_priv *priv = usbhsg_gpriv_to_priv(gpriv); in __usbhsg_queue_pop()
144 struct usbhs_priv *priv = usbhsg_gpriv_to_priv(gpriv); in usbhsg_queue_pop()
152 static void usbhsg_queue_done(struct usbhs_priv *priv, struct usbhs_pkt *pkt) in usbhsg_queue_done()
221 static int usbhsg_recip_handler_std_control_done(struct usbhs_priv *priv, in usbhsg_recip_handler_std_control_done()
234 static int usbhsg_recip_handler_std_clear_endpoint(struct usbhs_priv *priv, in usbhsg_recip_handler_std_clear_endpoint()
264 static int usbhsg_recip_handler_std_set_device(struct usbhs_priv *priv, in usbhsg_recip_handler_std_set_device()
282 static int usbhsg_recip_handler_std_set_endpoint(struct usbhs_priv *priv, in usbhsg_recip_handler_std_set_endpoint()
[all …]
Dfifo.h57 void (*done)(struct usbhs_priv *priv,
79 int usbhs_fifo_probe(struct usbhs_priv *priv);
80 void usbhs_fifo_remove(struct usbhs_priv *priv);
81 void usbhs_fifo_init(struct usbhs_priv *priv);
82 void usbhs_fifo_quit(struct usbhs_priv *priv);
103 void (*done)(struct usbhs_priv *priv,
Dfifo.c41 struct usbhs_priv *priv = usbhs_pipe_to_priv(pkt->pipe); in usbhsf_null_handle()
55 void (*done)(struct usbhs_priv *priv, in usbhs_pkt_push()
59 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in usbhs_pkt_push()
120 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in usbhs_pkt_pop()
163 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in usbhsf_pkt_handler()
223 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); \
263 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in usbhsf_send_terminator()
268 static int usbhsf_fifo_barrier(struct usbhs_priv *priv, in usbhsf_fifo_barrier()
287 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in usbhsf_fifo_clear()
295 static int usbhsf_fifo_rcv_len(struct usbhs_priv *priv, in usbhsf_fifo_rcv_len()
[all …]
Dpipe.h29 struct usbhs_priv *priv;
78 *usbhs_pipe_malloc(struct usbhs_priv *priv, int endpoint_type, int dir_in);
80 int usbhs_pipe_probe(struct usbhs_priv *priv);
81 void usbhs_pipe_remove(struct usbhs_priv *priv);
87 void usbhs_pipe_init(struct usbhs_priv *priv,
118 struct usbhs_pipe *usbhs_dcp_malloc(struct usbhs_priv *priv);
Dpipe.c52 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in usbhsp_pipectrl_set()
63 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in usbhsp_pipectrl_get()
79 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in __usbhsp_pipe_xxx_set()
90 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in __usbhsp_pipe_xxx_get()
116 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in usbhsp_pipe_trn_set()
152 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in usbhsp_pipe_tre_set()
211 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in usbhsp_pipe_select()
233 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in usbhsp_pipe_barrier()
475 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in usbhsp_setup_pipebuff()
553 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in usbhs_pipe_config_update()
[all …]
Dmod_host.c169 struct usbhs_priv *priv = usbhsh_hpriv_to_priv(hpriv); in usbhsh_ureq_alloc()
260 struct usbhs_priv *priv = usbhsh_hpriv_to_priv(hpriv); in usbhsh_pipe_attach()
340 struct usbhs_priv *priv = usbhsh_hpriv_to_priv(hpriv); in usbhsh_pipe_detach()
382 struct usbhs_priv *priv = usbhsh_hpriv_to_priv(hpriv); in usbhsh_endpoint_attach()
423 struct usbhs_priv *priv = usbhsh_hpriv_to_priv(hpriv); in usbhsh_endpoint_detach()
506 struct usbhs_priv *priv = usbhsh_hpriv_to_priv(hpriv); in usbhsh_device_attach()
604 struct usbhs_priv *priv = usbhsh_hpriv_to_priv(hpriv); in usbhsh_device_detach()
644 static void usbhsh_queue_done(struct usbhs_priv *priv, struct usbhs_pkt *pkt) in usbhsh_queue_done()
720 static void usbhsh_queue_force_pop(struct usbhs_priv *priv, in usbhsh_queue_force_pop()
739 static void usbhsh_queue_force_pop_all(struct usbhs_priv *priv) in usbhsh_queue_force_pop_all()
[all …]
Drcar2.c23 struct usbhs_priv *priv = usbhs_pdev_to_priv(pdev); in usbhs_rcar2_hardware_init()
50 struct usbhs_priv *priv = usbhs_pdev_to_priv(pdev); in usbhs_rcar2_hardware_exit()
68 struct usbhs_priv *priv = usbhs_pdev_to_priv(pdev); in usbhs_rcar2_power_ctrl()