Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/drivers/usb/musb-new/
H A Dmusb_core.h249 u16 max_packet_sz_tx; member
472 hw_ep->max_packet_sz_tx = 1 << (reg & 0x0f); in musb_read_fifosize()
476 hw_ep->max_packet_sz_rx = hw_ep->max_packet_sz_tx; in musb_read_fifosize()
489 musb->endpoints[0].max_packet_sz_tx = MUSB_EP0_FIFOSIZE; in musb_configure_ep0()
H A Dmusb_gadget.c267 return ep->hw_ep->max_packet_sz_tx; in max_ep_writesize()
1097 if (tmp > hw_ep->max_packet_sz_tx) { in musb_gadget_enable()
1112 musb_writew(regs, MUSB_TXMAXP, hw_ep->max_packet_sz_tx); in musb_gadget_enable()
1152 musb_writew(regs, MUSB_RXMAXP, hw_ep->max_packet_sz_tx); in musb_gadget_enable()
1837 ep->end_point.maxpacket = hw_ep->max_packet_sz_tx; in init_peripheral_ep()
1865 if (hw_ep->max_packet_sz_tx) { in musb_g_init_endpoints()
2072 if (hw_ep->max_packet_sz_tx) in stop_activity()
H A Dmusb_core.c1222 hw_ep->max_packet_sz_tx = maxpacket; in fifo_setup()
1239 hw_ep->max_packet_sz_tx = maxpacket; in fifo_setup()
1367 if (hw_ep->max_packet_sz_tx < 512 in ep_config_from_hw()
1494 if (hw_ep->max_packet_sz_tx) { in musb_core_init()
1501 hw_ep->max_packet_sz_tx); 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_host.c785 hw_ep->max_packet_sz_tx); in musb_ep_program()
788 | ((hw_ep->max_packet_sz_tx / in musb_ep_program()
803 load_count = min((u32) hw_ep->max_packet_sz_tx, in musb_ep_program()
1830 diff = hw_ep->max_packet_sz_tx; in musb_schedule()
/OK3568_Linux_fs/kernel/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.c211 return ep->hw_ep->max_packet_sz_tx; in max_ep_writesize()
977 if (tmp > hw_ep->max_packet_sz_tx) { in musb_gadget_enable()
992 musb_ep->hb_mult = (hw_ep->max_packet_sz_tx / in musb_gadget_enable()
1720 usb_ep_set_maxpacket_limit(&ep->end_point, hw_ep->max_packet_sz_tx); in init_peripheral_ep()
1759 if (hw_ep->max_packet_sz_tx) { in musb_g_init_endpoints()
H A Dmusb_core.c1422 hw_ep->max_packet_sz_tx = maxpacket; in fifo_setup()
1439 hw_ep->max_packet_sz_tx = maxpacket; in fifo_setup()
1569 if (hw_ep->max_packet_sz_tx < 512 in ep_config_from_hw()
1693 if (hw_ep->max_packet_sz_tx) { in musb_core_init()
1699 hw_ep->max_packet_sz_tx); in musb_core_init()
1709 if (!(hw_ep->max_packet_sz_tx || hw_ep->max_packet_sz_rx)) in musb_core_init()
H A Dmusb_host.c783 qh->hb_mult = hw_ep->max_packet_sz_tx in musb_ep_program()
801 load_count = min((u32) hw_ep->max_packet_sz_tx, in musb_ep_program()
2040 diff = hw_ep->max_packet_sz_tx; in musb_schedule()