| /xnu-8020.140.41/pexpert/arm/ |
| H A D | pe_init.c | 119 if (kSuccess != SecureDTLookupEntry(0, "pram", &entry)) { in check_for_panic_log() 123 if (kSuccess != SecureDTGetProperty(entry, "reg", (void const **)®_prop, &size)) { in check_for_panic_log() 127 if (kSuccess != SecureDTLookupEntry(0, "/chosen", &chosen)) { in check_for_panic_log() 131 …if (kSuccess != SecureDTGetProperty(chosen, "embedded-panic-log-size", (void const **) &panic_regi… in check_for_panic_log() 250 if (kSuccess == SecureDTLookupEntry(0, "/chosen/memory-map", &entry)) { in PE_init_iokit() 253 if (kSuccess == SecureDTGetProperty(entry, "BootCLUT", (void const **) &map, &size)) { in PE_init_iokit() 257 if (kSuccess == SecureDTGetProperty(entry, "Pict-FailedBoot", (void const **) &map, &size)) { in PE_init_iokit() 325 if (kSuccess == SecureDTLookupEntry(0, "/chosen/iBoot", &entry)) { in PE_init_iokit() 328 if (kSuccess == SecureDTGetProperty(entry, "start-time", (void const **)&value_ptr, &size)) { in PE_init_iokit() 334 …if (kSuccess == SecureDTGetProperty(entry, "debug-wait-start", (void const **)&value_ptr, &size)) { in PE_init_iokit() [all …]
|
| H A D | pe_identify_machine.c | 77 assert(err == kSuccess); in pe_identify_machine() 80 assert(err == kSuccess); in pe_identify_machine() 82 while (kSuccess == SecureDTIterateEntries(&iter, &cpu)) { in pe_identify_machine() 83 if ((kSuccess != SecureDTGetProperty(cpu, "state", &value, &size)) || in pe_identify_machine() 89 if (SecureDTGetProperty(cpu, "timebase-frequency", &value, &size) == kSuccess) { in pe_identify_machine() 104 if (SecureDTGetProperty(cpu, "bus-frequency", &value, &size) == kSuccess) { in pe_identify_machine() 121 if (SecureDTGetProperty(cpu, "memory-frequency", &value, &size) == kSuccess) { in pe_identify_machine() 132 if (SecureDTGetProperty(cpu, "peripheral-frequency", &value, &size) == kSuccess) { in pe_identify_machine() 143 if (SecureDTGetProperty(cpu, "fixed-frequency", &value, &size) == kSuccess) { in pe_identify_machine() 151 if (SecureDTGetProperty(cpu, "clock-frequency", &value, &size) == kSuccess) { in pe_identify_machine() [all …]
|
| H A D | pe_consistent_debug.c | 81 if ((SecureDTLookupEntry(NULL, "/chosen", &entryP) == kSuccess)) { in PE_consistent_debug_inherit() 82 …cureDTGetProperty(entryP, "consistent-debug-root", (void const **)&prop_data, &size) == kSuccess) { in PE_consistent_debug_inherit()
|
| H A D | pe_serial.c | 842 if (SecureDTFindEntry("name", "gpio", &entryP) == kSuccess) { in serial_init() 846 if (SecureDTFindEntry("name", "aux", &entryP) == kSuccess) { in serial_init() 856 if (SecureDTFindEntry("name", "uart0", &entryP) == kSuccess) { in serial_init() 868 if (SecureDTFindEntry("name", "dockchannel-uart", &entryP) == kSuccess) { in serial_init() 909 if (SecureDTFindEntry("boot-console", NULL, &entryP) == kSuccess) { in serial_init() 913 } else if (SecureDTFindEntry("name", "uart0", &entryP) == kSuccess) { in serial_init() 917 } else if (SecureDTFindEntry("name", "uart1", &entryP) == kSuccess) { in serial_init()
|
| H A D | pe_fiq.c | 86 if (error != kSuccess) { in pe_init_fiq() 94 if (error != kSuccess) { in pe_init_fiq()
|
| /xnu-8020.140.41/pexpert/gen/ |
| H A D | device_tree.c | 216 if (SecureDTGetProperty(child, "name", (void const **)&str, &dummy) != kSuccess) { in FindChild() 315 return kSuccess; in find_entry() 322 if (find_entry(propName, propValue, entryH) == kSuccess) { in find_entry() 323 return kSuccess; in find_entry() 350 return kSuccess; in SecureDTLookupEntry() 360 return kSuccess; in SecureDTLookupEntry() 389 return kSuccess; in SecureDTInitEntryIterator() 411 return kSuccess; in SecureDTEnterEntry() 431 return kSuccess; in SecureDTExitEntry() 449 return kSuccess; in SecureDTIterateEntries() [all …]
|
| H A D | pe_gen.c | 92 if (SecureDTLookupEntry(NULL, "/", &root) == kSuccess) { in pe_init_debug() 95 if (SecureDTGetProperty(root, "target-is-fpga", &prop, &size) == kSuccess) { in pe_init_debug() 147 if ((SecureDTLookupEntry(NULL, "/chosen", &entryP) == kSuccess) in PE_get_random_seed() 151 (const void **)(uintptr_t)&dt_random_seed, &size) == kSuccess)) { in PE_get_random_seed()
|
| H A D | bootargs.c | 395 if (kSuccess == SecureDTLookupEntry(NULL, "/defaults", &dte)) { in PE_get_default() 399 if (kSuccess != SecureDTGetProperty(dte, property_name, &property_data, &property_size)) { in PE_get_default()
|
| /xnu-8020.140.41/bsd/kern/ |
| H A D | kern_csr.c | 59 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() 111 return SecureDTLookupEntry(0, "/chosen", &chosen) == kSuccess && in _csr_is_recovery_environment() 121 return (SecureDTLookupEntry(0, "/chosen", &entry) == kSuccess && in _csr_is_iuou_or_iuos_device() 123 (SecureDTLookupEntry(0, "/chosen/manifest-properties", &entry) == kSuccess && in _csr_is_iuou_or_iuos_device() 139 SecureDTLookupEntry(0, "/chosen", &chosen) == kSuccess && in _csr_should_allow_device_configuration() 172 if (SecureDTLookupEntry(0, "/chosen/asmb", &entry) == kSuccess && in csr_bootstrap()
|
| H A D | kern_mib.c | 632 if (kSuccess != SecureDTLookupEntry(0, "/chosen", &chosen)) { in sysctl_load_devicetree_entries() 637 if (kSuccess == SecureDTGetProperty(chosen, "osenvironment", (void const **) &value, &size)) { in sysctl_load_devicetree_entries() 642 if (kSuccess == SecureDTGetProperty(chosen, "ephemeral-storage", (void const **) &value, &size)) { in sysctl_load_devicetree_entries() 650 …if (kSuccess == SecureDTGetProperty(chosen, "use-recovery-securityd", (void const **) &value, &siz… in sysctl_load_devicetree_entries()
|
| /xnu-8020.140.41/pexpert/i386/ |
| H A D | pe_init.c | 135 if (kSuccess == SecureDTLookupEntry(NULL, "/chosen/memory-map", &entry)) { in PE_init_iokit() 136 if (kSuccess == SecureDTGetProperty(entry, "BootCLUT", (void const **) &map, &size)) { in PE_init_iokit() 143 if (kSuccess == SecureDTGetProperty(entry, "Pict-FailedBoot", (void const **) &map, &size)) { in PE_init_iokit() 153 if (kSuccess == SecureDTGetProperty(entry, "FailedCLUT", (void const **) &map, &size)) { in PE_init_iokit() 157 if (kSuccess == SecureDTGetProperty(entry, "FailedImage", (void const **) &map, &size)) { in PE_init_iokit()
|
| /xnu-8020.140.41/osfmk/kern/ |
| H A D | machine.c | 861 if (SecureDTLookupEntry(NULL, "/machine-timeouts", &base) != kSuccess) { in machine_timeout_init_with_suffix() 865 if (SecureDTLookupEntry(NULL, "/chosen/machine-timeouts", &chosen) != kSuccess) { in machine_timeout_init_with_suffix() 876 …base != NULL && SecureDTGetProperty(base, dt_name, (const void **)&data, &data_size) == kSuccess) { in machine_timeout_init_with_suffix() 886 …en != NULL && SecureDTGetProperty(chosen, dt_name, (const void **)&data, &data_size) == kSuccess) { in machine_timeout_init_with_suffix() 914 …LL && SecureDTGetProperty(base, scale_name, (const void **)&scale_data, &scale_size) == kSuccess) { in machine_timeout_init_with_suffix() 924 … && SecureDTGetProperty(chosen, scale_name, (const void **)&scale_data, &scale_size) == kSuccess) { in machine_timeout_init_with_suffix() 943 … (SecureDTGetProperty(base, "global-scale", (const void **)&scale_data, &scale_size) == kSuccess) { in machine_timeout_init_with_suffix() 954 …SecureDTGetProperty(chosen, "global-scale", (const void **)&scale_data, &scale_size) == kSuccess) { in machine_timeout_init_with_suffix()
|
| H A D | startup.c | 316 if (SecureDTLookupEntry(NULL, spec->dt_base, &base) != kSuccess) { in kernel_startup_tunable_dt_init() 325 if (SecureDTLookupEntry(NULL, "chosen", &chosen) != kSuccess) { in kernel_startup_tunable_dt_init() 329 if (chosen != NULL && SecureDTLookupEntry(chosen, spec->dt_base, &chosen_base) == kSuccess) { in kernel_startup_tunable_dt_init() 338 …= NULL && SecureDTGetProperty(base, spec->dt_name, (const void **)&data, &data_size) == kSuccess) { in kernel_startup_tunable_dt_init()
|
| H A D | debug.c | 1928 if (SecureDTLookupEntry(NULL, "/arm-io/wdt", &base) != kSuccess) { 1934 …SecureDTGetProperty(base, "awl-scratch-supported", (const void **)&data, &data_size) == kSuccess) {
|
| /xnu-8020.140.41/osfmk/i386/ |
| H A D | tsc.c | 105 if (SecureDTLookupEntry(0, "/efi/platform", &entry) != kSuccess) { in EFI_get_frequency() 113 if (SecureDTGetProperty(entry, "InitialTSC", &value, &size) == kSuccess) { in EFI_get_frequency() 121 if (SecureDTGetProperty(entry, prop, &value, &size) != kSuccess) { in EFI_get_frequency()
|
| /xnu-8020.140.41/iokit/Kernel/ |
| H A D | IODeviceTreeSupport.cpp | 179 foundDTNode = (kSuccess == SecureDTLookupEntry( NULL, "/chosen/memory-map", &mapEntry )) in IODeviceTreeAlloc() 180 && (kSuccess == SecureDTGetProperty( mapEntry, in IODeviceTreeAlloc() 196 while (kSuccess == SecureDTIterateEntries( &iter, &dtChild)) { in IODeviceTreeAlloc() 202 if (kSuccess == SecureDTEnterEntry( &iter, dtChild)) { in IODeviceTreeAlloc() 210 && (kSuccess == SecureDTExitEntry( &iter, &dtChild))); in IODeviceTreeAlloc() 213 assert(kSuccess != SecureDTExitEntry(&iter, &dtChild)); in IODeviceTreeAlloc() 417 (kSuccess == SecureDTInitPropertyIterator( dtEntry, &dtIter))) { in MakeReferenceTable() 418 kernelOnly = (kSuccess == SecureDTGetProperty(dtEntry, "kernel-only", &prop, &propSize)); in MakeReferenceTable() 421 while (kSuccess == SecureDTIterateProperties( &dtIter, &name)) { in MakeReferenceTable() 422 if (kSuccess != SecureDTGetProperty( dtEntry, name, &prop, &propSize )) { in MakeReferenceTable()
|
| /xnu-8020.140.41/osfmk/arm/ |
| H A D | machine_routines.c | 410 assert(err == kSuccess); in ml_parse_cpu_topology() 413 assert(err == kSuccess); in ml_parse_cpu_topology() 420 while (kSuccess == SecureDTIterateEntries(&iter, &child)) { in ml_parse_cpu_topology() 425 if (kSuccess != SecureDTGetProperty(child, "state", &prop, &propSize)) { in ml_parse_cpu_topology() 433 assert(kSuccess == SecureDTGetProperty(child, "reg", &prop, &propSize)); in ml_parse_cpu_topology()
|
| H A D | arm_init.c | 603 if (SecureDTLookupEntry(NULL, "/chosen", &chosen) != kSuccess) { in arm_init() 607 …(SecureDTGetProperty(chosen, "dram-base", (void const **)&dram_base, &dt_entry_size) != kSuccess) { in arm_init() 611 …(SecureDTGetProperty(chosen, "dram-size", (void const **)&dram_size, &dt_entry_size) != kSuccess) { in arm_init()
|
| H A D | arm_vm_init.c | 503 assert(err == kSuccess); in arm_vm_init() 506 if (err == kSuccess) { in arm_vm_init()
|
| /xnu-8020.140.41/pexpert/pexpert/ |
| H A D | device_tree.h | 129 kSuccess = 1 enumerator
|
| /xnu-8020.140.41/bsd/dev/arm64/ |
| H A D | sysctl.c | 230 if (kSuccess != SecureDTLookupEntry(0, "/product", &node)) { in sysctl_load_brand_string() 234 if (kSuccess != SecureDTGetProperty(node, "product-soc-name", (void const **) &value, &size)) { in sysctl_load_brand_string()
|
| /xnu-8020.140.41/osfmk/arm64/ |
| H A D | cpu.c | 1198 if (kSuccess == SecureDTLookupEntry(NULL, "/chosen", &entry)) { in cpu_machine_idle_init() 1202 if (kSuccess == SecureDTGetProperty(entry, "effective-production-status-ap", &prop, &size)) { in cpu_machine_idle_init() 1262 if (kSuccess != SecureDTLookupEntry(0, "stram", &entry)) { in sleep_token_buffer_init() 1266 if (kSuccess != SecureDTGetProperty(entry, "reg", (const void **)&prop, (unsigned int *)&size)) { in sleep_token_buffer_init()
|
| H A D | machine_routines.c | 842 if (SecureDTGetProperty(entry, propertyName, &prop, &propSize) == kSuccess) { in ml_readprop() 868 if (SecureDTGetProperty(entry, propertyName, (void const **)&prop, &propSize) != kSuccess) { in ml_read_reg_range() 887 if (SecureDTGetProperty(entry, "state", &prop, &propSize) != kSuccess) { in ml_is_boot_cpu() 905 if ((SecureDTFindEntry("name", "arm-io", &entryP) == kSuccess)) { in ml_read_chip_revision() 934 assert(err == kSuccess); in ml_parse_cpu_topology() 937 assert(err == kSuccess); in ml_parse_cpu_topology() 945 while (kSuccess == SecureDTIterateEntries(&iter, &child)) { in ml_parse_cpu_topology()
|
| H A D | arm_vm_init.c | 1272 assert(err == kSuccess); in arm_vm_prot_init() 1275 if (err == kSuccess) { in arm_vm_prot_init() 1309 if (err != kSuccess) { in arm_vm_prot_init() 1315 if (err != kSuccess) { in arm_vm_prot_init()
|
| /xnu-8020.140.41/osfmk/arm/pmap/ |
| H A D | pmap_data.c | 2001 assert(err == kSuccess); in pmap_compute_pv_targets() 2003 if (kSuccess == SecureDTGetProperty(entry, "pmap-pv-count", &prop, &prop_size)) { in pmap_compute_pv_targets() 2010 if (kSuccess == SecureDTGetProperty(entry, "pmap-kern-pv-count", &prop, &prop_size)) { in pmap_compute_pv_targets() 2017 if (kSuccess == SecureDTGetProperty(entry, "pmap-kern-pv-min", &prop, &prop_size)) { in pmap_compute_pv_targets() 3460 assert(err == kSuccess); in pmap_compute_io_rgns() 3464 if (kSuccess != SecureDTGetProperty(entry, "pmap-io-ranges", &prop, &prop_size)) { in pmap_compute_io_rgns() 3551 assert(err == kSuccess); in pmap_load_io_rgns() 3556 assert(err == kSuccess); in pmap_load_io_rgns()
|