Home
last modified time | relevance | path

Searched refs:vector (Results 1 – 25 of 524) sorted by relevance

12345678910>>...21

/Linux-v5.10/drivers/gpu/drm/amd/display/dc/basics/
Dvector.c32 struct vector *vector, in dal_vector_construct() argument
37 vector->container = NULL; in dal_vector_construct()
45 vector->container = kcalloc(capacity, struct_size, GFP_KERNEL); in dal_vector_construct()
46 if (vector->container == NULL) in dal_vector_construct()
48 vector->capacity = capacity; in dal_vector_construct()
49 vector->struct_size = struct_size; in dal_vector_construct()
50 vector->count = 0; in dal_vector_construct()
51 vector->ctx = ctx; in dal_vector_construct()
56 struct vector *vector, in dal_vector_presized_costruct() argument
64 vector->container = NULL; in dal_vector_presized_costruct()
[all …]
/Linux-v5.10/drivers/gpu/drm/amd/display/include/
Dvector.h29 struct vector { struct
38 struct vector *vector, argument
43 struct vector *dal_vector_create(
50 struct vector *dal_vector_presized_create(
57 struct vector *vector);
60 struct vector **vector);
63 const struct vector *vector);
73 struct vector *vector,
78 struct vector *vector,
83 const struct vector *vector,
[all …]
/Linux-v5.10/arch/ia64/kernel/
Dirq_ia64.c74 .vector = IRQ_VECTOR_UNASSIGNED,
104 int pos, vector; in find_unassigned_vector() local
111 vector = IA64_FIRST_DEVICE_VECTOR + pos; in find_unassigned_vector()
112 cpumask_and(&mask, &domain, &vector_table[vector]); in find_unassigned_vector()
115 return vector; in find_unassigned_vector()
120 static int __bind_irq_vector(int irq, int vector, cpumask_t domain) in __bind_irq_vector() argument
127 BUG_ON((unsigned)vector >= IA64_NUM_VECTORS); in __bind_irq_vector()
132 if ((cfg->vector == vector) && cpumask_equal(&cfg->domain, &domain)) in __bind_irq_vector()
134 if (cfg->vector != IRQ_VECTOR_UNASSIGNED) in __bind_irq_vector()
137 per_cpu(vector_irq, cpu)[vector] = irq; in __bind_irq_vector()
[all …]
/Linux-v5.10/arch/x86/include/asm/
Didtentry.h32 #define DECLARE_IDTENTRY(vector, func) \ argument
83 #define DECLARE_IDTENTRY_ERRORCODE(vector, func) \ argument
121 #define DECLARE_IDTENTRY_RAW(vector, func) \ argument
122 DECLARE_IDTENTRY(vector, func)
149 #define DECLARE_IDTENTRY_RAW_ERRORCODE(vector, func) \ argument
150 DECLARE_IDTENTRY_ERRORCODE(vector, func)
177 #define DECLARE_IDTENTRY_IRQ(vector, func) \ argument
178 DECLARE_IDTENTRY_ERRORCODE(vector, func)
193 static __always_inline void __##func(struct pt_regs *regs, u8 vector); \
209 static __always_inline void __##func(struct pt_regs *regs, u8 vector)
[all …]
/Linux-v5.10/arch/x86/hyperv/
Dhv_apic.c100 static bool __send_ipi_mask_ex(const struct cpumask *mask, int vector) in __send_ipi_mask_ex() argument
118 ipi_arg->vector = vector; in __send_ipi_mask_ex()
139 static bool __send_ipi_mask(const struct cpumask *mask, int vector) in __send_ipi_mask() argument
145 trace_hyperv_send_ipi_mask(mask, vector); in __send_ipi_mask()
153 if ((vector < HV_IPI_LOW_VECTOR) || (vector > HV_IPI_HIGH_VECTOR)) in __send_ipi_mask()
169 ipi_arg.vector = vector; in __send_ipi_mask()
187 ret = hv_do_fast_hypercall16(HVCALL_SEND_IPI, ipi_arg.vector, in __send_ipi_mask()
192 return __send_ipi_mask_ex(mask, vector); in __send_ipi_mask()
195 static bool __send_ipi_one(int cpu, int vector) in __send_ipi_one() argument
199 trace_hyperv_send_ipi_one(cpu, vector); in __send_ipi_one()
[all …]
/Linux-v5.10/arch/x86/include/asm/trace/
Dirq_vectors.h15 TP_PROTO(int vector),
17 TP_ARGS(vector),
20 __field( int, vector )
24 __entry->vector = vector;
27 TP_printk("vector=%d", __entry->vector) );
31 TP_PROTO(int vector), \
32 TP_ARGS(vector), NULL, NULL); \
34 TP_PROTO(int vector), \
35 TP_ARGS(vector), NULL, NULL);
128 TP_PROTO(unsigned int irq, unsigned int vector,
[all …]
Dhyperv.h61 int vector),
62 TP_ARGS(cpus, vector),
65 __field(int, vector)
68 __entry->vector = vector;
71 __entry->ncpus, __entry->vector)
76 int vector),
77 TP_ARGS(cpu, vector),
80 __field(int, vector)
83 __entry->vector = vector;
86 __entry->cpu, __entry->vector)
/Linux-v5.10/arch/x86/kernel/apic/
Dlocal.h22 void __x2apic_send_IPI_dest(unsigned int apicid, int vector, unsigned int dest);
26 void x2apic_send_IPI_self(int vector);
27 void __x2apic_send_IPI_shorthand(int vector, u32 which);
33 static inline unsigned int __prepare_ICR(unsigned int shortcut, int vector, in __prepare_ICR() argument
38 switch (vector) { in __prepare_ICR()
40 icr |= APIC_DM_FIXED | vector; in __prepare_ICR()
49 void __default_send_IPI_shortcut(unsigned int shortcut, int vector);
55 void __default_send_IPI_dest_field(unsigned int mask, int vector, unsigned int dest);
57 void default_send_IPI_single(int cpu, int vector);
58 void default_send_IPI_single_phys(int cpu, int vector);
[all …]
Dipi.c49 void apic_send_IPI_allbutself(unsigned int vector) in apic_send_IPI_allbutself() argument
55 apic->send_IPI_allbutself(vector); in apic_send_IPI_allbutself()
57 apic->send_IPI_mask_allbutself(cpu_online_mask, vector); in apic_send_IPI_allbutself()
111 void __default_send_IPI_shortcut(unsigned int shortcut, int vector) in __default_send_IPI_shortcut() argument
125 if (unlikely(vector == NMI_VECTOR)) in __default_send_IPI_shortcut()
134 cfg = __prepare_ICR(shortcut, vector, 0); in __default_send_IPI_shortcut()
146 void __default_send_IPI_dest_field(unsigned int mask, int vector, unsigned int dest) in __default_send_IPI_dest_field() argument
153 if (unlikely(vector == NMI_VECTOR)) in __default_send_IPI_dest_field()
167 cfg = __prepare_ICR(0, vector, dest); in __default_send_IPI_dest_field()
175 void default_send_IPI_single_phys(int cpu, int vector) in default_send_IPI_single_phys() argument
[all …]
Dx2apic_phys.c36 static void x2apic_send_IPI(int cpu, int vector) in x2apic_send_IPI() argument
41 __x2apic_send_IPI_dest(dest, vector, APIC_DEST_PHYSICAL); in x2apic_send_IPI()
45 __x2apic_send_IPI_mask(const struct cpumask *mask, int vector, int apic_dest) in __x2apic_send_IPI_mask() argument
60 vector, APIC_DEST_PHYSICAL); in __x2apic_send_IPI_mask()
65 static void x2apic_send_IPI_mask(const struct cpumask *mask, int vector) in x2apic_send_IPI_mask() argument
67 __x2apic_send_IPI_mask(mask, vector, APIC_DEST_ALLINC); in x2apic_send_IPI_mask()
71 x2apic_send_IPI_mask_allbutself(const struct cpumask *mask, int vector) in x2apic_send_IPI_mask_allbutself() argument
73 __x2apic_send_IPI_mask(mask, vector, APIC_DEST_ALLBUT); in x2apic_send_IPI_mask_allbutself()
76 static void x2apic_send_IPI_allbutself(int vector) in x2apic_send_IPI_allbutself() argument
78 __x2apic_send_IPI_shorthand(vector, APIC_DEST_ALLBUT); in x2apic_send_IPI_allbutself()
[all …]
Dvector.c28 unsigned int vector; member
117 static void apic_update_irq_cfg(struct irq_data *irqd, unsigned int vector, in apic_update_irq_cfg() argument
124 apicd->hw_irq_cfg.vector = vector; in apic_update_irq_cfg()
127 trace_vector_config(irqd->irq, vector, cpu, in apic_update_irq_cfg()
140 trace_vector_update(irqd->irq, newvec, newcpu, apicd->vector, in apic_update_vector()
150 if (!apicd->vector || apicd->vector == MANAGED_IRQ_SHUTDOWN_VECTOR) in apic_update_vector()
162 apicd->prev_vector = apicd->vector; in apic_update_vector()
166 irq_matrix_free(vector_matrix, apicd->cpu, apicd->vector, in apic_update_vector()
171 apicd->vector = newvec; in apic_update_vector()
227 int vector = apicd->vector; in assign_vector_locked() local
[all …]
Dapic_numachip.c94 static void numachip_send_IPI_one(int cpu, int vector) in numachip_send_IPI_one() argument
107 __default_send_IPI_dest_field(apicid, vector, in numachip_send_IPI_one()
115 dmode = (vector == NMI_VECTOR) ? APIC_DM_NMI : APIC_DM_FIXED; in numachip_send_IPI_one()
116 numachip_apic_icr_write(apicid, dmode | vector); in numachip_send_IPI_one()
119 static void numachip_send_IPI_mask(const struct cpumask *mask, int vector) in numachip_send_IPI_mask() argument
124 numachip_send_IPI_one(cpu, vector); in numachip_send_IPI_mask()
128 int vector) in numachip_send_IPI_mask_allbutself() argument
135 numachip_send_IPI_one(cpu, vector); in numachip_send_IPI_mask_allbutself()
139 static void numachip_send_IPI_allbutself(int vector) in numachip_send_IPI_allbutself() argument
146 numachip_send_IPI_one(cpu, vector); in numachip_send_IPI_allbutself()
[all …]
Dx2apic_cluster.c28 static void x2apic_send_IPI(int cpu, int vector) in x2apic_send_IPI() argument
33 __x2apic_send_IPI_dest(dest, vector, APIC_DEST_LOGICAL); in x2apic_send_IPI()
37 __x2apic_send_IPI_mask(const struct cpumask *mask, int vector, int apic_dest) in __x2apic_send_IPI_mask() argument
64 __x2apic_send_IPI_dest(dest, vector, apic->dest_logical); in __x2apic_send_IPI_mask()
72 static void x2apic_send_IPI_mask(const struct cpumask *mask, int vector) in x2apic_send_IPI_mask() argument
74 __x2apic_send_IPI_mask(mask, vector, APIC_DEST_ALLINC); in x2apic_send_IPI_mask()
78 x2apic_send_IPI_mask_allbutself(const struct cpumask *mask, int vector) in x2apic_send_IPI_mask_allbutself() argument
80 __x2apic_send_IPI_mask(mask, vector, APIC_DEST_ALLBUT); in x2apic_send_IPI_mask_allbutself()
83 static void x2apic_send_IPI_allbutself(int vector) in x2apic_send_IPI_allbutself() argument
85 __x2apic_send_IPI_shorthand(vector, APIC_DEST_ALLBUT); in x2apic_send_IPI_allbutself()
[all …]
/Linux-v5.10/drivers/net/wireless/ti/wl12xx/
Devent.c37 u32 vector; in wl12xx_process_mailbox_events() local
40 vector = le32_to_cpu(mbox->events_vector); in wl12xx_process_mailbox_events()
41 vector &= ~(le32_to_cpu(mbox->events_mask)); in wl12xx_process_mailbox_events()
43 wl1271_debug(DEBUG_EVENT, "MBOX vector: 0x%x", vector); in wl12xx_process_mailbox_events()
45 if (vector & SCAN_COMPLETE_EVENT_ID) { in wl12xx_process_mailbox_events()
53 if (vector & PERIODIC_SCAN_REPORT_EVENT_ID) { in wl12xx_process_mailbox_events()
61 if (vector & PERIODIC_SCAN_COMPLETE_EVENT_ID) in wl12xx_process_mailbox_events()
64 if (vector & SOFT_GEMINI_SENSE_EVENT_ID) in wl12xx_process_mailbox_events()
68 if (vector & BSS_LOSE_EVENT_ID) in wl12xx_process_mailbox_events()
71 if (vector & RSSI_SNR_TRIGGER_0_EVENT_ID) in wl12xx_process_mailbox_events()
[all …]
/Linux-v5.10/drivers/net/wireless/ti/wl18xx/
Devent.c119 u32 vector; in wl18xx_process_mailbox_events() local
121 vector = le32_to_cpu(mbox->events_vector); in wl18xx_process_mailbox_events()
122 wl1271_debug(DEBUG_EVENT, "MBOX vector: 0x%x", vector); in wl18xx_process_mailbox_events()
124 if (vector & SCAN_COMPLETE_EVENT_ID) { in wl18xx_process_mailbox_events()
132 if (vector & TIME_SYNC_EVENT_ID) in wl18xx_process_mailbox_events()
139 if (vector & RADAR_DETECTED_EVENT_ID) { in wl18xx_process_mailbox_events()
148 if (vector & PERIODIC_SCAN_REPORT_EVENT_ID) { in wl18xx_process_mailbox_events()
156 if (vector & PERIODIC_SCAN_COMPLETE_EVENT_ID) in wl18xx_process_mailbox_events()
159 if (vector & RSSI_SNR_TRIGGER_0_EVENT_ID) in wl18xx_process_mailbox_events()
162 if (vector & BA_SESSION_RX_CONSTRAINT_EVENT_ID) in wl18xx_process_mailbox_events()
[all …]
/Linux-v5.10/arch/sh/kernel/cpu/sh2a/
Dex.S61 vector = 0 define
63 .long exception_entry0 + vector * 6
64 vector = vector + 1 define
66 vector = 0 define
68 .long exception_entry1 + vector * 6
69 vector = vector + 1 define
/Linux-v5.10/arch/x86/xen/
Dsmp.c160 int vector) in __xen_send_IPI_mask() argument
165 xen_send_IPI_one(cpu, vector); in __xen_send_IPI_mask()
189 static inline int xen_map_vector(int vector) in xen_map_vector() argument
193 switch (vector) { in xen_map_vector()
215 vector); in xen_map_vector()
222 int vector) in xen_send_IPI_mask() argument
224 int xen_vector = xen_map_vector(vector); in xen_send_IPI_mask()
230 void xen_send_IPI_all(int vector) in xen_send_IPI_all() argument
232 int xen_vector = xen_map_vector(vector); in xen_send_IPI_all()
238 void xen_send_IPI_self(int vector) in xen_send_IPI_self() argument
[all …]
Dsmp.h6 int vector);
8 int vector);
9 extern void xen_send_IPI_allbutself(int vector);
10 extern void xen_send_IPI_all(int vector);
11 extern void xen_send_IPI_self(int vector);
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx4/
Den_cq.c66 cq->vector = mdev->dev->caps.num_comp_vectors; in mlx4_en_create_cq()
106 cq->vector)) { in mlx4_en_activate_cq()
107 cq->vector = cpumask_first(priv->rx_ring[cq->ring]->affinity_mask); in mlx4_en_activate_cq()
110 &cq->vector); in mlx4_en_activate_cq()
113 cq->vector); in mlx4_en_activate_cq()
122 cq->vector)); in mlx4_en_activate_cq()
130 cq->vector = rx_cq->vector; in mlx4_en_activate_cq()
143 cq->vector, 0, timestamp_en, &cq->wqres.buf, false); in mlx4_en_activate_cq()
171 mlx4_release_eq(mdev->dev, cq->vector); in mlx4_en_activate_cq()
172 cq->vector = mdev->dev->caps.num_comp_vectors; in mlx4_en_activate_cq()
[all …]
/Linux-v5.10/arch/ia64/include/asm/
Dhw_irq.h100 ia64_vector vector; member
119 extern int bind_irq_vector(int irq, int vector, cpumask_t domain);
121 extern void ia64_native_free_irq_vector (int vector);
122 extern int reserve_irq_vector (int vector);
124 extern void ia64_send_ipi (int cpu, int vector, int delivery_mode, int redirect);
135 static inline void ia64_native_resend_irq(unsigned int vector) in ia64_native_resend_irq() argument
137 ia64_send_ipi(smp_processor_id(), vector, IA64_IPI_DM_INT, 0); in ia64_native_resend_irq()
154 return irq_cfg[irq].vector; in irq_to_vector()
/Linux-v5.10/drivers/net/wireless/ti/wl1251/
Devent.c86 u32 vector; in wl1251_event_process() local
90 vector = mbox->events_vector & ~(mbox->events_mask); in wl1251_event_process()
91 wl1251_debug(DEBUG_EVENT, "vector: 0x%x", vector); in wl1251_event_process()
93 if (vector & SCAN_COMPLETE_EVENT_ID) { in wl1251_event_process()
99 if (vector & BSS_LOSE_EVENT_ID) { in wl1251_event_process()
110 if (vector & PS_REPORT_EVENT_ID) { in wl1251_event_process()
117 if (vector & SYNCHRONIZATION_TIMEOUT_EVENT_ID) { in wl1251_event_process()
125 if (vector & REGAINED_BSS_EVENT_ID) { in wl1251_event_process()
134 if (vector & ROAMING_TRIGGER_LOW_RSSI_EVENT_ID) { in wl1251_event_process()
142 if (vector & ROAMING_TRIGGER_REGAINED_RSSI_EVENT_ID) { in wl1251_event_process()
/Linux-v5.10/Documentation/arm64/
Dsve.rst23 * SVE registers Z0..Z31, P0..P15 and FFR and the current vector length VL, are
26 * The presence of SVE is reported to userspace via HWCAP_SVE in the aux vector
40 be reported in the AT_HWCAP2 aux vector entry. In addition to this,
77 The size of an SVE vector (Z) register is referred to as the "vector length".
79 To avoid confusion about the units used to express vector length, the kernel
109 * All other SVE state of a thread, including the currently configured vector
110 length, the state of the PR_SVE_VL_INHERIT flag, and the deferred vector
130 the thread's vector length (in sve_context.vl).
169 * The vector length cannot be changed via signal return. If sve_context.vl in
170 the signal frame does not match the current vector length, the signal return
[all …]
/Linux-v5.10/arch/x86/kernel/
Dirq.c247 desc = __this_cpu_read(vector_irq[vector]); in DEFINE_IDTENTRY_IRQ()
256 vector); in DEFINE_IDTENTRY_IRQ()
258 __this_cpu_write(vector_irq[vector], VECTOR_UNUSED); in DEFINE_IDTENTRY_IRQ()
332 unsigned int irr, vector; in fixup_irqs() local
355 for (vector = FIRST_EXTERNAL_VECTOR; vector < NR_VECTORS; vector++) { in fixup_irqs()
356 if (IS_ERR_OR_NULL(__this_cpu_read(vector_irq[vector]))) in fixup_irqs()
359 irr = apic_read(APIC_IRR + (vector / 32 * 0x10)); in fixup_irqs()
360 if (irr & (1 << (vector % 32))) { in fixup_irqs()
361 desc = __this_cpu_read(vector_irq[vector]); in fixup_irqs()
368 __this_cpu_write(vector_irq[vector], VECTOR_RETRIGGERED); in fixup_irqs()
[all …]
/Linux-v5.10/arch/alpha/kernel/
Dproto.h22 extern void apecs_machine_check(unsigned long vector, unsigned long la_ptr);
31 extern void cia_machine_check(unsigned long vector, unsigned long la_ptr);
43 extern void lca_machine_check(unsigned long vector, unsigned long la_ptr);
65 extern void mcpcia_machine_check(unsigned long vector, unsigned long la_ptr);
73 extern void polaris_machine_check(unsigned long vector, unsigned long la_ptr);
80 extern void t2_machine_check(unsigned long vector, unsigned long la_ptr);
95 extern void tsunami_machine_check(unsigned long vector, unsigned long la_ptr);
102 extern void wildfire_machine_check(unsigned long vector, unsigned long la_ptr);
220 extern void process_mcheck_info(unsigned long vector, unsigned long la_ptr,
/Linux-v5.10/drivers/s390/cio/
Dairq.c145 iv->vector = dma_pool_zalloc(airq_iv_cache, GFP_KERNEL, in airq_iv_create()
147 if (!iv->vector) in airq_iv_create()
150 iv->vector = cio_dma_zalloc(size); in airq_iv_create()
151 if (!iv->vector) in airq_iv_create()
186 if (iv->flags & AIRQ_IV_CACHELINE && iv->vector) in airq_iv_create()
187 dma_pool_free(airq_iv_cache, iv->vector, iv->vector_dma); in airq_iv_create()
189 cio_dma_free(iv->vector, size); in airq_iv_create()
206 dma_pool_free(airq_iv_cache, iv->vector, iv->vector_dma); in airq_iv_release()
208 cio_dma_free(iv->vector, iv_size(iv->bits)); in airq_iv_release()
267 clear_bit_inv(bit + i, iv->vector); in airq_iv_free()
[all …]

12345678910>>...21