Home
last modified time | relevance | path

Searched refs:nranges (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/misc/cxl/
A Dof.c286 int len, nranges, i; in read_adapter_irq_config() local
297 nranges = len / (2 * sizeof(int)); in read_adapter_irq_config()
298 if (nranges == 0 || (nranges * 2 * sizeof(int)) != len) in read_adapter_irq_config()
301 adapter->guest->irq_avail = kcalloc(nranges, sizeof(struct irq_avail), in read_adapter_irq_config()
307 for (i = 0; i < nranges; i++) { in read_adapter_irq_config()
322 adapter->guest->irq_nranges = nranges; in read_adapter_irq_config()
/linux/arch/sparc/prom/
A Dranges.c21 struct linux_prom_ranges *rangep, int nranges) in prom_adjust_regs() argument
26 for (rngc = 0; rngc < nranges; rngc++) in prom_adjust_regs()
29 if (rngc == nranges) /* oops */ in prom_adjust_regs()
/linux/drivers/pinctrl/
A Dpinctrl-microchip-sgpio.c524 int i, nranges, ret; in microchip_sgpio_get_ports() local
527 nranges = device_property_count_u32(dev, range_property_name); in microchip_sgpio_get_ports()
528 if (nranges < 2 || nranges % 2 || nranges > ARRAY_SIZE(range_params)) { in microchip_sgpio_get_ports()
530 nranges == -EINVAL ? "Missing" : "Invalid", in microchip_sgpio_get_ports()
536 range_params, nranges); in microchip_sgpio_get_ports()
542 for (i = 0; i < nranges; i += 2) { in microchip_sgpio_get_ports()
A Dcore.c414 unsigned nranges) in pinctrl_add_gpio_ranges() argument
418 for (i = 0; i < nranges; i++) in pinctrl_add_gpio_ranges()
/linux/drivers/pinctrl/mediatek/
A Dpinctrl-moore.h27 #define MTK_RANGE(_a) { .range = (_a), .nranges = ARRAY_SIZE(_a), }
A Dpinctrl-paris.h29 #define MTK_RANGE(_a) { .range = (_a), .nranges = ARRAY_SIZE(_a), }
A Dpinctrl-mtk-common-v2.h181 unsigned int nranges; member
A Dpinctrl-mtk-common-v2.c90 end = rc->nranges - 1; in mtk_hw_pin_field_lookup()
/linux/arch/m68k/include/asm/
A Doplib.h278 struct linux_prom_ranges *rangep, int nranges);
/linux/include/linux/pinctrl/
A Dpinctrl.h176 unsigned nranges);
/linux/drivers/pci/controller/
A Dpci-mvebu.c739 int rlen, nranges, rangesz, pna, i; in mvebu_get_tgt_attr() local
750 nranges = rlen / sizeof(__be32) / rangesz; in mvebu_get_tgt_attr()
752 for (i = 0; i < nranges; i++, range += rangesz) { in mvebu_get_tgt_attr()
/linux/drivers/net/ethernet/sun/
A Dsunhme.h495 int nranges; member
A Dsunhme.c2639 qp->nranges = 0; in quattro_pci_find()
/linux/include/linux/
A Dregmap.h1216 unsigned int nranges);
/linux/drivers/base/regmap/
A Dregmap.c62 unsigned int nranges) in regmap_reg_in_ranges() argument
67 for (i = 0, r = ranges; i < nranges; i++, r++) in regmap_reg_in_ranges()

Completed in 46 milliseconds