Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpio/
Dgpio-mpc5200.c25 unsigned int shadow_ddr; member
96 chip->shadow_ddr &= ~(1 << (7 - gpio)); in mpc52xx_wkup_gpio_dir_in()
97 out_8(&regs->wkup_ddr, chip->shadow_ddr); in mpc52xx_wkup_gpio_dir_in()
121 chip->shadow_ddr |= 1 << (7 - gpio); in mpc52xx_wkup_gpio_dir_out()
122 out_8(&regs->wkup_ddr, chip->shadow_ddr); in mpc52xx_wkup_gpio_dir_out()
162 chip->shadow_ddr = in_8(&regs->wkup_ddr); in mpc52xx_wkup_gpiochip_probe()
257 chip->shadow_ddr &= ~(1 << (31 - gpio)); in mpc52xx_simple_gpio_dir_in()
258 out_be32(&regs->simple_ddr, chip->shadow_ddr); in mpc52xx_simple_gpio_dir_in()
283 chip->shadow_ddr |= 1 << (31 - gpio); in mpc52xx_simple_gpio_dir_out()
284 out_be32(&regs->simple_ddr, chip->shadow_ddr); in mpc52xx_simple_gpio_dir_out()
[all …]