Home
last modified time | relevance | path

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

/Linux-v5.10/arch/sparc/kernel/
Dpci_sun4v.h33 unsigned long msiqid,
37 unsigned long msiqid,
41 unsigned long msiqid,
44 unsigned long msiqid,
47 unsigned long msiqid,
50 unsigned long msiqid,
53 unsigned long msiqid,
56 unsigned long msiqid,
59 unsigned long msiqid,
Dpci_msi.c17 unsigned long msiqid = msiq_cookie->msiqid; in sparc64_msiq_interrupt() local
24 err = ops->get_head(pbm, msiqid, &head); in sparc64_msiq_interrupt()
32 err = ops->dequeue_msi(pbm, msiqid, &head, &msi); in sparc64_msiq_interrupt()
47 err = ops->set_head(pbm, msiqid, head); in sparc64_msiq_interrupt()
55 msiqid, err); in sparc64_msiq_interrupt()
61 head, msiqid, err); in sparc64_msiq_interrupt()
67 head, msiqid, err); in sparc64_msiq_interrupt()
130 u32 msiqid; in sparc64_setup_msi_irq() local
146 msiqid = pick_msiq(pbm); in sparc64_setup_msi_irq()
148 err = ops->msi_setup(pbm, msiqid, msi, in sparc64_setup_msi_irq()
[all …]
Dpci_impl.h37 int (*get_head)(struct pci_pbm_info *pbm, unsigned long msiqid,
39 int (*dequeue_msi)(struct pci_pbm_info *pbm, unsigned long msiqid,
41 int (*set_head)(struct pci_pbm_info *pbm, unsigned long msiqid,
43 int (*msi_setup)(struct pci_pbm_info *pbm, unsigned long msiqid,
48 int (*msiq_build_irq)(struct pci_pbm_info *pbm, unsigned long msiqid,
57 unsigned long msiqid; member
Dpci_fire.c150 static int pci_fire_get_head(struct pci_pbm_info *pbm, unsigned long msiqid, in pci_fire_get_head() argument
153 *head = upa_readq(pbm->pbm_regs + EVENT_QUEUE_HEAD(msiqid)); in pci_fire_get_head()
157 static int pci_fire_dequeue_msi(struct pci_pbm_info *pbm, unsigned long msiqid, in pci_fire_dequeue_msi() argument
163 base = (pbm->msi_queues + ((msiqid - pbm->msiq_first) * 8192)); in pci_fire_dequeue_msi()
192 static int pci_fire_set_head(struct pci_pbm_info *pbm, unsigned long msiqid, in pci_fire_set_head() argument
195 upa_writeq(head, pbm->pbm_regs + EVENT_QUEUE_HEAD(msiqid)); in pci_fire_set_head()
199 static int pci_fire_msi_setup(struct pci_pbm_info *pbm, unsigned long msiqid, in pci_fire_msi_setup() argument
206 val |= msiqid; in pci_fire_msi_setup()
276 unsigned long msiqid, in pci_fire_msiq_build_irq() argument
302 pbm->pbm_regs + EVENT_QUEUE_CONTROL_SET(msiqid)); in pci_fire_msiq_build_irq()
Dpci_sun4v.c961 static int pci_sun4v_get_head(struct pci_pbm_info *pbm, unsigned long msiqid, in pci_sun4v_get_head() argument
966 err = pci_sun4v_msiq_gethead(pbm->devhandle, msiqid, head); in pci_sun4v_get_head()
978 unsigned long msiqid, unsigned long *head, in pci_sun4v_dequeue_msi() argument
985 ep = (pbm->msi_queues + ((msiqid - pbm->msiq_first) * in pci_sun4v_dequeue_msi()
1017 static int pci_sun4v_set_head(struct pci_pbm_info *pbm, unsigned long msiqid, in pci_sun4v_set_head() argument
1022 err = pci_sun4v_msiq_sethead(pbm->devhandle, msiqid, head); in pci_sun4v_set_head()
1029 static int pci_sun4v_msi_setup(struct pci_pbm_info *pbm, unsigned long msiqid, in pci_sun4v_msi_setup() argument
1032 if (pci_sun4v_msi_setmsiq(pbm->devhandle, msi, msiqid, in pci_sun4v_msi_setup()
1045 unsigned long err, msiqid; in pci_sun4v_msi_teardown() local
1047 err = pci_sun4v_msi_getmsiq(pbm->devhandle, msi, &msiqid); in pci_sun4v_msi_teardown()
[all …]