Home
last modified time | relevance | path

Searched refs:seccap_reg (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/x86/iommu/
H A Damd_drv.c376 sc->seccap_reg + PCIR_AMDIOMMU_MISC0, 4) & in amdiommu_setup_intr()
412 int seccap_reg; in amdiommu_probe() local
425 error = pci_find_cap(dev, PCIY_SECDEV, &seccap_reg); in amdiommu_probe()
426 if (error != 0 || seccap_reg == 0) in amdiommu_probe()
429 cap_h = pci_read_config(dev, seccap_reg + PCIR_AMDIOMMU_CAP_HEADER, in amdiommu_probe()
454 error = pci_find_cap(dev, PCIY_SECDEV, &sc->seccap_reg); in amdiommu_attach()
455 if (error != 0 || sc->seccap_reg == 0) in amdiommu_attach()
458 base_low = pci_read_config(dev, sc->seccap_reg + in amdiommu_attach()
460 base_high = pci_read_config(dev, sc->seccap_reg + in amdiommu_attach()
H A Damd_iommu.h67 int seccap_reg; member