Home
last modified time | relevance | path

Searched refs:i2sctl (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/sound/soc/qcom/
Dlpass-cpu.c44 struct lpaif_i2sctl *i2sctl, struct regmap *map) in lpass_cpu_init_i2sctl_bitfields() argument
49 i2sctl->loopback = devm_regmap_field_alloc(dev, map, v->loopback); in lpass_cpu_init_i2sctl_bitfields()
50 i2sctl->spken = devm_regmap_field_alloc(dev, map, v->spken); in lpass_cpu_init_i2sctl_bitfields()
51 i2sctl->spkmode = devm_regmap_field_alloc(dev, map, v->spkmode); in lpass_cpu_init_i2sctl_bitfields()
52 i2sctl->spkmono = devm_regmap_field_alloc(dev, map, v->spkmono); in lpass_cpu_init_i2sctl_bitfields()
53 i2sctl->micen = devm_regmap_field_alloc(dev, map, v->micen); in lpass_cpu_init_i2sctl_bitfields()
54 i2sctl->micmode = devm_regmap_field_alloc(dev, map, v->micmode); in lpass_cpu_init_i2sctl_bitfields()
55 i2sctl->micmono = devm_regmap_field_alloc(dev, map, v->micmono); in lpass_cpu_init_i2sctl_bitfields()
56 i2sctl->wssrc = devm_regmap_field_alloc(dev, map, v->wssrc); in lpass_cpu_init_i2sctl_bitfields()
57 i2sctl->bitwidth = devm_regmap_field_alloc(dev, map, v->bitwidth); in lpass_cpu_init_i2sctl_bitfields()
[all …]
Dlpass.h161 struct lpaif_i2sctl *i2sctl; member
/linux-6.1.9/sound/soc/codecs/
Dsgtl5000.c799 u16 i2sctl = 0; in sgtl5000_set_dai_fmt() local
812 i2sctl |= SGTL5000_I2S_MASTER; in sgtl5000_set_dai_fmt()
822 i2sctl |= SGTL5000_I2S_MODE_PCM << SGTL5000_I2S_MODE_SHIFT; in sgtl5000_set_dai_fmt()
825 i2sctl |= SGTL5000_I2S_MODE_PCM << SGTL5000_I2S_MODE_SHIFT; in sgtl5000_set_dai_fmt()
826 i2sctl |= SGTL5000_I2S_LRALIGN; in sgtl5000_set_dai_fmt()
829 i2sctl |= SGTL5000_I2S_MODE_I2S_LJ << SGTL5000_I2S_MODE_SHIFT; in sgtl5000_set_dai_fmt()
832 i2sctl |= SGTL5000_I2S_MODE_RJ << SGTL5000_I2S_MODE_SHIFT; in sgtl5000_set_dai_fmt()
833 i2sctl |= SGTL5000_I2S_LRPOL; in sgtl5000_set_dai_fmt()
836 i2sctl |= SGTL5000_I2S_MODE_I2S_LJ << SGTL5000_I2S_MODE_SHIFT; in sgtl5000_set_dai_fmt()
837 i2sctl |= SGTL5000_I2S_LRALIGN; in sgtl5000_set_dai_fmt()
[all …]
/linux-6.1.9/sound/pci/ctxfi/
Dcthw20k1.c817 unsigned int i2sctl; member
977 set_field(&ctl->i2sctl, I2SCTL_EI << (idx*8), 1); in daio_mgr_enb_dai()
994 set_field(&ctl->i2sctl, I2SCTL_EI << (idx*8), 0); in daio_mgr_dsb_dai()
1011 set_field(&ctl->i2sctl, I2SCTL_EA << (idx*8), 1); in daio_mgr_enb_dao()
1028 set_field(&ctl->i2sctl, I2SCTL_EA << (idx*8), 0); in daio_mgr_dsb_dao()
1111 hw_write_20kx(hw, I2SCTL, ctl->i2sctl); in daio_mgr_commit_write()
1148 blk->i2sctl = hw_read_20kx(hw, I2SCTL); in daio_mgr_get_ctrl_blk()