Searched refs:io_conf (Results 1 – 3 of 3) sorted by relevance
/openbmc/u-boot/drivers/gpio/ |
H A D | mvebu_gpio.c | 16 u32 io_conf; member 32 setbits_le32(®s->io_conf, BIT(gpio)); in mvebu_gpio_direction_input() 47 clrbits_le32(®s->io_conf, BIT(gpio)); in mvebu_gpio_direction_output() 58 val = readl(®s->io_conf) & BIT(gpio); in mvebu_gpio_get_function()
|
/openbmc/linux/arch/arm/plat-orion/ |
H A D | gpio.c | 445 u32 out, io_conf, blink, in_pol, data_in, cause, edg_msk, lvl_msk; in orion_gpio_dbg_show() local 450 io_conf = readl_relaxed(GPIO_IO_CONF(ochip)); in orion_gpio_dbg_show() 463 is_out = !(io_conf & msk); in orion_gpio_dbg_show()
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-mvebu.c | 886 u32 out, io_conf, blink, in_pol, data_in, cause, edg_msk, lvl_msk; in mvebu_gpio_dbg_show() local 891 regmap_read(mvchip->regs, GPIO_IO_CONF_OFF + mvchip->offset, &io_conf); in mvebu_gpio_dbg_show() 904 is_out = !(io_conf & msk); in mvebu_gpio_dbg_show()
|