Searched refs:max_packet_sz_tx (Results 1 – 8 of 8) sorted by relevance
252 u16 max_packet_sz_tx; member475 hw_ep->max_packet_sz_tx = 1 << (reg & 0x0f); in musb_read_fifosize()479 hw_ep->max_packet_sz_rx = hw_ep->max_packet_sz_tx; in musb_read_fifosize()492 musb->endpoints[0].max_packet_sz_tx = MUSB_EP0_FIFOSIZE; in musb_configure_ep0()
266 return ep->hw_ep->max_packet_sz_tx; in max_ep_writesize()1096 if (tmp > hw_ep->max_packet_sz_tx) { in musb_gadget_enable()1111 musb_writew(regs, MUSB_TXMAXP, hw_ep->max_packet_sz_tx); in musb_gadget_enable()1151 musb_writew(regs, MUSB_RXMAXP, hw_ep->max_packet_sz_tx); in musb_gadget_enable()1847 ep->end_point.maxpacket = hw_ep->max_packet_sz_tx; in init_peripheral_ep()1875 if (hw_ep->max_packet_sz_tx) { in musb_g_init_endpoints()2082 if (hw_ep->max_packet_sz_tx) in stop_activity()
1222 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()
784 hw_ep->max_packet_sz_tx); in musb_ep_program()787 | ((hw_ep->max_packet_sz_tx / in musb_ep_program()802 load_count = min((u32) hw_ep->max_packet_sz_tx, in musb_ep_program()1829 diff = hw_ep->max_packet_sz_tx; in musb_schedule()
216 u16 max_packet_sz_tx; member467 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()
211 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()1727 usb_ep_set_maxpacket_limit(&ep->end_point, hw_ep->max_packet_sz_tx); in init_peripheral_ep()1766 if (hw_ep->max_packet_sz_tx) { in musb_g_init_endpoints()
1418 hw_ep->max_packet_sz_tx = maxpacket; in fifo_setup()1435 hw_ep->max_packet_sz_tx = maxpacket; in fifo_setup()1565 if (hw_ep->max_packet_sz_tx < 512 in ep_config_from_hw()1689 if (hw_ep->max_packet_sz_tx) { in musb_core_init()1695 hw_ep->max_packet_sz_tx); in musb_core_init()1705 if (!(hw_ep->max_packet_sz_tx || hw_ep->max_packet_sz_rx)) in musb_core_init()
783 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()