Lines Matching refs:pos
103 struct catpt_stream_runtime *pos, *result = NULL; in catpt_stream_find() local
106 list_for_each_entry(pos, &cdev->stream_list, node) { in catpt_stream_find()
107 if (pos->info.stream_hw_id == stream_hw_id) { in catpt_stream_find()
108 result = pos; in catpt_stream_find()
120 u32 pos; in catpt_stream_read_position() local
122 memcpy_fromio(&pos, cdev->lpe_ba + stream->info.read_pos_regaddr, in catpt_stream_read_position()
123 sizeof(pos)); in catpt_stream_read_position()
124 return pos; in catpt_stream_read_position()
334 struct snd_kcontrol *pos; in catpt_dai_apply_usettings() local
357 list_for_each_entry(pos, &component->card->snd_card->controls, list) { in catpt_dai_apply_usettings()
358 if (pos->private_data == component && in catpt_dai_apply_usettings()
359 !strncmp(name, pos->id.name, sizeof(pos->id.name))) in catpt_dai_apply_usettings()
362 if (list_entry_is_head(pos, &component->card->snd_card->controls, list)) in catpt_dai_apply_usettings()
366 return catpt_set_dspvol(cdev, id, (long *)pos->private_value); in catpt_dai_apply_usettings()
367 ret = catpt_ipc_mute_loopback(cdev, id, *(bool *)pos->private_value); in catpt_dai_apply_usettings()
473 snd_pcm_uframes_t pos; in catpt_dai_trigger() local
484 pos = frames_to_bytes(runtime, runtime->start_threshold); in catpt_dai_trigger()
490 pos, false, false); in catpt_dai_trigger()
523 struct catpt_notify_position *pos) in catpt_stream_update_position() argument
530 dsppos = bytes_to_frames(r, pos->stream_position); in catpt_stream_update_position()
612 u32 pos; in catpt_component_pointer() local
618 pos = catpt_stream_read_position(cdev, stream); in catpt_component_pointer()
620 return bytes_to_frames(substream->runtime, pos); in catpt_component_pointer()