Home
last modified time | relevance | path

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

/drivers/usb/musb/
Dmusb_core.h254 u16 max_packet_sz_tx; member
459 hw_ep->max_packet_sz_tx = 128; in musb_read_fifosize()
462 hw_ep->max_packet_sz_tx = 1024; in musb_read_fifosize()
472 musb->endpoints[0].max_packet_sz_tx = MUSB_EP0_FIFOSIZE; in musb_configure_ep0()
493 hw_ep->max_packet_sz_tx = 1 << (reg & 0x0f); in musb_read_fifosize()
497 hw_ep->max_packet_sz_rx = hw_ep->max_packet_sz_tx; in musb_read_fifosize()
510 musb->endpoints[0].max_packet_sz_tx = MUSB_EP0_FIFOSIZE; in musb_configure_ep0()
Dmusb_core.c1132 hw_ep->max_packet_sz_tx = maxpacket; in fifo_setup()
1149 hw_ep->max_packet_sz_tx = maxpacket; in fifo_setup()
1272 if (hw_ep->max_packet_sz_tx < 512 in ep_config_from_hw()
1438 if (hw_ep->max_packet_sz_tx) { in musb_core_init()
1445 hw_ep->max_packet_sz_tx); in musb_core_init()
1456 if (!(hw_ep->max_packet_sz_tx || hw_ep->max_packet_sz_rx)) in musb_core_init()
Dmusb_gadget.c205 return ep->hw_ep->max_packet_sz_tx; in max_ep_writesize()
900 if (tmp > hw_ep->max_packet_sz_tx) in musb_gadget_enable()
1574 ep->end_point.maxpacket = hw_ep->max_packet_sz_tx; in init_peripheral_ep()
1602 if (hw_ep->max_packet_sz_tx) { in musb_g_init_endpoints()
1795 if (hw_ep->max_packet_sz_tx) in stop_activity()
Dmusb_host.c724 | ((hw_ep->max_packet_sz_tx / in musb_ep_program()
738 load_count = min((u32) hw_ep->max_packet_sz_tx, in musb_ep_program()
1745 diff = hw_ep->max_packet_sz_tx - qh->maxpacket; in musb_schedule()