Home
last modified time | relevance | path

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

/openbmc/linux/drivers/pinctrl/renesas/
H A Dpinctrl-rzn1.c115 struct rzn1_pinctrl_regs __iomem *lev1; member
189 writel(val, &ipctl->lev1->status_protect); in rzn1_hw_set_lock()
256 if (pin >= ARRAY_SIZE(ipctl->lev1->conf) || in rzn1_set_hw_pin_func()
260 l1 = readl(&ipctl->lev1->conf[pin]); in rzn1_set_hw_pin_func()
279 writel(l1, &ipctl->lev1->conf[pin]); in rzn1_set_hw_pin_func()
498 if (pin >= ARRAY_SIZE(ipctl->lev1->conf)) in rzn1_pinconf_get()
501 l1 = readl(&ipctl->lev1->conf[pin]); in rzn1_pinconf_get()
551 if (pin >= ARRAY_SIZE(ipctl->lev1->conf)) in rzn1_pinconf_set()
554 l1 = readl(&ipctl->lev1->conf[pin]); in rzn1_pinconf_set()
616 writel(l1, &ipctl->lev1->conf[pin]); in rzn1_pinconf_set()
[all …]
/openbmc/qemu/hw/gpio/
H A Dbcm2835_gpio.c171 return s->lev1; in bcm2835_gpio_read()
218 gpset(s, value, 32, 22, &s->lev1); in bcm2835_gpio_write()
224 gpclr(s, value, 32, 22, &s->lev1); in bcm2835_gpio_write()
274 s->lev1 = 0; in bcm2835_gpio_reset()
290 VMSTATE_UINT32(lev1, BCM2835GpioState),
H A Dbcm2838_gpio.c197 value = s->lev1; in bcm2838_gpio_read()
251 gpset(s, value, 32, 22, &s->lev1); in bcm2838_gpio_write()
257 gpclr(s, value, 32, 22, &s->lev1); in bcm2838_gpio_write()
311 s->lev1 = 0; in bcm2838_gpio_reset()
334 VMSTATE_UINT32(lev1, BCM2838GpioState),
/openbmc/qemu/include/hw/gpio/
H A Dbcm2835_gpio.h32 uint32_t lev0, lev1; member
H A Dbcm2838_gpio.h39 uint32_t lev0, lev1; member