Searched refs:csave_regs (Results 1 – 4 of 4) sorted by relevance
46 struct mlxbf_gpio_context_save_regs csave_regs; member95 gs->csave_regs.scratchpad = readq(gs->base + MLXBF_GPIO_SCRATCHPAD); in mlxbf_gpio_suspend()96 gs->csave_regs.pad_control[0] = in mlxbf_gpio_suspend()98 gs->csave_regs.pad_control[1] = in mlxbf_gpio_suspend()100 gs->csave_regs.pad_control[2] = in mlxbf_gpio_suspend()102 gs->csave_regs.pad_control[3] = in mlxbf_gpio_suspend()104 gs->csave_regs.pin_dir_i = readq(gs->base + MLXBF_GPIO_PIN_DIR_I); in mlxbf_gpio_suspend()105 gs->csave_regs.pin_dir_o = readq(gs->base + MLXBF_GPIO_PIN_DIR_O); in mlxbf_gpio_suspend()114 writeq(gs->csave_regs.scratchpad, gs->base + MLXBF_GPIO_SCRATCHPAD); in mlxbf_gpio_resume()115 writeq(gs->csave_regs.pad_control[0], in mlxbf_gpio_resume()[all …]
59 struct pl061_context_save_regs csave_regs; member374 pl061->csave_regs.gpio_data = 0; in pl061_suspend()375 pl061->csave_regs.gpio_dir = readb(pl061->base + GPIODIR); in pl061_suspend()376 pl061->csave_regs.gpio_is = readb(pl061->base + GPIOIS); in pl061_suspend()377 pl061->csave_regs.gpio_ibe = readb(pl061->base + GPIOIBE); in pl061_suspend()378 pl061->csave_regs.gpio_iev = readb(pl061->base + GPIOIEV); in pl061_suspend()379 pl061->csave_regs.gpio_ie = readb(pl061->base + GPIOIE); in pl061_suspend()382 if (pl061->csave_regs.gpio_dir & (BIT(offset))) in pl061_suspend()383 pl061->csave_regs.gpio_data |= in pl061_suspend()396 if (pl061->csave_regs.gpio_dir & (BIT(offset))) in pl061_resume()[all …]
74 struct mlxbf2_gpio_context_save_regs *csave_regs; member438 gs->csave_regs->gpio_mode0 = readl(gs->gpio_io + in mlxbf2_gpio_suspend()440 gs->csave_regs->gpio_mode1 = readl(gs->gpio_io + in mlxbf2_gpio_suspend()450 writel(gs->csave_regs->gpio_mode0, gs->gpio_io + in mlxbf2_gpio_resume()452 writel(gs->csave_regs->gpio_mode1, gs->gpio_io + in mlxbf2_gpio_resume()
77 struct plgpio_regs *csave_regs; member567 plgpio->csave_regs = devm_kcalloc(&pdev->dev, in plgpio_probe()569 sizeof(*plgpio->csave_regs), in plgpio_probe()571 if (!plgpio->csave_regs) in plgpio_probe()645 &plgpio->csave_regs[i].enb); in plgpio_suspend()648 &plgpio->csave_regs[i].eit); in plgpio_suspend()650 &plgpio->csave_regs[i].wdata); in plgpio_suspend()652 &plgpio->csave_regs[i].dir); in plgpio_suspend()654 &plgpio->csave_regs[i].ie); in plgpio_suspend()670 plgpio->csave_regs[i].__reg = \[all …]