| /f-stack/freebsd/mips/mediatek/ |
| H A D | fdt_reset.c | 57 int resetnum, err, i, ncells; in assert_deassert_all() local 62 ncells = OF_getencprop_alloc_multi(rnode, "resets", sizeof(*resets), in assert_deassert_all() 64 if (!assert && ncells < 2) { in assert_deassert_all() 70 for (i = 0; i < ncells; i += 2) { in assert_deassert_all()
|
| H A D | mtk_intr_v1.c | 287 if (daf->ncells != 1 || daf->cells[0] >= sc->nirqs) in mtk_pic_map_intr()
|
| H A D | mtk_intr_v2.c | 282 if (daf->ncells != 1 || daf->cells[0] >= sc->nirqs) in mtk_pic_map_intr()
|
| /f-stack/freebsd/arm/allwinner/ |
| H A D | aw_gmacclk.c | 193 int error, ncells, i; in aw_gmacclk_attach() local 203 "#clock-cells", &ncells); in aw_gmacclk_attach() 204 if (error != 0 || ncells != CLK_IDX_COUNT) { in aw_gmacclk_attach() 219 def.parent_names = malloc(sizeof(char *) * ncells, M_OFWPROP, M_WAITOK); in aw_gmacclk_attach() 220 for (i = 0; i < ncells; i++) { in aw_gmacclk_attach() 229 def.parent_cnt = ncells; in aw_gmacclk_attach()
|
| H A D | aw_nmi.c | 160 aw_nmi_map_fdt(device_t dev, u_int ncells, pcell_t *cells, u_int *irqp, in aw_nmi_map_fdt() argument 167 if (ncells != 2) { in aw_nmi_map_fdt() 226 error = aw_nmi_map_fdt(dev, daf->ncells, daf->cells, &irq, NULL, NULL); in aw_nmi_map_intr() 253 error = aw_nmi_map_fdt(dev, daf->ncells, daf->cells, &irq, &pol, &trig); in aw_nmi_setup_intr()
|
| /f-stack/freebsd/arm64/rockchip/ |
| H A D | rk_usb2phy.c | 238 rk_usb2phy_clk_ofw_map(struct clkdom *clkdom, uint32_t ncells, in rk_usb2phy_clk_ofw_map() argument 242 if (ncells != 0) in rk_usb2phy_clk_ofw_map() 263 int i, nclocks, ncells, error; in rk_usb2phy_export_clock() local 268 "#clock-cells", &ncells); in rk_usb2phy_export_clock() 269 if (error != 0 || ncells != 1) { in rk_usb2phy_export_clock() 285 def.parent_names = malloc(sizeof(char *) * ncells, M_OFWPROP, M_WAITOK); in rk_usb2phy_export_clock() 286 for (i = 0; i < ncells; i++) { in rk_usb2phy_export_clock() 295 def.parent_cnt = ncells; in rk_usb2phy_export_clock()
|
| /f-stack/freebsd/arm/ti/clk/ |
| H A D | clock_common.c | 62 int index, ncells, rv; in read_clock_cells() local 83 clk->num_real_clocks, &parent, &ncells, &cells); in read_clock_cells() 90 clk->clock_cells_ncells[index] = ncells; in read_clock_cells() 91 index += ncells; in read_clock_cells()
|
| H A D | ti_clkctrl.c | 95 int clkctrl_ofw_map(struct clkdom *clkdom, uint32_t ncells, 260 clkctrl_ofw_map(struct clkdom *clkdom, uint32_t ncells, in clkctrl_ofw_map() argument 262 if (ncells == 0) in clkctrl_ofw_map() 264 else if (ncells == 1) in clkctrl_ofw_map() 266 else if (ncells == 2) { in clkctrl_ofw_map()
|
| /f-stack/freebsd/arm/nvidia/tegra124/ |
| H A D | tegra124_coretemp.c | 132 int rv, ncells; in tegra124_coretemp_ofw_parse() local 149 "#thermal-sensor-cells", 0, &xnode, &ncells, &cells); in tegra124_coretemp_ofw_parse() 155 if (ncells != 1) { in tegra124_coretemp_ofw_parse() 158 ncells); in tegra124_coretemp_ofw_parse()
|
| /f-stack/freebsd/arm64/nvidia/tegra210/ |
| H A D | tegra210_coretemp.c | 137 int rv, ncells; in tegra210_coretemp_ofw_parse() local 154 "#thermal-sensor-cells", 0, &xnode, &ncells, &cells); in tegra210_coretemp_ofw_parse() 160 if (ncells != 1) { in tegra210_coretemp_ofw_parse() 163 ncells); in tegra210_coretemp_ofw_parse()
|
| H A D | max77620.h | 241 int max77620_regulator_map(device_t dev, phandle_t xref, int ncells,
|
| /f-stack/freebsd/arm/mv/ |
| H A D | a37x0_gpio.c | 269 int err, ncells; in a37x0_gpio_attach() local 282 ncells = OF_getencprop_alloc(ofw_bus_get_node(dev), "gpio-ranges", in a37x0_gpio_attach() 284 if (ncells == -1) in a37x0_gpio_attach() 286 if (ncells != sizeof(*ranges) * 4 || ranges[1] != 0 || ranges[2] != 0) { in a37x0_gpio_attach()
|
| H A D | mv_cp110_icu.c | 155 if (daf->ncells != 2) in mv_cp110_icu_convert_map_data() 169 sc->parent_map_data->ncells = 2; in mv_cp110_icu_convert_map_data() 231 if (daf->ncells != 2) in mv_cp110_icu_map_intr()
|
| H A D | mv_ap806_gicp.c | 142 if (daf->ncells != 2) in mv_ap806_gicp_convert_map_data() 151 sc->parent_map_data->ncells = 3; in mv_ap806_gicp_convert_map_data()
|
| H A D | mv_cp110_clock.c | 169 cp110_ofw_map(struct clkdom *clkdom, uint32_t ncells, in cp110_ofw_map() argument 174 if (ncells != 2) in cp110_ofw_map()
|
| H A D | mvebu_gpio.c | 401 mvebu_gpio_pic_map_fdt(struct mvebu_gpio_softc *sc, u_int ncells, in mvebu_gpio_pic_map_fdt() argument 415 if (ncells != 2 || cells[0] >= sc->gpio_npins) in mvebu_gpio_pic_map_fdt() 499 rv = mvebu_gpio_pic_map_fdt(sc, daf->ncells, daf->cells, &irq, in mvebu_gpio_pic_map_intr() 573 rv = mvebu_gpio_pic_map_fdt(sc, daf->ncells, daf->cells, &irq, in mvebu_gpio_pic_setup_intr()
|
| /f-stack/freebsd/arm64/qoriq/clk/ |
| H A D | qoriq_clkgen.c | 70 qoriq_clkgen_ofw_mapper(struct clkdom *clkdom, uint32_t ncells, in qoriq_clkgen_ofw_mapper() argument 74 if (ncells != 2) in qoriq_clkgen_ofw_mapper()
|
| /f-stack/app/redis-5.0.5/deps/jemalloc/src/ |
| H A D | ckh.c | 446 size_t i, ncells; in ckh_iter() local 448 for (i = *tabind, ncells = (ZU(1) << (ckh->lg_curbuckets + in ckh_iter() 449 LG_CKH_BUCKET_CELLS)); i < ncells; i++) { in ckh_iter()
|
| /f-stack/freebsd/arm/nvidia/ |
| H A D | tegra_gpio.c | 496 tegra_gpio_pic_map_fdt(struct tegra_gpio_softc *sc, u_int ncells, in tegra_gpio_pic_map_fdt() argument 510 if (ncells != 2 || cells[0] >= sc->gpio_npins) in tegra_gpio_pic_map_fdt() 586 rv = tegra_gpio_pic_map_fdt(sc, daf->ncells, daf->cells, &irq, in tegra_gpio_pic_map_intr() 660 rv = tegra_gpio_pic_map_fdt(sc, daf->ncells, daf->cells, &irq, in tegra_gpio_pic_setup_intr()
|
| /f-stack/freebsd/arm/broadcom/bcm2835/ |
| H A D | bcm2835_intr.c | 268 if (daf->ncells == 1) in bcm_intc_map_intr() 270 else if (daf->ncells == 2) { in bcm_intc_map_intr()
|
| /f-stack/freebsd/mips/ingenic/ |
| H A D | jz4780_pdma.c | 534 pdma_ofw_md_data(device_t dev, pcell_t *cells, int ncells, void **ptr) in pdma_ofw_md_data() argument 538 if (ncells != 3) { in pdma_ofw_md_data()
|
| H A D | jz4780_gpio.c | 569 daf->ncells == 0 || daf->ncells > 2) in jz_gpio_map_intr_fdt() 573 if (daf->ncells == 1) { in jz_gpio_map_intr_fdt()
|
| /f-stack/freebsd/arm/arm/ |
| H A D | gic.c | 654 gic_map_fdt(device_t dev, u_int ncells, pcell_t *cells, u_int *irqp, in gic_map_fdt() argument 658 if (ncells == 1) { in gic_map_fdt() 664 if (ncells == 3) { in gic_map_fdt() 761 if (gic_map_fdt(dev, daf->ncells, daf->cells, &irq, &pol, in gic_map_intr()
|
| /f-stack/freebsd/arm/freescale/imx/ |
| H A D | tzic.c | 169 if (daf->ncells != 1 || daf->cells[0] >= TZIC_NIRQS) in tzic_map_intr()
|
| /f-stack/freebsd/arm/ti/ |
| H A D | aintc.c | 179 if (daf->ncells != 1 || daf->cells[0] >= INTC_NIRQS) in ti_aintc_map_intr()
|