Searched refs:adnp_read (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/drivers/gpio/ |
D | gpio-adnp.c | 37 static int adnp_read(struct adnp *adnp, unsigned offset, uint8_t *value) in adnp_read() function 74 err = adnp_read(adnp, GPIO_PLR(adnp) + reg, &value); in adnp_gpio_get() 88 err = adnp_read(adnp, GPIO_PLR(adnp) + reg, &val); in __adnp_gpio_set() 119 err = adnp_read(adnp, GPIO_DDR(adnp) + reg, &value); in adnp_gpio_direction_input() 129 err = adnp_read(adnp, GPIO_DDR(adnp) + reg, &value); in adnp_gpio_direction_input() 156 err = adnp_read(adnp, GPIO_DDR(adnp) + reg, &val); in adnp_gpio_direction_output() 166 err = adnp_read(adnp, GPIO_DDR(adnp) + reg, &val); in adnp_gpio_direction_output() 194 err = adnp_read(adnp, GPIO_DDR(adnp) + i, &ddr); in adnp_gpio_dbg_show() 198 err = adnp_read(adnp, GPIO_PLR(adnp) + i, &plr); in adnp_gpio_dbg_show() 202 err = adnp_read(adnp, GPIO_IER(adnp) + i, &ier); in adnp_gpio_dbg_show() [all …]
|