Home
last modified time | relevance | path

Searched refs:regmap_test_bits (Results 1 – 18 of 18) sorted by relevance

/linux/drivers/rtc/
H A Drtc-tps6594.c91 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 Drtc-amlogic-a4.c119 rtc->rtc_enabled = regmap_test_bits(rtc->map, RTC_CTRL, RTC_ENABLE); in aml_rtc_set_time()
174 alarm_enable = regmap_test_bits(rtc->map, RTC_CTRL, RTC_ALRM0_EN); in aml_rtc_read_alarm()
175 alarm_mask = regmap_test_bits(rtc->map, RTC_INT_MASK, RTC_ALRM0_IRQ_MSK); in aml_rtc_read_alarm()
283 rtc->rtc_enabled = regmap_test_bits(rtc->map, RTC_CTRL, RTC_ENABLE); in aml_rtc_init()
H A Drtc-atcrtc100.c171 if (!regmap_test_bits(rtc->regmap, RTC_CR, RTC_EN)) in atcrtc_read_time()
217 wkalrm->enabled = regmap_test_bits(rtc->regmap, RTC_CR, ALARM_INT); in atcrtc_read_alarm()
H A Drtc-spacemit-p1.c60 if (!regmap_test_bits(regmap, RTC_CTRL, RTC_EN)) in p1_rtc_read_time()
H A Drtc-pcf8563.c232 ret = regmap_test_bits(pcf8563->regmap, PCF8563_REG_SC, in pcf8563_rtc_ioctl()
/linux/drivers/gpio/
H A Dgpio-exar.c81 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/drivers/clk/rockchip/
H A Dclk-gate-grf.c56 ret = regmap_test_bits(gate->regmap, gate->reg, BIT(gate->shift)); in rockchip_gate_grf_is_enabled()
/linux/drivers/pwm/
H A Dpwm-intel-lgm.c94 state->enabled = regmap_test_bits(pc->regmap, LGM_PWM_FAN_CON0, in lgm_pwm_get_state()
/linux/drivers/counter/
H A Dstm32-timer-cnt.c437 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 D104-quad-8.c226 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/sound/soc/codecs/
H A Dcs530x.c810 if (regmap_test_bits(regmap, CS530X_SIGNAL_PATH_CFG, in cs530x_hw_params()
822 if (!regmap_test_bits(regmap, CS530X_CLK_CFG_0, in cs530x_hw_params()
/linux/drivers/usb/typec/mux/
H A Dps883x.c400 if (regmap_test_bits(retimer->regmap, REG_USB_PORT_CONN_STATUS_0, in ps883x_retimer_probe()
/linux/include/linux/
H A Dregmap.h1412 int regmap_test_bits(struct regmap *map, unsigned int reg, unsigned int bits);
1890 static inline int regmap_test_bits(struct regmap *map, in regmap_test_bits() function
/linux/drivers/iio/resolver/
H A Dad2s1210.c530 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/drivers/pmdomain/imx/
H A Dimx8mp-blk-ctrl.c131 return regmap_test_bits(clk->regmap, GPR_REG1, PLL_LOCK); in clk_hsio_pll_is_prepared()
/linux/drivers/clk/thead/
H A Dclk-th1520-ap.c311 return !regmap_test_bits(pll->common.map, pll->common.cfg1, in ccu_pll_is_enabled()
/linux/drivers/net/ethernet/mediatek/
H A Dmtk_star_emac.c829 if (!regmap_test_bits(priv->regs, MTK_STAR_REG_HASH_CTRL, in mtk_star_hash_wait_ok()
/linux/drivers/phy/qualcomm/
H A Dphy-qcom-qmp-pcie.c5051 ret = regmap_test_bits(tcsr, args[0], BIT(args[1])); in qmp_pcie_get_4ln_config()