Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/renesas_usbhs/
H A Dmod.h33 int (*start)(struct usbhs_priv *priv);
34 int (*stop)(struct usbhs_priv *priv);
41 int (*irq_dev_state)(struct usbhs_priv *priv,
49 int (*irq_empty)(struct usbhs_priv *priv,
54 int (*irq_ready)(struct usbhs_priv *priv,
63 int (*irq_attch)(struct usbhs_priv *priv,
67 int (*irq_dtch)(struct usbhs_priv *priv,
71 int (*irq_sign)(struct usbhs_priv *priv,
75 int (*irq_sack)(struct usbhs_priv *priv,
78 struct usbhs_priv *priv;
[all …]
H A Dcommon.h18 struct usbhs_priv;
251 struct usbhs_priv { struct
289 u16 usbhs_read(struct usbhs_priv *priv, u32 reg); argument
290 void usbhs_write(struct usbhs_priv *priv, u32 reg, u16 data);
301 void usbhs_sys_host_ctrl(struct usbhs_priv *priv, int enable);
304 void usbhs_sys_set_test_mode(struct usbhs_priv *priv, u16 mode);
315 void usbhs_bus_send_sof_enable(struct usbhs_priv *priv);
316 void usbhs_bus_send_reset(struct usbhs_priv *priv);
317 int usbhs_bus_get_speed(struct usbhs_priv *priv);
318 int usbhs_vbus_ctrl(struct usbhs_priv *priv, int enable);
[all …]
H A Dcommon.c61 u16 usbhs_read(struct usbhs_priv *priv, u32 reg) in usbhs_read()
148 int usbhs_frame_get_num(struct usbhs_priv *priv) in usbhs_frame_get_num()
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()
222 static void usbhsc_bus_init(struct usbhs_priv *priv) in usbhsc_bus_init()
321 static void usbhsc_clk_put(struct usbhs_priv *priv) in usbhsc_clk_put()
511 struct usbhs_priv *priv = container_of(work, in usbhsc_notify_hotplug()
512 struct usbhs_priv, in usbhsc_notify_hotplug()
591 struct usbhs_priv *priv; in usbhs_probe()
787 struct usbhs_priv *priv = dev_get_drvdata(dev); in usbhsc_suspend()
[all …]
H A Dmod.c26 struct usbhs_priv *priv = usbhs_pdev_to_priv(pdev); in usbhsm_autonomy_get_vbus()
31 static int usbhsm_autonomy_irq_vbus(struct usbhs_priv *priv, in usbhsm_autonomy_irq_vbus()
41 void usbhs_mod_autonomy_mode(struct usbhs_priv *priv) in usbhs_mod_autonomy_mode()
51 void usbhs_mod_non_autonomy_mode(struct usbhs_priv *priv) in usbhs_mod_non_autonomy_mode()
73 struct usbhs_mod *usbhs_mod_get(struct usbhs_priv *priv, int id) in usbhs_mod_get()
88 int usbhs_mod_is_host(struct usbhs_priv *priv) in usbhs_mod_is_host()
106 int usbhs_mod_change(struct usbhs_priv *priv, int id) in usbhs_mod_change()
127 int usbhs_mod_probe(struct usbhs_priv *priv) in usbhs_mod_probe()
161 void usbhs_mod_remove(struct usbhs_priv *priv) in usbhs_mod_remove()
191 static int usbhs_status_get_each_irq(struct usbhs_priv *priv, in usbhs_status_get_each_irq()
[all …]
H A Dmod_gadget.c125 struct usbhs_priv *priv = usbhsg_gpriv_to_priv(gpriv); in __usbhsg_queue_pop()
141 struct usbhs_priv *priv = usbhsg_gpriv_to_priv(gpriv); in usbhsg_queue_pop()
455 static int usbhsg_irq_dev_state(struct usbhs_priv *priv, in usbhsg_irq_dev_state()
584 struct usbhs_priv *priv = usbhsg_gpriv_to_priv(gpriv); in usbhsg_ep_enable()
728 struct usbhs_priv *priv = usbhsg_gpriv_to_priv(gpriv); in __usbhsg_ep_set_halt_wedge()
795 static int usbhsg_can_pullup(struct usbhs_priv *priv) in usbhsg_can_pullup()
926 struct usbhs_priv *priv = usbhs_pdev_to_priv(pdev); in usbhsm_phy_get_vbus()
1059 static int usbhsg_start(struct usbhs_priv *priv) in usbhsg_start()
1064 static int usbhsg_stop(struct usbhs_priv *priv) in usbhsg_stop()
1076 int usbhs_mod_gadget_probe(struct usbhs_priv *priv) in usbhs_mod_gadget_probe()
[all …]
H A 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,
H A 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()
108 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in usbhs_pkt_pop()
158 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in usbhsf_pkt_handler()
260 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in usbhsf_send_terminator()
278 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in usbhsf_fifo_clear()
1413 void usbhs_fifo_init(struct usbhs_priv *priv) in usbhs_fifo_init()
1430 void usbhs_fifo_quit(struct usbhs_priv *priv) in usbhs_fifo_quit()
1459 int usbhs_fifo_probe(struct usbhs_priv *priv) in usbhs_fifo_probe()
[all …]
H A 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()
671 void usbhs_pipe_init(struct usbhs_priv *priv, in usbhs_pipe_init()
807 int usbhs_pipe_probe(struct usbhs_priv *priv) in usbhs_pipe_probe()
[all …]
H A Drcar3.c37 static void usbhs_write32(struct usbhs_priv *priv, u32 reg, u32 data) in usbhs_write32()
42 static u32 usbhs_read32(struct usbhs_priv *priv, u32 reg) in usbhs_read32()
47 static void usbhs_rcar3_set_ugctrl2(struct usbhs_priv *priv, u32 val) in usbhs_rcar3_set_ugctrl2()
55 struct usbhs_priv *priv = usbhs_pdev_to_priv(pdev); in usbhs_rcar3_power_ctrl()
74 struct usbhs_priv *priv = usbhs_pdev_to_priv(pdev); in usbhs_rcar3_power_and_pll_ctrl()
H A 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,
113 struct usbhs_pipe *usbhs_dcp_malloc(struct usbhs_priv *priv);
H A 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()
1310 static int usbhsh_irq_attch(struct usbhs_priv *priv, in usbhsh_irq_attch()
1338 static int usbhsh_irq_dtch(struct usbhs_priv *priv, in usbhsh_irq_dtch()
1448 static int usbhsh_start(struct usbhs_priv *priv) in usbhsh_start()
1492 static int usbhsh_stop(struct usbhs_priv *priv) in usbhsh_stop()
1518 int usbhs_mod_host_probe(struct usbhs_priv *priv) in usbhs_mod_host_probe()
[all …]
H A Drcar2.c15 struct usbhs_priv *priv = usbhs_pdev_to_priv(pdev); in usbhs_rcar2_hardware_init()
32 struct usbhs_priv *priv = usbhs_pdev_to_priv(pdev); in usbhs_rcar2_hardware_exit()
45 struct usbhs_priv *priv = usbhs_pdev_to_priv(pdev); in usbhs_rcar2_power_ctrl()
H A Drza2.c17 struct usbhs_priv *priv = usbhs_pdev_to_priv(pdev); in usbhs_rza2_hardware_init()
29 struct usbhs_priv *priv = usbhs_pdev_to_priv(pdev); in usbhs_rza2_hardware_exit()
40 struct usbhs_priv *priv = usbhs_pdev_to_priv(pdev); in usbhs_rza2_power_ctrl()
H A Drza.c17 struct usbhs_priv *priv = usbhs_pdev_to_priv(pdev); in usbhs_rza1_hardware_init()