Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/usb/musb/
Dmusb_core.h232 u16 max_packet_sz_rx; member
454 hw_ep->max_packet_sz_rx = 128; in musb_read_fifosize()
457 hw_ep->max_packet_sz_rx = 1024; in musb_read_fifosize()
467 musb->endpoints[0].max_packet_sz_rx = MUSB_EP0_FIFOSIZE; in musb_configure_ep0()
492 hw_ep->max_packet_sz_rx = hw_ep->max_packet_sz_tx; in musb_read_fifosize()
496 hw_ep->max_packet_sz_rx = 1 << ((reg & 0xf0) >> 4); in musb_read_fifosize()
506 musb->endpoints[0].max_packet_sz_rx = MUSB_EP0_FIFOSIZE; in musb_configure_ep0()
Dmusb_core.c1272 hw_ep->max_packet_sz_rx = maxpacket; in fifo_setup()
1278 hw_ep->max_packet_sz_rx = maxpacket; in fifo_setup()
1415 || hw_ep->max_packet_sz_rx < 512) in ep_config_from_hw()
1551 if (hw_ep->max_packet_sz_rx && !hw_ep->is_shared_fifo) { in musb_core_init()
1558 hw_ep->max_packet_sz_rx); in musb_core_init()
1560 if (!(hw_ep->max_packet_sz_tx || hw_ep->max_packet_sz_rx)) in musb_core_init()
Dmusb_gadget.c1064 if (tmp > hw_ep->max_packet_sz_rx) { in musb_gadget_enable()
1734 usb_ep_set_maxpacket_limit(&ep->end_point, hw_ep->max_packet_sz_rx); in init_peripheral_ep()
1765 if (hw_ep->max_packet_sz_rx) { in musb_g_init_endpoints()
Dmusb_host.c612 musb_writew(ep->regs, MUSB_RXMAXP, ep->max_packet_sz_rx); in musb_rx_reinit()
1834 if (rx_count < hw_ep->max_packet_sz_rx) { in musb_host_rx()
2001 diff = hw_ep->max_packet_sz_rx; in musb_schedule()