Home
last modified time | relevance | path

Searched refs:vclock (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/drivers/ptp/
Dptp_vclock.c22 static void ptp_vclock_hash_add(struct ptp_vclock *vclock) in ptp_vclock_hash_add() argument
26 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() argument
36 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() local
52 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 …]
Dptp_sysfs.c156 struct ptp_vclock *vclock; in unregister_vclock() local
159 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() local
212 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()
Dptp_private.h141 void ptp_vclock_unregister(struct ptp_vclock *vclock);
/linux-6.1.9/arch/x86/include/asm/
Dclocksource.h11 static inline bool vclock_was_used(int vclock) in vclock_was_used() argument
13 return READ_ONCE(vclocks_used) & (1U << vclock); in vclock_was_used()
/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dvega12_hwmgr.h172 uint32_t vclock; member
Dvega20_hwmgr.h224 uint32_t vclock; member
Dvega12_hwmgr.c705 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()
Dvega20_hwmgr.c691 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()
Dvega10_hwmgr.c2041 uint32_t vclock, uint8_t *current_vclk_did) in vega10_populate_single_vclock_level() argument
2047 vclock, &dividers), in vega10_populate_single_vclock_level()