Home
last modified time | relevance | path

Searched defs:musb (Results 1 – 25 of 25) sorted by relevance

/linux-4.1.27/drivers/usb/musb/
Dmusb_core.h137 #define MUSB_MODE(musb) ((musb)->is_host ? "Host" : "Peripheral") argument
216 struct musb *musb; member
294 struct musb { struct
298 struct musb_io io; argument
299 const struct musb_platform_ops *ops; argument
300 struct musb_context_registers context; argument
317 enum musb_h_ep0_state ep0_stage; argument
325 struct musb_hw_ep *bulk_ep; argument
327 struct list_head control; /* of musb_qh */ argument
328 struct list_head in_bulk; /* of musb_qh */ argument
[all …]
Dmusb_gadget.c57 struct musb *musb, struct musb_ep *musb_ep) in map_dma_buffer()
108 struct musb *musb) in unmap_dma_buffer()
154 struct musb *musb; in musb_g_giveback() local
192 struct musb *musb = ep->musb; in nuke() local
241 static inline int max_ep_writesize(struct musb *musb, struct musb_ep *ep) in max_ep_writesize()
256 static void txstate(struct musb *musb, struct musb_request *req) in txstate()
442 void musb_g_tx(struct musb *musb, u8 epnum) in musb_g_tx()
560 static void rxstate(struct musb *musb, struct musb_request *req) in rxstate()
830 void musb_g_rx(struct musb *musb, u8 epnum) in musb_g_rx()
959 struct musb *musb; in musb_gadget_enable() local
[all …]
Dmusb_core.c290 struct musb *musb = hw_ep->musb; in musb_default_write_fifo() local
334 struct musb *musb = hw_ep->musb; in musb_default_read_fifo() local
427 void musb_load_testpacket(struct musb *musb) in musb_load_testpacket()
444 struct musb *musb = (struct musb *)data; in musb_otg_timer_func() local
472 void musb_hnp_stop(struct musb *musb) in musb_hnp_stop()
525 static irqreturn_t musb_stage0_irq(struct musb *musb, u8 int_usb, in musb_stage0_irq()
969 static void musb_disable_interrupts(struct musb *musb) in musb_disable_interrupts()
987 static void musb_enable_interrupts(struct musb *musb) in musb_enable_interrupts()
1000 static void musb_generic_disable(struct musb *musb) in musb_generic_disable()
1013 void musb_start(struct musb *musb) in musb_start()
[all …]
Dblackfin.c31 struct platform_device *musb; member
76 struct musb *musb = hw_ep->musb; in bfin_write_fifo() local
140 struct musb *musb = hw_ep->musb; in bfin_read_fifo() local
207 struct musb *musb = __hci; in blackfin_interrupt() local
237 struct musb *musb = (void *)_musb; in musb_conn_timer_handler() local
327 static void bfin_musb_enable(struct musb *musb) in bfin_musb_enable()
332 static void bfin_musb_disable(struct musb *musb) in bfin_musb_disable()
336 static void bfin_musb_set_vbus(struct musb *musb, int is_on) in bfin_musb_set_vbus()
354 static int bfin_musb_vbus_status(struct musb *musb) in bfin_musb_vbus_status()
359 static int bfin_musb_set_mode(struct musb *musb, u8 musb_mode) in bfin_musb_set_mode()
[all …]
Domap2430.c48 struct platform_device *musb; member
61 struct musb *musb = (void *)_musb; in musb_do_idle() local
109 static void omap2430_musb_try_idle(struct musb *musb, unsigned long timeout) in omap2430_musb_try_idle()
143 static void omap2430_musb_set_vbus(struct musb *musb, int is_on) in omap2430_musb_set_vbus()
208 static int omap2430_musb_set_mode(struct musb *musb, u8 musb_mode) in omap2430_musb_set_mode()
218 static inline void omap2430_low_level_exit(struct musb *musb) in omap2430_low_level_exit()
228 static inline void omap2430_low_level_init(struct musb *musb) in omap2430_low_level_init()
258 struct musb *musb = glue_to_musb(glue); in omap_musb_set_mailbox() local
320 struct musb *musb = glue_to_musb(glue); in omap_musb_mailbox_work() local
333 struct musb *musb = __hci; in omap2430_musb_interrupt() local
[all …]
Dmusb_host.h104 static inline irqreturn_t musb_h_ep0_irq(struct musb *musb) in musb_h_ep0_irq()
109 static inline int musb_host_alloc(struct musb *musb) in musb_host_alloc()
114 static inline int musb_host_setup(struct musb *musb, int power_budget) in musb_host_setup()
119 static inline void musb_host_cleanup(struct musb *musb) {} in musb_host_cleanup()
120 static inline void musb_host_free(struct musb *musb) {} in musb_host_free()
121 static inline void musb_host_tx(struct musb *musb, u8 epnum) {} in musb_host_tx()
122 static inline void musb_host_rx(struct musb *musb, u8 epnum) {} in musb_host_rx()
123 static inline void musb_root_disconnect(struct musb *musb) {} in musb_root_disconnect()
124 static inline void musb_host_resume_root_hub(struct musb *musb) {} in musb_host_resume_root_hub()
125 static inline void musb_host_poll_rh_status(struct musb *musb) {} in musb_host_poll_rh_status()
[all …]
Dmusb_gadget.h53 static inline irqreturn_t musb_g_ep0_irq(struct musb *musb) in musb_g_ep0_irq()
58 static inline void musb_g_tx(struct musb *musb, u8 epnum) {} in musb_g_tx()
59 static inline void musb_g_rx(struct musb *musb, u8 epnum) {} in musb_g_rx()
60 static inline void musb_g_reset(struct musb *musb) {} in musb_g_reset()
61 static inline void musb_g_suspend(struct musb *musb) {} in musb_g_suspend()
62 static inline void musb_g_resume(struct musb *musb) {} in musb_g_resume()
63 static inline void musb_g_wakeup(struct musb *musb) {} in musb_g_wakeup()
64 static inline void musb_g_disconnect(struct musb *musb) {} in musb_g_disconnect()
65 static inline void musb_gadget_cleanup(struct musb *musb) {} in musb_gadget_cleanup()
66 static inline int musb_gadget_setup(struct musb *musb) in musb_gadget_setup()
[all …]
Dtusb6010.c34 struct platform_device *musb; member
47 static u8 tusb_get_revision(struct musb *musb) in tusb_get_revision()
64 static void tusb_print_revision(struct musb *musb) in tusb_print_revision()
97 static void tusb_wbus_quirk(struct musb *musb, int enabled) in tusb_wbus_quirk()
224 struct musb *musb = hw_ep->musb; in tusb_write_fifo() local
274 struct musb *musb = hw_ep->musb; in tusb_read_fifo() local
329 struct musb *musb = the_musb; in tusb_draw_power() local
364 static void tusb_set_clock_source(struct musb *musb, unsigned mode) in tusb_set_clock_source()
391 static void tusb_allow_idle(struct musb *musb, u32 wakeup_enables) in tusb_allow_idle()
428 static int tusb_musb_vbus_status(struct musb *musb) in tusb_musb_vbus_status()
[all …]
Dux500.c42 struct platform_device *musb; member
47 static void ux500_musb_set_vbus(struct musb *musb, int is_on) in ux500_musb_set_vbus()
112 struct musb *musb = container_of(nb, struct musb, nb); in musb_otg_notifications() local
143 struct musb *musb = __hci; in ux500_musb_interrupt() local
159 static int ux500_musb_init(struct musb *musb) in ux500_musb_init()
181 static int ux500_musb_exit(struct musb *musb) in ux500_musb_exit()
233 struct platform_device *musb; in ux500_probe() local
345 struct musb *musb = glue_to_musb(glue); in ux500_suspend() local
356 struct musb *musb = glue_to_musb(glue); in ux500_resume() local
Dmusb_virthub.c48 struct musb *musb; in musb_host_finish_resume() local
77 void musb_port_suspend(struct musb *musb, bool do_suspend) in musb_port_suspend()
143 void musb_port_reset(struct musb *musb, bool do_reset) in musb_port_reset()
217 void musb_root_disconnect(struct musb *musb) in musb_root_disconnect()
254 struct musb *musb = hcd_to_musb(hcd); in musb_hub_status_data() local
265 static int musb_has_gadget(struct musb *musb) in musb_has_gadget()
288 struct musb *musb = hcd_to_musb(hcd); in musb_hub_control() local
Ddavinci.c57 struct platform_device *musb; member
93 static void davinci_musb_enable(struct musb *musb) in davinci_musb_enable()
125 static void davinci_musb_disable(struct musb *musb) in davinci_musb_disable()
171 static void davinci_musb_source_power(struct musb *musb, int is_on, int immediate) in davinci_musb_source_power()
194 static void davinci_musb_set_vbus(struct musb *musb, int is_on) in davinci_musb_set_vbus()
207 struct musb *musb = (void *)_musb; in otg_timer() local
266 struct musb *musb = __hci; in davinci_musb_interrupt() local
372 static int davinci_musb_set_mode(struct musb *musb, u8 mode) in davinci_musb_set_mode()
378 static int davinci_musb_init(struct musb *musb) in davinci_musb_init()
445 static int davinci_musb_exit(struct musb *musb) in davinci_musb_exit()
[all …]
Dmusb_gadget_ep0.c46 #define next_ep0_request(musb) next_in_request(&(musb)->endpoints[0]) argument
76 struct musb *musb, in service_tx_status_request()
172 service_in_request(struct musb *musb, const struct usb_ctrlrequest *ctrlrequest) in service_in_request()
196 static void musb_g_ep0_giveback(struct musb *musb, struct usb_request *req) in musb_g_ep0_giveback()
204 static inline void musb_try_b_hnp_enable(struct musb *musb) in musb_try_b_hnp_enable()
225 service_zero_data_request(struct musb *musb, in service_zero_data_request()
485 static void ep0_rxstate(struct musb *musb) in ep0_rxstate()
542 static void ep0_txstate(struct musb *musb) in ep0_txstate()
600 musb_read_setup(struct musb *musb, struct usb_ctrlrequest *req) in musb_read_setup()
648 forward_to_driver(struct musb *musb, const struct usb_ctrlrequest *ctrlrequest) in forward_to_driver()
[all …]
Dmusb_host.c112 struct musb *musb = ep->musb; in musb_h_tx_flush_fifo() local
209 musb_start_urb(struct musb *musb, int is_in, struct musb_qh *qh) in musb_start_urb()
303 static void musb_giveback(struct musb *musb, struct urb *urb, int status) in musb_giveback()
349 static void musb_advance_schedule(struct musb *musb, struct urb *urb, in musb_advance_schedule()
457 musb_host_packet_rx(struct musb *musb, struct urb *urb, u8 epnum, u8 iso_err) in musb_host_packet_rx()
558 musb_rx_reinit(struct musb *musb, struct musb_qh *qh, struct musb_hw_ep *ep) in musb_rx_reinit()
696 static void musb_ep_program(struct musb *musb, u8 epnum, in musb_ep_program()
939 static void musb_bulk_nak_timeout(struct musb *musb, struct musb_hw_ep *ep, in musb_bulk_nak_timeout()
1008 static bool musb_h_ep0_continue(struct musb *musb, u16 len, struct urb *urb) in musb_h_ep0_continue()
1084 irqreturn_t musb_h_ep0_irq(struct musb *musb) in musb_h_ep0_irq()
[all …]
Dda8xx.c87 struct platform_device *musb; member
147 static void da8xx_musb_enable(struct musb *musb) in da8xx_musb_enable()
166 static void da8xx_musb_disable(struct musb *musb) in da8xx_musb_disable()
179 static void da8xx_musb_set_vbus(struct musb *musb, int is_on) in da8xx_musb_set_vbus()
190 struct musb *musb = (void *)_musb; in otg_timer() local
259 static void da8xx_musb_try_idle(struct musb *musb, unsigned long timeout) in da8xx_musb_try_idle()
290 struct musb *musb = hci; in da8xx_musb_interrupt() local
386 static int da8xx_musb_set_mode(struct musb *musb, u8 musb_mode) in da8xx_musb_set_mode()
409 static int da8xx_musb_init(struct musb *musb) in da8xx_musb_init()
449 static int da8xx_musb_exit(struct musb *musb) in da8xx_musb_exit()
[all …]
Djz4740.c28 struct platform_device *musb; member
36 struct musb *musb = __hci; in jz4740_musb_interrupt() local
82 static int jz4740_musb_init(struct musb *musb) in jz4740_musb_init()
101 static int jz4740_musb_exit(struct musb *musb) in jz4740_musb_exit()
118 struct platform_device *musb; in jz4740_probe() local
Dam35x.c88 struct platform_device *musb; member
97 static void am35x_musb_enable(struct musb *musb) in am35x_musb_enable()
117 static void am35x_musb_disable(struct musb *musb) in am35x_musb_disable()
130 static void am35x_musb_set_vbus(struct musb *musb, int is_on) in am35x_musb_set_vbus()
141 struct musb *musb = (void *)_musb; in otg_timer() local
187 static void am35x_musb_try_idle(struct musb *musb, unsigned long timeout) in am35x_musb_try_idle()
218 struct musb *musb = hci; in am35x_musb_interrupt() local
335 static int am35x_musb_set_mode(struct musb *musb, u8 musb_mode) in am35x_musb_set_mode()
350 static int am35x_musb_init(struct musb *musb) in am35x_musb_init()
393 static int am35x_musb_exit(struct musb *musb) in am35x_musb_exit()
[all …]
Dmusb_debugfs.c113 struct musb *musb = s->private; in musb_regdump_show() local
145 struct musb *musb = s->private; in musb_test_mode_show() local
193 struct musb *musb = s->private; in musb_test_mode_write() local
241 int musb_init_debugfs(struct musb *musb) in musb_init_debugfs()
278 void /* __init_or_exit */ musb_exit_debugfs(struct musb *musb) in musb_exit_debugfs()
Dmusb_dsps.c143 struct platform_device *musb; /* child musb pdev */ member
172 static void dsps_musb_try_idle(struct musb *musb, unsigned long timeout) in dsps_musb_try_idle()
212 static void dsps_musb_enable(struct musb *musb) in dsps_musb_enable()
239 static void dsps_musb_disable(struct musb *musb) in dsps_musb_disable()
255 struct musb *musb = (void *)_musb; in otg_timer() local
306 struct musb *musb = hci; in dsps_interrupt() local
396 static int dsps_musb_dbg_init(struct musb *musb, struct dsps_glue *glue) in dsps_musb_dbg_init()
420 static int dsps_musb_init(struct musb *musb) in dsps_musb_init()
495 static int dsps_musb_exit(struct musb *musb) in dsps_musb_exit()
509 static int dsps_musb_set_mode(struct musb *musb, u8 mode) in dsps_musb_set_mode()
[all …]
Dmusbhsdma.c44 struct musb *musb = controller->private_data; in dma_controller_stop() local
115 struct musb *musb = controller->private_data; in configure_channel() local
153 struct musb *musb = controller->private_data; in dma_channel_program() local
198 struct musb *musb = musb_channel->controller->private_data; in dma_channel_abort() local
243 struct musb *musb = controller->private_data; in dma_controller_irq() local
373 struct dma_controller *dma_controller_create(struct musb *musb, void __iomem *base) in dma_controller_create()
Dux500_dma.c68 struct musb *musb = hw_ep->musb; in ux500_dma_callback() local
94 struct musb *musb = ux500_channel->controller->private_data; in ux500_configure_channel() local
146 struct musb *musb = controller->private_data; in ux500_dma_channel_allocate() local
178 struct musb *musb = ux500_channel->controller->private_data; in ux500_dma_channel_release() local
226 struct musb *musb = controller->private_data; in ux500_dma_channel_abort() local
284 struct musb *musb = controller->private_data; in ux500_dma_controller_start() local
371 struct dma_controller *dma_controller_create(struct musb *musb, in dma_controller_create()
Dmusb_cppi41.c51 struct musb *musb; member
78 struct musb *musb = hw_ep->musb; in update_rx_toggle() local
109 struct musb *musb = hw_ep->musb; in musb_is_tx_fifo_empty() local
125 struct musb *musb = hw_ep->musb; in cppi41_trans_done() local
191 struct musb *musb; in cppi41_recheck_tx_req() local
229 struct musb *musb = hw_ep->musb; in cppi41_dma_callback() local
374 struct musb *musb = cppi41_channel->controller->musb; in cppi41_configure_channel() local
514 struct musb *musb = controller->musb; in cppi41_is_compatible() local
532 struct musb *musb = controller->musb; in cppi41_dma_channel_abort() local
615 struct musb *musb = controller->musb; in cppi41_dma_controller_start() local
[all …]
Dtusb6010_omap.c35 struct musb *musb; member
59 struct musb *musb; member
112 struct musb *musb = chdat->musb; in tusb_omap_dma_cb() local
213 struct musb *musb = chdat->musb; in tusb_omap_dma_program() local
493 struct musb *musb; in tusb_omap_dma_allocate() local
594 struct musb *musb = chdat->musb; in tusb_omap_dma_release() local
648 struct dma_controller *dma_controller_create(struct musb *musb, void __iomem *base) in dma_controller_create()
Dmusb_debug.h49 static inline int musb_init_debugfs(struct musb *musb) in musb_init_debugfs()
53 static inline void musb_exit_debugfs(struct musb *musb) in musb_exit_debugfs()
Dcppi_dma.c224 struct musb *musb; in cppi_controller_stop() local
286 struct musb *musb; in cppi_channel_allocate() local
561 cppi_next_tx_segment(struct musb *musb, struct cppi_channel *tx) in cppi_next_tx_segment()
761 cppi_next_rx_segment(struct musb *musb, struct cppi_channel *rx, int onepacket) in cppi_next_rx_segment()
954 struct musb *musb; in cppi_channel_program() local
1013 struct musb *musb = cppi->musb; in cppi_rx_scan() local
1144 struct musb *musb = dev_id; in cppi_interrupt() local
1300 struct dma_controller *dma_controller_create(struct musb *musb, void __iomem *mregs) in dma_controller_create()
Dcppi_dma.h117 struct musb *musb; member