Home
last modified time | relevance | path

Searched refs:scfg (Results 1 – 3 of 3) sorted by relevance

/sound/soc/qcom/qdsp6/
Dq6afe.c479 struct afe_param_id_slot_mapping_cfg *scfg; member
723 kfree(port->scfg); in q6afe_port_free()
1114 port->scfg = kzalloc(sizeof(*port->scfg), GFP_KERNEL); in q6afe_tdm_port_prepare()
1115 if (!port->scfg) in q6afe_tdm_port_prepare()
1118 port->scfg->minor_version = AFE_API_VERSION_SLOT_MAPPING_CONFIG; in q6afe_tdm_port_prepare()
1119 port->scfg->num_channels = cfg->num_channels; in q6afe_tdm_port_prepare()
1120 port->scfg->bitwidth = cfg->bit_width; in q6afe_tdm_port_prepare()
1121 port->scfg->data_align_type = cfg->data_align_type; in q6afe_tdm_port_prepare()
1122 memcpy(port->scfg->ch_mapping, cfg->ch_mapping, in q6afe_tdm_port_prepare()
1317 if (port->scfg) { in q6afe_port_start()
[all …]
/sound/pci/ac97/
Dac97_codec.c2714 unsigned short scfg; in tune_ad_sharing() local
2720 scfg = snd_ac97_read(ac97, AC97_AD_SERIAL_CFG); in tune_ad_sharing()
2721 snd_ac97_write_cache(ac97, AC97_AD_SERIAL_CFG, scfg | 0x0200); in tune_ad_sharing()
Dac97_patch.c1446 unsigned short scfg; in patch_ad1819() local
1449 scfg = snd_ac97_read(ac97, AC97_AD_SERIAL_CFG); in patch_ad1819()
1450 snd_ac97_write_cache(ac97, AC97_AD_SERIAL_CFG, scfg | 0x7000); /* select all codecs */ in patch_ad1819()