Searched refs:max_packet_sz_tx (Results 1 – 4 of 4) 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()