Home
last modified time | relevance | path

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

/linux/drivers/usb/musb/
H A Dmusb_core.h216 u16 max_packet_sz_tx; member
467 hw_ep->max_packet_sz_tx = 1 << (reg & 0x0f); in musb_read_fifosize()
471 hw_ep->max_packet_sz_rx = hw_ep->max_packet_sz_tx; in musb_read_fifosize()
484 musb->endpoints[0].max_packet_sz_tx = MUSB_EP0_FIFOSIZE; in musb_configure_ep0()
H A Dmusb_gadget.c212 return ep->hw_ep->max_packet_sz_tx; in max_ep_writesize()
978 if (tmp > hw_ep->max_packet_sz_tx) { in musb_gadget_enable()
993 musb_ep->hb_mult = (hw_ep->max_packet_sz_tx / in musb_gadget_enable()
1717 usb_ep_set_maxpacket_limit(&ep->end_point, hw_ep->max_packet_sz_tx); in init_peripheral_ep()
1754 if (hw_ep->max_packet_sz_tx) { in musb_g_init_endpoints()
H A Dmusb_core.c1419 hw_ep->max_packet_sz_tx = maxpacket; in fifo_setup()
1436 hw_ep->max_packet_sz_tx = maxpacket; in fifo_setup()
1566 if (hw_ep->max_packet_sz_tx < 512 in ep_config_from_hw()
1690 if (hw_ep->max_packet_sz_tx) { in musb_core_init()
1696 hw_ep->max_packet_sz_tx); in musb_core_init()
1706 if (!(hw_ep->max_packet_sz_tx || hw_ep->max_packet_sz_rx)) in musb_core_init()