Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/sh/intc/
A 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()
A Dinternals.h64 unsigned int nr_reg; member
A Daccess.c45 for (k = 0; k < d->nr_reg; k++) { in intc_get_reg()
/linux-6.3-rc2/arch/arm/xen/
A Denlighten.c322 unsigned int i, nr_reg = 0; in arch_xen_unpopulated_init() local
336 while (of_get_address(np, nr_reg + EXT_REGION_INDEX, NULL, NULL)) in arch_xen_unpopulated_init()
337 nr_reg++; in arch_xen_unpopulated_init()
339 if (!nr_reg) { in arch_xen_unpopulated_init()
345 regs = kcalloc(nr_reg, sizeof(*regs), GFP_KERNEL); in arch_xen_unpopulated_init()
355 for (i = 0; i < nr_reg; i++) { in arch_xen_unpopulated_init()
373 for (i = 1; i < nr_reg; i++) { in arch_xen_unpopulated_init()
/linux-6.3-rc2/arch/arm64/kvm/
A Dguest.c277 int i, nr_reg; in set_core_reg() local
287 nr_reg = 15; in set_core_reg()
295 nr_reg = 31; in set_core_reg()
299 for (i = 0; i < nr_reg; i++) in set_core_reg()

Completed in 9 milliseconds