Home
last modified time | relevance | path

Searched refs:velem (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/sound/soc/sof/
H A Dtopology.c345 struct snd_soc_tplg_vendor_value_elem *velem = elem; in get_token_u32() local
348 *val = le32_to_cpu(velem->value); in get_token_u32()
354 struct snd_soc_tplg_vendor_value_elem *velem = elem; in get_token_u16() local
357 *val = (u16)le32_to_cpu(velem->value); in get_token_u16()
363 struct snd_soc_tplg_vendor_uuid_elem *velem = elem; in get_token_uuid() local
366 memcpy(dst, velem->uuid, UUID_SIZE); in get_token_uuid()
1372 struct snd_soc_tplg_vendor_value_elem *velem = elem; in get_w_no_wname_in_long_name() local
1375 w->no_wname_in_kcontrol_name = !!le32_to_cpu(velem->value); in get_w_no_wname_in_long_name()
/openbmc/linux/sound/soc/intel/avs/
H A Dtopology.c356 struct snd_soc_tplg_vendor_value_elem *velem = elem; in parse_audio_format_bitfield() local
361 audio_format->num_channels = le32_to_cpu(velem->value); in parse_audio_format_bitfield()
364 audio_format->valid_bit_depth = le32_to_cpu(velem->value); in parse_audio_format_bitfield()
367 audio_format->sample_type = le32_to_cpu(velem->value); in parse_audio_format_bitfield()