Searched refs:mpkt (Results 1 – 2 of 2) sorted by relevance
793 u32 mpkt; in _nbu2ss_out_dma() local812 mpkt = _nbu2ss_readl(&preg->EP_REGS[num].EP_PCKT_ADRS) & EPN_MPKT; in _nbu2ss_out_dma()813 dmacnt = length / mpkt; in _nbu2ss_out_dma()814 lmpkt = (length % mpkt) & ~(u32)0x03; in _nbu2ss_out_dma()825 data = mpkt | (lmpkt << 16); in _nbu2ss_out_dma()987 u32 mpkt; /* MaxPacketSize */ in _nbu2ss_in_dma() local1005 mpkt = _nbu2ss_readl(&preg->EP_REGS[num].EP_PCKT_ADRS) & EPN_MPKT; in _nbu2ss_in_dma()1007 i_write_length = min(DMA_MAX_COUNT * mpkt, length); in _nbu2ss_in_dma()1011 if (mpkt < i_write_length) { in _nbu2ss_in_dma()1012 dmacnt = i_write_length / mpkt; in _nbu2ss_in_dma()[all …]
2190 u32 mpkt = PN_RAMMAP_MPKT(1024); in usb3_calc_rammap_val() local2194 mpkt = PN_RAMMAP_MPKT(max_packet_array[i]); in usb3_calc_rammap_val()2197 return usb3_ep->rammap_val | mpkt; in usb3_calc_rammap_val()