/linux-master/drivers/iio/adc/ |
H A D | axp20x_adc.c | 557 unsigned int regmask, regval; local 571 regmask = AXP20X_GPIO10_IN_RANGE_GPIO0; 576 regmask = AXP20X_GPIO10_IN_RANGE_GPIO1; 584 return regmap_update_bits(info->regmap, AXP20X_GPIO10_IN_RANGE, regmask, regval);
|
H A D | twl4030-madc.c | 683 int regmask; local 694 regmask = chan ? TWL4030_BCI_ITHEN : TWL4030_BCI_TYPEN; 696 regval |= regmask; 698 regval &= ~regmask;
|
/linux-master/drivers/media/usb/dvb-usb/ |
H A D | af9005.c | 37 u8 regmask[8] = { 0x01, 0x03, 0x07, 0x0f, 0x1f, 0x3f, 0x7f, 0xff }; variable 206 *value = (temp >> pos) & regmask[len - 1]; 223 mask = regmask[len - 1] << pos; 265 done = temp & (regmask[i2c_m_status_wdat_done_len - 1] 269 fail = temp & (regmask[i2c_m_status_wdat_fail_len - 1]
|
H A D | af9005-fe.c | 829 if (temp & (regmask[reg_ofdm_rst_len - 1] << reg_ofdm_rst_pos)) 863 temp = regmask[reg_ofdm_rst_len - 1] << reg_ofdm_rst_pos;
|
H A D | af9005.h | 3475 extern u8 regmask[8];
|
/linux-master/sound/pci/rme9652/ |
H A 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) argument 3206 return (reg & regmask) ? 1 : 0; 3209 static int hdspm_set_toggle_setting(struct hdspm *hdspm, u32 regmask, int out) argument 3223 *reg |= regmask; 3225 *reg &= ~regmask; 3238 u32 regmask = kcontrol->private_value; local 3241 ucontrol->value.integer.value[0] = hdspm_toggle_setting(hdspm, regmask); 3250 u32 regmask = kcontrol->private_value; local 3258 change = (int) val != hdspm_toggle_setting(hdspm, regmask); 3473 hdspm_tristate(struct hdspm *hdspm, u32 regmask) argument 3479 hdspm_set_tristate(struct hdspm *hdspm, int mode, u32 regmask) argument 3491 u32 regmask = kcontrol->private_value; local 3511 u32 regmask = kcontrol->private_value; local 3523 u32 regmask = kcontrol->private_value; local [all...] |
H A D | hdsp.c | 1697 static int hdsp_toggle_setting(struct hdsp *hdsp, u32 regmask) argument 1699 return (hdsp->control_register & regmask) ? 1 : 0; 1702 static int hdsp_set_toggle_setting(struct hdsp *hdsp, u32 regmask, int out) argument 1705 hdsp->control_register |= regmask; 1707 hdsp->control_register &= ~regmask; 1719 u32 regmask = kcontrol->private_value; local 1722 ucontrol->value.integer.value[0] = hdsp_toggle_setting(hdsp, regmask); 1731 u32 regmask = kcontrol->private_value; local 1739 change = (int) val != hdsp_toggle_setting(hdsp, regmask); 1741 hdsp_set_toggle_setting(hdsp, regmask, va [all...] |
/linux-master/sound/soc/codecs/ |
H A D | max98095.c | 1496 int regmask, regsave; local 1528 regmask = (channel == 0) ? M98095_EQ1EN : M98095_EQ2EN; 1532 snd_soc_component_update_bits(component, M98095_088_CFG_LEVEL, regmask, 0); 1545 snd_soc_component_update_bits(component, M98095_088_CFG_LEVEL, regmask, regsave); 1647 int regmask, regsave; local 1679 regmask = (channel == 0) ? M98095_BQ1EN : M98095_BQ2EN; 1683 snd_soc_component_update_bits(component, M98095_088_CFG_LEVEL, regmask, 0); 1693 snd_soc_component_update_bits(component, M98095_088_CFG_LEVEL, regmask, regsave);
|
/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | selftest_workarounds.c | 951 struct regmask { struct 958 const struct regmask *tbl, 976 static const struct regmask pardon[] = { 999 static const struct regmask wo[] = {
|
/linux-master/sound/soc/ |
H A D | soc-ops.c | 946 unsigned int regmask = (mask >> (regwshift*(regcount-i-1))) & regwmask; local 948 regmask, regval);
|