Searched refs:adnp (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/gpio/ |
D | gpio-adnp.c | 21 struct adnp { struct 37 static int adnp_read(struct adnp *adnp, unsigned offset, uint8_t *value) in adnp_read() argument 41 err = i2c_smbus_read_byte_data(adnp->client, offset); in adnp_read() 43 dev_err(adnp->gpio.parent, "%s failed: %d\n", in adnp_read() 52 static int adnp_write(struct adnp *adnp, unsigned offset, uint8_t value) in adnp_write() argument 56 err = i2c_smbus_write_byte_data(adnp->client, offset, value); in adnp_write() 58 dev_err(adnp->gpio.parent, "%s failed: %d\n", in adnp_write() 68 struct adnp *adnp = gpiochip_get_data(chip); in adnp_gpio_get() local 69 unsigned int reg = offset >> adnp->reg_shift; in adnp_gpio_get() 74 err = adnp_read(adnp, GPIO_PLR(adnp) + reg, &value); in adnp_gpio_get() [all …]
|
D | Makefile | 27 obj-$(CONFIG_GPIO_ADNP) += gpio-adnp.o
|
/linux-6.12.1/Documentation/devicetree/bindings/gpio/ |
D | gpio-adnp.txt | 4 - compatible: should be "ad,gpio-adnp" 20 compatible = "ad,gpio-adnp";
|
/linux-6.12.1/Documentation/devicetree/bindings/interrupt-controller/ |
D | interrupts.txt | 81 gpioext: gpio-adnp@41 { 82 compatible = "ad,gpio-adnp";
|