Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpio/
Dgpio-mpc5200.c37 unsigned int shadow_ddr; member
108 chip->shadow_ddr &= ~(1 << (7 - gpio)); in mpc52xx_wkup_gpio_dir_in()
109 out_8(&regs->wkup_ddr, chip->shadow_ddr); in mpc52xx_wkup_gpio_dir_in()
133 chip->shadow_ddr |= 1 << (7 - gpio); in mpc52xx_wkup_gpio_dir_out()
134 out_8(&regs->wkup_ddr, chip->shadow_ddr); in mpc52xx_wkup_gpio_dir_out()
174 chip->shadow_ddr = in_8(&regs->wkup_ddr); in mpc52xx_wkup_gpiochip_probe()
269 chip->shadow_ddr &= ~(1 << (31 - gpio)); in mpc52xx_simple_gpio_dir_in()
270 out_be32(&regs->simple_ddr, chip->shadow_ddr); in mpc52xx_simple_gpio_dir_in()
295 chip->shadow_ddr |= 1 << (31 - gpio); in mpc52xx_simple_gpio_dir_out()
296 out_be32(&regs->simple_ddr, chip->shadow_ddr); in mpc52xx_simple_gpio_dir_out()
[all …]