Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/gpio/
Dgpio-mvebu.c314 u32 data_in, in_pol; in mvebu_gpio_get() local
319 &in_pol); in mvebu_gpio_get()
320 u = data_in ^ in_pol; in mvebu_gpio_get()
532 u32 data_in, in_pol, val; in mvebu_gpio_irq_set_type() local
535 GPIO_IN_POL_OFF + mvchip->offset, &in_pol); in mvebu_gpio_irq_set_type()
542 if ((data_in ^ in_pol) & BIT(pin)) in mvebu_gpio_irq_set_type()
848 u32 out, io_conf, blink, in_pol, data_in, cause, edg_msk, lvl_msk; in mvebu_gpio_dbg_show() local
855 regmap_read(mvchip->regs, GPIO_IN_POL_OFF + mvchip->offset, &in_pol); in mvebu_gpio_dbg_show()
878 (data_in ^ in_pol) & msk ? "hi" : "lo", in mvebu_gpio_dbg_show()
879 in_pol & msk ? "lo" : "hi"); in mvebu_gpio_dbg_show()
/Linux-v5.10/arch/arm/plat-orion/
Dgpio.c444 u32 out, io_conf, blink, in_pol, data_in, cause, edg_msk, lvl_msk; in orion_gpio_dbg_show() local
451 in_pol = readl_relaxed(GPIO_IN_POL(ochip)); in orion_gpio_dbg_show()
474 (data_in ^ in_pol) & msk ? "hi" : "lo", in orion_gpio_dbg_show()
475 in_pol & msk ? "lo" : "hi"); in orion_gpio_dbg_show()