Home
last modified time | relevance | path

Searched refs:max_packet_sz_tx (Results 1 – 4 of 4) sorted by relevance

/linux-4.4.14/drivers/usb/musb/
Dmusb_core.h240 u16 max_packet_sz_tx; member
463 hw_ep->max_packet_sz_tx = 128; in musb_read_fifosize()
466 hw_ep->max_packet_sz_tx = 1024; in musb_read_fifosize()
476 musb->endpoints[0].max_packet_sz_tx = MUSB_EP0_FIFOSIZE; in musb_configure_ep0()
498 hw_ep->max_packet_sz_tx = 1 << (reg & 0x0f); in musb_read_fifosize()
502 hw_ep->max_packet_sz_rx = hw_ep->max_packet_sz_tx; in musb_read_fifosize()
515 musb->endpoints[0].max_packet_sz_tx = MUSB_EP0_FIFOSIZE; in musb_configure_ep0()
Dmusb_gadget.c244 return ep->hw_ep->max_packet_sz_tx; in max_ep_writesize()
1022 if (tmp > hw_ep->max_packet_sz_tx) { in musb_gadget_enable()
1037 musb_writew(regs, MUSB_TXMAXP, hw_ep->max_packet_sz_tx); in musb_gadget_enable()
1040 musb_ep->hb_mult = (hw_ep->max_packet_sz_tx / in musb_gadget_enable()
1080 musb_writew(regs, MUSB_RXMAXP, hw_ep->max_packet_sz_tx); in musb_gadget_enable()
1769 usb_ep_set_maxpacket_limit(&ep->end_point, hw_ep->max_packet_sz_tx); in init_peripheral_ep()
1808 if (hw_ep->max_packet_sz_tx) { in musb_g_init_endpoints()
Dmusb_core.c1285 hw_ep->max_packet_sz_tx = maxpacket; in fifo_setup()
1302 hw_ep->max_packet_sz_tx = maxpacket; in fifo_setup()
1433 if (hw_ep->max_packet_sz_tx < 512 in ep_config_from_hw()
1560 if (hw_ep->max_packet_sz_tx) { in musb_core_init()
1567 hw_ep->max_packet_sz_tx); in musb_core_init()
1578 if (!(hw_ep->max_packet_sz_tx || hw_ep->max_packet_sz_rx)) in musb_core_init()
Dmusb_host.c861 hw_ep->max_packet_sz_tx); in musb_ep_program()
863 qh->hb_mult = hw_ep->max_packet_sz_tx in musb_ep_program()
881 load_count = min((u32) hw_ep->max_packet_sz_tx, in musb_ep_program()
2122 diff = hw_ep->max_packet_sz_tx; in musb_schedule()