/drivers/usb/renesas_usbhs/ |
D | mod.h | 33 int (*start)(struct usbhs_priv *priv); 34 int (*stop)(struct usbhs_priv *priv); 41 int (*irq_dev_state)(struct usbhs_priv *priv, 45 int (*irq_ctrl_stage)(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, [all …]
|
D | common.h | 18 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); 291 void usbhs_bset(struct usbhs_priv *priv, u32 reg, u16 mask, u16 data); 301 void usbhs_sys_host_ctrl(struct usbhs_priv *priv, int enable); 302 void usbhs_sys_function_ctrl(struct usbhs_priv *priv, int enable); 303 void usbhs_sys_function_pullup(struct usbhs_priv *priv, int enable); 304 void usbhs_sys_set_test_mode(struct usbhs_priv *priv, u16 mode); 309 void usbhs_usbreq_get_val(struct usbhs_priv *priv, struct usb_ctrlrequest *req); [all …]
|
D | common.c | 61 u16 usbhs_read(struct usbhs_priv *priv, u32 reg) in usbhs_read() 66 void usbhs_write(struct usbhs_priv *priv, u32 reg, u16 data) in usbhs_write() 71 void usbhs_bset(struct usbhs_priv *priv, u32 reg, u16 mask, u16 data) in usbhs_bset() 81 struct usbhs_priv *usbhs_pdev_to_priv(struct platform_device *pdev) in usbhs_pdev_to_priv() 94 static void usbhs_sys_clock_ctrl(struct usbhs_priv *priv, int enable) in usbhs_sys_clock_ctrl() 99 void usbhs_sys_host_ctrl(struct usbhs_priv *priv, int enable) in usbhs_sys_host_ctrl() 113 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 …]
|
D | mod.c | 26 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() 65 void usbhs_mod_register(struct usbhs_priv *priv, struct usbhs_mod *mod, int id) in usbhs_mod_register() 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() 99 struct usbhs_mod *usbhs_mod_get_current(struct usbhs_priv *priv) in usbhs_mod_get_current() 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() [all …]
|
D | mod_gadget.c | 60 int (*device)(struct usbhs_priv *priv, struct usbhsg_uep *uep, 62 int (*interface)(struct usbhs_priv *priv, struct usbhsg_uep *uep, 64 int (*endpoint)(struct usbhs_priv *priv, struct usbhsg_uep *uep, 125 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() 149 static void usbhsg_queue_done(struct usbhs_priv *priv, struct usbhs_pkt *pkt) in usbhsg_queue_done() 217 static int usbhsg_recip_handler_std_control_done(struct usbhs_priv *priv, in usbhsg_recip_handler_std_control_done() 230 static int usbhsg_recip_handler_std_clear_endpoint(struct usbhs_priv *priv, in usbhsg_recip_handler_std_clear_endpoint() 260 static int usbhsg_recip_handler_std_set_device(struct usbhs_priv *priv, in usbhsg_recip_handler_std_set_device() 278 static int usbhsg_recip_handler_std_set_endpoint(struct usbhs_priv *priv, in usbhsg_recip_handler_std_set_endpoint() [all …]
|
D | fifo.c | 32 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() 220 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); \ 260 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in usbhsf_send_terminator() 265 static int usbhsf_fifo_barrier(struct usbhs_priv *priv, in usbhsf_fifo_barrier() 278 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in usbhsf_fifo_clear() 301 static int usbhsf_fifo_rcv_len(struct usbhs_priv *priv, in usbhsf_fifo_rcv_len() [all …]
|
D | pipe.c | 39 *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() 471 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in usbhsp_setup_pipebuff() [all …]
|
D | fifo.h | 49 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,
|
D | pipe.h | 20 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);
|
D | mod_host.c | 247 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 …]
|
D | rcar3.c | 37 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()
|
D | rcar2.c | 15 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()
|
D | rza2.c | 18 struct usbhs_priv *priv = usbhs_pdev_to_priv(pdev); in usbhs_rza2_hardware_init() 30 struct usbhs_priv *priv = usbhs_pdev_to_priv(pdev); in usbhs_rza2_hardware_exit() 41 struct usbhs_priv *priv = usbhs_pdev_to_priv(pdev); in usbhs_rza2_power_ctrl()
|
D | rza.c | 17 struct usbhs_priv *priv = usbhs_pdev_to_priv(pdev); in usbhs_rza1_hardware_init()
|