Home
last modified time | relevance | path

Searched refs:sn_irq_info (Results 1 – 15 of 15) sorted by relevance

/linux-2.6.39/arch/ia64/sn/kernel/
Dirq.c26 static void register_intr_pda(struct sn_irq_info *sn_irq_info);
27 static void unregister_intr_pda(struct sn_irq_info *sn_irq_info);
34 struct sn_irq_info *sn_irq_info, in sn_intr_alloc() argument
44 (u64) local_widget, __pa(sn_irq_info), (u64) req_irq, in sn_intr_alloc()
51 struct sn_irq_info *sn_irq_info) in sn_intr_free() argument
59 (u64) local_widget, (u64) sn_irq_info->irq_irq, in sn_intr_free()
60 (u64) sn_irq_info->irq_cookie, 0, 0); in sn_intr_free()
64 struct sn_irq_info *sn_irq_info, in sn_intr_redirect() argument
73 (u64) local_widget, __pa(sn_irq_info), in sn_intr_redirect()
117 struct sn_irq_info *sn_retarget_vector(struct sn_irq_info *sn_irq_info, in sn_retarget_vector() argument
[all …]
Dmsi_sn.c24 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()
[all …]
Dtiocx.c247 u64 sn_irq_info, in tiocx_intr_alloc() argument
257 widget, sn_irq_info, req_irq, in tiocx_intr_alloc()
263 struct sn_irq_info *sn_irq_info) in tiocx_intr_free() argument
271 widget, sn_irq_info->irq_irq, in tiocx_intr_free()
272 sn_irq_info->irq_cookie, 0, 0); in tiocx_intr_free()
275 struct sn_irq_info *tiocx_irq_alloc(nasid_t nasid, int widget, int irq, in tiocx_irq_alloc()
278 struct sn_irq_info *sn_irq_info; in tiocx_irq_alloc() local
280 int sn_irq_size = sizeof(struct sn_irq_info); in tiocx_irq_alloc()
285 sn_irq_info = kzalloc(sn_irq_size, GFP_KERNEL); in tiocx_irq_alloc()
286 if (sn_irq_info == NULL) in tiocx_irq_alloc()
[all …]
Dio_acpi_init.c171 struct sn_irq_info **sn_irq_info) in sn_extract_device_info() argument
176 struct sn_irq_info *irq_info, *irq_info_prom; in sn_extract_device_info()
221 irq_info = kzalloc(sizeof(struct sn_irq_info), GFP_KERNEL); in sn_extract_device_info()
227 memcpy(irq_info, irq_info_prom, sizeof(struct sn_irq_info)); in sn_extract_device_info()
231 *sn_irq_info = irq_info; in sn_extract_device_info()
353 struct sn_irq_info **sn_irq_info) in sn_acpi_get_pcidev_info() argument
403 if (sn_extract_device_info(pcidev_match.handle, pcidev_info, sn_irq_info)) in sn_acpi_get_pcidev_info()
430 struct sn_irq_info *sn_irq_info = NULL; in sn_acpi_slot_fixup() local
433 if (sn_acpi_get_pcidev_info(dev, &pcidev_info, &sn_irq_info)) { in sn_acpi_slot_fixup()
453 sn_pci_fixup_slot(dev, pcidev_info, sn_irq_info); in sn_acpi_slot_fixup()
Dio_init.c65 u64 sn_irq_info) in sal_get_pcidev_info() argument
75 sn_irq_info, 0, 0); in sal_get_pcidev_info()
206 struct sn_irq_info *sn_irq_info; in sn_io_slot_fixup() local
213 sn_irq_info = kzalloc(sizeof(struct sn_irq_info), GFP_KERNEL); in sn_io_slot_fixup()
214 if (!sn_irq_info) in sn_io_slot_fixup()
222 (u64) __pa(sn_irq_info)); in sn_io_slot_fixup()
284 sn_pci_fixup_slot(dev, pcidev_info, sn_irq_info); in sn_io_slot_fixup()
Dio_common.c227 struct sn_irq_info *sn_irq_info) in sn_pci_fixup_slot() argument
263 if (bs && sn_irq_info->irq_irq) { in sn_pci_fixup_slot()
264 pcidev_info->pdi_sn_irq_info = sn_irq_info; in sn_pci_fixup_slot()
266 sn_irq_fixup(dev, sn_irq_info); in sn_pci_fixup_slot()
269 kfree(sn_irq_info); in sn_pci_fixup_slot()
/linux-2.6.39/arch/ia64/include/asm/sn/
Dintr.h37 struct sn_irq_info { struct
38 struct sn_irq_info *irq_next; /* deprecated DO NOT USE */ argument
59 struct sn_irq_info *, argument
61 extern void sn_intr_free(nasid_t, int, struct sn_irq_info *);
62 extern struct sn_irq_info *sn_retarget_vector(struct sn_irq_info *, nasid_t, int);
Dpcidev.h63 struct sn_irq_info *pdi_sn_irq_info;
70 struct sn_irq_info *sn_irq_info);
82 struct sn_irq_info *);
Dpcibr_provider.h140 extern void pcibr_force_interrupt(struct sn_irq_info *sn_irq_info);
141 extern void pcibr_change_devices_irq(struct sn_irq_info *sn_irq_info);
Dpcibus_provider_defs.h52 void (*force_interrupt)(struct sn_irq_info *);
53 void (*target_interrupt)(struct sn_irq_info *);
Dtiocx.h60 extern struct sn_irq_info *tiocx_irq_alloc(nasid_t, int, int, nasid_t, int);
61 extern void tiocx_irq_free(struct sn_irq_info *);
/linux-2.6.39/arch/ia64/sn/pci/pcibr/
Dpcibr_provider.c196 void pcibr_force_interrupt(struct sn_irq_info *sn_irq_info) in pcibr_force_interrupt() argument
200 int bit = sn_irq_info->irq_int_bit; in pcibr_force_interrupt()
202 if (! sn_irq_info->irq_bridge) in pcibr_force_interrupt()
205 pcidev_info = (struct pcidev_info *)sn_irq_info->irq_pciioinfo; in pcibr_force_interrupt()
214 void pcibr_target_interrupt(struct sn_irq_info *sn_irq_info) in pcibr_target_interrupt() argument
218 int bit = sn_irq_info->irq_int_bit; in pcibr_target_interrupt()
219 u64 xtalk_addr = sn_irq_info->irq_xtalkaddr; in pcibr_target_interrupt()
221 pcidev_info = (struct pcidev_info *)sn_irq_info->irq_pciioinfo; in pcibr_target_interrupt()
236 pcibr_force_interrupt(sn_irq_info); in pcibr_target_interrupt()
/linux-2.6.39/arch/ia64/sn/pci/
Dtioce_provider.c858 tioce_force_interrupt(struct sn_irq_info *sn_irq_info) in tioce_force_interrupt() argument
866 if (!sn_irq_info->irq_bridge) in tioce_force_interrupt()
869 if (sn_irq_info->irq_bridge_type != PCIIO_ASIC_TYPE_TIOCE) in tioce_force_interrupt()
872 pcidev_info = (struct pcidev_info *)sn_irq_info->irq_pciioinfo; in tioce_force_interrupt()
885 u64 int_bit_mask = (1ULL << sn_irq_info->irq_int_bit); in tioce_force_interrupt()
890 u64 force_irq = (1 << 8) | sn_irq_info->irq_irq; in tioce_force_interrupt()
891 u64 ctalk = sn_irq_info->irq_xtalkaddr; in tioce_force_interrupt()
910 switch (sn_irq_info->irq_int_bit) { in tioce_force_interrupt()
953 tioce_target_interrupt(struct sn_irq_info *sn_irq_info) in tioce_target_interrupt() argument
962 pcidev_info = (struct pcidev_info *)sn_irq_info->irq_pciioinfo; in tioce_target_interrupt()
[all …]
/linux-2.6.39/drivers/char/
Dmbcs.h526 struct sn_irq_info *get_sn_irq;
527 struct sn_irq_info *put_sn_irq;
528 struct sn_irq_info *algo_sn_irq;
Dmbcs.c580 struct sn_irq_info *sn_irq; in mbcs_intr_alloc()