Searched refs:adnp_read (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.4/drivers/gpio/ |
D | gpio-adnp.c | 36 static int adnp_read(struct adnp *adnp, unsigned offset, uint8_t *value) in adnp_read() function 73 err = adnp_read(adnp, GPIO_PLR(adnp) + reg, &value); in adnp_gpio_get() 87 err = adnp_read(adnp, GPIO_PLR(adnp) + reg, &val); in __adnp_gpio_set() 118 err = adnp_read(adnp, GPIO_DDR(adnp) + reg, &value); in adnp_gpio_direction_input() 128 err = adnp_read(adnp, GPIO_DDR(adnp) + reg, &value); in adnp_gpio_direction_input() 155 err = adnp_read(adnp, GPIO_DDR(adnp) + reg, &val); in adnp_gpio_direction_output() 165 err = adnp_read(adnp, GPIO_DDR(adnp) + reg, &val); in adnp_gpio_direction_output() 193 err = adnp_read(adnp, GPIO_DDR(adnp) + i, &ddr); in adnp_gpio_dbg_show() 197 err = adnp_read(adnp, GPIO_PLR(adnp) + i, &plr); in adnp_gpio_dbg_show() 201 err = adnp_read(adnp, GPIO_IER(adnp) + i, &ier); in adnp_gpio_dbg_show() [all …]
|