Lines Matching full:vec
55 struct imsic_vector *vec = irq_data_get_irq_chip_data(d); in imsic_irq_retrigger() local
58 if (WARN_ON(!vec)) in imsic_irq_retrigger()
61 local = per_cpu_ptr(imsic->global.local, vec->cpu); in imsic_irq_retrigger()
62 writel_relaxed(vec->local_id, local->msi_va); in imsic_irq_retrigger()
66 static void imsic_irq_compose_vector_msg(struct imsic_vector *vec, struct msi_msg *msg) in imsic_irq_compose_vector_msg() argument
70 if (WARN_ON(!vec)) in imsic_irq_compose_vector_msg()
73 if (WARN_ON(!imsic_cpu_page_phys(vec->cpu, 0, &msi_addr))) in imsic_irq_compose_vector_msg()
78 msg->data = vec->local_id; in imsic_irq_compose_vector_msg()
87 static void imsic_msi_update_msg(struct irq_data *d, struct imsic_vector *vec) in imsic_msi_update_msg() argument
91 imsic_irq_compose_vector_msg(vec, &msg); in imsic_msi_update_msg()
147 struct imsic_vector *vec; in imsic_irq_domain_alloc() local
153 vec = imsic_vector_alloc(virq, cpu_online_mask); in imsic_irq_domain_alloc()
154 if (!vec) in imsic_irq_domain_alloc()
157 irq_domain_set_info(domain, virq, virq, &imsic_irq_base_chip, vec, in imsic_irq_domain_alloc()
161 irq_data_update_effective_affinity(irq_get_irq_data(virq), cpumask_of(vec->cpu)); in imsic_irq_domain_alloc()