| /rk3399_rockchip-uboot/drivers/usb/musb-new/ |
| H A D | musb_core.h | 56 #define is_peripheral_enabled(musb) ((musb)->board_mode != MUSB_HOST) argument 57 #define is_host_enabled(musb) ((musb)->board_mode != MUSB_PERIPHERAL) argument 58 #define is_otg_enabled(musb) ((musb)->board_mode == MUSB_OTG) argument 191 #define MUSB_MODE(musb) ((musb)->is_host ? "Host" : "Peripheral") argument 233 struct musb *musb; member 314 struct musb { struct 318 const struct musb_platform_ops *ops; argument 319 struct musb_context_registers context; argument 332 enum musb_h_ep0_state ep0_stage; argument 340 struct musb_hw_ep *bulk_ep; argument [all …]
|
| H A D | musb_gadget.c | 82 struct musb *musb, struct musb_ep *musb_ep) in map_dma_buffer() 125 struct musb *musb) in unmap_dma_buffer() 155 struct musb *musb, struct musb_ep *musb_ep) in map_dma_buffer() 160 struct musb *musb) in unmap_dma_buffer() 180 struct musb *musb; in musb_g_giveback() local 215 struct musb *musb = ep->musb; in nuke() local 264 static inline int max_ep_writesize(struct musb *musb, struct musb_ep *ep) in max_ep_writesize() 314 static void txstate(struct musb *musb, struct musb_request *req) in txstate() 486 void musb_g_tx(struct musb *musb, u8 epnum) in musb_g_tx() 635 static void rxstate(struct musb *musb, struct musb_request *req) in rxstate() [all …]
|
| H A D | musb_core.c | 219 struct musb *musb = hw_ep->musb; in musb_write_fifo() local 261 struct musb *musb = hw_ep->musb; in musb_read_fifo() local 321 void musb_load_testpacket(struct musb *musb) in musb_load_testpacket() 339 struct musb *musb = (struct musb *)data; in musb_otg_timer_func() local 368 void musb_hnp_stop(struct musb *musb) in musb_hnp_stop() 418 static irqreturn_t musb_stage0_irq(struct musb *musb, u8 int_usb, in musb_stage0_irq() 899 void musb_start(struct musb *musb) in musb_start() 969 static void musb_generic_disable(struct musb *musb) in musb_generic_disable() 996 void musb_stop(struct musb *musb) in musb_stop() 1016 struct musb *musb = dev_to_musb(&pdev->dev); in musb_shutdown() local [all …]
|
| H A D | musb_gadget_ep0.c | 28 #define next_ep0_request(musb) next_in_request(&(musb)->endpoints[0]) argument 58 struct musb *musb, in service_tx_status_request() 154 service_in_request(struct musb *musb, const struct usb_ctrlrequest *ctrlrequest) in service_in_request() 178 static void musb_g_ep0_giveback(struct musb *musb, struct usb_request *req) in musb_g_ep0_giveback() 186 static inline void musb_try_b_hnp_enable(struct musb *musb) in musb_try_b_hnp_enable() 207 service_zero_data_request(struct musb *musb, in service_zero_data_request() 467 static void ep0_rxstate(struct musb *musb) in ep0_rxstate() 522 static void ep0_txstate(struct musb *musb) in ep0_txstate() 580 musb_read_setup(struct musb *musb, struct usb_ctrlrequest *req) in musb_read_setup() 628 forward_to_driver(struct musb *musb, const struct usb_ctrlrequest *ctrlrequest) in forward_to_driver() [all …]
|
| H A D | omap2430.c | 26 static inline void omap2430_low_level_exit(struct musb *musb) in omap2430_low_level_exit() 36 static inline void omap2430_low_level_init(struct musb *musb) in omap2430_low_level_init() 46 static int omap2430_musb_init(struct musb *musb) in omap2430_musb_init() 96 static int omap2430_musb_enable(struct musb *musb) in omap2430_musb_enable() 118 static void omap2430_musb_disable(struct musb *musb) in omap2430_musb_disable() 123 static int omap2430_musb_exit(struct musb *musb) in omap2430_musb_exit()
|
| H A D | musb_host.c | 92 struct musb *musb = ep->musb; in musb_h_tx_flush_fifo() local 189 musb_start_urb(struct musb *musb, int is_in, struct musb_qh *qh) in musb_start_urb() 294 static void musb_giveback(struct musb *musb, struct urb *urb, int status) in musb_giveback() 340 static void musb_advance_schedule(struct musb *musb, struct urb *urb, in musb_advance_schedule() 450 musb_host_packet_rx(struct musb *musb, struct urb *urb, u8 epnum, u8 iso_err) in musb_host_packet_rx() 555 musb_rx_reinit(struct musb *musb, struct musb_qh *qh, struct musb_hw_ep *ep) in musb_rx_reinit() 683 static void musb_ep_program(struct musb *musb, u8 epnum, in musb_ep_program() 889 static bool musb_h_ep0_continue(struct musb *musb, u16 len, struct urb *urb) in musb_h_ep0_continue() 965 irqreturn_t musb_h_ep0_irq(struct musb *musb) in musb_h_ep0_irq() 1103 void musb_host_tx(struct musb *musb, u8 epnum) in musb_host_tx() [all …]
|
| H A D | am35x.c | 80 struct platform_device *musb; member 90 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() 131 static void am35x_musb_set_vbus(struct musb *musb, int is_on) in am35x_musb_set_vbus() 142 struct musb *musb = (void *)_musb; in otg_timer() local 191 static void am35x_musb_try_idle(struct musb *musb, unsigned long timeout) in am35x_musb_try_idle() 226 struct musb *musb = hci; in am35x_musb_interrupt() local 356 static int am35x_musb_set_mode(struct musb *musb, u8 musb_mode) in am35x_musb_set_mode() 372 static int am35x_musb_init(struct musb *musb) in am35x_musb_init() 424 static int am35x_musb_exit(struct musb *musb) in am35x_musb_exit() [all …]
|
| H A D | pic32.c | 53 static void pic32_musb_disable(struct musb *musb) in pic32_musb_disable() 58 static int pic32_musb_enable(struct musb *musb) in pic32_musb_enable() 70 struct musb *musb = hci; in pic32_interrupt() local 100 static int pic32_musb_set_mode(struct musb *musb, u8 mode) in pic32_musb_set_mode() 125 static int pic32_musb_init(struct musb *musb) in pic32_musb_init()
|
| H A D | musb_debug.h | 25 static inline int musb_init_debugfs(struct musb *musb) in musb_init_debugfs() 29 static inline void musb_exit_debugfs(struct musb *musb) in musb_exit_debugfs()
|
| H A D | da8xx.c | 65 struct musb *musb = hci; in da8xx_musb_interrupt() local 150 static int da8xx_musb_init(struct musb *musb) in da8xx_musb_init() 180 static int da8xx_musb_exit(struct musb *musb) in da8xx_musb_exit() 193 static int da8xx_musb_enable(struct musb *musb) in da8xx_musb_enable() 214 static void da8xx_musb_disable(struct musb *musb) in da8xx_musb_disable()
|
| H A D | musb_dsps.c | 137 struct platform_device *musb; /* child musb pdev */ member 146 static void dsps_musb_enable(struct musb *musb) in dsps_musb_enable() 182 static void dsps_musb_disable(struct musb *musb) in dsps_musb_disable() 202 struct musb *musb = (void *)_musb; in otg_timer() local 256 static void dsps_musb_try_idle(struct musb *musb, unsigned long timeout) in dsps_musb_try_idle() 295 struct musb *musb = hci; in dsps_interrupt() local 409 static int dsps_musb_init(struct musb *musb) in dsps_musb_init() 476 static int dsps_musb_exit(struct musb *musb) in dsps_musb_exit() 533 struct platform_device *musb; in dsps_create_musb_pdev() local
|
| H A D | sunxi.c | 189 struct musb *musb = __hci; in sunxi_musb_interrupt() local 213 static int sunxi_musb_enable(struct musb *musb) in sunxi_musb_enable() 248 static void sunxi_musb_disable(struct musb *musb) in sunxi_musb_disable() 264 static int sunxi_musb_init(struct musb *musb) in sunxi_musb_init()
|
| H A D | musb_gadget.h | 32 struct musb *musb; member 56 struct musb *musb; member
|
| H A D | musb_host.h | 17 static inline struct usb_hcd *musb_to_hcd(struct musb *musb) in musb_to_hcd()
|
| /rk3399_rockchip-uboot/arch/arm/dts/ |
| H A D | am335x-draco.dtsi | 43 musb: usb@47400000 { label
|