Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/gpio/
Dgpio-mvebu.c319 u32 data_in, in_pol; in mvebu_gpio_get() local
324 &in_pol); in mvebu_gpio_get()
325 u = data_in ^ in_pol; in mvebu_gpio_get()
537 u32 data_in, in_pol, val; in mvebu_gpio_irq_set_type() local
540 GPIO_IN_POL_OFF + mvchip->offset, &in_pol); in mvebu_gpio_irq_set_type()
547 if ((data_in ^ in_pol) & BIT(pin)) in mvebu_gpio_irq_set_type()
889 u32 out, io_conf, blink, in_pol, data_in, cause, edg_msk, lvl_msk; in mvebu_gpio_dbg_show() local
896 regmap_read(mvchip->regs, GPIO_IN_POL_OFF + mvchip->offset, &in_pol); in mvebu_gpio_dbg_show()
919 (data_in ^ in_pol) & msk ? "hi" : "lo", in mvebu_gpio_dbg_show()
920 in_pol & msk ? "lo" : "hi"); in mvebu_gpio_dbg_show()
/linux-5.19.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()