Lines Matching refs:slot
88 /* ADAT slot bitmap depends on sample rate. */
103 /* Map HDSP 9632 ports to slot bitmap. */
113 /* Map HDSP 9652 ports to slot bitmap, no quad speed. */
138 /* Ends of slot rows are followed by a slot which is not in the set. */
148 for (uint32_t slot = 1; slot != 0; slot <<= 1) {
149 if ((slots & slot) && n > 0)
152 slots &= ~slot;
268 uint32_t slot, slots;
277 * Get slot map from physical port.
282 slot = hdsp_slot_first(slots);
284 /* Treat first slot as left channel. */
286 while (slot != 0) {
287 offset = hdsp_slot_offset(slot);
290 slots &= ~slot;
291 slot = hdsp_slot_first(slots);
373 uint32_t slot, slots;
389 slot = hdsp_slot_first(slots);
390 while (slot != 0) {
391 /* Set register to enable or disable slot. */
392 offset = hdsp_slot_offset(slot);
395 slots &= ~slot;
396 slot = hdsp_slot_first(slots);
462 unsigned int slot;
465 for (slot = 0; slot < width; slot++) {
466 dma[slot * HDSP_CHANBUF_SAMPLES + pos] =
467 pcm[pos * channels + slot];
479 /* Translate DMA slot offset to DMA buffer offset. */
483 /* Channel position of the slot subset. */
507 unsigned int slot;
510 for (slot = 0; slot < width; slot++) {
511 pcm[pos * channels + slot] =
512 dma[slot * HDSP_CHANBUF_SAMPLES + pos];
524 /* Translate DMA slot offset to DMA buffer offset. */
528 /* Channel position of the slot subset. */
636 uint32_t slot, slots;
648 slot = hdsp_slot_first(slots);
649 while (slot != 0) {
650 /* Clear the slot's buffer. */
651 offset = hdsp_slot_offset(slot);
654 slots &= ~slot;
655 slot = hdsp_slot_first(slots);