gpio_regmap
static int idi_48_reg_mask_xlate(struct gpio_regmap *gpio, unsigned int base,
static int i8255_reg_mask_xlate(struct gpio_regmap *gpio, unsigned int base,
static int idio_16_reg_mask_xlate(struct gpio_regmap *const gpio, const unsigned int base,
static int max7360_gpio_reg_mask_xlate(struct gpio_regmap *gpio,
static int idio_24_reg_mask_xlate(struct gpio_regmap *const gpio, const unsigned int base,
struct gpio_regmap *gpio = gpiochip_get_data(chip);
struct gpio_regmap *gpio = gpiochip_get_data(chip);
struct gpio_regmap *gpio = gpiochip_get_data(chip);
void *gpio_regmap_get_drvdata(struct gpio_regmap *gpio)
struct gpio_regmap *gpio_regmap_register(const struct gpio_regmap_config *config)
struct gpio_regmap *gpio;
void gpio_regmap_unregister(struct gpio_regmap *gpio)
struct gpio_regmap *devm_gpio_regmap_register(struct device *dev,
struct gpio_regmap *gpio;
int (*reg_mask_xlate)(struct gpio_regmap *gpio, unsigned int base,
static int gpio_regmap_simple_xlate(struct gpio_regmap *gpio,
struct gpio_regmap *gpio = gpiochip_get_data(chip);
struct gpio_regmap *gpio = gpiochip_get_data(chip);
struct gpio_regmap *gpio_regmap;
static int ad7173_mask_xlate(struct gpio_regmap *gpio, unsigned int base,
static int ad4111_mask_xlate(struct gpio_regmap *gpio, unsigned int base,
struct gpio_regmap_config gpio_regmap = {};
gpio_regmap.parent = dev;
gpio_regmap.regmap = st->reg_gpiocon_regmap;
gpio_regmap.ngpio = st->info->num_gpios;
gpio_regmap.reg_set_base = AD7173_REG_GPIO;
gpio_regmap.reg_mask_xlate = ad4111_mask_xlate;
gpio_regmap.reg_mask_xlate = ad7173_mask_xlate;
st->gpio_regmap = devm_gpio_regmap_register(dev, &gpio_regmap);
ret = PTR_ERR_OR_ZERO(st->gpio_regmap);
static int stx104_reg_mask_xlate(struct gpio_regmap *const gpio, const unsigned int base,
static int bcm63xx_reg_mask_xlate(struct gpio_regmap *gpio,
struct regmap *gpio_regmap, *rio_regmap, *pads_regmap;
gpio_regmap = devm_regmap_init_mmio(dev, pc->gpio_base,
if (IS_ERR(gpio_regmap))
return dev_err_probe(dev, PTR_ERR(gpio_regmap), "could not init GPIO regmap\n");
gpio_regmap,
gpio_regmap,
struct gpio_regmap *gpio_regmap;
static int tps6594_gpio_regmap_xlate(struct gpio_regmap *gpio,
pinctrl->gpio_regmap = devm_gpio_regmap_register(dev, &config);
if (IS_ERR(pinctrl->gpio_regmap))
return dev_err_probe(dev, PTR_ERR(pinctrl->gpio_regmap),
int (*reg_mask_xlate)(struct gpio_regmap *gpio, unsigned int base,
struct gpio_regmap *gpio_regmap_register(const struct gpio_regmap_config *config);
void gpio_regmap_unregister(struct gpio_regmap *gpio);
struct gpio_regmap *devm_gpio_regmap_register(struct device *dev,
void *gpio_regmap_get_drvdata(struct gpio_regmap *gpio);
struct gpio_regmap;