| /linux-6.15/drivers/rtc/ |
| H A D | rtc-tps6594.c | 91 ret = regmap_test_bits(tps->regmap, TPS6594_REG_RTC_STATUS, in tps6594_rtc_read_time() 382 ret = regmap_test_bits(tps->regmap, TPS6594_REG_RTC_STATUS, in tps6594_rtc_probe() 403 ret = regmap_test_bits(tps->regmap, TPS6594_REG_RTC_STATUS, in tps6594_rtc_probe() 450 ret = regmap_test_bits(tps->regmap, TPS6594_REG_INT_STARTUP, in tps6594_rtc_resume()
|
| H A D | rtc-amlogic-a4.c | 126 rtc->rtc_enabled = regmap_test_bits(rtc->map, RTC_CTRL, RTC_ENABLE); in aml_rtc_set_time() 181 alarm_enable = regmap_test_bits(rtc->map, RTC_CTRL, RTC_ALRM0_EN); in aml_rtc_read_alarm() 182 alarm_mask = regmap_test_bits(rtc->map, RTC_INT_MASK, RTC_ALRM0_IRQ_MSK); in aml_rtc_read_alarm() 290 rtc->rtc_enabled = regmap_test_bits(rtc->map, RTC_CTRL, RTC_ENABLE); in aml_rtc_init()
|
| H A D | rtc-pcf8563.c | 232 ret = regmap_test_bits(pcf8563->regmap, PCF8563_REG_SC, in pcf8563_rtc_ioctl()
|
| /linux-6.15/drivers/gpio/ |
| H A D | gpio-mpfs.c | 97 return regmap_test_bits(mpfs_gpio->regs, mpfs_gpio->offsets->outp, BIT(gpio_index)); in mpfs_gpio_get() 99 return regmap_test_bits(mpfs_gpio->regs, mpfs_gpio->offsets->inp, BIT(gpio_index)); in mpfs_gpio_get()
|
| H A D | gpio-exar.c | 81 if (regmap_test_bits(exar_gpio->regmap, addr, BIT(bit))) in exar_get_direction() 93 return !!(regmap_test_bits(exar_gpio->regmap, addr, BIT(bit))); in exar_get_value()
|
| /linux-6.15/sound/soc/codecs/ |
| H A D | cpcap.c | 1652 if (!regmap_test_bits(regmap, CPCAP_REG_INTS1, BIT(CPCAP_BIT_HS_S))) { in cpcap_hs_irq_thread() 1664 if (!regmap_test_bits(regmap, CPCAP_REG_INTS2, in cpcap_hs_irq_thread() 1671 } else if (regmap_test_bits(regmap, CPCAP_REG_INTS1, in cpcap_hs_irq_thread() 1706 if (regmap_test_bits(regmap, CPCAP_REG_INTS1, BIT(CPCAP_BIT_HS_S)) == 1) in cpcap_mb2_irq_thread() 1709 mb2 = regmap_test_bits(regmap, CPCAP_REG_INTS1, BIT(CPCAP_BIT_MB2_S)); in cpcap_mb2_irq_thread() 1710 ptt = regmap_test_bits(regmap, CPCAP_REG_INTS2, BIT(CPCAP_BIT_PTT_S)); in cpcap_mb2_irq_thread()
|
| H A D | cs530x.c | 530 if (regmap_test_bits(regmap, CS530X_SIGNAL_PATH_CFG, in cs530x_hw_params() 542 if (!regmap_test_bits(regmap, CS530X_CLK_CFG_0, in cs530x_hw_params()
|
| H A D | cs42l43.c | 311 int provider = !dai->id || !!regmap_test_bits(cs42l43->regmap, in cs42l43_startup() 376 int dsp_mode = !!regmap_test_bits(cs42l43->regmap, CS42L43_ASP_CTRL, in cs42l43_asp_hw_params() 378 int provider = !!regmap_test_bits(cs42l43->regmap, CS42L43_ASP_CLK_CONFIG2, in cs42l43_asp_hw_params() 465 int provider = regmap_test_bits(cs42l43->regmap, CS42L43_ASP_CLK_CONFIG2, in cs42l43_asp_set_fmt() 1337 if (regmap_test_bits(cs42l43->regmap, CS42L43_CTRL_REG, CS42L43_PLL_EN_MASK)) { in cs42l43_set_pll()
|
| /linux-6.15/drivers/pwm/ |
| H A D | pwm-intel-lgm.c | 94 state->enabled = regmap_test_bits(pc->regmap, LGM_PWM_FAN_CON0, in lgm_pwm_get_state()
|
| /linux-6.15/drivers/phy/marvell/ |
| H A D | phy-mvebu-cp110-utmi.c | 186 int test = regmap_test_bits(utmi->syscon, in mvebu_cp110_utmi_phy_power_off()
|
| /linux-6.15/drivers/counter/ |
| H A D | stm32-timer-cnt.c | 437 if (!regmap_test_bits(priv->regmap, TIM_CCER, cc->ccer_bits)) in stm32_count_capture_configure() 466 if (!regmap_test_bits(priv->regmap, TIM_DIER, TIM_DIER_UIE)) in stm32_count_events_configure()
|
| H A D | ti-ecap-capture.c | 243 bitval = regmap_test_bits(ecap_dev->regmap, ECAP_ECCTL_REG, ECAP_CAPPOL_BIT(idx)); in ecap_cnt_pol_read()
|
| H A D | 104-quad-8.c | 226 ret = regmap_test_bits(priv->map, QUAD8_INDEX_INPUT_LEVELS, BIT(signal->id - 16)); in quad8_signal_read() 948 ret = regmap_test_bits(priv->map, QUAD8_CABLE_STATUS, BIT(channel_id)); in quad8_signal_cable_fault_read()
|
| /linux-6.15/drivers/usb/typec/mux/ |
| H A D | ps883x.c | 367 if (regmap_test_bits(retimer->regmap, REG_USB_PORT_CONN_STATUS_0, in ps883x_retimer_probe()
|
| /linux-6.15/include/linux/ |
| H A D | regmap.h | 1406 int regmap_test_bits(struct regmap *map, unsigned int reg, unsigned int bits); 1881 static inline int regmap_test_bits(struct regmap *map, in regmap_test_bits() function
|
| /linux-6.15/drivers/iio/resolver/ |
| H A D | ad2s1210.c | 530 ret = regmap_test_bits(st->regmap, AD2S1210_REG_CONTROL, in ad2s1210_get_hysteresis() 553 ret = regmap_test_bits(st->regmap, AD2S1210_REG_CONTROL, in ad2s1210_get_phase_lock_range()
|
| /linux-6.15/drivers/media/platform/mediatek/vcodec/decoder/ |
| H A D | mtk_vcodec_dec_drv.c | 47 return !regmap_test_bits(dev->vdecsys_regmap, VDEC_HW_ACTIVE_ADDR, in mtk_vcodec_is_hw_active()
|
| /linux-6.15/drivers/mfd/ |
| H A D | tps6594-core.c | 523 ret = regmap_test_bits(tps->regmap, regmap_reg, mask_val); in tps6594_check_crc_mode()
|
| /linux-6.15/drivers/pmdomain/imx/ |
| H A D | imx8mp-blk-ctrl.c | 131 return regmap_test_bits(clk->regmap, GPR_REG1, PLL_LOCK); in clk_hsio_pll_is_prepared()
|
| /linux-6.15/drivers/pinctrl/ |
| H A D | pinctrl-aw9523.c | 375 ret = regmap_test_bits(regmap, AW9523_REG_CONF_STATE(pin), BIT(n)); in aw9523_get_pin_direction()
|
| /linux-6.15/drivers/base/regmap/ |
| H A D | regmap.c | 3308 int regmap_test_bits(struct regmap *map, unsigned int reg, unsigned int bits) in regmap_test_bits() function 3318 EXPORT_SYMBOL_GPL(regmap_test_bits);
|
| /linux-6.15/drivers/net/ethernet/mediatek/ |
| H A D | mtk_star_emac.c | 829 if (!regmap_test_bits(priv->regs, MTK_STAR_REG_HASH_CTRL, in mtk_star_hash_wait_ok()
|
| /linux-6.15/drivers/phy/qualcomm/ |
| H A D | phy-qcom-qmp-pcie.c | 4816 ret = regmap_test_bits(tcsr, args[0], BIT(args[1])); in qmp_pcie_get_4ln_config()
|