Searched refs:nranges (Results 1 – 15 of 15) sorted by relevance
/linux/drivers/misc/cxl/ |
A 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/arch/sparc/prom/ |
A 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/drivers/pinctrl/ |
A D | pinctrl-microchip-sgpio.c | 524 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 D | core.c | 414 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 D | pinctrl-moore.h | 27 #define MTK_RANGE(_a) { .range = (_a), .nranges = ARRAY_SIZE(_a), }
|
A D | pinctrl-paris.h | 29 #define MTK_RANGE(_a) { .range = (_a), .nranges = ARRAY_SIZE(_a), }
|
A D | pinctrl-mtk-common-v2.h | 181 unsigned int nranges; member
|
A D | pinctrl-mtk-common-v2.c | 90 end = rc->nranges - 1; in mtk_hw_pin_field_lookup()
|
/linux/arch/m68k/include/asm/ |
A D | oplib.h | 278 struct linux_prom_ranges *rangep, int nranges);
|
/linux/include/linux/pinctrl/ |
A D | pinctrl.h | 176 unsigned nranges);
|
/linux/drivers/pci/controller/ |
A D | pci-mvebu.c | 739 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 D | sunhme.h | 495 int nranges; member
|
A D | sunhme.c | 2639 qp->nranges = 0; in quattro_pci_find()
|
/linux/include/linux/ |
A D | regmap.h | 1216 unsigned int nranges);
|
/linux/drivers/base/regmap/ |
A D | regmap.c | 62 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