Lines Matching full:hd
147 struct heart_irq_data *hd = irq_data_get_irq_chip_data(d); in ip30_mask_heart_irq() local
148 unsigned long *mask = &per_cpu(irq_enable_mask, hd->cpu); in ip30_mask_heart_irq()
151 heart_write(*mask, &heart_regs->imr[hd->cpu]); in ip30_mask_heart_irq()
156 struct heart_irq_data *hd = irq_data_get_irq_chip_data(d); in ip30_mask_and_ack_heart_irq() local
157 unsigned long *mask = &per_cpu(irq_enable_mask, hd->cpu); in ip30_mask_and_ack_heart_irq()
160 heart_write(*mask, &heart_regs->imr[hd->cpu]); in ip30_mask_and_ack_heart_irq()
166 struct heart_irq_data *hd = irq_data_get_irq_chip_data(d); in ip30_unmask_heart_irq() local
167 unsigned long *mask = &per_cpu(irq_enable_mask, hd->cpu); in ip30_unmask_heart_irq()
170 heart_write(*mask, &heart_regs->imr[hd->cpu]); in ip30_unmask_heart_irq()
176 struct heart_irq_data *hd = irq_data_get_irq_chip_data(d); in ip30_set_heart_irq_affinity() local
178 if (!hd) in ip30_set_heart_irq_affinity()
184 hd->cpu = cpumask_first_and(mask, cpu_online_mask); in ip30_set_heart_irq_affinity()
189 irq_data_update_effective_affinity(d, cpumask_of(hd->cpu)); in ip30_set_heart_irq_affinity()
207 struct heart_irq_data *hd; in heart_domain_alloc() local
213 hd = kzalloc(sizeof(*hd), GFP_KERNEL); in heart_domain_alloc()
214 if (!hd) in heart_domain_alloc()
219 kfree(hd); in heart_domain_alloc()
222 irq_domain_set_info(domain, virq, hwirq, &heart_irq_chip, hd, in heart_domain_alloc()