Lines Matching defs:byte_pos
96 int byte_pos;
879 u32 *buf = (u32 *)(runtime->dma_area + ssi->byte_pos);
881 int byte_pos;
897 byte_pos = ssi->byte_pos + sizeof(*buf);
899 if (byte_pos >= ssi->next_period_byte) {
900 int period_pos = byte_pos / ssi->byte_per_period;
903 byte_pos = 0;
912 WRITE_ONCE(ssi->byte_pos, byte_pos);
925 ssi->byte_pos = 0;
942 *pointer = bytes_to_frames(runtime, READ_ONCE(ssi->byte_pos));