Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/usb/renesas_usbhs/
Dmod.h32 int (*start)(struct usbhs_priv *priv);
33 int (*stop)(struct usbhs_priv *priv);
40 int (*irq_dev_state)(struct usbhs_priv *priv,
44 int (*irq_ctrl_stage)(struct usbhs_priv *priv,
48 int (*irq_empty)(struct usbhs_priv *priv,
53 int (*irq_ready)(struct usbhs_priv *priv,
62 int (*irq_attch)(struct usbhs_priv *priv,
66 int (*irq_dtch)(struct usbhs_priv *priv,
70 int (*irq_sign)(struct usbhs_priv *priv,
74 int (*irq_sack)(struct usbhs_priv *priv,
[all …]
Dcommon.h15 struct usbhs_priv;
245 struct usbhs_priv { struct
285 u16 usbhs_read(struct usbhs_priv *priv, u32 reg); argument
286 void usbhs_write(struct usbhs_priv *priv, u32 reg, u16 data);
287 void usbhs_bset(struct usbhs_priv *priv, u32 reg, u16 mask, u16 data);
295 void usbhs_sys_host_ctrl(struct usbhs_priv *priv, int enable);
296 void usbhs_sys_function_ctrl(struct usbhs_priv *priv, int enable);
297 void usbhs_sys_function_pullup(struct usbhs_priv *priv, int enable);
298 void usbhs_sys_set_test_mode(struct usbhs_priv *priv, u16 mode);
303 void usbhs_usbreq_get_val(struct usbhs_priv *priv, struct usb_ctrlrequest *req);
[all …]
Dcommon.c68 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()
[all …]
Drcar3.c38 static void usbhs_write32(struct usbhs_priv *priv, u32 reg, u32 data) in usbhs_write32()
43 static u32 usbhs_read32(struct usbhs_priv *priv, u32 reg) in usbhs_read32()
48 static void usbhs_rcar3_set_ugctrl2(struct usbhs_priv *priv, u32 val) in usbhs_rcar3_set_ugctrl2()
53 static void usbhs_rcar3_set_usbsel(struct usbhs_priv *priv, bool ehci) in usbhs_rcar3_set_usbsel()
64 struct usbhs_priv *priv = usbhs_pdev_to_priv(pdev); in usbhs_rcar3_power_ctrl()
83 struct usbhs_priv *priv = usbhs_pdev_to_priv(pdev); in usbhs_rcar3_power_and_pll_ctrl()
118 struct usbhs_priv *priv = container_of(nb, struct usbhs_priv, nb); in usbhs_rcar3_notifier()
Dmod.c34 struct usbhs_priv *priv = usbhs_pdev_to_priv(pdev); in usbhsm_autonomy_get_vbus()
39 static int usbhsm_autonomy_irq_vbus(struct usbhs_priv *priv, in usbhsm_autonomy_irq_vbus()
49 void usbhs_mod_autonomy_mode(struct usbhs_priv *priv) in usbhs_mod_autonomy_mode()
66 void usbhs_mod_register(struct usbhs_priv *priv, struct usbhs_mod *mod, int id) in usbhs_mod_register()
74 struct usbhs_mod *usbhs_mod_get(struct usbhs_priv *priv, int id) in usbhs_mod_get()
89 int usbhs_mod_is_host(struct usbhs_priv *priv) in usbhs_mod_is_host()
100 struct usbhs_mod *usbhs_mod_get_current(struct usbhs_priv *priv) in usbhs_mod_get_current()
107 int usbhs_mod_change(struct usbhs_priv *priv, int id) in usbhs_mod_change()
128 int usbhs_mod_probe(struct usbhs_priv *priv) in usbhs_mod_probe()
162 void usbhs_mod_remove(struct usbhs_priv *priv) in usbhs_mod_remove()
[all …]
Dmod_gadget.c59 int (*device)(struct usbhs_priv *priv, struct usbhsg_uep *uep,
61 int (*interface)(struct usbhs_priv *priv, struct usbhsg_uep *uep,
63 int (*endpoint)(struct usbhs_priv *priv, struct usbhsg_uep *uep,
124 struct usbhs_priv *priv = usbhsg_gpriv_to_priv(gpriv); in __usbhsg_queue_pop()
140 struct usbhs_priv *priv = usbhsg_gpriv_to_priv(gpriv); in usbhsg_queue_pop()
148 static void usbhsg_queue_done(struct usbhs_priv *priv, struct usbhs_pkt *pkt) in usbhsg_queue_done()
216 static int usbhsg_recip_handler_std_control_done(struct usbhs_priv *priv, in usbhsg_recip_handler_std_control_done()
229 static int usbhsg_recip_handler_std_clear_endpoint(struct usbhs_priv *priv, in usbhsg_recip_handler_std_clear_endpoint()
259 static int usbhsg_recip_handler_std_set_device(struct usbhs_priv *priv, in usbhsg_recip_handler_std_set_device()
277 static int usbhsg_recip_handler_std_set_endpoint(struct usbhs_priv *priv, in usbhsg_recip_handler_std_set_endpoint()
[all …]
Dfifo.h49 void (*done)(struct usbhs_priv *priv,
71 int usbhs_fifo_probe(struct usbhs_priv *priv);
72 void usbhs_fifo_remove(struct usbhs_priv *priv);
73 void usbhs_fifo_init(struct usbhs_priv *priv);
74 void usbhs_fifo_quit(struct usbhs_priv *priv);
95 void (*done)(struct usbhs_priv *priv,
Dfifo.c32 struct usbhs_priv *priv = usbhs_pipe_to_priv(pkt->pipe); in usbhsf_null_handle()
46 void (*done)(struct usbhs_priv *priv, in usbhs_pkt_push()
50 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in usbhs_pkt_push()
106 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in usbhs_pkt_pop()
150 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in usbhsf_pkt_handler()
210 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); \
250 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in usbhsf_send_terminator()
255 static int usbhsf_fifo_barrier(struct usbhs_priv *priv, in usbhsf_fifo_barrier()
268 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in usbhsf_fifo_clear()
291 static int usbhsf_fifo_rcv_len(struct usbhs_priv *priv, in usbhsf_fifo_rcv_len()
[all …]
Dpipe.c39 *usbhsp_get_pipe_config(struct usbhs_priv *priv, int pipe_num) in usbhsp_get_pipe_config()
52 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()
456 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in usbhsp_setup_pipebuff()
[all …]
Dpipe.h20 struct usbhs_priv *priv;
69 *usbhs_pipe_malloc(struct usbhs_priv *priv, int endpoint_type, int dir_in);
71 int usbhs_pipe_probe(struct usbhs_priv *priv);
72 void usbhs_pipe_remove(struct usbhs_priv *priv);
78 void usbhs_pipe_init(struct usbhs_priv *priv,
112 struct usbhs_pipe *usbhs_dcp_malloc(struct usbhs_priv *priv);
Dmod_host.c247 struct usbhs_priv *priv = usbhsh_hpriv_to_priv(hpriv); in usbhsh_pipe_attach()
327 struct usbhs_priv *priv = usbhsh_hpriv_to_priv(hpriv); in usbhsh_pipe_detach()
369 struct usbhs_priv *priv = usbhsh_hpriv_to_priv(hpriv); in usbhsh_endpoint_attach()
408 struct usbhs_priv *priv = usbhsh_hpriv_to_priv(hpriv); in usbhsh_endpoint_detach()
491 struct usbhs_priv *priv = usbhsh_hpriv_to_priv(hpriv); in usbhsh_device_attach()
589 struct usbhs_priv *priv = usbhsh_hpriv_to_priv(hpriv); in usbhsh_device_detach()
629 static void usbhsh_queue_done(struct usbhs_priv *priv, struct usbhs_pkt *pkt) in usbhsh_queue_done()
705 static void usbhsh_queue_force_pop(struct usbhs_priv *priv, in usbhsh_queue_force_pop()
724 static void usbhsh_queue_force_pop_all(struct usbhs_priv *priv) in usbhsh_queue_force_pop_all()
753 struct usbhs_priv *priv = usbhsh_hpriv_to_priv(hpriv); in usbhsh_setup_stage_packet_push()
[all …]
Drcar2.c16 struct usbhs_priv *priv = usbhs_pdev_to_priv(pdev); in usbhs_rcar2_hardware_init()
33 struct usbhs_priv *priv = usbhs_pdev_to_priv(pdev); in usbhs_rcar2_hardware_exit()
46 struct usbhs_priv *priv = usbhs_pdev_to_priv(pdev); in usbhs_rcar2_power_ctrl()
Drza.c17 struct usbhs_priv *priv = usbhs_pdev_to_priv(pdev); in usbhs_rza1_hardware_init()