Searched refs:ctp (Results 1 – 2 of 2) sorted by relevance
| /xnu-10002.1.13/osfmk/i386/ |
| H A D | cpuid.c | 738 cpuid_thermal_leaf_t *ctp = &info_p->cpuid_thermal_leaf; in cpuid_set_generic_info() local 744 ctp->sensor = bitfield32(reg[eax], 0, 0); in cpuid_set_generic_info() 745 ctp->dynamic_acceleration = bitfield32(reg[eax], 1, 1); in cpuid_set_generic_info() 746 ctp->invariant_APIC_timer = bitfield32(reg[eax], 2, 2); in cpuid_set_generic_info() 747 ctp->core_power_limits = bitfield32(reg[eax], 4, 4); in cpuid_set_generic_info() 748 ctp->fine_grain_clock_mod = bitfield32(reg[eax], 5, 5); in cpuid_set_generic_info() 749 ctp->package_thermal_intr = bitfield32(reg[eax], 6, 6); in cpuid_set_generic_info() 750 ctp->thresholds = bitfield32(reg[ebx], 3, 0); in cpuid_set_generic_info() 751 ctp->ACNT_MCNT = bitfield32(reg[ecx], 0, 0); in cpuid_set_generic_info() 752 ctp->hardware_feedback = bitfield32(reg[ecx], 1, 1); in cpuid_set_generic_info() [all …]
|
| /xnu-10002.1.13/osfmk/kern/ |
| H A D | lock_ticket.c | 431 _Atomic uint8_t *ctp = (_Atomic uint8_t *)&lck->cticket; in hw_lck_ticket_unlock_inner() local 438 cticket = atomic_load_explicit(ctp, memory_order_relaxed); in hw_lck_ticket_unlock_inner() 439 atomic_store_explicit(ctp, cticket + in hw_lck_ticket_unlock_inner()
|