Home
last modified time | relevance | path

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

/linux-3.4.99/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.h23 struct usbhs_priv;
241 struct usbhs_priv { struct
276 u16 usbhs_read(struct usbhs_priv *priv, u32 reg); argument
277 void usbhs_write(struct usbhs_priv *priv, u32 reg, u16 data);
278 void usbhs_bset(struct usbhs_priv *priv, u32 reg, u16 mask, u16 data);
286 void usbhs_sys_host_ctrl(struct usbhs_priv *priv, int enable);
287 void usbhs_sys_function_ctrl(struct usbhs_priv *priv, int enable);
288 void usbhs_sys_set_test_mode(struct usbhs_priv *priv, u16 mode);
293 void usbhs_usbreq_get_val(struct usbhs_priv *priv, struct usb_ctrlrequest *req);
294 void usbhs_usbreq_set_val(struct usbhs_priv *priv, struct usb_ctrlrequest *req);
[all …]
Dcommon.c70 u16 usbhs_read(struct usbhs_priv *priv, u32 reg) in usbhs_read()
75 void usbhs_write(struct usbhs_priv *priv, u32 reg, u16 data) in usbhs_write()
80 void usbhs_bset(struct usbhs_priv *priv, u32 reg, u16 mask, u16 data) in usbhs_bset()
90 struct usbhs_priv *usbhs_pdev_to_priv(struct platform_device *pdev) in usbhs_pdev_to_priv()
98 static void usbhs_sys_clock_ctrl(struct usbhs_priv *priv, int enable) in usbhs_sys_clock_ctrl()
103 void usbhs_sys_host_ctrl(struct usbhs_priv *priv, int enable) in usbhs_sys_host_ctrl()
121 void usbhs_sys_function_ctrl(struct usbhs_priv *priv, int enable) in usbhs_sys_function_ctrl()
135 void usbhs_sys_set_test_mode(struct usbhs_priv *priv, u16 mode) in usbhs_sys_set_test_mode()
143 int usbhs_frame_get_num(struct usbhs_priv *priv) in usbhs_frame_get_num()
151 void usbhs_usbreq_get_val(struct usbhs_priv *priv, struct usb_ctrlrequest *req) in usbhs_usbreq_get_val()
[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 …]
Dfifo.h54 void (*done)(struct usbhs_priv *priv,
75 int usbhs_fifo_probe(struct usbhs_priv *priv);
76 void usbhs_fifo_remove(struct usbhs_priv *priv);
77 void usbhs_fifo_init(struct usbhs_priv *priv);
78 void usbhs_fifo_quit(struct usbhs_priv *priv);
98 void (*done)(struct usbhs_priv *priv,
Dfifo.c44 struct usbhs_priv *priv = usbhs_pipe_to_priv(pkt->pipe); in usbhsf_null_handle()
58 void (*done)(struct usbhs_priv *priv, in usbhs_pkt_push()
62 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in usbhs_pkt_push()
114 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in usbhs_pkt_pop()
140 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in usbhsf_pkt_handler()
199 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); \
239 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in usbhsf_send_terminator()
244 static int usbhsf_fifo_barrier(struct usbhs_priv *priv, in usbhsf_fifo_barrier()
263 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in usbhsf_fifo_clear()
271 static int usbhsf_fifo_rcv_len(struct usbhs_priv *priv, in usbhsf_fifo_rcv_len()
[all …]
Dmod_gadget.c62 int (*device)(struct usbhs_priv *priv, struct usbhsg_uep *uep,
64 int (*interface)(struct usbhs_priv *priv, struct usbhsg_uep *uep,
66 int (*endpoint)(struct usbhs_priv *priv, struct usbhsg_uep *uep,
134 static void usbhsg_queue_done(struct usbhs_priv *priv, struct usbhs_pkt *pkt) in usbhsg_queue_done()
199 static int usbhsg_recip_handler_std_control_done(struct usbhs_priv *priv, in usbhsg_recip_handler_std_control_done()
212 static int usbhsg_recip_handler_std_clear_endpoint(struct usbhs_priv *priv, in usbhsg_recip_handler_std_clear_endpoint()
242 static int usbhsg_recip_handler_std_set_device(struct usbhs_priv *priv, in usbhsg_recip_handler_std_set_device()
260 static int usbhsg_recip_handler_std_set_endpoint(struct usbhs_priv *priv, in usbhsg_recip_handler_std_set_endpoint()
331 static int usbhsg_recip_handler_std_get_device(struct usbhs_priv *priv, in usbhsg_recip_handler_std_get_device()
343 static int usbhsg_recip_handler_std_get_interface(struct usbhs_priv *priv, in usbhsg_recip_handler_std_get_interface()
[all …]
Dpipe.h29 struct usbhs_priv *priv;
77 *usbhs_pipe_malloc(struct usbhs_priv *priv, int endpoint_type, int dir_in);
78 int usbhs_pipe_probe(struct usbhs_priv *priv);
79 void usbhs_pipe_remove(struct usbhs_priv *priv);
82 void usbhs_pipe_init(struct usbhs_priv *priv,
111 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()
119 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in usbhsp_pipe_select()
141 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in usbhsp_pipe_barrier()
358 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in usbhsp_setup_pipebuff()
436 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in usbhs_pipe_config_update()
511 static struct usbhs_pipe *usbhsp_get_pipe(struct usbhs_priv *priv, u32 type) in usbhsp_get_pipe()
542 void usbhs_pipe_init(struct usbhs_priv *priv, in usbhs_pipe_init()
578 struct usbhs_pipe *usbhs_pipe_malloc(struct usbhs_priv *priv, in usbhs_pipe_malloc()
[all …]
Dmod_host.c168 struct usbhs_priv *priv = usbhsh_hpriv_to_priv(hpriv); in usbhsh_ureq_alloc()
259 struct usbhs_priv *priv = usbhsh_hpriv_to_priv(hpriv); in usbhsh_pipe_attach()
332 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()
409 struct usbhs_priv *priv = usbhsh_hpriv_to_priv(hpriv); in usbhsh_endpoint_detach()
492 struct usbhs_priv *priv = usbhsh_hpriv_to_priv(hpriv); in usbhsh_device_attach()
590 struct usbhs_priv *priv = usbhsh_hpriv_to_priv(hpriv); in usbhsh_device_detach()
630 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()
[all …]