Home
last modified time | relevance | path

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

12

/freebsd/sys/arm/nvidia/
H A Das3722_regulators.c83 int nranges; member
138 .nranges = nitems(as3722_sd016_ranges),
150 .nranges = nitems(as3722_sd_ranges),
163 .nranges = nitems(as3722_sd_ranges),
176 .nranges = nitems(as3722_sd_ranges),
189 .nranges = nitems(as3722_sd_ranges),
202 .nranges = nitems(as3722_sd_ranges),
214 .nranges = nitems(as3722_sd016_ranges),
227 .nranges = nitems(as3722_ldo_ranges),
240 .nranges = nitems(as3722_ldo_ranges),
[all …]
/freebsd/sys/dev/iicbus/pmic/
H A Dact8846_regulator.c83 int nranges; member
119 .nranges = nitems(act8846_ranges),
130 .nranges = nitems(act8846_ranges),
141 .nranges = nitems(act8846_ranges),
152 .nranges = nitems(act8846_ranges),
163 .nranges = nitems(act8846_ranges),
174 .nranges = nitems(act8846_ranges),
185 .nranges = nitems(act8846_ranges),
196 .nranges = nitems(act8846_ranges),
207 .nranges = nitems(act8846_ranges),
[all …]
/freebsd/sys/dev/vnic/
H A Dmrml_bridge.c158 for (i = 0; i < sc->nranges; i++) { in mrmlb_ofw_bus_alloc_res()
169 if (i == sc->nranges && sc->nranges != 0) { in mrmlb_ofw_bus_alloc_res()
199 sc->nranges = nbase_ranges / sizeof(cell_t) / in mrmlb_ofw_fill_ranges()
201 if (sc->nranges == 0) in mrmlb_ofw_fill_ranges()
204 sc->ranges = malloc(sc->nranges * sizeof(sc->ranges[0]), in mrmlb_ofw_fill_ranges()
209 for (i = 0, j = 0; i < sc->nranges; i++) { in mrmlb_ofw_fill_ranges()
228 return (sc->nranges); in mrmlb_ofw_fill_ranges()
H A Dthunder_mdio_fdt.c207 sc->nranges = nbase_ranges / sizeof(cell_t) / in mdionexus_ofw_fill_ranges()
209 if (sc->nranges == 0) in mdionexus_ofw_fill_ranges()
212 sc->ranges = malloc(sc->nranges * sizeof(sc->ranges[0]), in mdionexus_ofw_fill_ranges()
217 for (i = 0, j = 0; i < sc->nranges; i++) { in mdionexus_ofw_fill_ranges()
236 return (sc->nranges); in mdionexus_ofw_fill_ranges()
/freebsd/sys/arm64/nvidia/tegra210/
H A Dmax77620_regulators.c93 int nranges; member
158 .nranges = nitems(max77620_sd0_ranges),
173 .nranges = nitems(max77620_sd1_ranges),
188 .nranges = nitems(max77620_sdx_ranges),
203 .nranges = nitems(max77620_sdx_ranges),
218 .nranges = nitems(max77620_ldo0_1_ranges),
233 .nranges = nitems(max77620_ldo0_1_ranges),
248 .nranges = nitems(max77620_ldox_ranges),
263 .nranges = nitems(max77620_ldox_ranges),
278 .nranges = nitems(max77620_ldo4_ranges),
[all …]
/freebsd/sys/dev/fdt/
H A Dsimplebus.c242 sc->nranges = nbase_ranges / sizeof(cell_t) / in simplebus_fill_ranges()
244 if (sc->nranges == 0) in simplebus_fill_ranges()
247 sc->ranges = malloc(sc->nranges * sizeof(sc->ranges[0]), in simplebus_fill_ranges()
252 for (i = 0, j = 0; i < sc->nranges; i++) { in simplebus_fill_ranges()
271 return (sc->nranges); in simplebus_fill_ranges()
468 for (j = 0; j < sc->nranges; j++) { in simplebus_alloc_resource()
478 if (j == sc->nranges && sc->nranges != 0) { in simplebus_alloc_resource()
H A Dsimplebus.h47 int nranges; member
/freebsd/sys/arm/arm/
H A Dgic_fdt.c231 sc->base.nranges = nbase_ranges / sizeof(cell_t) / in arm_gic_fill_ranges()
233 if (sc->base.nranges == 0) in arm_gic_fill_ranges()
236 sc->base.ranges = malloc(sc->base.nranges * sizeof(sc->base.ranges[0]), in arm_gic_fill_ranges()
241 for (i = 0, j = 0; i < sc->base.nranges; i++) { in arm_gic_fill_ranges()
260 return (sc->base.nranges); in arm_gic_fill_ranges()
H A Dgic.h63 int nranges; member
/freebsd/sys/dev/dpaa/
H A Dfman.c98 for (i = 0; i < sc->sc_base.nranges; i++) { in fman_activate_resource()
183 for (i = 0; i < sc->sc_base.nranges; i++) { in fman_alloc_resource()
229 sc->nranges = nbase_ranges / sizeof(cell_t) / in fman_fill_ranges()
231 if (sc->nranges == 0) in fman_fill_ranges()
234 sc->ranges = malloc(sc->nranges * sizeof(sc->ranges[0]), in fman_fill_ranges()
239 for (i = 0, j = 0; i < sc->nranges; i++) { in fman_fill_ranges()
258 return (sc->nranges); in fman_fill_ranges()
/freebsd/sys/arm64/qoriq/
H A Dqoriq_therm.c304 int nranges, ncalibs, i; in qoriq_therm_fdt_calib() local
308 nranges = OF_getencprop_alloc_multi(node, "fsl,tmu-range", in qoriq_therm_fdt_calib()
310 if (nranges < 2 || nranges > 4) { in qoriq_therm_fdt_calib()
314 for (i = 0; i < nranges; i++) { in qoriq_therm_fdt_calib()
/freebsd/sys/arm64/arm64/
H A Dgic_v3_fdt.c251 sc->nranges = nbase_ranges / sizeof(cell_t) / in gic_v3_ofw_fill_ranges()
253 if (sc->nranges == 0) in gic_v3_ofw_fill_ranges()
256 sc->ranges = malloc(sc->nranges * sizeof(sc->ranges[0]), M_GIC_V3, in gic_v3_ofw_fill_ranges()
261 for (i = 0, j = 0; i < sc->nranges; i++) { in gic_v3_ofw_fill_ranges()
H A Dgic_v3_var.h87 int nranges; member
/freebsd/sys/dev/regulator/
H A Dregulator.h150 int regulator_range_volt_to_sel8(struct regulator_range *ranges, int nranges,
152 int regulator_range_sel8_to_volt(struct regulator_range *ranges, int nranges,
H A Dregulator.c1251 regulator_range_sel8_to_volt(struct regulator_range *ranges, int nranges, in regulator_range_sel8_to_volt() argument
1257 if (nranges == 0) in regulator_range_sel8_to_volt()
1260 for (i = 0; i < nranges ; i++) { in regulator_range_sel8_to_volt()
1277 regulator_range_volt_to_sel8(struct regulator_range *ranges, int nranges, in regulator_range_volt_to_sel8() argument
1285 if (nranges == 0) in regulator_range_volt_to_sel8()
1288 for (i = 0; i < nranges; i++) { in regulator_range_volt_to_sel8()
1313 if (i >= nranges) in regulator_range_volt_to_sel8()
1317 rv = regulator_range_sel8_to_volt(ranges, nranges, sel, &uvolt); in regulator_range_volt_to_sel8()
/freebsd/lib/libc/regex/
H A Dregex2.h123 unsigned int nranges; member
145 for (i = 0; i < cs->nranges; i++) in CHIN1()
/freebsd/sys/dev/vt/hw/ofwfb/
H A Dofwfb.c329 int nranges, host_address_cells; in decode_pci_ranges_host_addr()
353 nranges = nbase_ranges / sizeof(cell_t) / (acells + host_address_cells + scells); in decode_pci_ranges_host_addr()
356 if (nranges > sizeof(ranges) / sizeof(ranges[0])) in decode_pci_ranges_host_addr()
357 nranges = sizeof(ranges) / sizeof(ranges[0]); in decode_pci_ranges_host_addr()
361 for (i = 0, j = 0; i < nranges; i++) { in decode_pci_ranges_host_addr()
317 int nranges, host_address_cells; decode_pci_ranges_host_addr() local
/freebsd/sys/dev/ofw/
H A Dofw_pcib.c665 int nranges; in ofw_pcib_fill_ranges() local
677 nranges = nbase_ranges / sizeof(cell_t) / in ofw_pcib_fill_ranges()
683 for (i = 0, j = 0; i < nranges; i++) { in ofw_pcib_fill_ranges()
703 return (nranges); in ofw_pcib_fill_ranges()
/freebsd/sys/dev/pci/
H A Dpci_host_generic.h71 int nranges; member
H A Dpci_host_generic_fdt.c203 sc->nranges = nbase_ranges / sizeof(cell_t) / in parse_pci_mem_ranges()
208 for (i = 0, j = 0; i < sc->nranges; i++) { in parse_pci_mem_ranges()
H A Dpci_dw.c432 int nranges) in pci_dw_decode_ranges() argument
437 for (i = 0; i < nranges; i++) { in pci_dw_decode_ranges()
448 for (i = 0; i < nranges; i++) { in pci_dw_decode_ranges()
H A Dpci_host_generic_acpi.c145 r = sc->base.nranges; in pci_host_generic_acpi_parse_resource()
192 sc->base.nranges++; in pci_host_generic_acpi_parse_resource()
/freebsd/sys/arm/ti/
H A Dti_omap4_cm.c67 if (sc->sc.nranges == 0) in ti_omap4_cm_get_simplebus_base_host()
H A Dti_sysc.c335 if (sc->sc.nranges == 0) in parse_regfields()
477 if (sc->sc.nranges == 0) { in ti_sysc_attach()
H A Dti_prcm.c152 if (sc->sc_simplebus.nranges == 0) { in ti_prcm_attach()

12