Searched refs:regmap_test_bits (Results 1 – 13 of 13) sorted by relevance
/openbmc/linux/drivers/gpio/ |
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()
|
/openbmc/linux/drivers/pwm/ |
H A D | pwm-intel-lgm.c | 95 state->enabled = regmap_test_bits(pc->regmap, LGM_PWM_FAN_CON0, in lgm_pwm_get_state()
|
/openbmc/linux/sound/soc/codecs/ |
H A D | cs42l43.c | 223 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 D | phy-mvebu-cp110-utmi.c | 175 int test = regmap_test_bits(utmi->syscon, in mvebu_cp110_utmi_phy_power_off()
|
/openbmc/linux/drivers/mfd/ |
H A D | tps6594-core.c | 338 ret = regmap_test_bits(tps->regmap, TPS6594_REG_SERIAL_IF_CONFIG, in tps6594_check_crc_mode()
|
/openbmc/linux/include/linux/ |
H A D | regmap.h | 1324 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 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()
|
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()
|
/openbmc/linux/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()
|
/openbmc/linux/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()
|
/openbmc/linux/drivers/base/regmap/ |
H A D | regmap.c | 3273 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 D | mtk_star_emac.c | 829 if (!regmap_test_bits(priv->regs, MTK_STAR_REG_HASH_CTRL, in mtk_star_hash_wait_ok()
|
/openbmc/linux/drivers/phy/qualcomm/ |
H A D | phy-qcom-qmp-pcie.c | 3572 ret = regmap_test_bits(tcsr, args[0], BIT(args[1])); in qmp_pcie_get_4ln_config()
|