Searched refs:gpio_regmap (Results 1 – 8 of 8) sorted by relevance
| /linux/include/linux/gpio/ |
| H A D | regmap.h | 8 struct gpio_regmap; 100 int (*reg_mask_xlate)(struct gpio_regmap *gpio, unsigned int base, 111 struct gpio_regmap *gpio_regmap_register(const struct gpio_regmap_config *config); 112 void gpio_regmap_unregister(struct gpio_regmap *gpio); 113 struct gpio_regmap *devm_gpio_regmap_register(struct device *dev, 115 void *gpio_regmap_get_drvdata(struct gpio_regmap *gpio);
|
| /linux/drivers/gpio/ |
| H A D | gpio-regmap.c | 22 struct gpio_regmap { struct 41 int (*reg_mask_xlate)(struct gpio_regmap *gpio, unsigned int base, argument 56 static int gpio_regmap_simple_xlate(struct gpio_regmap *gpio, in gpio_regmap_simple_xlate() argument 71 struct gpio_regmap *gpio = gpiochip_get_data(chip); in gpio_regmap_get() 99 struct gpio_regmap *gpio = gpiochip_get_data(chip); in gpio_regmap_set() 125 struct gpio_regmap *gpio = gpiochip_get_data(chip); in gpio_regmap_set_with_clear() 144 struct gpio_regmap *gpio = gpiochip_get_data(chip); in gpio_regmap_get_direction() 187 struct gpio_regmap *gpio = gpiochip_get_data(chip); in gpio_regmap_set_direction() 227 void *gpio_regmap_get_drvdata(struct gpio_regmap *gpio) in gpio_regmap_get_drvdata() 239 struct gpio_regmap *gpio_regmap_register(const struct gpio_regmap_config *config) in gpio_regmap_register() [all …]
|
| H A D | gpio-i8255.c | 70 static int i8255_reg_mask_xlate(struct gpio_regmap *gpio, unsigned int base, in i8255_reg_mask_xlate()
|
| H A D | gpio-idio-16.c | 69 static int idio_16_reg_mask_xlate(struct gpio_regmap *const gpio, const unsigned int base, in idio_16_reg_mask_xlate()
|
| H A D | gpio-104-idi-48.c | 39 static int idi_48_reg_mask_xlate(struct gpio_regmap *gpio, unsigned int base, in idi_48_reg_mask_xlate()
|
| /linux/drivers/pinctrl/ |
| H A D | pinctrl-tps6594.c | 308 struct gpio_regmap *gpio_regmap; member 349 static int tps6594_gpio_regmap_xlate(struct gpio_regmap *gpio, in tps6594_gpio_regmap_xlate() 556 pinctrl->gpio_regmap = devm_gpio_regmap_register(dev, &config); in tps6594_pinctrl_probe() 557 if (IS_ERR(pinctrl->gpio_regmap)) in tps6594_pinctrl_probe() 558 return dev_err_probe(dev, PTR_ERR(pinctrl->gpio_regmap), in tps6594_pinctrl_probe()
|
| /linux/drivers/pinctrl/bcm/ |
| H A D | pinctrl-bcm63xx.c | 22 static int bcm63xx_reg_mask_xlate(struct gpio_regmap *gpio, in bcm63xx_reg_mask_xlate()
|
| /linux/drivers/iio/addac/ |
| H A D | stx104.c | 352 static int stx104_reg_mask_xlate(struct gpio_regmap *const gpio, const unsigned int base, in stx104_reg_mask_xlate()
|