Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/arch/x86/kvm/
H A Dtrace.h1124 TP_PROTO(int vcpu_id, int timer_index, u64 config, bool host),
1125 TP_ARGS(vcpu_id, timer_index, config, host),
1129 __field(int, timer_index)
1136 __entry->timer_index = timer_index;
1142 __entry->vcpu_id, __entry->timer_index, __entry->config,
1150 TP_PROTO(int vcpu_id, int timer_index, u64 count, bool host),
1151 TP_ARGS(vcpu_id, timer_index, count, host),
1155 __field(int, timer_index)
1162 __entry->timer_index = timer_index;
1168 __entry->vcpu_id, __entry->timer_index, __entry->count,
[all …]
H A Dhyperv.h101 int timer_index) in vcpu_to_stimer() argument
103 return &vcpu_to_hv_vcpu(vcpu)->stimer[timer_index]; in vcpu_to_stimer()
H A Dhyperv.c875 payload->timer_index = stimer->index; in stimer_prepare_msg()
880 static void stimer_init(struct kvm_vcpu_hv_stimer *stimer, int timer_index) in stimer_init() argument
883 stimer->index = timer_index; in stimer_init()
1305 int timer_index = (msr - HV_X64_MSR_STIMER0_CONFIG)/2; in kvm_hv_set_msr() local
1307 return stimer_set_config(vcpu_to_stimer(vcpu, timer_index), in kvm_hv_set_msr()
1314 int timer_index = (msr - HV_X64_MSR_STIMER0_COUNT)/2; in kvm_hv_set_msr() local
1316 return stimer_set_count(vcpu_to_stimer(vcpu, timer_index), in kvm_hv_set_msr()
1417 int timer_index = (msr - HV_X64_MSR_STIMER0_CONFIG)/2; in kvm_hv_get_msr() local
1419 return stimer_get_config(vcpu_to_stimer(vcpu, timer_index), in kvm_hv_get_msr()
1426 int timer_index = (msr - HV_X64_MSR_STIMER0_COUNT)/2; in kvm_hv_get_msr() local
[all …]
/OK3568_Linux_fs/kernel/include/asm-generic/
H A Dhyperv-tlfs.h261 __u32 timer_index; member
/OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath9k/
H A Dhw.c3130 u8 timer_index) in ath_gen_timer_alloc() argument
3135 if ((timer_index < AR_FIRST_NDP_TIMER) || in ath_gen_timer_alloc()
3136 (timer_index >= ATH_MAX_GEN_TIMER)) in ath_gen_timer_alloc()
3139 if ((timer_index > AR_FIRST_NDP_TIMER) && in ath_gen_timer_alloc()
3148 timer_table->timers[timer_index] = timer; in ath_gen_timer_alloc()
3149 timer->index = timer_index; in ath_gen_timer_alloc()
3154 if ((timer_index > AR_FIRST_NDP_TIMER) && !timer_table->tsf2_enabled) { in ath_gen_timer_alloc()
H A Dhw.h1085 u8 timer_index);
/OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb4/
H A Dsge.c3972 int timer_index; in napi_rx_handler() local
3975 timer_index = QINTR_TIMER_IDX_G(q->next_intr_params); in napi_rx_handler()
3978 if (work_done > max(timer_pkt_quota[timer_index], in napi_rx_handler()
3980 timer_index = (timer_index + 1); in napi_rx_handler()
3982 timer_index = timer_index - 1; in napi_rx_handler()
3984 timer_index = clamp(timer_index, 0, SGE_TIMERREGS - 1); in napi_rx_handler()
3986 QINTR_TIMER_IDX_V(timer_index) | in napi_rx_handler()