/linux-6.1.9/drivers/iio/adc/ |
D | twl4030-madc.c | 681 int regmask; in twl4030_madc_set_current_generator() local 692 regmask = chan ? TWL4030_BCI_ITHEN : TWL4030_BCI_TYPEN; in twl4030_madc_set_current_generator() 694 regval |= regmask; in twl4030_madc_set_current_generator() 696 regval &= ~regmask; in twl4030_madc_set_current_generator()
|
/linux-6.1.9/sound/soc/codecs/ |
D | max98095.c | 1496 int regmask, regsave; in max98095_put_eq_enum() local 1528 regmask = (channel == 0) ? M98095_EQ1EN : M98095_EQ2EN; in max98095_put_eq_enum() 1532 snd_soc_component_update_bits(component, M98095_088_CFG_LEVEL, regmask, 0); in max98095_put_eq_enum() 1545 snd_soc_component_update_bits(component, M98095_088_CFG_LEVEL, regmask, regsave); in max98095_put_eq_enum() 1647 int regmask, regsave; in max98095_put_bq_enum() local 1679 regmask = (channel == 0) ? M98095_BQ1EN : M98095_BQ2EN; in max98095_put_bq_enum() 1683 snd_soc_component_update_bits(component, M98095_088_CFG_LEVEL, regmask, 0); in max98095_put_bq_enum() 1693 snd_soc_component_update_bits(component, M98095_088_CFG_LEVEL, regmask, regsave); in max98095_put_bq_enum()
|
/linux-6.1.9/sound/pci/rme9652/ |
D | hdspm.c | 1097 static int hdspm_set_toggle_setting(struct hdspm *hdspm, u32 regmask, int out); 3197 static int hdspm_toggle_setting(struct hdspm *hdspm, u32 regmask) in hdspm_toggle_setting() argument 3206 return (reg & regmask) ? 1 : 0; in hdspm_toggle_setting() 3209 static int hdspm_set_toggle_setting(struct hdspm *hdspm, u32 regmask, int out) in hdspm_set_toggle_setting() argument 3223 *reg |= regmask; in hdspm_set_toggle_setting() 3225 *reg &= ~regmask; in hdspm_set_toggle_setting() 3238 u32 regmask = kcontrol->private_value; in snd_hdspm_get_toggle_setting() local 3241 ucontrol->value.integer.value[0] = hdspm_toggle_setting(hdspm, regmask); in snd_hdspm_get_toggle_setting() 3250 u32 regmask = kcontrol->private_value; in snd_hdspm_put_toggle_setting() local 3258 change = (int) val != hdspm_toggle_setting(hdspm, regmask); in snd_hdspm_put_toggle_setting() [all …]
|
D | hdsp.c | 1697 static int hdsp_toggle_setting(struct hdsp *hdsp, u32 regmask) in hdsp_toggle_setting() argument 1699 return (hdsp->control_register & regmask) ? 1 : 0; in hdsp_toggle_setting() 1702 static int hdsp_set_toggle_setting(struct hdsp *hdsp, u32 regmask, int out) in hdsp_set_toggle_setting() argument 1705 hdsp->control_register |= regmask; in hdsp_set_toggle_setting() 1707 hdsp->control_register &= ~regmask; in hdsp_set_toggle_setting() 1719 u32 regmask = kcontrol->private_value; in snd_hdsp_get_toggle_setting() local 1722 ucontrol->value.integer.value[0] = hdsp_toggle_setting(hdsp, regmask); in snd_hdsp_get_toggle_setting() 1731 u32 regmask = kcontrol->private_value; in snd_hdsp_put_toggle_setting() local 1739 change = (int) val != hdsp_toggle_setting(hdsp, regmask); in snd_hdsp_put_toggle_setting() 1741 hdsp_set_toggle_setting(hdsp, regmask, val); in snd_hdsp_put_toggle_setting()
|
/linux-6.1.9/drivers/media/usb/dvb-usb/ |
D | af9005.c | 37 u8 regmask[8] = { 0x01, 0x03, 0x07, 0x0f, 0x1f, 0x3f, 0x7f, 0xff }; variable 206 *value = (temp >> pos) & regmask[len - 1]; in af9005_read_register_bits() 223 mask = regmask[len - 1] << pos; in af9005_write_register_bits() 265 done = temp & (regmask[i2c_m_status_wdat_done_len - 1] in af9005_write_tuner_registers() 269 fail = temp & (regmask[i2c_m_status_wdat_fail_len - 1] in af9005_write_tuner_registers()
|
D | af9005-fe.c | 829 if (temp & (regmask[reg_ofdm_rst_len - 1] << reg_ofdm_rst_pos)) in af9005_fe_init() 863 temp = regmask[reg_ofdm_rst_len - 1] << reg_ofdm_rst_pos; in af9005_fe_init()
|
D | af9005.h | 3475 extern u8 regmask[8];
|
/linux-6.1.9/drivers/gpu/drm/i915/gt/ |
D | selftest_workarounds.c | 967 struct regmask { struct 974 const struct regmask *tbl, in find_reg() argument 992 static const struct regmask pardon[] = { in pardon_reg() 1015 static const struct regmask wo[] = { in writeonly_reg()
|
/linux-6.1.9/sound/soc/ |
D | soc-ops.c | 946 unsigned int regmask = (mask >> (regwshift*(regcount-i-1))) & regwmask; in snd_soc_put_xr_sx() local 948 regmask, regval); in snd_soc_put_xr_sx()
|