Lines Matching full:hd
146 struct heart_irq_data *hd = irq_data_get_irq_chip_data(d); in ip30_mask_heart_irq() local
147 unsigned long *mask = &per_cpu(irq_enable_mask, hd->cpu); in ip30_mask_heart_irq()
150 heart_write(*mask, &heart_regs->imr[hd->cpu]); in ip30_mask_heart_irq()
155 struct heart_irq_data *hd = irq_data_get_irq_chip_data(d); in ip30_mask_and_ack_heart_irq() local
156 unsigned long *mask = &per_cpu(irq_enable_mask, hd->cpu); in ip30_mask_and_ack_heart_irq()
159 heart_write(*mask, &heart_regs->imr[hd->cpu]); in ip30_mask_and_ack_heart_irq()
165 struct heart_irq_data *hd = irq_data_get_irq_chip_data(d); in ip30_unmask_heart_irq() local
166 unsigned long *mask = &per_cpu(irq_enable_mask, hd->cpu); in ip30_unmask_heart_irq()
169 heart_write(*mask, &heart_regs->imr[hd->cpu]); in ip30_unmask_heart_irq()
175 struct heart_irq_data *hd = irq_data_get_irq_chip_data(d); in ip30_set_heart_irq_affinity() local
177 if (!hd) in ip30_set_heart_irq_affinity()
183 hd->cpu = cpumask_first_and(mask, cpu_online_mask); in ip30_set_heart_irq_affinity()
188 irq_data_update_effective_affinity(d, cpumask_of(hd->cpu)); in ip30_set_heart_irq_affinity()
206 struct heart_irq_data *hd; in heart_domain_alloc() local
212 hd = kzalloc(sizeof(*hd), GFP_KERNEL); in heart_domain_alloc()
213 if (!hd) in heart_domain_alloc()
218 kfree(hd); in heart_domain_alloc()
221 irq_domain_set_info(domain, virq, hwirq, &heart_irq_chip, hd, in heart_domain_alloc()