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.h243 u16 max_packet_sz_tx; member
473 hw_ep->max_packet_sz_tx = 128; in musb_read_fifosize()
476 hw_ep->max_packet_sz_tx = 1024; in musb_read_fifosize()
486 musb->endpoints[0].max_packet_sz_tx = MUSB_EP0_FIFOSIZE; in musb_configure_ep0()
508 hw_ep->max_packet_sz_tx = 1 << (reg & 0x0f); in musb_read_fifosize()
512 hw_ep->max_packet_sz_rx = hw_ep->max_packet_sz_tx; in musb_read_fifosize()
525 musb->endpoints[0].max_packet_sz_tx = MUSB_EP0_FIFOSIZE; in musb_configure_ep0()
Dmusb_gadget.c236 return ep->hw_ep->max_packet_sz_tx; in max_ep_writesize()
1009 if (tmp > hw_ep->max_packet_sz_tx) { in musb_gadget_enable()
1024 musb_writew(regs, MUSB_TXMAXP, hw_ep->max_packet_sz_tx); in musb_gadget_enable()
1027 musb_ep->hb_mult = (hw_ep->max_packet_sz_tx / in musb_gadget_enable()
1067 musb_writew(regs, MUSB_RXMAXP, hw_ep->max_packet_sz_tx); in musb_gadget_enable()
1797 usb_ep_set_maxpacket_limit(&ep->end_point, hw_ep->max_packet_sz_tx); in init_peripheral_ep()
1836 if (hw_ep->max_packet_sz_tx) { in musb_g_init_endpoints()
Dmusb_core.c1273 hw_ep->max_packet_sz_tx = maxpacket; in fifo_setup()
1290 hw_ep->max_packet_sz_tx = maxpacket; in fifo_setup()
1420 if (hw_ep->max_packet_sz_tx < 512 in ep_config_from_hw()
1543 if (hw_ep->max_packet_sz_tx) { in musb_core_init()
1549 hw_ep->max_packet_sz_tx); in musb_core_init()
1559 if (!(hw_ep->max_packet_sz_tx || hw_ep->max_packet_sz_rx)) in musb_core_init()
Dmusb_host.c836 hw_ep->max_packet_sz_tx); in musb_ep_program()
838 qh->hb_mult = hw_ep->max_packet_sz_tx in musb_ep_program()
856 load_count = min((u32) hw_ep->max_packet_sz_tx, in musb_ep_program()
2102 diff = hw_ep->max_packet_sz_tx; in musb_schedule()