Lines Matching refs:sn_irq_info
24 struct sn_irq_info *sn_irq_info; member
37 struct sn_irq_info *sn_irq_info; in sn_teardown_msi_irq() local
41 sn_irq_info = sn_msi_info[irq].sn_irq_info; in sn_teardown_msi_irq()
42 if (sn_irq_info == NULL || sn_irq_info->irq_int_bit >= 0) in sn_teardown_msi_irq()
45 sn_pdev = (struct pcidev_info *)sn_irq_info->irq_pciioinfo; in sn_teardown_msi_irq()
60 sn_intr_free(nasid, widget, sn_irq_info); in sn_teardown_msi_irq()
61 sn_msi_info[irq].sn_irq_info = NULL; in sn_teardown_msi_irq()
73 struct sn_irq_info *sn_irq_info; in sn_setup_msi_irq() local
101 sn_irq_info = kzalloc(sizeof(struct sn_irq_info), GFP_KERNEL); in sn_setup_msi_irq()
102 if (! sn_irq_info) { in sn_setup_msi_irq()
107 status = sn_intr_alloc(nasid, widget, sn_irq_info, irq, -1, -1); in sn_setup_msi_irq()
109 kfree(sn_irq_info); in sn_setup_msi_irq()
114 sn_irq_info->irq_int_bit = -1; /* mark this as an MSI irq */ in sn_setup_msi_irq()
115 sn_irq_fixup(pdev, sn_irq_info); in sn_setup_msi_irq()
118 sn_irq_info->irq_bridge_type = bussoft->bs_asic_type; in sn_setup_msi_irq()
119 sn_irq_info->irq_bridge = (void *)bussoft->bs_base; in sn_setup_msi_irq()
125 sn_irq_info->irq_xtalkaddr, in sn_setup_msi_irq()
126 sizeof(sn_irq_info->irq_xtalkaddr), in sn_setup_msi_irq()
129 sn_intr_free(nasid, widget, sn_irq_info); in sn_setup_msi_irq()
130 kfree(sn_irq_info); in sn_setup_msi_irq()
135 sn_msi_info[irq].sn_irq_info = sn_irq_info; in sn_setup_msi_irq()
164 struct sn_irq_info *sn_irq_info; in sn_set_msi_irq_affinity() local
165 struct sn_irq_info *new_irq_info; in sn_set_msi_irq_affinity()
170 sn_irq_info = sn_msi_info[irq].sn_irq_info; in sn_set_msi_irq_affinity()
171 if (sn_irq_info == NULL || sn_irq_info->irq_int_bit >= 0) in sn_set_msi_irq_affinity()
179 sn_pdev = (struct pcidev_info *)sn_irq_info->irq_pciioinfo; in sn_set_msi_irq_affinity()
190 new_irq_info = sn_retarget_vector(sn_irq_info, nasid, slice); in sn_set_msi_irq_affinity()
191 sn_msi_info[irq].sn_irq_info = new_irq_info; in sn_set_msi_irq_affinity()