Home
last modified time | relevance | path

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

/Linux-v5.4/arch/sparc/prom/
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-v5.4/drivers/misc/cxl/
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-v5.4/drivers/pinctrl/mediatek/
Dpinctrl-moore.h27 #define MTK_RANGE(_a) { .range = (_a), .nranges = ARRAY_SIZE(_a), }
Dpinctrl-paris.h29 #define MTK_RANGE(_a) { .range = (_a), .nranges = ARRAY_SIZE(_a), }
Dpinctrl-mtk-common-v2.h139 unsigned int nranges; member
Dpinctrl-mtk-common-v2.c83 e = c + rc->nranges; in mtk_hw_pin_field_lookup()
/Linux-v5.4/arch/m68k/include/asm/
Doplib.h278 struct linux_prom_ranges *rangep, int nranges);
/Linux-v5.4/include/linux/pinctrl/
Dpinctrl.h176 unsigned nranges);
/Linux-v5.4/drivers/pci/controller/
Dpci-mvebu.c734 int rlen, nranges, rangesz, pna, i; in mvebu_get_tgt_attr() local
745 nranges = rlen / sizeof(__be32) / rangesz; in mvebu_get_tgt_attr()
747 for (i = 0; i < nranges; i++, range += rangesz) { in mvebu_get_tgt_attr()
/Linux-v5.4/drivers/net/ethernet/sun/
Dsunhme.h495 int nranges; member
Dsunhme.c2664 qp->nranges = 0; in quattro_pci_find()
/Linux-v5.4/drivers/pinctrl/
Dcore.c412 unsigned nranges) in pinctrl_add_gpio_ranges() argument
416 for (i = 0; i < nranges; i++) in pinctrl_add_gpio_ranges()
/Linux-v5.4/include/linux/
Dregmap.h1067 unsigned int nranges);
/Linux-v5.4/drivers/base/regmap/
Dregmap.c61 unsigned int nranges) in regmap_reg_in_ranges() argument
66 for (i = 0, r = ranges; i < nranges; i++, r++) in regmap_reg_in_ranges()