Home
last modified time | relevance | path

Searched refs:timer_index (Results 1 - 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/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
[all...]
H A Dhyperv.h101 int timer_index) in vcpu_to_stimer()
103 return &vcpu_to_hv_vcpu(vcpu)->stimer[timer_index]; in vcpu_to_stimer()
100 vcpu_to_stimer(struct kvm_vcpu *vcpu, int timer_index) vcpu_to_stimer() argument
H A Dhyperv.c877 payload->timer_index = stimer->index; in stimer_prepare_msg()
882 static void stimer_init(struct kvm_vcpu_hv_stimer *stimer, int timer_index) in stimer_init() argument
885 stimer->index = timer_index; in stimer_init()
1307 int timer_index = (msr - HV_X64_MSR_STIMER0_CONFIG)/2; in kvm_hv_set_msr() local
1309 return stimer_set_config(vcpu_to_stimer(vcpu, timer_index), in kvm_hv_set_msr()
1316 int timer_index = (msr - HV_X64_MSR_STIMER0_COUNT)/2; in kvm_hv_set_msr() local
1318 return stimer_set_count(vcpu_to_stimer(vcpu, timer_index), in kvm_hv_set_msr()
1419 int timer_index = (msr - HV_X64_MSR_STIMER0_CONFIG)/2; in kvm_hv_get_msr() local
1421 return stimer_get_config(vcpu_to_stimer(vcpu, timer_index), in kvm_hv_get_msr()
1428 int timer_index in kvm_hv_get_msr() local
[all...]
/kernel/linux/linux-6.6/arch/x86/kvm/
H A Dtrace.h1207 TP_PROTO(int vcpu_id, int timer_index, u64 config, bool host),
1208 TP_ARGS(vcpu_id, timer_index, config, host),
1212 __field(int, timer_index)
1219 __entry->timer_index = timer_index;
1225 __entry->vcpu_id, __entry->timer_index, __entry->config,
1233 TP_PROTO(int vcpu_id, int timer_index, u64 count, bool host),
1234 TP_ARGS(vcpu_id, timer_index, count, host),
1238 __field(int, timer_index)
1245 __entry->timer_index
[all...]
H A Dhyperv.h114 int timer_index) in to_hv_stimer()
116 return &to_hv_vcpu(vcpu)->stimer[timer_index]; in to_hv_stimer()
113 to_hv_stimer(struct kvm_vcpu *vcpu, int timer_index) to_hv_stimer() argument
H A Dhyperv.c946 payload->timer_index = stimer->index; in stimer_prepare_msg()
951 static void stimer_init(struct kvm_vcpu_hv_stimer *stimer, int timer_index) in stimer_init() argument
954 stimer->index = timer_index; in stimer_init()
1552 int timer_index = (msr - HV_X64_MSR_STIMER0_CONFIG)/2; in kvm_hv_set_msr() local
1554 return stimer_set_config(to_hv_stimer(vcpu, timer_index), in kvm_hv_set_msr()
1561 int timer_index = (msr - HV_X64_MSR_STIMER0_COUNT)/2; in kvm_hv_set_msr() local
1563 return stimer_set_count(to_hv_stimer(vcpu, timer_index), in kvm_hv_set_msr()
1672 int timer_index = (msr - HV_X64_MSR_STIMER0_CONFIG)/2; in kvm_hv_get_msr() local
1674 return stimer_get_config(to_hv_stimer(vcpu, timer_index), in kvm_hv_get_msr()
1681 int timer_index in kvm_hv_get_msr() local
[all...]
/kernel/linux/common_modules/tzdriver/core/
H A Dcmdmonitor.c364 time_in_sec = monitor->timer_index >= g_timer_nums ? in show_timeout_cmd_info()
365 g_timer_step[g_timer_nums - 1] : g_timer_step[monitor->timer_index]; in show_timeout_cmd_info()
368 monitor->timer_index = monitor->timer_index >= (int32_t)sizeof(g_timer_step) ? in show_timeout_cmd_info()
369 (int32_t)sizeof(g_timer_step) : (monitor->timer_index + 1); in show_timeout_cmd_info()
471 newitem->timer_index = 0; in init_monitor_locked()
510 monitor->timer_index = 0; in cmd_monitor_log()
H A Dcmdmonitor.h52 int32_t timer_index; member
/kernel/linux/linux-5.10/include/asm-generic/
H A Dhyperv-tlfs.h261 __u32 timer_index; member
/kernel/linux/linux-5.10/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()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4/
H A Dsge.c3997 int timer_index; in napi_rx_handler() local
4000 timer_index = QINTR_TIMER_IDX_G(q->next_intr_params); in napi_rx_handler()
4003 if (work_done > max(timer_pkt_quota[timer_index], in napi_rx_handler()
4005 timer_index = (timer_index + 1); in napi_rx_handler()
4007 timer_index = timer_index - 1; in napi_rx_handler()
4009 timer_index = clamp(timer_index, 0, SGE_TIMERREGS - 1); in napi_rx_handler()
4011 QINTR_TIMER_IDX_V(timer_index) | in napi_rx_handler()
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
H A Dhw.c3130 u8 timer_index) in ath_gen_timer_alloc()
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()
3126 ath_gen_timer_alloc(struct ath_hw *ah, void (*trigger)(void *), void (*overflow)(void *), void *arg, u8 timer_index) ath_gen_timer_alloc() argument
H A Dhw.h1085 u8 timer_index);
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/
H A Dhw.c3128 u8 timer_index) in ath_gen_timer_alloc()
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()
3124 ath_gen_timer_alloc(struct ath_hw *ah, void (*trigger)(void *), void (*overflow)(void *), void *arg, u8 timer_index) ath_gen_timer_alloc() argument
H A Dhw.h1087 u8 timer_index);
/kernel/linux/linux-6.6/include/asm-generic/
H A Dhyperv-tlfs.h336 __u32 timer_index; member

Completed in 35 milliseconds