Home
last modified time | relevance | path

Searched refs:msi (Results 1 – 25 of 92) sorted by relevance

1234

/linux-3.4.99/arch/powerpc/sysdev/
Dppc4xx_msi.c141 struct resource res, struct ppc4xx_msi *msi) in ppc4xx_setup_pcieh_hw() argument
157 msi->msi_dev = of_find_node_by_name(NULL, "ppc4xx-msi"); in ppc4xx_setup_pcieh_hw()
158 if (msi->msi_dev) in ppc4xx_setup_pcieh_hw()
161 msi->msi_regs = of_iomap(msi->msi_dev, 0); in ppc4xx_setup_pcieh_hw()
162 if (!msi->msi_regs) { in ppc4xx_setup_pcieh_hw()
167 (u32) (msi->msi_regs + PEIH_TERMADH), (u32) (msi->msi_regs)); in ppc4xx_setup_pcieh_hw()
170 msi->msi_addr_hi = 0x0; in ppc4xx_setup_pcieh_hw()
171 msi->msi_addr_lo = (u32) msi_phys; in ppc4xx_setup_pcieh_hw()
172 dev_dbg(&dev->dev, "PCIE-MSI: msi address 0x%x\n", msi->msi_addr_lo); in ppc4xx_setup_pcieh_hw()
175 out_be32(msi->msi_regs + PEIH_TERMADH, msi->msi_addr_hi); in ppc4xx_setup_pcieh_hw()
[all …]
Dfsl_msi.c310 struct fsl_msi *msi = platform_get_drvdata(ofdev); in fsl_of_msi_remove() local
314 if (msi->list.prev != NULL) in fsl_of_msi_remove()
315 list_del(&msi->list); in fsl_of_msi_remove()
317 virq = msi->msi_virqs[i]; in fsl_of_msi_remove()
324 if (msi->bitmap.bitmap) in fsl_of_msi_remove()
325 msi_bitmap_free(&msi->bitmap); in fsl_of_msi_remove()
326 if ((msi->feature & FSL_PIC_IP_MASK) != FSL_PIC_IP_VMPIC) in fsl_of_msi_remove()
327 iounmap(msi->msi_regs); in fsl_of_msi_remove()
328 kfree(msi); in fsl_of_msi_remove()
333 static int __devinit fsl_msi_setup_hwirq(struct fsl_msi *msi, in fsl_msi_setup_hwirq() argument
[all …]
DMakefile5 mpic-msi-obj-$(CONFIG_PCI_MSI) += mpic_msi.o mpic_u3msi.o mpic_pasemi_msi.o
6 obj-$(CONFIG_MPIC) += mpic.o $(mpic-msi-obj-y)
8 obj-$(CONFIG_MPIC) += mpic.o $(mpic-msi-obj-y) $(mpic-msgr-obj-y)
10 fsl-msi-obj-$(CONFIG_PCI_MSI) += fsl_msi.o
19 obj-$(CONFIG_FSL_PCI) += fsl_pci.o $(fsl-msi-obj-y)
/linux-3.4.99/Documentation/devicetree/bindings/powerpc/fsl/
Dmsi-pic.txt5 first is "fsl,CHIP-msi", where CHIP is the processor(mpc8610, mpc8572,
6 etc.) and the second is "fsl,mpic-msi" or "fsl,ipic-msi" depending on
14 - msi-available-ranges: use <start count> style section to define which
15 msi interrupt can be used in the 256 msi interrupts. This property is
22 be set as edge sensitive. If msi-available-ranges is present, only
31 - msi-address-64: 64-bit PCI address of the MSIIR register. The MSIIR register
41 msi@41600 {
42 compatible = "fsl,mpc8610-msi", "fsl,mpic-msi";
44 msi-available-ranges = <0 0x100>;
57 The Freescale hypervisor and msi-address-64
[all …]
/linux-3.4.99/arch/powerpc/boot/dts/fsl/
Dqoriq-mpic.dtsi54 msi0: msi@41600 {
55 compatible = "fsl,mpic-msi";
57 msi-available-ranges = <0 0x100>;
69 msi1: msi@41800 {
70 compatible = "fsl,mpic-msi";
72 msi-available-ranges = <0 0x100>;
84 msi2: msi@41a00 {
85 compatible = "fsl,mpic-msi";
87 msi-available-ranges = <0 0x100>;
Dpq3-mpic.dtsi66 msi@41600 {
67 compatible = "fsl,mpic-msi";
69 msi-available-ranges = <0 0x100>;
/linux-3.4.99/virt/kvm/
Dirq_comm.c125 trace_kvm_msi_set_irq(e->msi.address_lo, e->msi.data); in kvm_set_msi()
127 irq.dest_id = (e->msi.address_lo & in kvm_set_msi()
129 irq.vector = (e->msi.data & in kvm_set_msi()
131 irq.dest_mode = (1 << MSI_ADDR_DEST_MODE_SHIFT) & e->msi.address_lo; in kvm_set_msi()
132 irq.trig_mode = (1 << MSI_DATA_TRIGGER_SHIFT) & e->msi.data; in kvm_set_msi()
133 irq.delivery_mode = e->msi.data & 0x700; in kvm_set_msi()
355 e->msi.address_lo = ue->u.msi.address_lo; in setup_routing_entry()
356 e->msi.address_hi = ue->u.msi.address_hi; in setup_routing_entry()
357 e->msi.data = ue->u.msi.data; in setup_routing_entry()
/linux-3.4.99/arch/sparc/kernel/
Dpci_fire.c156 unsigned long *head, unsigned long *msi) in pci_fire_dequeue_msi() argument
174 *msi = msi_num = ((ep->word0 & MSIQ_WORD0_DATA0) >> in pci_fire_dequeue_msi()
198 unsigned long msi, int is_msi64) in pci_fire_msi_setup()
202 val = upa_readq(pbm->pbm_regs + MSI_MAP(msi)); in pci_fire_msi_setup()
205 upa_writeq(val, pbm->pbm_regs + MSI_MAP(msi)); in pci_fire_msi_setup()
207 upa_writeq(MSI_CLEAR_EQWR_N, pbm->pbm_regs + MSI_CLEAR(msi)); in pci_fire_msi_setup()
209 val = upa_readq(pbm->pbm_regs + MSI_MAP(msi)); in pci_fire_msi_setup()
211 upa_writeq(val, pbm->pbm_regs + MSI_MAP(msi)); in pci_fire_msi_setup()
216 static int pci_fire_msi_teardown(struct pci_pbm_info *pbm, unsigned long msi) in pci_fire_msi_teardown() argument
220 val = upa_readq(pbm->pbm_regs + MSI_MAP(msi)); in pci_fire_msi_teardown()
[all …]
Dpci_msi.c29 unsigned long msi; in sparc64_msiq_interrupt() local
31 err = ops->dequeue_msi(pbm, msiqid, &head, &msi); in sparc64_msiq_interrupt()
35 irq = pbm->msi_irq_table[msi - pbm->msi_first]; in sparc64_msiq_interrupt()
128 int msi, err; in sparc64_setup_msi_irq() local
143 msi = err; in sparc64_setup_msi_irq()
147 err = ops->msi_setup(pbm, msiqid, msi, in sparc64_setup_msi_irq()
152 pbm->msi_irq_table[msi - pbm->msi_first] = *irq_p; in sparc64_setup_msi_irq()
161 msg.data = msi; in sparc64_setup_msi_irq()
169 free_msi(pbm, msi); in sparc64_setup_msi_irq()
Dpci_impl.h39 unsigned long *head, unsigned long *msi);
43 unsigned long msi, int is_msi64);
44 int (*msi_teardown)(struct pci_pbm_info *pbm, unsigned long msi);
Dpci_sun4v.c691 unsigned long *msi) in pci_sun4v_dequeue_msi() argument
710 *msi = ep->msi_data; in pci_sun4v_dequeue_msi()
742 unsigned long msi, int is_msi64) in pci_sun4v_msi_setup()
744 if (pci_sun4v_msi_setmsiq(pbm->devhandle, msi, msiqid, in pci_sun4v_msi_setup()
748 if (pci_sun4v_msi_setstate(pbm->devhandle, msi, HV_MSISTATE_IDLE)) in pci_sun4v_msi_setup()
750 if (pci_sun4v_msi_setvalid(pbm->devhandle, msi, HV_MSIVALID_VALID)) in pci_sun4v_msi_setup()
755 static int pci_sun4v_msi_teardown(struct pci_pbm_info *pbm, unsigned long msi) in pci_sun4v_msi_teardown() argument
759 err = pci_sun4v_msi_getmsiq(pbm->devhandle, msi, &msiqid); in pci_sun4v_msi_teardown()
763 pci_sun4v_msi_setvalid(pbm->devhandle, msi, HV_MSIVALID_INVALID); in pci_sun4v_msi_teardown()
/linux-3.4.99/arch/powerpc/platforms/cell/
Daxon_msi.c99 u32 write_offset, msi; in axon_msi_cascade() local
111 msi = le32_to_cpu(msic->fifo_virt[idx]); in axon_msi_cascade()
112 msi &= 0xFFFF; in axon_msi_cascade()
115 write_offset, msic->read_offset, msi); in axon_msi_cascade()
117 if (msi < nr_irqs && irq_get_chip_data(msi) == msic) { in axon_msi_cascade()
118 generic_handle_irq(msi); in axon_msi_cascade()
129 pr_devel("axon_msi: invalid irq 0x%x!\n", msi); in axon_msi_cascade()
135 msi, retry); in axon_msi_cascade()
/linux-3.4.99/arch/powerpc/boot/dts/
Dmpc8572ds_camp_core1.dts6 * This dts allows core1 to have l2, dma2, eth2, eth3, pci2, msi.
94 0xe0 0xe1 0xe2 0xe3 /* msi */
100 msi@41600 {
101 msi-available-ranges = <0x80 0x80>;
Dmpc8572ds_camp_core0.dts63 0xe4 0xe5 0xe6 0xe7 /* msi */
67 msi@41600 {
68 msi-available-ranges = <0 0x80>;
Dp2020rdb_camp_core0.dts50 0xe0 0xe1 0xe2 0xe3 /* msi */
55 msi@41600 {
Dp1020rdb_camp_core1.dts119 0xe0 0xe1 0xe2 /* msi */
125 msi@41600 {
Dp1020rdb-pc_camp_core1.dts119 0xe0 0xe1 0xe2 /* msi */
126 msi@41600 {
/linux-3.4.99/drivers/media/rc/keymaps/
DMakefile55 rc-msi-digivox-ii.o \
56 rc-msi-digivox-iii.o \
57 rc-msi-tvanywhere.o \
58 rc-msi-tvanywhere-plus.o \
/linux-3.4.99/arch/mips/pci/
Dmsi-octeon.c365 struct irq_chip *msi; in octeon_msi_initialize() local
376 msi = &octeon_irq_chip_msi_pcie; in octeon_msi_initialize()
387 msi = &octeon_irq_chip_msi_pci; in octeon_msi_initialize()
391 irq_set_chip_and_handler(irq, msi, handle_simple_irq); in octeon_msi_initialize()
/linux-3.4.99/drivers/net/ethernet/chelsio/cxgb4vf/
Dcxgb4vf_main.c92 static int msi = MSI_DEFAULT; variable
94 module_param(msi, int, 0644);
95 MODULE_PARM_DESC(msi, "whether to use MSI-X or MSI");
270 int qs, msi; in name_msix_vecs() local
272 for (qs = 0, msi = MSIX_IQFLINT; qs < pi->nqsets; qs++, msi++) { in name_msix_vecs()
273 snprintf(adapter->msix_info[msi].desc, namelen, in name_msix_vecs()
275 adapter->msix_info[msi].desc[namelen] = 0; in name_msix_vecs()
286 int rxq, msi, err; in request_msix_queue_irqs() local
299 msi = MSIX_IQFLINT; in request_msix_queue_irqs()
301 err = request_irq(adapter->msix_info[msi].vec, in request_msix_queue_irqs()
[all …]
/linux-3.4.99/drivers/platform/x86/
DMakefile10 obj-$(CONFIG_MSI_LAPTOP) += msi-laptop.o
31 obj-$(CONFIG_MSI_WMI) += msi-wmi.o
/linux-3.4.99/arch/arm/mach-iop13xx/
DMakefile13 obj-$(CONFIG_PCI_MSI) += msi.o
/linux-3.4.99/drivers/staging/crystalhd/
Dcrystalhd_lnx.h72 unsigned int msi; member
/linux-3.4.99/arch/powerpc/platforms/wsp/
DMakefile10 obj-$(CONFIG_PCI_MSI) += msi.o
/linux-3.4.99/Documentation/misc-devices/
Dspear-pcie-gadget.txt110 if MSI is to be used as interrupt, program no of msi vector needed (say4)
124 wait till msi is enabled
128 to send msi vector 2

1234