| /freebsd-10-stable/sys/boot/ofw/libofw/ |
| D | openfirm.c | 115 cell_t name; in OF_test() 116 cell_t nargs; in OF_test() 117 cell_t nreturns; in OF_test() 118 cell_t service; in OF_test() 119 cell_t missing; in OF_test() 121 (cell_t)"test", in OF_test() 126 args.service = (cell_t)name; in OF_test() 137 cell_t name; in OF_milliseconds() 138 cell_t nargs; in OF_milliseconds() 139 cell_t nreturns; in OF_milliseconds() [all …]
|
| D | libofw.h | 79 cell_t base; 80 cell_t size; 85 cell_t base_hi; 86 cell_t base_lo; 87 cell_t size;
|
| D | ofw_memory.c | 122 cell_t available[4]; in ofw_alloc_heap() 123 cell_t acells; in ofw_alloc_heap()
|
| /freebsd-10-stable/sys/dev/ofw/ |
| D | ofw_standard.c | 76 cell_t *returns); 97 const char *method, int nargs, int nreturns, cell_t *args_and_returns); 169 cell_t name; in ofw_std_test() 170 cell_t nargs; in ofw_std_test() 171 cell_t nreturns; in ofw_std_test() 172 cell_t service; in ofw_std_test() 173 cell_t missing; in ofw_std_test() 175 (cell_t)"test", in ofw_std_test() 180 args.service = (cell_t)name; in ofw_std_test() 187 ofw_std_interpret(ofw_t ofw, const char *cmd, int nreturns, cell_t *returns) in ofw_std_interpret() [all …]
|
| D | openfirm.c | 291 cell_t slots[16]; in OF_interpret() 304 *va_arg(ap, cell_t *) = slots[i++]; in OF_interpret() 658 cell_t args_n_results[12]; in OF_call_method() 665 args_n_results[n] = va_arg(ap, cell_t); in OF_call_method() 673 *va_arg(ap, cell_t *) = args_n_results[n]; in OF_call_method()
|
| /freebsd-10-stable/sys/powerpc/ofw/ |
| D | ofw_real.c | 102 int nargs, int nreturns, cell_t *args_and_returns); 104 cell_t *returns); 231 static cell_t 235 cell_t phys; in ofw_real_map() 246 return (cell_t)(uintptr_t)buf; in ofw_real_map() 283 ofw_real_unmap(cell_t physaddr, void *buf, size_t len) in ofw_real_unmap() 318 cell_t name; in ofw_real_test() 319 cell_t nargs; in ofw_real_test() 320 cell_t nreturns; in ofw_real_test() 321 cell_t service; in ofw_real_test() [all …]
|
| D | rtas.c | 79 cell_t rtas_size = 0, rtas_ptr; in rtas_setup() 129 (cell_t)rtas_private_data, &rtas_ptr); in rtas_setup() 142 static cell_t 145 cell_t phys; in rtas_real_map() 173 rtas_real_unmap(cell_t physaddr, void *buf, size_t len) in rtas_real_unmap() 192 rtas_call_method(cell_t token, int nargs, int nreturns, ...) in rtas_call_method() 198 cell_t token; in rtas_call_method() 199 cell_t nargs; in rtas_call_method() 200 cell_t nreturns; in rtas_call_method() 201 cell_t args_n_results[12]; in rtas_call_method() [all …]
|
| D | ofw_machdep.c | 143 cell_t address_cells, size_cells; in parse_ofw_memory() 144 cell_t OFmem[4 * PHYS_AVAIL_SZ]; in parse_ofw_memory() 173 while (i < sz/sizeof(cell_t)) { in parse_ofw_memory() 314 cell_t name; in ofw_quiesce() 315 cell_t nargs; in ofw_quiesce() 316 cell_t nreturns; in ofw_quiesce() 321 args.name = (cell_t)(uintptr_t)"quiesce"; in ofw_quiesce() 424 cell_t name; in OF_reboot() 425 cell_t nargs; in OF_reboot() 426 cell_t nreturns; in OF_reboot() [all …]
|
| D | ofw_pcib_pci.c | 114 sizeof(cell_t)); in ofw_pcib_pci_attach() 137 cell_t pintr, mintr[2]; in ofw_pcib_pci_route_interrupt()
|
| /freebsd-10-stable/sys/powerpc/pseries/ |
| D | plpar_iommu.c | 76 cell_t dma_acells, dma_scells, dmawindow[6]; in phyp_iommu_set_dma_tag() 92 sizeof(cell_t)) <= 0) in phyp_iommu_set_dma_tag() 93 OF_searchprop(node, "#size-cells", &dma_scells, 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()
|
| D | rtas_dev.c | 107 cell_t tod[8]; in rtas_gettime() 108 cell_t token; in rtas_gettime() 136 cell_t token, status; in rtas_settime() 157 cell_t token, status; in rtas_shutdown()
|
| D | platform_chrp.c | 201 cell_t arr[len/sizeof(cell_t)]; in parse_drconf_memory() 344 cell_t interrupt_servers[res/sizeof(cell_t)]; in chrp_smp_next_cpu() 347 for (i = 0; i < res/sizeof(cell_t) - 1; i++) { in chrp_smp_next_cpu() 412 cell_t start_cpu; in chrp_smp_start_cpu()
|
| D | xics.c | 205 cell_t status, cpu; in xicp_bind() 256 cell_t status, cpu; in xicp_enable() 304 cell_t status; in xicp_mask() 316 cell_t status; in xicp_unmask()
|
| /freebsd-10-stable/contrib/dtc/ |
| D | dtc.h | 62 typedef uint32_t cell_t; typedef 111 struct data data_append_cell(struct data d, cell_t word); 157 cell_t phandle; 207 cell_t propval_cell(struct property *prop); 215 struct node *get_node_by_phandle(struct node *tree, cell_t phandle); 217 cell_t get_node_phandle(struct node *root, struct node *node);
|
| D | treesource.c | 140 cell_t *cp = (cell_t *)val.val; in write_propval_cells() 219 if ((m->offset % sizeof(cell_t)) != 0) in write_propval() 227 } else if (((len % sizeof(cell_t)) == 0) && (nnotcelllbl == 0)) { in write_propval()
|
| D | checks.c | 226 if (prop->val.len != sizeof(cell_t)) in check_is_cell() 368 cell_t phandle; in check_explicit_phandles() 374 if (prop->val.len != sizeof(cell_t)) { in check_explicit_phandles() 461 cell_t phandle; in fixup_phandle_references() 464 assert(m->offset + sizeof(cell_t) <= prop->val.len); in fixup_phandle_references() 474 *((cell_t *)(prop->val.val + m->offset)) = cpu_to_fdt32(phandle); in fixup_phandle_references() 560 entrylen = (addr_cells + size_cells) * sizeof(cell_t); in check_reg_format() 588 entrylen = (p_addr_cells + c_addr_cells + c_size_cells) * sizeof(cell_t); in check_ranges_format()
|
| D | livetree.c | 374 cell_t propval_cell(struct property *prop) in propval_cell() 376 assert(prop->val.len == sizeof(cell_t)); in propval_cell() 377 return fdt32_to_cpu(*((cell_t *)prop->val.val)); in propval_cell() 491 struct node *get_node_by_phandle(struct node *tree, cell_t phandle) in get_node_by_phandle() 520 cell_t get_node_phandle(struct node *root, struct node *node) in get_node_phandle() 522 static cell_t phandle = 1; /* FIXME: ick, static local */ in get_node_phandle()
|
| /freebsd-10-stable/sys/dev/vt/hw/fb/ |
| D | vt_early_fb.c | 81 cell_t retval; in vt_efb_initialize() 119 (cell_t)((info->fb_cmap[i] >> 16) & 0xff), in vt_efb_initialize() 120 (cell_t)((info->fb_cmap[i] >> 8) & 0xff), in vt_efb_initialize() 121 (cell_t)((info->fb_cmap[i] >> 0) & 0xff), in vt_efb_initialize() 122 (cell_t)i, &retval); in vt_efb_initialize()
|
| /freebsd-10-stable/sys/powerpc/include/ |
| D | rtas.h | 46 int rtas_call_method(cell_t token, int nargs, int nreturns, ...); 47 cell_t rtas_token_lookup(const char *method);
|
| /freebsd-10-stable/sys/sparc64/sparc64/ |
| D | vm_machdep.c | 365 cell_t name; in cpu_reset() 366 cell_t nargs; in cpu_reset() 367 cell_t nreturns; in cpu_reset() 368 cell_t bootspec; in cpu_reset() 370 (cell_t)"boot", in cpu_reset() 373 (cell_t)bspec in cpu_reset()
|
| D | mp_machdep.c | 243 cell_t name; in sun4u_startcpu() 244 cell_t nargs; in sun4u_startcpu() 245 cell_t nreturns; in sun4u_startcpu() 246 cell_t cpu; in sun4u_startcpu() 247 cell_t func; in sun4u_startcpu() 248 cell_t arg; in sun4u_startcpu() 250 (cell_t)SUNW_STARTCPU, in sun4u_startcpu() 255 args.func = (cell_t)func; in sun4u_startcpu() 256 args.arg = (cell_t)arg; in sun4u_startcpu()
|
| D | trap.c | 240 cell_t name; in sun4u_set_traptable() 241 cell_t nargs; in sun4u_set_traptable() 242 cell_t nreturns; in sun4u_set_traptable() 243 cell_t tba_addr; in sun4u_set_traptable() 245 (cell_t)"SUNW,set-trap-table", in sun4u_set_traptable() 250 args.tba_addr = (cell_t)tba_addr; in sun4u_set_traptable()
|
| D | machdep.c | 909 cell_t name; in cpu_halt() 910 cell_t nargs; in cpu_halt() 911 cell_t nreturns; in cpu_halt() 913 (cell_t)"exit", in cpu_halt() 925 cell_t name; in sparc64_shutdown_final() 926 cell_t nargs; in sparc64_shutdown_final() 927 cell_t nreturns; in sparc64_shutdown_final() 929 (cell_t)"SUNW,power-off", in sparc64_shutdown_final()
|
| /freebsd-10-stable/sys/dev/vt/hw/ofwfb/ |
| D | ofwfb.c | 259 cell_t retval; in ofwfb_initialize() 273 (cell_t)((sc->fb.fb_cmap[i] >> 16) & 0xff), in ofwfb_initialize() 274 (cell_t)((sc->fb.fb_cmap[i] >> 8) & 0xff), in ofwfb_initialize() 275 (cell_t)((sc->fb.fb_cmap[i] >> 0) & 0xff), in ofwfb_initialize() 276 (cell_t)i, &retval); in ofwfb_initialize() 349 OF_call_method("set-depth", sc->sc_handle, 1, 1, (cell_t)32, &i); in ofwfb_init()
|
| /freebsd-10-stable/sys/powerpc/powermac/ |
| D | platform_powermac.c | 124 cell_t memoryprop[PHYS_AVAIL_SZ * 2]; in powermac_mem_regions() 135 propsize /= sizeof(cell_t); in powermac_mem_regions() 157 propsize /= sizeof(cell_t); in powermac_mem_regions() 225 cell_t cpuid; in powermac_smp_fill_cpuref()
|