Home
last modified time | relevance | path

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

/linux/drivers/rtc/
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-tps6594.c90 ret = regmap_test_bits(tps->regmap, TPS6594_REG_RTC_STATUS, in tps6594_rtc_read_time()
381 ret = regmap_test_bits(tps->regmap, TPS6594_REG_RTC_STATUS, in tps6594_rtc_probe()
402 ret = regmap_test_bits(tps->regmap, TPS6594_REG_RTC_STATUS, in tps6594_rtc_probe()
449 ret = regmap_test_bits(tps->regmap, TPS6594_REG_INT_STARTUP, in tps6594_rtc_resume()
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 ret = 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/pmdomain/marvell/
H A Dpxa1908-power-controller.c66 return regmap_test_bits(ctrl->base, APMU_AUDIO_CLK, AUDIO_ULCX_ENABLE); in pxa1908_pd_is_on()
68 return regmap_test_bits(ctrl->base, APMU_DEBUG, DSI_PHY_DVM_MASK); in pxa1908_pd_is_on()
70 return regmap_test_bits(ctrl->base, APMU_PWR_STATUS_REG, pd->data.pwr_state); in pxa1908_pd_is_on()
/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()
H A Dgpio-mpfs.c98 return regmap_test_bits(mpfs_gpio->regs, mpfs_gpio->offsets->outp, BIT(gpio_index)); in mpfs_gpio_get()
100 return regmap_test_bits(mpfs_gpio->regs, mpfs_gpio->offsets->inp, BIT(gpio_index)); in mpfs_gpio_get()
/linux/drivers/hwmon/
H A Dmcp9982.c466 *val = regmap_test_bits(priv->regmap, MCP9982_HIGH_LIMIT_STATUS_ADDR, in mcp9982_read()
496 *val = regmap_test_bits(priv->regmap, MCP9982_LOW_LIMIT_STATUS_ADDR, in mcp9982_read()
505 *val = regmap_test_bits(priv->regmap, MCP9982_THERM_LIMIT_STATUS_ADDR, in mcp9982_read()
524 *val = regmap_test_bits(priv->regmap, MCP9982_EXT_FAULT_STATUS_ADDR, in mcp9982_read()
/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.c93 state->enabled = regmap_test_bits(pc->regmap, LGM_PWM_FAN_CON0, in lgm_pwm_get_state()
/linux/drivers/counter/
H A Dstm32-timer-cnt.c436 if (!regmap_test_bits(priv->regmap, TIM_CCER, cc->ccer_bits)) in stm32_count_capture_configure()
465 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()
H A Dti-ecap-capture.c242 bitval = regmap_test_bits(ecap_dev->regmap, ECAP_ECCTL_REG, ECAP_CAPPOL_BIT(idx)); in ecap_cnt_pol_read()
/linux/sound/soc/codecs/
H A Dcs42l43.c336 int provider = !dai->id || !!regmap_test_bits(cs42l43->regmap, in cs42l43_startup()
409 int dsp_mode = !!regmap_test_bits(cs42l43->regmap, CS42L43_ASP_CTRL, in cs42l43_asp_hw_params()
411 int provider = !!regmap_test_bits(cs42l43->regmap, CS42L43_ASP_CLK_CONFIG2, in cs42l43_asp_hw_params()
498 int provider = regmap_test_bits(cs42l43->regmap, CS42L43_ASP_CLK_CONFIG2, in cs42l43_asp_set_fmt()
1463 if (regmap_test_bits(cs42l43->regmap, CS42L43_CTRL_REG, CS42L43_PLL_EN_MASK)) { in cs42l43_set_pll()
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.c429 if (regmap_test_bits(retimer->regmap, REG_USB_PORT_CONN_STATUS_0, in ps883x_retimer_probe()
/linux/drivers/media/platform/mediatek/vcodec/decoder/
H A Dmtk_vcodec_dec_drv.c47 return !regmap_test_bits(dev->vdecsys_regmap, VDEC_HW_ACTIVE_ADDR, in mtk_vcodec_is_hw_active()
/linux/drivers/regulator/
H A Drtq2208-regulator.c473 mtp_sel = regmap_test_bits(regmap, RTQ2208_REG_FSOUTB_CNTL, RTQ2208_MTP_SEL_RO_MASK); in rtq2208_parse_regulator_dt_data()
/linux/drivers/pinctrl/
H A Dpinctrl-aw9523.c372 ret = regmap_test_bits(regmap, AW9523_REG_CONF_STATE(pin), BIT(n)); in aw9523_get_pin_direction()
/linux/drivers/base/regmap/
H A Dregmap.c3338 int regmap_test_bits(struct regmap *map, unsigned int reg, unsigned int bits) in regmap_test_bits() function
3349 EXPORT_SYMBOL_GPL(regmap_test_bits);
/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.c6217 ret = regmap_test_bits(tcsr, args[0], BIT(args[1])); in qmp_pcie_get_4ln_config()