Searched refs:gpio_regs (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/arch/powerpc/platforms/pasemi/ |
D | gpio_mdio.c | 27 static void __iomem *gpio_regs; variable 39 out_le32(gpio_regs+0x10, 1 << MDIO_PIN(bus)); in mdio_lo() 44 out_le32(gpio_regs, 1 << MDIO_PIN(bus)); in mdio_hi() 49 out_le32(gpio_regs+0x10, 1 << MDC_PIN(bus)); in mdc_lo() 54 out_le32(gpio_regs, 1 << MDC_PIN(bus)); in mdc_hi() 59 out_le32(gpio_regs+0x20, (1 << MDC_PIN(bus)) | (1 << MDIO_PIN(bus))); in mdio_active() 64 out_le32(gpio_regs+0x30, (1 << MDIO_PIN(bus))); in mdio_tristate() 69 return !!(in_le32(gpio_regs+0x40) & (1 << MDIO_PIN(bus))); in mdio_read() 307 gpio_regs = of_iomap(np, 0); in gpio_mdio_init() 310 if (!gpio_regs) in gpio_mdio_init() [all …]
|
/linux-6.1.9/drivers/gpio/ |
D | gpio-rockchip.c | 146 data = rockchip_gpio_readl_bit(bank, offset, bank->gpio_regs->port_ddr); in rockchip_gpio_get_direction() 167 rockchip_gpio_writel_bit(bank, offset, data, bank->gpio_regs->port_ddr); in rockchip_gpio_set_direction() 180 rockchip_gpio_writel_bit(bank, offset, value, bank->gpio_regs->port_dr); in rockchip_gpio_set() 189 data = readl(bank->reg_base + bank->gpio_regs->ext_port); in rockchip_gpio_get() 201 const struct rockchip_gpio_regs *reg = bank->gpio_regs; in rockchip_gpio_set_debounce() 342 pending = readl_relaxed(bank->reg_base + bank->gpio_regs->int_status); in rockchip_irq_demux() 355 bank->gpio_regs->ext_port); in rockchip_irq_demux() 360 bank->gpio_regs->int_polarity); in rockchip_irq_demux() 367 bank->gpio_regs->int_polarity); in rockchip_irq_demux() 373 bank->gpio_regs->ext_port); in rockchip_irq_demux() [all …]
|
D | gpio-lpc32xx.c | 71 struct gpio_regs { struct 129 static struct gpio_regs gpio_grp_regs_p0 = { 137 static struct gpio_regs gpio_grp_regs_p1 = { 145 static struct gpio_regs gpio_grp_regs_p2 = { 153 static struct gpio_regs gpio_grp_regs_p3 = { 164 struct gpio_regs *gpio_grp;
|
D | gpio-zynq.c | 104 struct gpio_regs { struct 132 struct gpio_regs context; argument
|
D | gpio-omap.c | 31 struct gpio_regs { struct 54 struct gpio_regs context; argument
|
/linux-6.1.9/drivers/pinctrl/ |
D | pinctrl-rockchip.h | 336 const struct rockchip_gpio_regs *gpio_regs; member
|