Lines Matching refs:adat_width
129 hdspe_channel_count(uint32_t ports, uint32_t adat_width) in hdspe_channel_count() argument
146 count += adat_width; in hdspe_channel_count()
154 count += adat_width; in hdspe_channel_count()
156 count += adat_width; in hdspe_channel_count()
158 count += adat_width; in hdspe_channel_count()
160 count += adat_width; in hdspe_channel_count()
167 hdspe_channel_offset(uint32_t subset, uint32_t ports, unsigned int adat_width) in hdspe_channel_offset() argument
181 return (hdspe_channel_count(preceding, adat_width)); in hdspe_channel_offset()
185 hdspe_port_slot_offset(uint32_t port, unsigned int adat_width) in hdspe_port_slot_offset() argument
211 return (4 + adat_width); in hdspe_port_slot_offset()
213 return (4 + 2 * adat_width); in hdspe_port_slot_offset()
215 return (4 + 3 * adat_width); in hdspe_port_slot_offset()
222 hdspe_port_slot_width(uint32_t ports, unsigned int adat_width) in hdspe_port_slot_width() argument
228 return (hdspe_channel_count(row, adat_width)); in hdspe_port_slot_width()
461 unsigned int pos, unsigned int samples, unsigned int adat_width, in buffer_mux_port() argument
468 slot_offset = hdspe_port_slot_offset(subset, adat_width); in buffer_mux_port()
477 slots = hdspe_port_slot_width(subset, MIN(adat_width, pcm_width)); in buffer_mux_port()
507 unsigned int pos, unsigned int samples, unsigned int adat_width, in buffer_demux_port() argument
514 slot_offset = hdspe_port_slot_offset(subset, adat_width); in buffer_demux_port()
523 slots = hdspe_port_slot_width(subset, MIN(adat_width, pcm_width)); in buffer_demux_port()
547 unsigned int adat_width, pcm_width; in buffer_copy() local
555 adat_width = hdspe_adat_width(sc->speed); in buffer_copy()
595 if (pcm_width == adat_width) in buffer_copy()
603 length, adat_width, pcm_width); in buffer_copy()
606 pos, length, adat_width, pcm_width); in buffer_copy()
609 if (pcm_width == adat_width) in buffer_copy()