Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpio/
H A Dgpio-adnp.c16 #define GPIO_PLR(gpio) (0x01 << (gpio)->reg_shift) macro
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()
97 adnp_write(adnp, GPIO_PLR(adnp) + reg, val); in __adnp_gpio_set()
198 err = adnp_read(adnp, GPIO_PLR(adnp) + i, &plr); in adnp_gpio_dbg_show()
257 err = adnp_read(adnp, GPIO_PLR(adnp) + i, &level); in adnp_irq()
420 err = adnp_read(adnp, GPIO_PLR(adnp) + i, &adnp->irq_level[i]); in adnp_irq_setup()