Searched refs:vclock (Results 1 – 9 of 9) sorted by relevance
22 static void ptp_vclock_hash_add(struct ptp_vclock *vclock) in ptp_vclock_hash_add() argument26 hlist_add_head_rcu(&vclock->vclock_hash_node, in ptp_vclock_hash_add()27 &vclock_hash[vclock->clock->index % HASH_SIZE(vclock_hash)]); in ptp_vclock_hash_add()32 static void ptp_vclock_hash_del(struct ptp_vclock *vclock) in ptp_vclock_hash_del() argument36 hlist_del_init_rcu(&vclock->vclock_hash_node); in ptp_vclock_hash_del()45 struct ptp_vclock *vclock = info_to_vclock(ptp); in ptp_vclock_adjfine() local52 spin_lock_irqsave(&vclock->lock, flags); in ptp_vclock_adjfine()53 timecounter_read(&vclock->tc); in ptp_vclock_adjfine()54 vclock->cc.mult = PTP_VCLOCK_CC_MULT + adj; in ptp_vclock_adjfine()55 spin_unlock_irqrestore(&vclock->lock, flags); in ptp_vclock_adjfine()[all …]
156 struct ptp_vclock *vclock; in unregister_vclock() local159 vclock = info_to_vclock(info); in unregister_vclock()161 vclock->clock->index); in unregister_vclock()163 ptp_vclock_unregister(vclock); in unregister_vclock()194 struct ptp_vclock *vclock; in n_vclocks_store() local212 vclock = ptp_vclock_register(ptp); in n_vclocks_store()213 if (!vclock) in n_vclocks_store()217 vclock->clock->index; in n_vclocks_store()220 vclock->clock->index); in n_vclocks_store()
141 void ptp_vclock_unregister(struct ptp_vclock *vclock);
11 static inline bool vclock_was_used(int vclock) in vclock_was_used() argument13 return READ_ONCE(vclocks_used) & (1U << vclock); in vclock_was_used()
172 uint32_t vclock; member
224 uint32_t vclock; member
705 dpm_table->dpm_levels[0].value = data->vbios_boot_state.vclock / 100; in vega12_setup_default_dpm_tables()833 data->vbios_boot_state.vclock = boot_up_values.ulVClk; in vega12_init_smc_table()
691 dpm_table->dpm_levels[0].value = data->vbios_boot_state.vclock / 100; in vega20_setup_default_dpm_tables()803 data->vbios_boot_state.vclock = boot_up_values.ulVClk; in vega20_init_smc_table()
2041 uint32_t vclock, uint8_t *current_vclk_did) in vega10_populate_single_vclock_level() argument2047 vclock, ÷rs), in vega10_populate_single_vclock_level()