Home
last modified time | relevance | path

Searched refs:nr_mmios (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/irqchip/
H A Dirq-riscv-imsic-state.c625 u32 *nr_mmios, in imsic_parse_fwnode() argument
634 *nr_mmios = 0; in imsic_parse_fwnode()
711 while (!imsic_get_mmio_resource(fwnode, *nr_mmios, &res)) in imsic_parse_fwnode()
712 (*nr_mmios)++; in imsic_parse_fwnode()
719 u32 i, j, index, nr_parent_irqs, nr_mmios, nr_handlers = 0; in imsic_setup_state() local
758 rc = imsic_parse_fwnode(fwnode, global, &nr_parent_irqs, &nr_mmios, opaque); in imsic_setup_state()
763 mmios = kcalloc(nr_mmios, sizeof(*mmios), GFP_KERNEL); in imsic_setup_state()
770 mmios_va = kcalloc(nr_mmios, sizeof(*mmios_va), GFP_KERNEL); in imsic_setup_state()
777 for (i = 0; i < nr_mmios; i++) { in imsic_setup_state()
827 index = nr_mmios; in imsic_setup_state()
[all …]
/linux/drivers/hwtracing/intel_th/
H A Dcore.c867 int err, r, nr_mmios = 0; in intel_th_alloc() local
893 th->resource[nr_mmios++] = devres[r]; in intel_th_alloc()
912 th->num_resources = nr_mmios; in intel_th_alloc()