Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/usb/musb/
Dmusb_core.h231 u16 max_packet_sz_tx; member
453 hw_ep->max_packet_sz_tx = 128; in musb_read_fifosize()
456 hw_ep->max_packet_sz_tx = 1024; in musb_read_fifosize()
466 musb->endpoints[0].max_packet_sz_tx = MUSB_EP0_FIFOSIZE; in musb_configure_ep0()
488 hw_ep->max_packet_sz_tx = 1 << (reg & 0x0f); in musb_read_fifosize()
492 hw_ep->max_packet_sz_rx = hw_ep->max_packet_sz_tx; in musb_read_fifosize()
505 musb->endpoints[0].max_packet_sz_tx = MUSB_EP0_FIFOSIZE; in musb_configure_ep0()
Dmusb_gadget.c244 return ep->hw_ep->max_packet_sz_tx; in max_ep_writesize()
1021 if (tmp > hw_ep->max_packet_sz_tx) { in musb_gadget_enable()
1036 musb_writew(regs, MUSB_TXMAXP, hw_ep->max_packet_sz_tx); in musb_gadget_enable()
1039 musb_ep->hb_mult = (hw_ep->max_packet_sz_tx / in musb_gadget_enable()
1079 musb_writew(regs, MUSB_RXMAXP, hw_ep->max_packet_sz_tx); in musb_gadget_enable()
1732 usb_ep_set_maxpacket_limit(&ep->end_point, hw_ep->max_packet_sz_tx); in init_peripheral_ep()
1760 if (hw_ep->max_packet_sz_tx) { in musb_g_init_endpoints()
Dmusb_core.c1266 hw_ep->max_packet_sz_tx = maxpacket; in fifo_setup()
1283 hw_ep->max_packet_sz_tx = maxpacket; in fifo_setup()
1414 if (hw_ep->max_packet_sz_tx < 512 in ep_config_from_hw()
1542 if (hw_ep->max_packet_sz_tx) { in musb_core_init()
1549 hw_ep->max_packet_sz_tx); in musb_core_init()
1560 if (!(hw_ep->max_packet_sz_tx || hw_ep->max_packet_sz_rx)) in musb_core_init()
Dmusb_host.c816 hw_ep->max_packet_sz_tx); in musb_ep_program()
818 qh->hb_mult = hw_ep->max_packet_sz_tx in musb_ep_program()
836 load_count = min((u32) hw_ep->max_packet_sz_tx, in musb_ep_program()
2003 diff = hw_ep->max_packet_sz_tx; in musb_schedule()