Lines Matching refs:intr_desc
20 struct hv_device_interrupt_descriptor *intr_desc; in hv_map_interrupt() local
30 intr_desc = &input->interrupt_descriptor; in hv_map_interrupt()
34 intr_desc->interrupt_type = HV_X64_INTERRUPT_TYPE_FIXED; in hv_map_interrupt()
35 intr_desc->vector_count = 1; in hv_map_interrupt()
36 intr_desc->target.vector = vector; in hv_map_interrupt()
39 intr_desc->trigger_mode = HV_INTERRUPT_TRIGGER_MODE_LEVEL; in hv_map_interrupt()
41 intr_desc->trigger_mode = HV_INTERRUPT_TRIGGER_MODE_EDGE; in hv_map_interrupt()
43 intr_desc->target.vp_set.valid_bank_mask = 0; in hv_map_interrupt()
44 intr_desc->target.vp_set.format = HV_GENERIC_SET_SPARSE_4K; in hv_map_interrupt()
45 nr_bank = cpumask_to_vpset(&(intr_desc->target.vp_set), cpumask_of(cpu)); in hv_map_interrupt()
51 intr_desc->target.flags = HV_DEVICE_INTERRUPT_TARGET_PROCESSOR_SET; in hv_map_interrupt()