/linux-4.4.14/drivers/usb/musb/ |
D | musb_core.h | 136 #define MUSB_MODE(musb) ((musb)->is_host ? "Host" : "Peripheral") argument 225 struct musb *musb; member 301 struct musb { struct 305 struct musb_io io; argument 306 const struct musb_platform_ops *ops; argument 307 struct musb_context_registers context; argument 324 enum musb_h_ep0_state ep0_stage; argument 332 struct musb_hw_ep *bulk_ep; argument 334 struct list_head control; /* of musb_qh */ argument 335 struct list_head in_bulk; /* of musb_qh */ argument [all …]
|
D | musb_dma.h | 72 #define musb_dma_ux500(musb) (musb->io.quirks & MUSB_DMA_UX500) argument 74 #define musb_dma_ux500(musb) 0 argument 78 #define musb_dma_cppi41(musb) (musb->io.quirks & MUSB_DMA_CPPI41) argument 80 #define musb_dma_cppi41(musb) 0 argument 84 #define musb_dma_cppi(musb) (musb->io.quirks & MUSB_DMA_CPPI) argument 86 #define musb_dma_cppi(musb) 0 argument 90 #define tusb_dma_omap(musb) (musb->io.quirks & MUSB_DMA_TUSB_OMAP) argument 92 #define tusb_dma_omap(musb) 0 argument 96 #define musb_dma_inventra(musb) (musb->io.quirks & MUSB_DMA_INVENTRA) argument 98 #define musb_dma_inventra(musb) 0 argument [all …]
|
D | musb_gadget.c | 57 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() 440 void musb_g_tx(struct musb *musb, u8 epnum) in musb_g_tx() 562 static void rxstate(struct musb *musb, struct musb_request *req) in rxstate() 831 void musb_g_rx(struct musb *musb, u8 epnum) in musb_g_rx() 960 struct musb *musb; in musb_gadget_enable() local [all …]
|
D | blackfin.c | 31 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 …]
|
D | omap2430.c | 48 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 …]
|
D | musb_host.h | 104 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 …]
|
D | musb_gadget.h | 53 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 …]
|
D | tusb6010.c | 34 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 …]
|
D | musb_core.c | 295 struct musb *musb = hw_ep->musb; in musb_default_write_fifo() local 339 struct musb *musb = hw_ep->musb; in musb_default_read_fifo() local 441 void musb_load_testpacket(struct musb *musb) in musb_load_testpacket() 458 struct musb *musb = (struct musb *)data; in musb_otg_timer_func() local 486 void musb_hnp_stop(struct musb *musb) in musb_hnp_stop() 539 static irqreturn_t musb_stage0_irq(struct musb *musb, u8 int_usb, in musb_stage0_irq() 983 static void musb_disable_interrupts(struct musb *musb) in musb_disable_interrupts() 1001 static void musb_enable_interrupts(struct musb *musb) in musb_enable_interrupts() 1014 static void musb_generic_disable(struct musb *musb) in musb_generic_disable() 1027 void musb_start(struct musb *musb) in musb_start() [all …]
|
D | ux500.c | 42 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() 237 struct platform_device *musb; in ux500_probe() local 349 struct musb *musb = glue_to_musb(glue); in ux500_suspend() local 360 struct musb *musb = glue_to_musb(glue); in ux500_resume() local
|
D | musb_virthub.c | 48 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() 219 void musb_root_disconnect(struct musb *musb) in musb_root_disconnect() 256 struct musb *musb = hcd_to_musb(hcd); in musb_hub_status_data() local 267 static int musb_has_gadget(struct musb *musb) in musb_has_gadget() 290 struct musb *musb = hcd_to_musb(hcd); in musb_hub_control() local
|
D | davinci.c | 57 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 …]
|
D | musb_gadget_ep0.c | 46 #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 …]
|
D | da8xx.c | 87 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 …]
|
D | musb_host.c | 112 struct musb *musb = ep->musb; in musb_h_tx_flush_fifo() local 219 musb_start_urb(struct musb *musb, int is_in, struct musb_qh *qh) in musb_start_urb() 313 static void musb_giveback(struct musb *musb, struct urb *urb, int status) in musb_giveback() 359 static void musb_advance_schedule(struct musb *musb, struct urb *urb, in musb_advance_schedule() 467 musb_host_packet_rx(struct musb *musb, struct urb *urb, u8 epnum, u8 iso_err) in musb_host_packet_rx() 568 musb_rx_reinit(struct musb *musb, struct musb_qh *qh, u8 epnum) in musb_rx_reinit() 741 static void musb_ep_program(struct musb *musb, u8 epnum, in musb_ep_program() 984 static void musb_bulk_nak_timeout(struct musb *musb, struct musb_hw_ep *ep, in musb_bulk_nak_timeout() 1053 static bool musb_h_ep0_continue(struct musb *musb, u16 len, struct urb *urb) in musb_h_ep0_continue() 1129 irqreturn_t musb_h_ep0_irq(struct musb *musb) in musb_h_ep0_irq() [all …]
|
D | musb_debugfs.c | 113 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 250 struct musb *musb = s->private; in musb_softconnect_show() local 278 struct musb *musb = s->private; in musb_softconnect_write() local 332 int musb_init_debugfs(struct musb *musb) in musb_init_debugfs() 376 void /* __init_or_exit */ musb_exit_debugfs(struct musb *musb) in musb_exit_debugfs()
|
D | jz4740.c | 28 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() 122 struct platform_device *musb; in jz4740_probe() local
|
D | am35x.c | 88 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 …]
|
D | sunxi.c | 83 struct platform_device *musb; member 105 struct musb *musb = platform_get_drvdata(glue->musb); in sunxi_musb_work() local 144 static void sunxi_musb_set_vbus(struct musb *musb, int is_on) in sunxi_musb_set_vbus() 156 static void sunxi_musb_pre_root_reset_end(struct musb *musb) in sunxi_musb_pre_root_reset_end() 163 static void sunxi_musb_post_root_reset_end(struct musb *musb) in sunxi_musb_post_root_reset_end() 172 struct musb *musb = __hci; in sunxi_musb_interrupt() local 228 static int sunxi_musb_init(struct musb *musb) in sunxi_musb_init() 300 static int sunxi_musb_exit(struct musb *musb) in sunxi_musb_exit() 326 static void sunxi_musb_enable(struct musb *musb) in sunxi_musb_enable() 337 static void sunxi_musb_disable(struct musb *musb) in sunxi_musb_disable() [all …]
|
D | musb_dsps.c | 143 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() 491 static int dsps_musb_exit(struct musb *musb) in dsps_musb_exit() 505 static int dsps_musb_set_mode(struct musb *musb, u8 mode) in dsps_musb_set_mode() [all …]
|
D | musbhsdma.c | 44 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 374 struct dma_controller *musbhs_dma_controller_create(struct musb *musb, in musbhs_dma_controller_create()
|
D | ux500_dma.c | 68 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 373 ux500_dma_controller_create(struct musb *musb, void __iomem *base) in ux500_dma_controller_create()
|
D | musb_cppi41.c | 51 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 618 struct musb *musb = controller->musb; in cppi41_dma_controller_start() local [all …]
|
D | tusb6010_omap.c | 35 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 650 tusb_dma_controller_create(struct musb *musb, void __iomem *base) in tusb_dma_controller_create()
|
D | cppi_dma.c | 224 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 1301 cppi_dma_controller_create(struct musb *musb, void __iomem *mregs) in cppi_dma_controller_create()
|
D | musb_debug.h | 49 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()
|
D | musb_regs.h | 364 static inline void musb_write_rxfunaddr(struct musb *musb, u8 epnum, in musb_write_rxfunaddr() 372 static inline void musb_write_rxhubaddr(struct musb *musb, u8 epnum, in musb_write_rxhubaddr() 379 static inline void musb_write_rxhubport(struct musb *musb, u8 epnum, in musb_write_rxhubport() 386 static inline void musb_write_txfunaddr(struct musb *musb, u8 epnum, in musb_write_txfunaddr() 394 static inline void musb_write_txhubaddr(struct musb *musb, u8 epnum, in musb_write_txhubaddr() 401 static inline void musb_write_txhubport(struct musb *musb, u8 epnum, in musb_write_txhubport() 408 static inline u8 musb_read_rxfunaddr(struct musb *musb, u8 epnum) in musb_read_rxfunaddr() 414 static inline u8 musb_read_rxhubaddr(struct musb *musb, u8 epnum) in musb_read_rxhubaddr() 420 static inline u8 musb_read_rxhubport(struct musb *musb, u8 epnum) in musb_read_rxhubport() 426 static inline u8 musb_read_txfunaddr(struct musb *musb, u8 epnum) in musb_read_txfunaddr() [all …]
|
D | cppi_dma.h | 117 struct musb *musb; member
|