/freebsd-13-stable/sys/arm/broadcom/bcm2835/ |
H A D | bcm2835_machdep.c | 80 pcell_t cells[2]; local 85 len = OF_getencprop(system, "linux,serial", cells, 86 sizeof(cells)); 88 board_set_serial(((uint64_t)cells[0]) << 32 | cells[1]); 90 len = OF_getencprop(system, "linux,revision", cells, 91 sizeof(cells)); 93 board_set_revision(cells[0]);
|
H A D | bcm2835_intr.c | 269 irq = daf->cells[0]; 272 switch (daf->cells[0]) { 274 irq = daf->cells[1]; 279 irq = daf->cells[1] + BANK1_START; 284 irq = daf->cells[1] + BANK2_START; 296 daf->cells[0], daf->cells[1]);
|
/freebsd-13-stable/crypto/heimdal/lib/kafs/ |
H A D | common.c | 169 * Try to find the cells we should try to klog to in "file". 172 find_cells(const char *file, char ***cells, int *idx) argument 191 if(strcmp((*cells)[i], cell) == 0) 196 tmp = realloc(*cells, (ind + 1) * sizeof(**cells)); 199 *cells = tmp; 200 (*cells)[ind] = strdup(cell); 201 if ((*cells)[ind] == NULL) 211 * Get tokens for all cells[] 214 afslog_cells(struct kafs_data *data, char **cells, in argument 232 char **cells = NULL; local [all...] |
/freebsd-13-stable/sys/dev/pwm/ |
H A D | ofw_pwm.c | 47 pcell_t *cells; local 51 rv = ofw_bus_parse_xref_list_alloc(node, prop_name, "#pwm-cells", 52 idx, &xref, &ncells, &cells); 58 OF_prop_free(cells); 62 channel.channel = cells[0]; 63 channel.period = cells[1]; 66 channel.flags = cells[2];
|
/freebsd-13-stable/contrib/ncurses/ncurses/widechar/ |
H A D | lib_ins_wch.c | 52 int cells = _nc_wacs_width(CharOf(CHDEREF(wch))); local 55 if (cells < 0) { 58 if (cells == 0) 59 cells = 1; 66 NCURSES_CH_T *temp2 = temp1 - cells; 73 for (cell = 1; cell < cells; ++cell) { 77 win->_curx = (NCURSES_SIZE_T) (win->_curx + cells);
|
/freebsd-13-stable/sys/dev/extres/hwreset/ |
H A D | hwreset.c | 99 pcell_t *cells, intptr_t *id) 104 *id = cells[0]; 116 pcell_t *cells; local 129 rv = ofw_bus_parse_xref_list_alloc(cnode, "resets", "#reset-cells", 130 idx, &xnode, &ncells, &cells); 137 OF_prop_free(cells); 141 rv = HWRESET_MAP(rstdev, xnode, ncells, cells, &id); 142 OF_prop_free(cells); 98 hwreset_default_ofw_map(device_t provider_dev, phandle_t xref, int ncells, pcell_t *cells, intptr_t *id) argument
|
/freebsd-13-stable/sys/dev/extres/phy/ |
H A D | phy.c | 414 pcell_t *cells, intptr_t *id) 438 *id = cells[0]; 450 pcell_t *cells; local 462 rv = ofw_bus_parse_xref_list_alloc(cnode, "phys", "#phy-cells", idx, 463 &xnode, &ncells, &cells); 470 OF_prop_free(cells); 474 rv = PHYDEV_MAP(phydev, xnode, ncells, cells, &id); 475 OF_prop_free(cells); 505 pcell_t *cells; local 518 (void **)&cells); 413 phydev_default_ofw_map(device_t provider, phandle_t xref, int ncells, pcell_t *cells, intptr_t *id) argument [all...] |
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_addrhashmap.h | 53 Cell cells[1]; // variable len member in struct:__sanitizer::AddrHashMap::AddBucket 61 Cell cells[kBucketSize]; member in struct:__sanitizer::AddrHashMap::Bucket 184 // Check the embed cells. 186 Cell *c = &b->cells[i]; 194 // Check the add cells with read lock. 199 Cell *c = &add->cells[i]; 212 // Embed cells. 215 Cell *c = &b->cells[i]; 227 // Add cells. 231 Cell *c = &add->cells[ [all...] |
/freebsd-13-stable/sys/arm64/qoriq/clk/ |
H A D | qoriq_clkgen.c | 71 phandle_t *cells, struct clknode **clk) 77 if (cells[0] > 5) 80 if (cells[0] == QORIQ_TYPE_SYSCLK || cells[0] == QORIQ_TYPE_CORECLK) 81 if (cells[1] != 0) 84 *clk = clknode_find_by_id(clkdom, QORIQ_CLK_ID(cells[0], cells[1])); 70 qoriq_clkgen_ofw_mapper(struct clkdom *clkdom, uint32_t ncells, phandle_t *cells, struct clknode **clk) argument
|
/freebsd-13-stable/sys/arm/ti/clk/ |
H A D | clock_common.c | 61 phandle_t node, parent, *cells; local 70 /* Allocate space and get clock cells content */ 82 rv = ofw_bus_parse_xref_list_alloc(node, "clocks", "#clock-cells", 83 clk->num_real_clocks, &parent, &ncells, &cells); 87 if (cells != NULL) 88 OF_prop_free(cells);
|
H A D | ti_clkctrl.c | 96 phandle_t *cells, struct clknode **clk); 133 err = OF_searchencprop(node, "#clock-cells", 136 device_printf(sc->dev, "Failed to get #clock-cells\n"); 141 device_printf(sc->dev, "clock cells(%d) != 2\n", 261 phandle_t *cells, struct clknode **clk) { 265 *clk = clknode_find_by_id(clkdom, cells[0]); 270 if (cells[1]) 271 *clk = clknode_find_by_id(clkdom, cells[0]+1); 273 *clk = clknode_find_by_id(clkdom, cells[0]); 260 clkctrl_ofw_map(struct clkdom *clkdom, uint32_t ncells, phandle_t *cells, struct clknode **clk) argument
|
/freebsd-13-stable/sys/riscv/riscv/ |
H A D | plic.c | 129 if (OF_searchencprop(intc, "#interrupt-cells", &hart, 132 "Could not find #interrupt-cells for phandle %u\n", intc); 219 if (daf->ncells != 1 || daf->cells[0] > sc->ndev) 222 *isrcp = &sc->isrcs[daf->cells[0]].isrc; 249 pcell_t *cells; local 328 sizeof(uint32_t), (void **)&cells); 337 if (cells[i + 1] != IRQ_EXTERNAL_SUPERVISOR) 341 hart = plic_get_hartid(dev, OF_node_from_xref(cells[i])); 343 OF_prop_free(cells); 351 OF_prop_free(cells); [all...] |
/freebsd-13-stable/crypto/heimdal/appl/afsutil/ |
H A D | afslog.c | 49 static getarg_strings cells; variable 61 { "cell", 'c', arg_strings, &cells, "cells to get tokens for", "cell" }, 149 /* add to list of cells to get tokens for, and also remove 275 for(i = 0; i < cells.num_strings; i++){ 276 afslog_cell(cells.strings[i], 1); 279 free_getarg_strings (&cells);
|
/freebsd-13-stable/sys/dev/extres/syscon/ |
H A D | syscon.c | 285 pcell_t *cells; local 296 (void **)&cells); 302 *syscon = syscon_find_by_ofw_node(OF_node_from_xref(cells[0])); 306 OF_prop_free(cells); 310 OF_prop_free(cells);
|
/freebsd-13-stable/sys/arm/mv/ |
H A D | mv_ap806_gicp.c | 118 /* Allocate GIC compatible mapping entry (3 cells) */ 145 irq_num = daf->cells[0]; 146 irq_type = daf->cells[1]; 152 sc->parent_map_data->cells[0] = 0; /* SPI */ 153 sc->parent_map_data->cells[2] = irq_type; 165 sc->parent_map_data->cells[1] = irq_num - 32;
|
H A D | mv_cp110_icu.c | 137 /* Allocate GICP compatible mapping entry (2 cells) */ 157 irq_no = daf->cells[0]; 158 irq_type = daf->cells[1]; 170 sc->parent_map_data->cells[0] = reg & ICU_INT_MASK; 171 sc->parent_map_data->cells[1] = irq_type; 233 irq_no = daf->cells[0]; 234 irq_type = daf->cells[1];
|
/freebsd-13-stable/sys/dev/ofw/ |
H A D | ofw_bus_subr.h | 64 pcell_t cells[]; member in struct:intr_map_data_fdt 145 pcell_t **cells);
|
/freebsd-13-stable/sys/dev/iicbus/pmic/ |
H A D | act8846.h | 65 pcell_t *cells, int *num);
|
/freebsd-13-stable/sys/arm/allwinner/ |
H A D | aw_nmi.c | 160 aw_nmi_map_fdt(device_t dev, u_int ncells, pcell_t *cells, u_int *irqp, argument 168 device_printf(dev, "Invalid #interrupt-cells\n"); 172 irq = cells[0]; 178 tripol = cells[1]; 226 error = aw_nmi_map_fdt(dev, daf->ncells, daf->cells, &irq, NULL, NULL); 253 error = aw_nmi_map_fdt(dev, daf->ncells, daf->cells, &irq, &pol, &trig);
|
/freebsd-13-stable/contrib/dialog/ |
H A D | mixedgauge.c | 115 int cells = dlg->len_text - 2; local 143 (void) wmove(win, y, lm + (cells - (int) strlen(status)) / 2); 147 for (j = 0; j < cells; j++) 150 (void) wmove(win, y, lm + (cells - (int) strlen(status)) / 2); 162 xxx = (int) ((cells * (percent + 0.5)) / 100.0); 173 (void) wmove(win, y, lm + (cells - (int) strlen(status)) / 2);
|
/freebsd-13-stable/sys/dev/gpio/ |
H A D | ofw_gpiobus.c | 65 pcell_t *cells; local 73 rv = ofw_bus_parse_xref_list_alloc(cnode, prop_name, "#gpio-cells", 74 idx, &xref, &ncells, &cells); 81 OF_prop_free(cells); 88 OF_prop_free(cells); 94 cells, &pin.pin, &pin.flags); 95 OF_prop_free(cells); 317 * Check for gpio-controller property and read the #gpio-cells 321 OF_getencprop(gpio, "#gpio-cells", &gpiocells, 330 "%s cells does [all...] |
/freebsd-13-stable/sys/dev/xdma/ |
H A D | xdma.c | 354 xdma_ofw_md_data(xdma_controller_t *xdma, pcell_t *cells, int ncells) argument 359 cells, ncells, (void **)&xdma->data); 461 pcell_t *cells; local 473 "dmas", "#dma-cells", &ndmas); 493 error = ofw_bus_parse_xref_list_alloc(node, "dmas", "#dma-cells", 494 idx, &parent, &ncells, &cells); 515 xdma_ofw_md_data(xdma, cells, ncells); 516 free(cells, M_OFWPROP);
|
/freebsd-13-stable/sys/arm/annapurna/alpine/ |
H A D | alpine_pci_msix.c | 174 /* While at parent - store interrupt cells prop */ 176 "#interrupt-cells", &icells, sizeof(icells)) == -1) { 177 device_printf(dev, "DTB: Missing #interrupt-cells " 320 fdt_data->cells[0] = AL_SPI_INTR; /* code for SPI interrupt */ 321 fdt_data->cells[1] = 0; /* SPI number (uninitialized) */ 322 fdt_data->cells[2] = AL_EDGE_HIGH; /* trig = edge, pol = high */ 327 fdt_data->cells[1] = sc->irq_min + i;
|
/freebsd-13-stable/contrib/ncurses/form/ |
H A D | fld_def.c | 323 int cells = Buffer_Length(New_Field); local 327 FIELD_CELL *buffer = &(New_Field->buf[(cells + 1) * i]); 329 for (j = 0; j < cells; ++j)
|
/freebsd-13-stable/sys/arm/nvidia/tegra124/ |
H A D | tegra124_coretemp.c | 134 pcell_t *cells; local 149 "#thermal-sensor-cells", 0, &xnode, &ncells, &cells); 162 sc->tsens_id = 0x100 + sc->cpu_id; //cells[0]; 163 OF_prop_free(cells);
|