Home
last modified time | relevance | path

Searched refs:regmask (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/drivers/iio/adc/
Dtwl4030-madc.c688 int regmask; in twl4030_madc_set_current_generator() local
699 regmask = chan ? TWL4030_BCI_ITHEN : TWL4030_BCI_TYPEN; in twl4030_madc_set_current_generator()
701 regval |= regmask; in twl4030_madc_set_current_generator()
703 regval &= ~regmask; in twl4030_madc_set_current_generator()
/kernel/linux/linux-5.10/sound/soc/codecs/
Dmax98095.c1502 int regmask, regsave; in max98095_put_eq_enum() local
1534 regmask = (channel == 0) ? M98095_EQ1EN : M98095_EQ2EN; in max98095_put_eq_enum()
1538 snd_soc_component_update_bits(component, M98095_088_CFG_LEVEL, regmask, 0); in max98095_put_eq_enum()
1551 snd_soc_component_update_bits(component, M98095_088_CFG_LEVEL, regmask, regsave); in max98095_put_eq_enum()
1653 int regmask, regsave; in max98095_put_bq_enum() local
1685 regmask = (channel == 0) ? M98095_BQ1EN : M98095_BQ2EN; in max98095_put_bq_enum()
1689 snd_soc_component_update_bits(component, M98095_088_CFG_LEVEL, regmask, 0); in max98095_put_bq_enum()
1699 snd_soc_component_update_bits(component, M98095_088_CFG_LEVEL, regmask, regsave); in max98095_put_bq_enum()
/kernel/linux/linux-5.10/sound/pci/rme9652/
Dhdspm.c1098 static int hdspm_set_toggle_setting(struct hdspm *hdspm, u32 regmask, int out);
3202 static int hdspm_toggle_setting(struct hdspm *hdspm, u32 regmask) in hdspm_toggle_setting() argument
3211 return (reg & regmask) ? 1 : 0; in hdspm_toggle_setting()
3214 static int hdspm_set_toggle_setting(struct hdspm *hdspm, u32 regmask, int out) in hdspm_set_toggle_setting() argument
3228 *reg |= regmask; in hdspm_set_toggle_setting()
3230 *reg &= ~regmask; in hdspm_set_toggle_setting()
3243 u32 regmask = kcontrol->private_value; in snd_hdspm_get_toggle_setting() local
3246 ucontrol->value.integer.value[0] = hdspm_toggle_setting(hdspm, regmask); in snd_hdspm_get_toggle_setting()
3255 u32 regmask = kcontrol->private_value; in snd_hdspm_put_toggle_setting() local
3263 change = (int) val != hdspm_toggle_setting(hdspm, regmask); in snd_hdspm_put_toggle_setting()
[all …]
Dhdsp.c1699 static int hdsp_toggle_setting(struct hdsp *hdsp, u32 regmask) in hdsp_toggle_setting() argument
1701 return (hdsp->control_register & regmask) ? 1 : 0; in hdsp_toggle_setting()
1704 static int hdsp_set_toggle_setting(struct hdsp *hdsp, u32 regmask, int out) in hdsp_set_toggle_setting() argument
1707 hdsp->control_register |= regmask; in hdsp_set_toggle_setting()
1709 hdsp->control_register &= ~regmask; in hdsp_set_toggle_setting()
1721 u32 regmask = kcontrol->private_value; in snd_hdsp_get_toggle_setting() local
1724 ucontrol->value.integer.value[0] = hdsp_toggle_setting(hdsp, regmask); in snd_hdsp_get_toggle_setting()
1733 u32 regmask = kcontrol->private_value; in snd_hdsp_put_toggle_setting() local
1741 change = (int) val != hdsp_toggle_setting(hdsp, regmask); in snd_hdsp_put_toggle_setting()
1743 hdsp_set_toggle_setting(hdsp, regmask, val); in snd_hdsp_put_toggle_setting()
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb/
Daf9005.c37 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()
Daf9005-fe.c829 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()
Daf9005.h3475 extern u8 regmask[8];
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
Dselftest_workarounds.c909 struct regmask { struct
916 const struct regmask *tbl, in find_reg() argument
934 static const struct regmask pardon[] = { in pardon_reg()
957 static const struct regmask wo[] = { in writeonly_reg()
/kernel/linux/linux-5.10/sound/soc/
Dsoc-ops.c914 unsigned int i, regval, regmask; in snd_soc_put_xr_sx() local
924 regmask = (mask >> (regwshift*(regcount-i-1))) & regwmask; in snd_soc_put_xr_sx()
926 regmask, regval); in snd_soc_put_xr_sx()