Lines Matching defs:regmap
17 #include <linux/regmap.h>
36 struct regmap *regmap;
81 if (regmap_test_bits(exar_gpio->regmap, addr, BIT(bit)))
93 return !!(regmap_test_bits(exar_gpio->regmap, addr, BIT(bit)));
104 regmap_set_bits(exar_gpio->regmap, addr, BIT(bit));
106 regmap_clear_bits(exar_gpio->regmap, addr, BIT(bit));
117 regmap_clear_bits(exar_gpio->regmap, addr, BIT(bit));
128 regmap_set_bits(exar_gpio->regmap, addr, BIT(bit));
188 * We don't need to check the return values of mmio regmap operations (unless
189 * the regmap has a clock attached which is not the case here).
191 exar_gpio->regmap = devm_regmap_init_mmio(dev, p, &exar_regmap_config);
192 if (IS_ERR(exar_gpio->regmap))
193 return PTR_ERR(exar_gpio->regmap);