Home
last modified time | relevance | path

Searched refs:GPIO_DDR (Results 1 – 1 of 1) sorted by relevance

/linux-5.19.10/drivers/gpio/
Dgpio-adnp.c14 #define GPIO_DDR(gpio) (0x00 << (gpio)->reg_shift) macro
118 err = adnp_read(adnp, GPIO_DDR(adnp) + reg, &value); in adnp_gpio_direction_input()
124 err = adnp_write(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()
161 err = adnp_write(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()