Lines Matching refs:chip_regs
71 struct lan966x_oic_chip_regs *chip_regs = gc->private; in lan966x_oic_irq_startup() local
77 map = irq_reg_readl(gc, chip_regs->reg_off_map); in lan966x_oic_irq_startup()
79 irq_reg_writel(gc, map, chip_regs->reg_off_map); in lan966x_oic_irq_startup()
93 struct lan966x_oic_chip_regs *chip_regs = gc->private; in lan966x_oic_irq_shutdown() local
101 map = irq_reg_readl(gc, chip_regs->reg_off_map); in lan966x_oic_irq_shutdown()
103 irq_reg_writel(gc, map, chip_regs->reg_off_map); in lan966x_oic_irq_shutdown()
122 struct lan966x_oic_chip_regs *chip_regs = gc->private; in lan966x_oic_irq_handler_domain() local
126 ident = irq_reg_readl(gc, chip_regs->reg_off_ident); in lan966x_oic_irq_handler_domain()
171 struct lan966x_oic_chip_regs *chip_regs; in lan966x_oic_chip_init() local
173 chip_regs = &lan966x_oic_chip_regs[gc->irq_base / 32]; in lan966x_oic_chip_init()
176 gc->chip_types[0].regs.enable = chip_regs->reg_off_ena_set; in lan966x_oic_chip_init()
177 gc->chip_types[0].regs.disable = chip_regs->reg_off_ena_clr; in lan966x_oic_chip_init()
178 gc->chip_types[0].regs.ack = chip_regs->reg_off_sticky; in lan966x_oic_chip_init()
185 gc->private = chip_regs; in lan966x_oic_chip_init()
188 irq_reg_writel(gc, ~0U, chip_regs->reg_off_ena_clr); in lan966x_oic_chip_init()