Lines Matching refs:its_pic
326 return n + its->its_pic->pic_irqbase;
335 KASSERT(lpi >= its->its_pic->pic_irqbase);
337 pa = its->its_pa[lpi - its->its_pic->pic_irqbase];
338 its->its_pa[lpi - its->its_pic->pic_irqbase] = NULL;
341 vmem_free(its->its_gic->sc_lpi_pool, lpi - its->its_pic->pic_irqbase, 1);
397 const struct pci_attach_args *pa = its->its_pa[lpi - its->its_pic->pic_irqbase];
419 lpi - its->its_pic->pic_irqbase);
425 lpi - its->its_pic->pic_irqbase);
434 const struct pci_attach_args *pa = its->its_pa[lpi - its->its_pic->pic_irqbase];
452 const struct pci_attach_args *pa = its->its_pa[lpi - its->its_pic->pic_irqbase];
466 bus_space_write_4(bst, bsh, entry_base + PCI_MSIX_TABLE_ENTRY_DATA, lpi - its->its_pic->pic_irqbase);
479 const struct pci_attach_args *pa = its->its_pa[lpi - its->its_pic->pic_irqbase];
531 its->its_devid[lpi - its->its_pic->pic_irqbase] = devid;
532 its->its_targets[lpi - its->its_pic->pic_irqbase] = ci;
537 gits_command_mapti(its, devid, lpi - its->its_pic->pic_irqbase, lpi, cpu_index(ci));
604 its->its_devid[lpi - its->its_pic->pic_irqbase] = devid;
605 its->its_targets[lpi - its->its_pic->pic_irqbase] = ci;
610 gits_command_mapti(its, devid, lpi - its->its_pic->pic_irqbase, lpi, cpu_index(ci));
631 intrh = pic_establish_intr(its->its_pic, lpi - its->its_pic->pic_irqbase, ipl,
637 KASSERT(its->its_pa[lpi - its->its_pic->pic_irqbase] != NULL);
638 const uint32_t devid = its->its_devid[lpi - its->its_pic->pic_irqbase];
639 gits_command_inv(its, devid, lpi - its->its_pic->pic_irqbase);
653 KASSERT(lpi >= its->its_pic->pic_irqbase);
659 its->its_targets[lpi - its->its_pic->pic_irqbase] = NULL;
660 its->its_devid[lpi - its->its_pic->pic_irqbase] = 0;
662 its->its_pic->pic_sources[lpi - its->its_pic->pic_irqbase];
832 for (irq = 0; irq < its->its_pic->pic_maxsources; irq++) {
904 its->its_pic = &sc->sc_lpi;
905 snprintf(its->its_pic->pic_name, sizeof(its->its_pic->pic_name), "gicv3-its");
906 KASSERT(its->its_pic->pic_maxsources > 0);
907 its->its_pa = kmem_zalloc(sizeof(struct pci_attach_args *) * its->its_pic->pic_maxsources, KM_SLEEP);
908 its->its_targets = kmem_zalloc(sizeof(struct cpu_info *) * its->its_pic->pic_maxsources, KM_SLEEP);
909 its->its_devid = kmem_zalloc(sizeof(uint32_t) * its->its_pic->pic_maxsources, KM_SLEEP);