Home
last modified time | relevance | path

Searched refs:cs_id (Results 1 – 20 of 20) sorted by relevance

/linux/drivers/virtio/
H A Dvirtio_rtc_ptp.c51 int __weak viortc_hw_xtstamp_params(u8 *hw_counter, enum clocksource_ids *cs_id) in viortc_hw_xtstamp_params() argument
80 * @cs_id: clocksource id corresponding to hw_counter
89 u8 hw_counter, enum clocksource_ids cs_id, in viortc_ptp_do_xtstamp() argument
95 ctx->system_counterval.cs_id = cs_id; in viortc_ptp_do_xtstamp()
131 enum clocksource_ids cs_id; in viortc_ptp_getcrosststamp() local
138 ret = viortc_hw_xtstamp_params(&hw_counter, &cs_id); in viortc_ptp_getcrosststamp()
143 if (history_begin.cs_id != cs_id) in viortc_ptp_getcrosststamp()
154 ret = viortc_ptp_do_xtstamp(vio_ptp, hw_counter, cs_id, in viortc_ptp_getcrosststamp()
270 enum clocksource_ids cs_id; viortc_ptp_get_cross_cap() local
[all...]
H A Dvirtio_rtc_arm.c17 int viortc_hw_xtstamp_params(u8 *hw_counter, enum clocksource_ids *cs_id) in viortc_hw_xtstamp_params() argument
20 *cs_id = CSID_ARM_ARCH_COUNTER; in viortc_hw_xtstamp_params()
H A Dvirtio_rtc_internal.h72 * @cs_id: clocksource id corresponding to hw_counter
80 int viortc_hw_xtstamp_params(u8 *hw_counter, enum clocksource_ids *cs_id);
/linux/drivers/ptp/
H A Dptp_vmclock.c44 enum clocksource_ids cs_id, sys_cs_id; member
124 * same counter as st->cs_id, in which case all three times in vmclock_get_crosststamp()
137 if (systime_snapshot.cs_id == st->cs_id) { in vmclock_get_crosststamp()
173 system_counter->cs_id = st->cs_id; in vmclock_get_crosststamp()
178 if (systime_snapshot.cs_id == st->cs_id) in vmclock_get_crosststamp()
211 system_counter->cs_id = CSID_X86_KVM_CLK; in vmclock_get_crosststamp_kvmclock()
270 if (systime_snapshot.cs_id in ptp_vmclock_getcrosststamp()
333 enum clocksource_ids cs_id; vmclock_ptp_register() local
[all...]
H A Dptp_kvm_common.c31 enum clocksource_ids cs_id; in ptp_kvm_get_time_fn() local
39 ret = kvm_arch_ptp_get_crosststamp(&cycle, &tspec, &cs_id); in ptp_kvm_get_time_fn()
49 system_counter->cs_id = cs_id; in ptp_kvm_get_time_fn()
H A Dptp_kvm_x86.c96 enum clocksource_ids *cs_id) in kvm_arch_ptp_get_crosststamp() argument
126 *cs_id = CSID_X86_KVM_CLK; in kvm_arch_ptp_get_crosststamp()
H A Dptp_s390.c71 system_counter->cs_id = CSID_S390_TOD; in s390_arch_ptp_get_crosststamp()
/linux/drivers/ras/amd/atl/
H A Ddenormalize.c456 u64 cs_id = 0; in get_logical_coh_st_fabric_id_for_current_spa() local
490 cs_id = FIELD_GET(GENMASK_ULL(63, 13), denorm_ctx->current_spa) << 3; in get_logical_coh_st_fabric_id_for_current_spa()
491 cs_id %= denorm_ctx->mod_value; in get_logical_coh_st_fabric_id_for_current_spa()
492 cs_id <<= 2; in get_logical_coh_st_fabric_id_for_current_spa()
493 cs_id |= (hash_pa9 | (hash_pa12 << 1)); in get_logical_coh_st_fabric_id_for_current_spa()
494 cs_id |= hash_pa8 << df_cfg.socket_id_shift; in get_logical_coh_st_fabric_id_for_current_spa()
498 cs_id = FIELD_GET(GENMASK_ULL(63, 14), denorm_ctx->current_spa) << 4; in get_logical_coh_st_fabric_id_for_current_spa()
499 cs_id %= denorm_ctx->mod_value; in get_logical_coh_st_fabric_id_for_current_spa()
500 cs_id <<= 2; in get_logical_coh_st_fabric_id_for_current_spa()
501 cs_id | in get_logical_coh_st_fabric_id_for_current_spa()
[all...]
/linux/drivers/gpu/drm/panthor/
H A Dpanthor_sched.c1038 * @cs_id: Queue slot ID.
1046 cs_slot_prog_locked(struct panthor_device *ptdev, u32 csg_id, u32 cs_id) in cs_slot_prog_locked() argument
1048 struct panthor_queue *queue = ptdev->scheduler->csg_slots[csg_id].group->queues[cs_id]; in cs_slot_prog_locked()
1049 struct panthor_fw_cs_iface *cs_iface = panthor_fw_get_cs_iface(ptdev, csg_id, cs_id); in cs_slot_prog_locked()
1082 * @cs_id: Queue slot.
1090 cs_slot_reset_locked(struct panthor_device *ptdev, u32 csg_id, u32 cs_id) in cs_slot_reset_locked() argument
1092 struct panthor_fw_cs_iface *cs_iface = panthor_fw_get_cs_iface(ptdev, csg_id, cs_id); in cs_slot_reset_locked()
1094 struct panthor_queue *queue = group->queues[cs_id]; in cs_slot_reset_locked()
1105 if (!(group->blocked_queues & BIT(cs_id)) && !queue->timeout_suspended) { in cs_slot_reset_locked()
1139 * @cs_id
1144 cs_slot_sync_queue_state_locked(struct panthor_device * ptdev,u32 csg_id,u32 cs_id) cs_slot_sync_queue_state_locked() argument
1343 cs_slot_process_fatal_event_locked(struct panthor_device * ptdev,u32 csg_id,u32 cs_id) cs_slot_process_fatal_event_locked() argument
1385 cs_slot_process_fault_event_locked(struct panthor_device * ptdev,u32 csg_id,u32 cs_id) cs_slot_process_fault_event_locked() argument
1431 group_process_tiler_oom(struct panthor_group * group,u32 cs_id) group_process_tiler_oom() argument
1524 u32 cs_id = ffs(tiler_oom) - 1; group_tiler_oom_work() local
1535 cs_slot_process_tiler_oom_event_locked(struct panthor_device * ptdev,u32 csg_id,u32 cs_id) cs_slot_process_tiler_oom_event_locked() argument
1557 cs_slot_process_irq_locked(struct panthor_device * ptdev,u32 csg_id,u32 cs_id) cs_slot_process_irq_locked() argument
1687 u32 cs_id = ffs(cs_irqs) - 1; sched_process_csg_irq_locked() local
2499 u32 cs_id = ffs(tested_queues) - 1; sync_upd_work() local
[all...]
/linux/include/linux/
H A Dptp_kvm.h20 struct timespec64 *tspec, enum clocksource_ids *cs_id);
/linux/drivers/net/ethernet/intel/e1000e/
H A Dptp.c128 system->cs_id = CSID_X86_ART; in e1000e_phc_get_syncdevicetime()
/linux/drivers/clocksource/
H A Darm_arch_timer.c1803 enum clocksource_ids *cs_id) in kvm_arch_ptp_get_crosststamp() argument
1827 if (cs_id) in kvm_arch_ptp_get_crosststamp()
1828 *cs_id = CSID_ARM_ARCH_COUNTER; in kvm_arch_ptp_get_crosststamp()
/linux/arch/arm64/kvm/
H A Dhypercalls.c38 if (systime_snapshot.cs_id != CSID_ARM_ARCH_COUNTER) in kvm_ptp_get_time()
/linux/kernel/time/
H A Dtimekeeping.c1056 systime_snapshot->cs_id = tk->tkr_mono.clock->id; in ktime_get_snapshot()
1204 if (cs->id == scv->cs_id) in convert_base_to_cs()
1208 * Check whether cs_id matches the base clock. Prevent the compiler from in convert_base_to_cs()
1212 if (!base || base->id != scv->cs_id) in convert_base_to_cs()
1332 if (system_counterval.cs_id == CSID_GENERIC || in get_device_system_crosststamp()
/linux/include/uapi/drm/
H A Dradeon_drm.h985 __u32 cs_id; member
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_ptp.c274 system->cs_id = IS_ENABLED(CONFIG_X86) ? CSID_X86_ART in idpf_ptp_get_sync_device_time()
/linux/drivers/net/ethernet/intel/igc/
H A Digc_ptp.c929 .cs_id = CSID_X86_ART, in igc_device_tstamp_to_system()
/linux/sound/hda/common/
H A Dcontroller.c466 system->cs_id = CSID_X86_ART; in azx_get_sync_time()
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dclock.c281 .cs_id = CSID_X86_ART, in mlx5_mtctr_syncdevicetime()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_ptp.c2138 system->cs_id = CSID_X86_ART; in ice_capture_crosststamp()