Searched refs:max_packet_sz_tx (Results 1 – 4 of 4) sorted by relevance
249 u16 max_packet_sz_tx; member472 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()
267 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()
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()
785 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()