Home
last modified time | relevance | path

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

/linux-6.12.1/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.c19 unsigned long msiqid = msiq_cookie->msiqid; in sparc64_msiq_interrupt() local
26 err = ops->get_head(pbm, msiqid, &head); in sparc64_msiq_interrupt()
34 err = ops->dequeue_msi(pbm, msiqid, &head, &msi); in sparc64_msiq_interrupt()
49 err = ops->set_head(pbm, msiqid, head); in sparc64_msiq_interrupt()
57 msiqid, err); in sparc64_msiq_interrupt()
63 head, msiqid, err); in sparc64_msiq_interrupt()
69 head, msiqid, err); in sparc64_msiq_interrupt()
132 u32 msiqid; in sparc64_setup_msi_irq() local
148 msiqid = pick_msiq(pbm); in sparc64_setup_msi_irq()
150 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.c151 static int pci_fire_get_head(struct pci_pbm_info *pbm, unsigned long msiqid, in pci_fire_get_head() argument
154 *head = upa_readq(pbm->pbm_regs + EVENT_QUEUE_HEAD(msiqid)); in pci_fire_get_head()
158 static int pci_fire_dequeue_msi(struct pci_pbm_info *pbm, unsigned long msiqid, in pci_fire_dequeue_msi() argument
164 base = (pbm->msi_queues + ((msiqid - pbm->msiq_first) * 8192)); in pci_fire_dequeue_msi()
193 static int pci_fire_set_head(struct pci_pbm_info *pbm, unsigned long msiqid, in pci_fire_set_head() argument
196 upa_writeq(head, pbm->pbm_regs + EVENT_QUEUE_HEAD(msiqid)); in pci_fire_set_head()
200 static int pci_fire_msi_setup(struct pci_pbm_info *pbm, unsigned long msiqid, in pci_fire_msi_setup() argument
207 val |= msiqid; in pci_fire_msi_setup()
277 unsigned long msiqid, in pci_fire_msiq_build_irq() argument
303 pbm->pbm_regs + EVENT_QUEUE_CONTROL_SET(msiqid)); in pci_fire_msiq_build_irq()
Dpci_sun4v.c960 static int pci_sun4v_get_head(struct pci_pbm_info *pbm, unsigned long msiqid, in pci_sun4v_get_head() argument
965 err = pci_sun4v_msiq_gethead(pbm->devhandle, msiqid, head); in pci_sun4v_get_head()
977 unsigned long msiqid, unsigned long *head, in pci_sun4v_dequeue_msi() argument
984 ep = (pbm->msi_queues + ((msiqid - pbm->msiq_first) * in pci_sun4v_dequeue_msi()
1016 static int pci_sun4v_set_head(struct pci_pbm_info *pbm, unsigned long msiqid, in pci_sun4v_set_head() argument
1021 err = pci_sun4v_msiq_sethead(pbm->devhandle, msiqid, head); in pci_sun4v_set_head()
1028 static int pci_sun4v_msi_setup(struct pci_pbm_info *pbm, unsigned long msiqid, in pci_sun4v_msi_setup() argument
1031 if (pci_sun4v_msi_setmsiq(pbm->devhandle, msi, msiqid, in pci_sun4v_msi_setup()
1044 unsigned long err, msiqid; in pci_sun4v_msi_teardown() local
1046 err = pci_sun4v_msi_getmsiq(pbm->devhandle, msi, &msiqid); in pci_sun4v_msi_teardown()
[all …]