Home
last modified time | relevance | path

Searched refs:timer_index (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.10/arch/x86/kvm/
Dtrace.h1120 TP_PROTO(int vcpu_id, int timer_index, u64 config, bool host),
1121 TP_ARGS(vcpu_id, timer_index, config, host),
1125 __field(int, timer_index)
1132 __entry->timer_index = timer_index;
1138 __entry->vcpu_id, __entry->timer_index, __entry->config,
1146 TP_PROTO(int vcpu_id, int timer_index, u64 count, bool host),
1147 TP_ARGS(vcpu_id, timer_index, count, host),
1151 __field(int, timer_index)
1158 __entry->timer_index = timer_index;
1164 __entry->vcpu_id, __entry->timer_index, __entry->count,
[all …]
Dhyperv.h101 int timer_index) in vcpu_to_stimer() argument
103 return &vcpu_to_hv_vcpu(vcpu)->stimer[timer_index]; in vcpu_to_stimer()
Dhyperv.c869 payload->timer_index = stimer->index; in stimer_prepare_msg()
874 static void stimer_init(struct kvm_vcpu_hv_stimer *stimer, int timer_index) in stimer_init() argument
877 stimer->index = timer_index; in stimer_init()
1299 int timer_index = (msr - HV_X64_MSR_STIMER0_CONFIG)/2; in kvm_hv_set_msr() local
1301 return stimer_set_config(vcpu_to_stimer(vcpu, timer_index), in kvm_hv_set_msr()
1308 int timer_index = (msr - HV_X64_MSR_STIMER0_COUNT)/2; in kvm_hv_set_msr() local
1310 return stimer_set_count(vcpu_to_stimer(vcpu, timer_index), in kvm_hv_set_msr()
1411 int timer_index = (msr - HV_X64_MSR_STIMER0_CONFIG)/2; in kvm_hv_get_msr() local
1413 return stimer_get_config(vcpu_to_stimer(vcpu, timer_index), in kvm_hv_get_msr()
1420 int timer_index = (msr - HV_X64_MSR_STIMER0_COUNT)/2; in kvm_hv_get_msr() local
[all …]
/Linux-v5.10/include/asm-generic/
Dhyperv-tlfs.h261 __u32 timer_index; member
/Linux-v5.10/drivers/net/wireless/ath/ath9k/
Dhw.c3128 u8 timer_index) in ath_gen_timer_alloc() argument
3133 if ((timer_index < AR_FIRST_NDP_TIMER) || in ath_gen_timer_alloc()
3134 (timer_index >= ATH_MAX_GEN_TIMER)) in ath_gen_timer_alloc()
3137 if ((timer_index > AR_FIRST_NDP_TIMER) && in ath_gen_timer_alloc()
3146 timer_table->timers[timer_index] = timer; in ath_gen_timer_alloc()
3147 timer->index = timer_index; in ath_gen_timer_alloc()
3152 if ((timer_index > AR_FIRST_NDP_TIMER) && !timer_table->tsf2_enabled) { in ath_gen_timer_alloc()
Dhw.h1084 u8 timer_index);
/Linux-v5.10/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c3959 int timer_index; in napi_rx_handler() local
3962 timer_index = QINTR_TIMER_IDX_G(q->next_intr_params); in napi_rx_handler()
3965 if (work_done > max(timer_pkt_quota[timer_index], in napi_rx_handler()
3967 timer_index = (timer_index + 1); in napi_rx_handler()
3969 timer_index = timer_index - 1; in napi_rx_handler()
3971 timer_index = clamp(timer_index, 0, SGE_TIMERREGS - 1); in napi_rx_handler()
3973 QINTR_TIMER_IDX_V(timer_index) | in napi_rx_handler()