Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/sh/intc/
Dcore.c238 d->nr_reg = hw->mask_regs ? hw->nr_mask_regs * 2 : 0; in register_intc_controller()
240 if (d->nr_reg) in register_intc_controller()
241 d->nr_reg += hw->nr_mask_regs; in register_intc_controller()
243 d->nr_reg += hw->prio_regs ? hw->nr_prio_regs * 2 : 0; in register_intc_controller()
244 d->nr_reg += hw->sense_regs ? hw->nr_sense_regs : 0; in register_intc_controller()
245 d->nr_reg += hw->ack_regs ? hw->nr_ack_regs : 0; in register_intc_controller()
246 d->nr_reg += hw->subgroups ? hw->nr_subgroups : 0; in register_intc_controller()
248 d->reg = kcalloc(d->nr_reg, sizeof(*d->reg), GFP_NOWAIT); in register_intc_controller()
253 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()
/linux-6.12.1/arch/arm/xen/
Denlighten.c319 unsigned int i, nr_reg = 0; in arch_xen_unpopulated_init() local
333 while (of_get_address(np, nr_reg + EXT_REGION_INDEX, NULL, NULL)) in arch_xen_unpopulated_init()
334 nr_reg++; in arch_xen_unpopulated_init()
336 if (!nr_reg) { in arch_xen_unpopulated_init()
342 regs = kcalloc(nr_reg, sizeof(*regs), GFP_KERNEL); in arch_xen_unpopulated_init()
352 for (i = 0; i < nr_reg; i++) { in arch_xen_unpopulated_init()
370 for (i = 1; i < nr_reg; i++) { in arch_xen_unpopulated_init()
/linux-6.12.1/arch/arm64/kvm/
Dguest.c278 int i, nr_reg; in set_core_reg() local
288 nr_reg = 15; in set_core_reg()
296 nr_reg = 31; in set_core_reg()
300 for (i = 0; i < nr_reg; i++) in set_core_reg()