regmap_test_bits
EXPORT_SYMBOL_GPL(regmap_test_bits);
ret = regmap_test_bits(gate->regmap, gate->reg, BIT(gate->shift));
return !regmap_test_bits(pll->common.map, pll->common.cfg1,
ret = regmap_test_bits(priv->map, QUAD8_INDEX_INPUT_LEVELS, BIT(signal->id - 16));
ret = regmap_test_bits(priv->map, QUAD8_CABLE_STATUS, BIT(channel_id));
if (!regmap_test_bits(priv->regmap, TIM_CCER, cc->ccer_bits))
if (!regmap_test_bits(priv->regmap, TIM_DIER, TIM_DIER_UIE))
bitval = regmap_test_bits(ecap_dev->regmap, ECAP_ECCTL_REG, ECAP_CAPPOL_BIT(idx));
if (regmap_test_bits(exar_gpio->regmap, addr, BIT(bit)))
return !!(regmap_test_bits(exar_gpio->regmap, addr, BIT(bit)));
return regmap_test_bits(mpfs_gpio->regs, mpfs_gpio->offsets->outp, BIT(gpio_index));
return regmap_test_bits(mpfs_gpio->regs, mpfs_gpio->offsets->inp, BIT(gpio_index));
ret = regmap_test_bits(st->regmap, AD2S1210_REG_CONTROL,
ret = regmap_test_bits(st->regmap, AD2S1210_REG_CONTROL,
return !regmap_test_bits(dev->vdecsys_regmap, VDEC_HW_ACTIVE_ADDR,
ret = regmap_test_bits(tps->regmap, regmap_reg, mask_val);
if (!regmap_test_bits(priv->regs, MTK_STAR_REG_HASH_CTRL,
int test = regmap_test_bits(utmi->syscon,
if (!regmap_test_bits(pmu, PMUA_USB_PHY_CTRL0, COMBO_PHY_SEL) == usb)
ret = regmap_test_bits(tcsr, args[0], BIT(args[1]));
ret = regmap_test_bits(regmap, AW9523_REG_CONF_STATE(pin), BIT(n));
return regmap_test_bits(clk->regmap, GPR_REG1, PLL_LOCK);
? regmap_test_bits(ctrl->base, APMU_PWR_STATUS_REG, pd->data.pwr_state)
: regmap_test_bits(ctrl->base, APMU_DEBUG, DSI_PHY_DVM_MASK);
state->enabled = regmap_test_bits(pc->regmap, LGM_PWM_FAN_CON0,
rtc->rtc_enabled = regmap_test_bits(rtc->map, RTC_CTRL, RTC_ENABLE);
alarm_enable = regmap_test_bits(rtc->map, RTC_CTRL, RTC_ALRM0_EN);
alarm_mask = regmap_test_bits(rtc->map, RTC_INT_MASK, RTC_ALRM0_IRQ_MSK);
rtc->rtc_enabled = regmap_test_bits(rtc->map, RTC_CTRL, RTC_ENABLE);
if (!regmap_test_bits(rtc->regmap, RTC_CR, RTC_EN))
wkalrm->enabled = regmap_test_bits(rtc->regmap, RTC_CR, ALARM_INT);
ret = regmap_test_bits(pcf8563->regmap, PCF8563_REG_SC,
if (!regmap_test_bits(regmap, RTC_CTRL, RTC_EN))
ret = regmap_test_bits(tps->regmap, TPS6594_REG_RTC_STATUS,
ret = regmap_test_bits(tps->regmap, TPS6594_REG_RTC_STATUS,
ret = regmap_test_bits(tps->regmap, TPS6594_REG_INT_STARTUP,
ret = regmap_test_bits(tps->regmap, TPS6594_REG_RTC_STATUS,
if (regmap_test_bits(retimer->regmap, REG_USB_PORT_CONN_STATUS_0,
int regmap_test_bits(struct regmap *map, unsigned int reg, unsigned int bits);
if (!regmap_test_bits(regmap, CPCAP_REG_INTS1, BIT(CPCAP_BIT_HS_S))) {
if (!regmap_test_bits(regmap, CPCAP_REG_INTS2,
} else if (regmap_test_bits(regmap, CPCAP_REG_INTS1,
if (regmap_test_bits(regmap, CPCAP_REG_INTS1, BIT(CPCAP_BIT_HS_S)) == 1)
mb2 = regmap_test_bits(regmap, CPCAP_REG_INTS1, BIT(CPCAP_BIT_MB2_S));
ptt = regmap_test_bits(regmap, CPCAP_REG_INTS2, BIT(CPCAP_BIT_PTT_S));
if (regmap_test_bits(cs42l43->regmap, CS42L43_CTRL_REG, CS42L43_PLL_EN_MASK)) {
int provider = !dai->id || !!regmap_test_bits(cs42l43->regmap,
int dsp_mode = !!regmap_test_bits(cs42l43->regmap, CS42L43_ASP_CTRL,
int provider = !!regmap_test_bits(cs42l43->regmap, CS42L43_ASP_CLK_CONFIG2,
int provider = regmap_test_bits(cs42l43->regmap, CS42L43_ASP_CLK_CONFIG2,
if (regmap_test_bits(regmap, CS530X_SIGNAL_PATH_CFG,
if (!regmap_test_bits(regmap, CS530X_CLK_CFG_0,