/freebsd/sys/dev/ofw/ |
H A D | ofw_standard.c | 75 cell_t *returns); 96 const char *method, int nargs, int nreturns, cell_t *args_and_returns); 167 cell_t name; in ofw_std_test() 168 cell_t nargs; in ofw_std_test() 169 cell_t nreturns; in ofw_std_test() 170 cell_t service; in ofw_std_test() 171 cell_t missing; in ofw_std_test() 173 (cell_t)"test", in ofw_std_test() 178 args.service = (cell_t)name; in ofw_std_test() 185 ofw_std_interpret(ofw_t ofw, const char *cmd, int nreturns, cell_t *returns) in ofw_std_interpret() [all …]
|
H A D | ofw_cpu.c | 288 cell_t *servers; in ofw_cpu_attach() 294 nservers /= sizeof(cell_t); in ofw_cpu_attach() 419 addr_cells * sizeof(cell_t)); in ofw_cpu_early_foreach() 420 if (rv != addr_cells * sizeof(cell_t)) in ofw_cpu_early_foreach()
|
H A D | openfirm.c | 297 cell_t slots[16]; in OF_interpret() 310 *va_arg(ap, cell_t *) = slots[i++]; in OF_interpret() 713 cell_t args_n_results[12]; in OF_call_method() 720 args_n_results[n] = va_arg(ap, cell_t); in OF_call_method() 728 *va_arg(ap, cell_t *) = args_n_results[n]; in OF_call_method()
|
/freebsd/stand/libofw/ |
H A D | openfirm.c | 73 #define IN(x) htobe32((cell_t)x) 121 cell_t name; in OF_test() 122 cell_t nargs; in OF_test() 123 cell_t nreturns; in OF_test() 124 cell_t service; in OF_test() 125 cell_t missing; in OF_test() 140 cell_t name; in OF_milliseconds() 141 cell_t nargs; in OF_milliseconds() 142 cell_t nreturns; in OF_milliseconds() 143 cell_t ms; in OF_milliseconds() [all …]
|
H A D | libofw.h | 73 cell_t base; 74 cell_t size; 79 cell_t base_hi; 80 cell_t base_lo; 81 cell_t size;
|
H A D | openfirm.h | 67 typedef uint32_t cell_t; typedef 91 int OF_getencprop(phandle_t, const char *, cell_t *, int);
|
/freebsd/sys/powerpc/ofw/ |
H A D | ofw_real.c | 102 int nargs, int nreturns, cell_t *args_and_returns); 104 cell_t *returns); 300 static cell_t 304 cell_t phys; in ofw_real_map() 315 return (cell_t)((uintptr_t)buf & ~DMAP_BASE_ADDRESS); in ofw_real_map() 354 ofw_real_unmap(cell_t physaddr, void *buf, size_t len) in ofw_real_unmap() 404 cell_t name; in ofw_real_test() 405 cell_t nargs; in ofw_real_test() 406 cell_t nreturns; in ofw_real_test() 407 cell_t service; in ofw_real_test() [all …]
|
H A D | rtas.c | 77 cell_t rtas_size = 0, rtas_ptr; in rtas_setup() 137 (cell_t)rtas_private_data, &rtas_ptr); in rtas_setup() 151 static cell_t 154 cell_t phys; in rtas_real_map() 182 rtas_real_unmap(cell_t physaddr, void *buf, size_t len) in rtas_real_unmap() 201 rtas_call_method(cell_t token, int nargs, int nreturns, ...) in rtas_call_method() 207 cell_t token; in rtas_call_method() 208 cell_t nargs; in rtas_call_method() 209 cell_t nreturns; in rtas_call_method() 210 cell_t args_n_results[12]; in rtas_call_method() [all …]
|
H A D | ofw_machdep.c | 172 cell_t address_cells, size_cells; in parse_ofw_memory() 173 cell_t OFmem[4 * PHYS_AVAIL_SZ]; in parse_ofw_memory() 200 while (i < sz/sizeof(cell_t)) { in parse_ofw_memory() 238 cell_t address_cells, size_cells; in parse_numa_ofw_memory() 239 cell_t OFmem[4 * PHYS_AVAIL_SZ]; in parse_numa_ofw_memory() 266 while (i < sz/sizeof(cell_t)) { in parse_numa_ofw_memory() 690 cell_t name; in ofw_quiesce() 691 cell_t nargs; in ofw_quiesce() 692 cell_t nreturns; in ofw_quiesce() 697 args.name = (cell_t)(uintptr_ in ofw_quiesce() [all...] |
H A D | ofw_pcib_pci.c | 112 sizeof(cell_t)); in ofw_pcib_pci_attach() 132 cell_t pintr, mintr[2]; in ofw_pcib_pci_route_interrupt()
|
/freebsd/sys/powerpc/pseries/ |
H A D | plpar_iommu.c | 75 cell_t dma_acells, dma_scells, dmawindow[6]; in phyp_iommu_set_dma_tag() 91 sizeof(cell_t)) <= 0) in phyp_iommu_set_dma_tag() 93 sizeof(cell_t)); in phyp_iommu_set_dma_tag() 95 sizeof(cell_t)) <= 0) in phyp_iommu_set_dma_tag() 97 sizeof(cell_t)); in phyp_iommu_set_dma_tag() 101 sizeof(cell_t)*(dma_scells + dma_acells + 1)); in phyp_iommu_set_dma_tag() 104 sizeof(cell_t)*(dma_scells + dma_acells + 1)); in phyp_iommu_set_dma_tag()
|
H A D | rtas_dev.c | 105 cell_t tod[8]; in rtas_gettime() 106 cell_t token; in rtas_gettime() 134 cell_t token, status; in rtas_settime() 155 cell_t token, status; in rtas_shutdown()
|
H A D | platform_chrp.c | 248 cell_t arr[len/sizeof(cell_t)]; in parse_drconf_memory() 385 get_cpu_reg(phandle_t cpu, cell_t *reg) in get_cpu_reg() 390 if (res != sizeof(cell_t)) in get_cpu_reg() 403 cell_t interrupt_servers[32], addr_cells, size_cells, reg, bsp_reg; in chrp_cpuref_init() 420 if (res != res2 || res != sizeof(cell_t)) in chrp_cpuref_init() 445 if (OF_getproplen(chosen, "fdtbootcpu") == sizeof(cell_t)) in chrp_cpuref_init() 466 for (a = 0; a < res/sizeof(cell_t); a++) { in chrp_cpuref_init() 499 cell_t start_cpu; in chrp_smp_start_cpu()
|
H A D | phyp_dbg.c | 46 cell_t vtermid; 58 cell_t reg; in uart_phyp_dbg_probe()
|
H A D | xics.c | 321 cell_t status, cpu; in xicp_bind() 432 cell_t status, cpu; in xicp_enable() 518 cell_t status; in xicp_mask() 539 cell_t status; in xicp_unmask()
|
H A D | rtas_pci.c | 95 cell_t read_pci_config, write_pci_config; 96 cell_t ex_read_pci_config, ex_write_pci_config;
|
/freebsd/sys/dev/vt/hw/fb/ |
H A D | vt_early_fb.c | 79 cell_t retval; in vt_efb_initialize() 117 (cell_t)((info->fb_cmap[i] >> 16) & 0xff), in vt_efb_initialize() 118 (cell_t)((info->fb_cmap[i] >> 8) & 0xff), in vt_efb_initialize() 119 (cell_t)((info->fb_cmap[i] >> 0) & 0xff), in vt_efb_initialize() 120 (cell_t)i, &retval); in vt_efb_initialize()
|
/freebsd/sys/arm/ti/ |
H A D | ti_sysc.c | 275 cell_t *reg; in parse_regfields() 353 cell_t value[SYSC_IDLE_MAX]; in parse_idle() 363 no = len / sizeof(cell_t); in parse_idle() 367 len = no * sizeof(cell_t); in parse_idle() 463 cell_t value; in ti_sysc_attach() 491 OF_getencprop(node, "ti,sysc-mask", &value, sizeof(cell_t)); in ti_sysc_attach() 495 OF_getencprop(node, "ti,syss-mask", &value, sizeof(cell_t)); in ti_sysc_attach() 499 OF_getencprop(node, "ti,sysc-delay-us", &value, sizeof(cell_t)); in ti_sysc_attach()
|
/freebsd/sys/arm/ti/clk/ |
H A D | ti_clkctrl.c | 93 create_clkctrl(struct ti_clkctrl_softc *sc, cell_t *reg, uint32_t index, uint32_t reg_offset, 115 cell_t *reg; in ti_clkctrl_attach() 147 num_reg = numbytes_reg / sizeof(cell_t); in ti_clkctrl_attach() 193 for (reg_offset = 0; reg_offset < reg[index+1]; reg_offset += sizeof(cell_t)) { in ti_clkctrl_attach() 281 create_clkctrl(struct ti_clkctrl_softc *sc, cell_t *reg, uint32_t index, uint32_t reg_offset, in create_clkctrl()
|
/freebsd/sys/dev/vt/hw/ofwfb/ |
H A D | ofwfb.c | 331 cell_t base_ranges[64]; in decode_pci_ranges_host_addr() 353 nranges = nbase_ranges / sizeof(cell_t) / (acells + host_address_cells + scells); in decode_pci_ranges_host_addr() 413 cell_t retval; in ofwfb_initialize() 436 (cell_t)((sc->fb.fb_cmap[i] >> 16) & 0xff), in ofwfb_initialize() 437 (cell_t)((sc->fb.fb_cmap[i] >> 8) & 0xff), in ofwfb_initialize() 438 (cell_t)((sc->fb.fb_cmap[i] >> 0) & 0xff), in ofwfb_initialize() 439 (cell_t)i, &retval); in ofwfb_initialize() 497 cell_t adr[2]; in ofwfb_init() 547 OF_call_method("set-depth", sc->sc_handle, 1, 1, (cell_t)32, &i); in ofwfb_init()
|
/freebsd/sys/powerpc/include/ |
H A D | rtas.h | 45 int rtas_call_method(cell_t token, int nargs, int nreturns, ...); 46 cell_t rtas_token_lookup(const char *method);
|
/freebsd/sys/powerpc/powernv/ |
H A D | platform_powernv.c | 230 pcell_t arr[len/sizeof(cell_t)]; in powernv_attach() 328 cell_t interrupt_servers[32]; in powernv_cpuref_init() 355 for (a = 0; a < res/sizeof(cell_t); a++) { in powernv_cpuref_init() 475 nthreads = res / sizeof(cell_t); in powernv_smp_probe_threads() 582 cell_t associativity[5]; in powernv_node_numa_domain() 600 if (res < (int)(sizeof(cell_t) * (platform_associativity + 1))) { in powernv_node_numa_domain()
|
H A D | opal_pci.c | 221 cell_t sizes[64]; /* Property is a list of bit-widths, up to 64-bits */ in max_tce_size() 228 if (count < (int) sizeof(cell_t)) in max_tce_size() 231 count /= sizeof(cell_t); in max_tce_size() 240 cell_t id[2], m64ranges[2], m64window[6], npe; in opalpci_attach() 420 cell_t msi_ranges[2]; in opalpci_attach()
|
/freebsd/sys/powerpc/powermac/ |
H A D | platform_powermac.c | 134 cell_t memoryprop[PHYS_AVAIL_SZ * 2]; in powermac_mem_regions() 147 propsize /= sizeof(cell_t); in powermac_mem_regions() 177 propsize /= sizeof(cell_t); in powermac_mem_regions() 244 cell_t cpuid; in powermac_smp_fill_cpuref()
|
/freebsd/sys/powerpc/mikrotik/ |
H A D | rb_led.c | 74 cell_t gp[2]; in rbled_probe() 104 cell_t gp[2]; in rbled_attach()
|