Lines Matching refs:num_regs
186 unsigned int num_regs = 1 << adnp->reg_shift, i, j; in adnp_gpio_dbg_show() local
189 for (i = 0; i < num_regs; i++) { in adnp_gpio_dbg_show()
245 unsigned int num_regs, i; in adnp_irq() local
247 num_regs = 1 << adnp->reg_shift; in adnp_irq()
249 for (i = 0; i < num_regs; i++) { in adnp_irq()
366 unsigned int num_regs = 1 << adnp->reg_shift, i; in adnp_irq_bus_unlock() local
370 for (i = 0; i < num_regs; i++) in adnp_irq_bus_unlock()
390 unsigned int num_regs = 1 << adnp->reg_shift, i; in adnp_irq_setup() local
404 adnp->irq_enable = devm_kcalloc(chip->parent, num_regs, 6, in adnp_irq_setup()
409 adnp->irq_level = adnp->irq_enable + (num_regs * 1); in adnp_irq_setup()
410 adnp->irq_rise = adnp->irq_enable + (num_regs * 2); in adnp_irq_setup()
411 adnp->irq_fall = adnp->irq_enable + (num_regs * 3); in adnp_irq_setup()
412 adnp->irq_high = adnp->irq_enable + (num_regs * 4); in adnp_irq_setup()
413 adnp->irq_low = adnp->irq_enable + (num_regs * 5); in adnp_irq_setup()
415 for (i = 0; i < num_regs; i++) { in adnp_irq_setup()