Lines Matching refs:saved_data
130 struct gpio_pint_saved saved_data; member
179 struct gpio_port_saved saved_data; member
464 pint->saved_data.assign = readl(&pint->regs->assign); in adi_pint_suspend()
465 pint->saved_data.edge_set = readl(&pint->regs->edge_set); in adi_pint_suspend()
466 pint->saved_data.invert_set = readl(&pint->regs->invert_set); in adi_pint_suspend()
477 writel(pint->saved_data.assign, &pint->regs->assign); in adi_pint_resume()
478 writel(pint->saved_data.edge_set, &pint->regs->edge_set); in adi_pint_resume()
479 writel(pint->saved_data.invert_set, &pint->regs->invert_set); in adi_pint_resume()
488 port->saved_data.fer = readw(&port->regs->port_fer); in adi_gpio_suspend()
489 port->saved_data.mux = readl(&port->regs->port_mux); in adi_gpio_suspend()
490 port->saved_data.data = readw(&port->regs->data); in adi_gpio_suspend()
491 port->saved_data.inen = readw(&port->regs->inen); in adi_gpio_suspend()
492 port->saved_data.dir = readw(&port->regs->dir_set); in adi_gpio_suspend()
505 writel(port->saved_data.mux, &port->regs->port_mux); in adi_gpio_resume()
506 writew(port->saved_data.fer, &port->regs->port_fer); in adi_gpio_resume()
507 writew(port->saved_data.inen, &port->regs->inen); in adi_gpio_resume()
508 writew(port->saved_data.data & port->saved_data.dir, in adi_gpio_resume()
510 writew(port->saved_data.dir, &port->regs->dir_set); in adi_gpio_resume()