Home
last modified time | relevance | path

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

/drivers/sh/intc/
Dcore.c223 d->nr_reg = hw->mask_regs ? hw->nr_mask_regs * 2 : 0; in register_intc_controller()
225 if (d->nr_reg) in register_intc_controller()
226 d->nr_reg += hw->nr_mask_regs; in register_intc_controller()
228 d->nr_reg += hw->prio_regs ? hw->nr_prio_regs * 2 : 0; in register_intc_controller()
229 d->nr_reg += hw->sense_regs ? hw->nr_sense_regs : 0; in register_intc_controller()
230 d->nr_reg += hw->ack_regs ? hw->nr_ack_regs : 0; in register_intc_controller()
231 d->nr_reg += hw->subgroups ? hw->nr_subgroups : 0; in register_intc_controller()
233 d->reg = kcalloc(d->nr_reg, sizeof(*d->reg), GFP_NOWAIT); in register_intc_controller()
238 d->smp = kcalloc(d->nr_reg, sizeof(*d->smp), GFP_NOWAIT); in register_intc_controller()
Dinternals.h64 unsigned int nr_reg; member
Daccess.c45 for (k = 0; k < d->nr_reg; k++) { in intc_get_reg()