Home
last modified time | relevance | path

Searched refs:SecureDTGetProperty (Results 1 – 25 of 31) sorted by relevance

12

/xnu-11215.81.4/pexpert/arm/
H A Dpe_identify_machine.c64 if ((kSuccess != SecureDTGetProperty(cpu, "state", &value, &size)) || in pe_identify_machine()
70 if (SecureDTGetProperty(cpu, "timebase-frequency", &value, &size) == kSuccess) { in pe_identify_machine()
85 if (SecureDTGetProperty(cpu, "bus-frequency", &value, &size) == kSuccess) { in pe_identify_machine()
102 if (SecureDTGetProperty(cpu, "memory-frequency", &value, &size) == kSuccess) { in pe_identify_machine()
113 if (SecureDTGetProperty(cpu, "peripheral-frequency", &value, &size) == kSuccess) { in pe_identify_machine()
124 if (SecureDTGetProperty(cpu, "fixed-frequency", &value, &size) == kSuccess) { in pe_identify_machine()
132 if (SecureDTGetProperty(cpu, "clock-frequency", &value, &size) == kSuccess) { in pe_identify_machine()
172 SecureDTGetProperty(entryP, "device_type", (void const **)&tmpStr, &prop_size); in pe_arm_get_soc_base_phys()
176 SecureDTGetProperty(entryP, "ranges", (void const **)&ranges_prop, &prop_size); in pe_arm_get_soc_base_phys()
208 SecureDTGetProperty(entryP, "reg", (void const **)&reg_prop, &prop_size); in pe_arm_map_interrupt_controller()
[all …]
H A Dpe_init.c141 if (kSuccess != SecureDTGetProperty(entry, "reg", (void const **)&reg_prop, &size)) { in check_for_panic_log()
149 …if (kSuccess != SecureDTGetProperty(chosen, "embedded-panic-log-size", (void const **) &panic_regi… in check_for_panic_log()
274 if (kSuccess == SecureDTGetProperty(entry, "BootCLUT", (void const **) &map, &size)) { in PE_init_iokit()
278 if (kSuccess == SecureDTGetProperty(entry, "Pict-FailedBoot", (void const **) &map, &size)) { in PE_init_iokit()
349 if (kSuccess == SecureDTGetProperty(entry, "start-time", (void const **)&value_ptr, &size)) { in PE_init_iokit()
355 …if (kSuccess == SecureDTGetProperty(entry, "debug-wait-start", (void const **)&value_ptr, &size)) { in PE_init_iokit()
361 …if (kSuccess == SecureDTGetProperty(entry, "load-kernel-start", (void const **)&value_ptr, &size))… in PE_init_iokit()
367 …if (kSuccess == SecureDTGetProperty(entry, "populate-registry-time", (void const **)&value_ptr, &s… in PE_init_iokit()
453 if (kSuccess == SecureDTGetProperty(entry, "target-type", in PE_init_platform()
463 if (kSuccess == SecureDTGetProperty(entry, "model", in PE_init_platform()
[all …]
H A Dpe_serial.c402 if (SecureDTGetProperty(devicetree_node, "reg", (const void **)&reg, &reg_size) != kSuccess) { in apple_uart_setup()
414 if (SecureDTGetProperty(devicetree_node, "interrupts", &unused, &unused_size) == kSuccess) { in apple_uart_setup()
457 if (SecureDTGetProperty(devicetree_node, "reg", (const void **)&reg, &reg_size) != kSuccess) { in dockchannel_setup()
470 …if (SecureDTGetProperty(devicetree_node, "max-aop-clk", (const void **)&max_aop_clk, &max_aop_clk_… in dockchannel_setup()
478 …if (SecureDTGetProperty(devicetree_node, "enable-sw-drain", (const void **)&enable_sw_drain, &enab… in dockchannel_setup()
486 …if (SecureDTGetProperty(devicetree_node, "dock-wstat-mask", (const void **)&_dock_wstat_mask, &doc… in dockchannel_setup()
494 if (SecureDTGetProperty(devicetree_node, "interrupts", &unused, &unused_size) == kSuccess) { in dockchannel_setup()
712 if (SecureDTGetProperty(devicetree_node, "reg", (const void **)&reg, &reg_size) != kSuccess) { in pl011_uart_setup()
853 …if (SecureDTGetProperty(defaults_node, "serial-device", (const void **)&phandle, &phandle_size) ==… in serial_init()
879 …if (SecureDTGetProperty(serial_device_node, "compatible", (const void **)&compatible, &compatible_… in serial_init()
H A Dpe_consistent_debug.c82 …if (SecureDTGetProperty(entryP, "consistent-debug-root", (void const **)&prop_data, &size) == kSuc… in PE_consistent_debug_inherit()
H A Dpe_fiq.c89 error = SecureDTGetProperty(entry, "reg", &prop, &prop_size); in pe_init_fiq()
/xnu-11215.81.4/bsd/kern/
H A Dkern_csr.c59 if (SecureDTGetProperty(*entry, name, (const void**)&value, &size) != kSuccess) { in _csr_get_dt_bool()
78 if (SecureDTGetProperty(*entry, name, (const void**)&value, &size) != kSuccess) { in _csr_get_dt_uint64()
100 SecureDTGetProperty(*entry, name, &value, &size) == kSuccess && in _csr_dt_string_is_equal()
H A Dkern_mib.c716 if (kSuccess == SecureDTGetProperty(chosen, "osenvironment", (void const **) &value, &size)) { in sysctl_load_devicetree_entries()
721 if (kSuccess == SecureDTGetProperty(chosen, "ephemeral-storage", (void const **) &value, &size)) { in sysctl_load_devicetree_entries()
729 …if (kSuccess == SecureDTGetProperty(chosen, "use-recovery-securityd", (void const **) &value, &siz… in sysctl_load_devicetree_entries()
/xnu-11215.81.4/pexpert/arm/hwtrace/
H A Dhwtrace.c209 if (SecureDTGetProperty(entryP, entry_name, (void const **)&reg_prop, &prop_size) != kSuccess) { in pe_init_debug_command()
354 SecureDTGetProperty(ent, "stress-rack", &propP, &size) == kSuccess) { in panic_trace_apply_stress_rack_policy()
386 SecureDTGetProperty(ent, "unique-chip-id", &ecid, &size) != kSuccess) { in panic_trace_apply_partial_policy()
530 if (SecureDTGetProperty(entryP, "reg", (void const **)&reg_prop, &prop_size) == kSuccess) { in pe_arm_init_debug()
/xnu-11215.81.4/pexpert/i386/
H A Dpe_init.c137 if (kSuccess == SecureDTGetProperty(entry, "BootCLUT", (void const **) &map, &size)) { in PE_init_iokit()
144 if (kSuccess == SecureDTGetProperty(entry, "Pict-FailedBoot", (void const **) &map, &size)) { in PE_init_iokit()
154 if (kSuccess == SecureDTGetProperty(entry, "FailedCLUT", (void const **) &map, &size)) { in PE_init_iokit()
158 if (kSuccess == SecureDTGetProperty(entry, "FailedImage", (void const **) &map, &size)) { in PE_init_iokit()
/xnu-11215.81.4/pexpert/gen/
H A Dpe_gen.c99 if (SecureDTGetProperty(root, "target-is-fpga", &prop, &size) == kSuccess) { in pe_init_debug()
178 || (SecureDTGetProperty(entryP, "random-seed", in PE_get_random_seed()
H A Ddevice_tree.c217 if (SecureDTGetProperty(child, "name", (void const **)&str, &dummy) != kSuccess) { in FindChild()
628 SecureDTGetProperty(const DTEntry entry, const char *propertyName, void const **propertyValue, unsi… in SecureDTGetProperty() function
H A Dbootargs.c523 if (kSuccess != SecureDTGetProperty(dte, property_name, &property_data, &property_size)) { in PE_get_default()
/xnu-11215.81.4/osfmk/i386/
H A Dtsc.c113 if (SecureDTGetProperty(entry, "InitialTSC", &value, &size) == kSuccess) { in EFI_get_frequency()
121 if (SecureDTGetProperty(entry, prop, &value, &size) != kSuccess) { in EFI_get_frequency()
/xnu-11215.81.4/osfmk/arm/
H A Darm_init.c400 if (SecureDTGetProperty(chosen, "xnu_platform_stall", (void const **)&platform_stall_ptr, in arm_init()
554 …if (SecureDTGetProperty(chosen, "dram-base", (void const **)&dram_base, &dt_entry_size) != kSucces… in arm_init()
558 …if (SecureDTGetProperty(chosen, "dram-size", (void const **)&dram_size, &dt_entry_size) != kSucces… in arm_init()
/xnu-11215.81.4/pexpert/pexpert/
H A Ddevice_tree.h303 extern int SecureDTGetProperty(const DTEntry entry, const char *propertyName,
/xnu-11215.81.4/osfmk/kern/
H A Dmachine.c1386 …if (base != NULL && SecureDTGetProperty(base, dt_name, (const void **)&data, &data_size) == kSucce… in machine_timeout_init_with_suffix()
1396 …if (chosen != NULL && SecureDTGetProperty(chosen, dt_name, (const void **)&data, &data_size) == kS… in machine_timeout_init_with_suffix()
1423 …if (base != NULL && SecureDTGetProperty(base, scale_name, (const void **)&scale_data, &scale_size)… in machine_timeout_init_with_suffix()
1432 …if (chosen != NULL && SecureDTGetProperty(chosen, scale_name, (const void **)&scale_data, &scale_s… in machine_timeout_init_with_suffix()
1451 …if (SecureDTGetProperty(base, "global-scale", (const void **)&scale_data, &scale_size) == kSuccess… in machine_timeout_init_with_suffix()
1462 …if (SecureDTGetProperty(chosen, "global-scale", (const void **)&scale_data, &scale_size) == kSucce… in machine_timeout_init_with_suffix()
H A Dstartup.c329 …if (base != NULL && SecureDTGetProperty(base, spec->dt_name, (const void **)&data, &data_size) == … in kernel_startup_tunable_dt_init()
/xnu-11215.81.4/osfmk/arm/pmap/
H A Dpmap_data.c2111 if (kSuccess == SecureDTGetProperty(entry, "pmap-pv-count", &prop, &prop_size)) { in pmap_compute_pv_targets()
2118 if (kSuccess == SecureDTGetProperty(entry, "pmap-kern-pv-count", &prop, &prop_size)) { in pmap_compute_pv_targets()
2125 if (kSuccess == SecureDTGetProperty(entry, "pmap-kern-pv-min", &prop, &prop_size)) { in pmap_compute_pv_targets()
3579 if (kSuccess != SecureDTGetProperty(entry, "pmap-io-ranges", &prop, &prop_size)) { in pmap_compute_io_rgns()
3670 err = SecureDTGetProperty(entry, "pmap-io-ranges", &prop, &prop_size); in pmap_load_io_rgns()
3782 if (kSuccess != SecureDTGetProperty(entry, "pmap-io-filters", &prop, &prop_size)) { in pmap_compute_io_filters()
3901 err = SecureDTGetProperty(entry, "pmap-io-filters", &prop, &prop_size); in pmap_load_io_filters()
/xnu-11215.81.4/osfmk/arm64/sptm/
H A Darm_init_sptm.c949 …if (SecureDTGetProperty(chosen, "dram-base", (void const **)&dram_base, &dt_entry_size) != kSucces… in arm_init()
953 …if (SecureDTGetProperty(chosen, "dram-size", (void const **)&dram_size, &dt_entry_size) != kSucces… in arm_init()
1276 err = SecureDTGetProperty(memory_map, BootKC_Properties[i], (void const **)&range, &rangeSize); in arm_get_bootkc_ranges_from_DT()
1344 …err = SecureDTGetProperty(memory_map, "TrustCache", (void const **)&trustCacheRange, &trustCacheRa… in arm_vm_prot_init()
/xnu-11215.81.4/osfmk/arm64/sptm/pmap/
H A Dpmap_data.c1120 if (kSuccess == SecureDTGetProperty(entry, "pmap-pv-count", &prop, &prop_size)) { in pmap_compute_pv_targets()
1127 if (kSuccess == SecureDTGetProperty(entry, "pmap-kern-pv-count", &prop, &prop_size)) { in pmap_compute_pv_targets()
1134 if (kSuccess == SecureDTGetProperty(entry, "pmap-kern-pv-min", &prop, &prop_size)) { in pmap_compute_pv_targets()
/xnu-11215.81.4/bsd/dev/arm64/
H A Dsysctl.c237 if (kSuccess != SecureDTGetProperty(node, "product-soc-name", (void const **) &value, &size)) { in sysctl_load_brand_string()
/xnu-11215.81.4/osfmk/arm64/
H A Dcpu.c1215 if (kSuccess == SecureDTGetProperty(entry, "effective-production-status-ap", &prop, &size)) { in cpu_machine_idle_init()
1283 if (kSuccess != SecureDTGetProperty(entry, "reg", (const void **)&prop, (unsigned int *)&size)) { in sleep_token_buffer_init()
H A Dmachine_routines.c1015 if (SecureDTGetProperty(entry, propertyName, &prop, &propSize) == kSuccess) { in ml_readprop()
1041 if (SecureDTGetProperty(entry, propertyName, (void const **)&prop, &propSize) != kSuccess) { in ml_read_reg_range()
1060 if (SecureDTGetProperty(entry, "state", &prop, &propSize) != kSuccess) { in ml_is_boot_cpu()
H A Darm_vm_init.c1317 …err = SecureDTGetProperty(memory_map, "TrustCache", (void const **)&trustCacheRange, &trustCacheRa… in arm_vm_prot_init()
1363 err = SecureDTGetProperty(memory_map, "AuxKC", (const void**)&auxKC_range, in arm_vm_prot_init()
1369 err = SecureDTGetProperty(memory_map, "AuxKC-mach_header", in arm_vm_prot_init()
/xnu-11215.81.4/iokit/Kernel/
H A DIODeviceTreeSupport.cpp190 && (kSuccess == SecureDTGetProperty( mapEntry, in IODeviceTreeAlloc()
445 kernelOnly = (kSuccess == SecureDTGetProperty(dtEntry, "kernel-only", &prop, &propSize)); in MakeReferenceTable()
449 if (kSuccess != SecureDTGetProperty( dtEntry, name, &prop, &propSize )) { in MakeReferenceTable()

12