Home
last modified time | relevance | path

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

/linux/drivers/media/pci/smipcie/
H A Dsmipcie-main.c62 static void smi_i2c_cfg(struct smi_dev *dev, u32 sw_ctl) in smi_i2c_cfg() argument
66 dwCtrl = smi_read(sw_ctl); in smi_i2c_cfg()
71 smi_write(sw_ctl, dwCtrl); in smi_i2c_cfg()
73 dwCtrl = smi_read(sw_ctl); in smi_i2c_cfg()
75 smi_write(sw_ctl, dwCtrl); in smi_i2c_cfg()
78 static void smi_i2c_setsda(struct smi_dev *dev, int state, u32 sw_ctl) in smi_i2c_setsda() argument
82 smi_clear(sw_ctl, SW_I2C_MSK_DAT_EN); in smi_i2c_setsda()
84 smi_clear(sw_ctl, SW_I2C_MSK_DAT_OUT); in smi_i2c_setsda()
86 smi_set(sw_ctl, SW_I2C_MSK_DAT_EN); in smi_i2c_setsda()
90 static void smi_i2c_setscl(void *data, int state, u32 sw_ctl) in smi_i2c_setscl() argument
[all …]
/linux/sound/pci/hda/
H A Dhda_generic.c3674 unsigned int vol_ctl, unsigned int sw_ctl, in create_single_cap_vol_ctl() argument
3681 err = add_single_cap_ctl(codec, NULL, idx, true, sw_ctl, inv_dmic); in create_single_cap_vol_ctl()
3689 unsigned int vol_ctl, unsigned int sw_ctl) in create_bind_cap_vol_ctl() argument
3702 if (sw_ctl) { in create_bind_cap_vol_ctl()
3707 knew->private_value = sw_ctl; in create_bind_cap_vol_ctl()