Home
last modified time | relevance | path

Searched refs:msiqid (Results 1 – 5 of 5) sorted by relevance

/arch/sparc/kernel/
Dpci_sun4v.h32 unsigned long msiqid,
36 unsigned long msiqid,
40 unsigned long msiqid,
43 unsigned long msiqid,
46 unsigned long msiqid,
49 unsigned long msiqid,
52 unsigned long msiqid,
55 unsigned long msiqid,
58 unsigned long msiqid,
Dpci_msi.c16 unsigned long msiqid = msiq_cookie->msiqid; in sparc64_msiq_interrupt() local
23 err = ops->get_head(pbm, msiqid, &head); in sparc64_msiq_interrupt()
31 err = ops->dequeue_msi(pbm, msiqid, &head, &msi); in sparc64_msiq_interrupt()
46 err = ops->set_head(pbm, msiqid, head); in sparc64_msiq_interrupt()
54 msiqid, err); in sparc64_msiq_interrupt()
60 head, msiqid, err); in sparc64_msiq_interrupt()
66 head, msiqid, err); in sparc64_msiq_interrupt()
129 u32 msiqid; in sparc64_setup_msi_irq() local
145 msiqid = pick_msiq(pbm); in sparc64_setup_msi_irq()
147 err = ops->msi_setup(pbm, msiqid, msi, in sparc64_setup_msi_irq()
[all …]
Dpci_impl.h36 int (*get_head)(struct pci_pbm_info *pbm, unsigned long msiqid,
38 int (*dequeue_msi)(struct pci_pbm_info *pbm, unsigned long msiqid,
40 int (*set_head)(struct pci_pbm_info *pbm, unsigned long msiqid,
42 int (*msi_setup)(struct pci_pbm_info *pbm, unsigned long msiqid,
47 int (*msiq_build_irq)(struct pci_pbm_info *pbm, unsigned long msiqid,
56 unsigned long msiqid; member
Dpci_fire.c148 static int pci_fire_get_head(struct pci_pbm_info *pbm, unsigned long msiqid, in pci_fire_get_head() argument
151 *head = upa_readq(pbm->pbm_regs + EVENT_QUEUE_HEAD(msiqid)); in pci_fire_get_head()
155 static int pci_fire_dequeue_msi(struct pci_pbm_info *pbm, unsigned long msiqid, in pci_fire_dequeue_msi() argument
161 base = (pbm->msi_queues + ((msiqid - pbm->msiq_first) * 8192)); in pci_fire_dequeue_msi()
190 static int pci_fire_set_head(struct pci_pbm_info *pbm, unsigned long msiqid, in pci_fire_set_head() argument
193 upa_writeq(head, pbm->pbm_regs + EVENT_QUEUE_HEAD(msiqid)); in pci_fire_set_head()
197 static int pci_fire_msi_setup(struct pci_pbm_info *pbm, unsigned long msiqid, in pci_fire_msi_setup() argument
204 val |= msiqid; in pci_fire_msi_setup()
274 unsigned long msiqid, in pci_fire_msiq_build_irq() argument
300 pbm->pbm_regs + EVENT_QUEUE_CONTROL_SET(msiqid)); in pci_fire_msiq_build_irq()
Dpci_sun4v.c672 static int pci_sun4v_get_head(struct pci_pbm_info *pbm, unsigned long msiqid, in pci_sun4v_get_head() argument
677 err = pci_sun4v_msiq_gethead(pbm->devhandle, msiqid, head); in pci_sun4v_get_head()
689 unsigned long msiqid, unsigned long *head, in pci_sun4v_dequeue_msi() argument
696 ep = (pbm->msi_queues + ((msiqid - pbm->msiq_first) * in pci_sun4v_dequeue_msi()
728 static int pci_sun4v_set_head(struct pci_pbm_info *pbm, unsigned long msiqid, in pci_sun4v_set_head() argument
733 err = pci_sun4v_msiq_sethead(pbm->devhandle, msiqid, head); in pci_sun4v_set_head()
740 static int pci_sun4v_msi_setup(struct pci_pbm_info *pbm, unsigned long msiqid, in pci_sun4v_msi_setup() argument
743 if (pci_sun4v_msi_setmsiq(pbm->devhandle, msi, msiqid, in pci_sun4v_msi_setup()
756 unsigned long err, msiqid; in pci_sun4v_msi_teardown() local
758 err = pci_sun4v_msi_getmsiq(pbm->devhandle, msi, &msiqid); in pci_sun4v_msi_teardown()
[all …]