Home
last modified time | relevance | path

Searched refs:device_get_devclass (Results 1 – 25 of 29) sorted by relevance

12

/freebsd-12.1/sys/dev/bhnd/cores/chipc/
H A Dchipc_slicer.c89 if (device_get_devclass(dev) != devclass_find("cfi")) in chipc_slicer_cfi()
98 if (device_get_devclass(parent) != devclass_find("bhnd_chipc")) { in chipc_slicer_cfi()
130 if (device_get_devclass(chipc) != devclass_find("bhnd_chipc")) { in chipc_slicer_spi()
H A Dbhnd_pmu_chipc.c77 if (device_get_devclass(chipc) != devclass_find("bhnd_chipc")) in bhnd_pmu_chipc_probe()
/freebsd-12.1/sys/dev/vnic/
H A Dthunder_bgx_fdt.c293 KASSERT(device_get_devclass(device_get_parent(dev)) == pci_class, in bgx_find_root_pcib()
302 if (device_get_devclass(bus) != pci_class) in bgx_find_root_pcib()
313 if (device_get_devclass(device_get_parent(pcib)) != pci_class) in bgx_find_root_pcib()
/freebsd-12.1/sys/dev/ata/
H A Data-pci.c228 if (device_get_devclass(child) == ata_devclass) { in ata_pci_alloc_resource()
286 if (device_get_devclass(child) == ata_devclass) { in ata_pci_release_resource()
344 if (device_get_devclass(child) == ata_devclass) in ata_pci_setup_intr()
367 if (device_get_devclass(child) == ata_devclass) in ata_pci_teardown_intr()
H A Data-all.c1180 if (device_get_devclass(device_get_parent(parent)) == in ataaction()
/freebsd-12.1/sys/amd64/vmm/io/
H A Diommu.c230 device_get_devclass(dev) == dc) in iommu_init()
/freebsd-12.1/sys/dev/bhnd/
H A Dbhnd_subr.c606 KASSERT(device_get_devclass(device_get_parent(dev)) == bhnd_devclass, in bhnd_find_bridge_root()
614 if (device_get_devclass(parent) == bhndb_class) in bhnd_find_bridge_root()
627 if (bus != NULL && device_get_devclass(bus) == bus_class) in bhnd_find_bridge_root()
871 if (device_get_devclass(parent) != bhnd_devclass) { in bhnd_device_matches()
/freebsd-12.1/sys/dev/sound/isa/
H A Dgusc.c436 devclass = device_get_devclass(child); in gusc_setup_intr()
458 devclass = device_get_devclass(scp->dev); in find_masterdev()
/freebsd-12.1/sys/compat/linsysfs/
H A Dlinsysfs.c421 devclass = device_get_devclass(parent); in linsysfs_run_bus()
514 devclass = device_get_devclass(dev); in linsysfs_run_bus()
/freebsd-12.1/sys/x86/iommu/
H A Dintel_drv.c622 if (device_get_devclass(device_get_parent(pcib)) != in dmar_dev_depth()
643 if (device_get_devclass(device_get_parent(pcib)) != in dmar_dev_path()
775 if (device_get_devclass(device_get_parent(dev)) != in dmar_find()
H A Dintel_intrmap.c246 src_class = device_get_devclass(src); in dmar_ir_find()
H A Dbusdma_dmar.c142 KASSERT(device_get_devclass(pci) == pci_class, in dmar_get_requester()
158 if (device_get_devclass(pcip) != pci_class) in dmar_get_requester()
/freebsd-12.1/sys/dev/bhnd/cores/chipc/pwrctl/
H A Dbhnd_pwrctl.c96 if (device_get_devclass(chipc) != devclass_find("bhnd_chipc")) in bhnd_pwrctl_probe()
/freebsd-12.1/sys/compat/linuxkpi/common/src/
H A Dlinux_pci.c143 devclass = device_get_devclass(parent); in linux_pci_attach()
/freebsd-12.1/sys/dev/bhnd/cores/pmu/
H A Dbhnd_pmu.c127 if (device_get_devclass(bus) == bhnd_class) in bhnd_pmu_attach()
/freebsd-12.1/sys/dev/mlx5/mlx5_core/
H A Dmlx5_fwdump.c242 if (device_get_devclass(dev) != mlx5_core_driver.bsdclass) in mlx5_dbsf_to_core()
/freebsd-12.1/sys/mips/broadcom/
H A Dbcm_mips.c509 if (device_get_devclass(bus) == bhnd_class) in bcm_mips_find_bhnd_parent()
/freebsd-12.1/sys/dev/pci/
H A Dvga_pci.c117 if (device_get_devclass(device_get_parent(pcib)) == in vga_pci_is_boot_display()
H A Dpci.c4365 if (device_get_devclass(device_get_parent(device_get_parent(dev))) != in pci_attach_common()
6177 KASSERT(device_get_devclass(device_get_parent(dev)) == pci_class, in pci_find_pcie_root_port()
6197 if (device_get_devclass(device_get_parent(pcib)) != pci_class) in pci_find_pcie_root_port()
/freebsd-12.1/sys/dev/bhnd/bhndb/
H A Dbhndb_pci.c284 for (bus_devclass = device_get_devclass(parent_bus); in bhndb_pci_probe()
1334 device_get_devclass(dev), eio, hint, &p->cid); in bhndb_pci_probe_alloc()
/freebsd-12.1/sys/dev/ichwd/
H A Dichwd.c570 if (pci == NULL || device_get_devclass(pci) != devclass_find("pci")) in ichwd_find_ich_lpc_bridge()
/freebsd-12.1/sys/arm64/cavium/
H A Dthunder_pcie_pem.c767 if (device_get_devclass(parent) == pci_class) in thunder_pem_attach()
/freebsd-12.1/sys/sys/
H A Dbus.h596 devclass_t device_get_devclass(device_t dev);
/freebsd-12.1/sys/dev/xen/netback/
H A Dnetback.c1129 devclass_get_name(device_get_devclass(dev))); in xnb_probe()
/freebsd-12.1/sys/kern/
H A Dsubr_bus.c2342 device_get_devclass(device_t dev) in device_get_devclass() function
3084 dc = device_get_devclass(dev); in device_set_unit()

12