Home
last modified time | relevance | path

Searched refs:max_packet_sz_rx (Results 1 – 8 of 8) sorted by relevance

/openbmc/u-boot/drivers/usb/musb-new/
H A Dmusb_core.h253 u16 max_packet_sz_rx; member
479 hw_ep->max_packet_sz_rx = hw_ep->max_packet_sz_tx; in musb_read_fifosize()
483 hw_ep->max_packet_sz_rx = 1 << ((reg & 0xf0) >> 4); in musb_read_fifosize()
493 musb->endpoints[0].max_packet_sz_rx = MUSB_EP0_FIFOSIZE; in musb_configure_ep0()
H A Dmusb_core.c1228 hw_ep->max_packet_sz_rx = maxpacket; in fifo_setup()
1234 hw_ep->max_packet_sz_rx = maxpacket; in fifo_setup()
1368 || hw_ep->max_packet_sz_rx < 512) in ep_config_from_hw()
1503 if (hw_ep->max_packet_sz_rx && !hw_ep->is_shared_fifo) { in musb_core_init()
1510 hw_ep->max_packet_sz_rx); in musb_core_init()
1512 if (!(hw_ep->max_packet_sz_tx || hw_ep->max_packet_sz_rx)) in musb_core_init()
H A Dmusb_gadget.c1136 if (tmp > hw_ep->max_packet_sz_rx) { in musb_gadget_enable()
1849 ep->end_point.maxpacket = hw_ep->max_packet_sz_rx; in init_peripheral_ep()
1880 if (hw_ep->max_packet_sz_rx) { in musb_g_init_endpoints()
2084 if (hw_ep->max_packet_sz_rx) in stop_activity()
H A Dmusb_host.c608 musb_writew(ep->regs, MUSB_RXMAXP, ep->max_packet_sz_rx); in musb_rx_reinit()
1696 if (rx_count < hw_ep->max_packet_sz_rx) { in musb_host_rx()
1827 diff = hw_ep->max_packet_sz_rx; in musb_schedule()
/openbmc/linux/drivers/usb/musb/
H A Dmusb_core.h217 u16 max_packet_sz_rx; member
471 hw_ep->max_packet_sz_rx = hw_ep->max_packet_sz_tx; in musb_read_fifosize()
475 hw_ep->max_packet_sz_rx = 1 << ((reg & 0xf0) >> 4); in musb_read_fifosize()
485 musb->endpoints[0].max_packet_sz_rx = MUSB_EP0_FIFOSIZE; in musb_configure_ep0()
H A Dmusb_core.c1424 hw_ep->max_packet_sz_rx = maxpacket; in fifo_setup()
1430 hw_ep->max_packet_sz_rx = maxpacket; in fifo_setup()
1566 || hw_ep->max_packet_sz_rx < 512) in ep_config_from_hw()
1697 if (hw_ep->max_packet_sz_rx && !hw_ep->is_shared_fifo) { in musb_core_init()
1703 hw_ep->max_packet_sz_rx); in musb_core_init()
1705 if (!(hw_ep->max_packet_sz_tx || hw_ep->max_packet_sz_rx)) in musb_core_init()
H A Dmusb_gadget.c1016 if (tmp > hw_ep->max_packet_sz_rx) { in musb_gadget_enable()
1729 usb_ep_set_maxpacket_limit(&ep->end_point, hw_ep->max_packet_sz_rx); in init_peripheral_ep()
1771 if (hw_ep->max_packet_sz_rx) { in musb_g_init_endpoints()
H A Dmusb_host.c1659 if (rx_count < hw_ep->max_packet_sz_rx) { in musb_rx_dma_in_inventra_cppi41()
2038 diff = hw_ep->max_packet_sz_rx; in musb_schedule()