Searched refs:nranges (Results 1 – 14 of 14) sorted by relevance
/Linux-v5.4/arch/sparc/prom/ |
D | ranges.c | 21 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/ |
D | of.c | 286 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/ |
D | pinctrl-moore.h | 27 #define MTK_RANGE(_a) { .range = (_a), .nranges = ARRAY_SIZE(_a), }
|
D | pinctrl-paris.h | 29 #define MTK_RANGE(_a) { .range = (_a), .nranges = ARRAY_SIZE(_a), }
|
D | pinctrl-mtk-common-v2.h | 139 unsigned int nranges; member
|
D | pinctrl-mtk-common-v2.c | 83 e = c + rc->nranges; in mtk_hw_pin_field_lookup()
|
/Linux-v5.4/arch/m68k/include/asm/ |
D | oplib.h | 278 struct linux_prom_ranges *rangep, int nranges);
|
/Linux-v5.4/include/linux/pinctrl/ |
D | pinctrl.h | 176 unsigned nranges);
|
/Linux-v5.4/drivers/pci/controller/ |
D | pci-mvebu.c | 734 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/ |
D | sunhme.h | 495 int nranges; member
|
D | sunhme.c | 2664 qp->nranges = 0; in quattro_pci_find()
|
/Linux-v5.4/drivers/pinctrl/ |
D | core.c | 412 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/ |
D | regmap.h | 1067 unsigned int nranges);
|
/Linux-v5.4/drivers/base/regmap/ |
D | regmap.c | 61 unsigned int nranges) in regmap_reg_in_ranges() argument 66 for (i = 0, r = ranges; i < nranges; i++, r++) in regmap_reg_in_ranges()
|