Home
last modified time | relevance | path

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

/openbmc/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()
/openbmc/linux/drivers/pwm/
H A Dpwm-intel-lgm.c95 state->enabled = regmap_test_bits(pc->regmap, LGM_PWM_FAN_CON0, in lgm_pwm_get_state()
/openbmc/linux/sound/soc/codecs/
H A Dcs42l43.c223 int provider = !dai->id || !!regmap_test_bits(cs42l43->regmap, in cs42l43_startup()
288 int dsp_mode = !!regmap_test_bits(cs42l43->regmap, CS42L43_ASP_CTRL, in cs42l43_asp_hw_params()
290 int provider = !!regmap_test_bits(cs42l43->regmap, CS42L43_ASP_CLK_CONFIG2, in cs42l43_asp_hw_params()
377 int provider = regmap_test_bits(cs42l43->regmap, CS42L43_ASP_CLK_CONFIG2, in cs42l43_asp_set_fmt()
1211 if (regmap_test_bits(cs42l43->regmap, CS42L43_CTRL_REG, CS42L43_PLL_EN_MASK)) { in cs42l43_set_pll()
/openbmc/linux/drivers/phy/marvell/
H A Dphy-mvebu-cp110-utmi.c175 int test = regmap_test_bits(utmi->syscon, in mvebu_cp110_utmi_phy_power_off()
/openbmc/linux/drivers/mfd/
H A Dtps6594-core.c338 ret = regmap_test_bits(tps->regmap, TPS6594_REG_SERIAL_IF_CONFIG, in tps6594_check_crc_mode()
/openbmc/linux/include/linux/
H A Dregmap.h1324 int regmap_test_bits(struct regmap *map, unsigned int reg, unsigned int bits);
1788 static inline int regmap_test_bits(struct regmap *map, in regmap_test_bits() function
/openbmc/linux/drivers/counter/
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.c243 bitval = regmap_test_bits(ecap_dev->regmap, ECAP_ECCTL_REG, ECAP_CAPPOL_BIT(idx)); in ecap_cnt_pol_read()
/openbmc/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()
/openbmc/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()
/openbmc/linux/drivers/base/regmap/
H A Dregmap.c3273 int regmap_test_bits(struct regmap *map, unsigned int reg, unsigned int bits) in regmap_test_bits() function
3283 EXPORT_SYMBOL_GPL(regmap_test_bits);
/openbmc/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()
/openbmc/linux/drivers/phy/qualcomm/
H A Dphy-qcom-qmp-pcie.c3572 ret = regmap_test_bits(tcsr, args[0], BIT(args[1])); in qmp_pcie_get_4ln_config()