Home
last modified time | relevance | path

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

12

/freebsd-13.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.c74 if (device_get_devclass(chipc) != devclass_find("bhnd_chipc")) in bhnd_pmu_chipc_probe()
/freebsd-13.1/sys/dev/vnic/
H A Dthunder_bgx_fdt.c295 KASSERT(device_get_devclass(device_get_parent(dev)) == pci_class, in bgx_find_root_pcib()
304 if (device_get_devclass(bus) != pci_class) in bgx_find_root_pcib()
315 if (device_get_devclass(device_get_parent(pcib)) != pci_class) in bgx_find_root_pcib()
/freebsd-13.1/sys/dev/hid/
H A Dhidbus.c295 is_bus = device_get_devclass(dev) == hidbus_devclass; in hidbus_detach_children()
298 KASSERT(device_get_devclass(bus) == hidbus_devclass, in hidbus_detach_children()
690 bus = device_get_devclass(dev) == hidbus_devclass ? in hid_get_report_descr()
730 is_bus = device_get_devclass(dev) == hidbus_devclass; in hid_set_report_descr()
808 is_child = device_get_devclass(dev) != hidbus_devclass; in hidbus_lookup_id()
884 bus = device_get_devclass(dev) == hidbus_devclass ? in hid_get_device_info()
H A Dhmt.c886 if (device_get_devclass(hconf) != hconf_devclass) in hmt_set_input_mode()
/freebsd-13.1/sys/dev/ata/
H A Data-pci.c224 if (device_get_devclass(child) == ata_devclass) { in ata_pci_alloc_resource()
282 if (device_get_devclass(child) == ata_devclass) { in ata_pci_release_resource()
340 if (device_get_devclass(child) == ata_devclass) in ata_pci_setup_intr()
363 if (device_get_devclass(child) == ata_devclass) in ata_pci_teardown_intr()
H A Data-all.c1183 if (device_get_devclass(device_get_parent(parent)) == in ataaction()
/freebsd-13.1/sys/amd64/vmm/io/
H A Diommu.c231 device_get_devclass(dev) == dc) in iommu_init()
/freebsd-13.1/sys/dev/bhnd/
H A Dbhnd_subr.c605 KASSERT(device_get_devclass(device_get_parent(dev)) == bhnd_devclass, in bhnd_find_bridge_root()
613 if (device_get_devclass(parent) == bhndb_class) in bhnd_find_bridge_root()
626 if (bus != NULL && device_get_devclass(bus) == bus_class) in bhnd_find_bridge_root()
867 if (device_get_devclass(parent) != bhnd_devclass) { in bhnd_device_matches()
/freebsd-13.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-13.1/sys/dev/pci/
H A Dvga_pci.c116 if (device_get_devclass(device_get_parent(pcib)) == in vga_pci_is_boot_display()
191 if (device_get_devclass(device_get_parent(pcib)) == in vga_pci_map_bios()
/freebsd-13.1/sys/dev/sound/isa/
H A Dgusc.c435 devclass = device_get_devclass(child); in gusc_setup_intr()
457 devclass = device_get_devclass(scp->dev); in find_masterdev()
/freebsd-13.1/sys/dev/iommu/
H A Dbusdma_iommu.c142 KASSERT(device_get_devclass(pci) == pci_class, in iommu_get_requester()
158 if (device_get_devclass(pcip) != pci_class) in iommu_get_requester()
313 if (device_get_devclass(parent) != devclass_find("pci")) in bus_dma_iommu_set_buswide()
/freebsd-13.1/sys/x86/iommu/
H A Dintel_drv.c620 if (device_get_devclass(device_get_parent(pcib)) != in dmar_dev_depth()
641 if (device_get_devclass(device_get_parent(pcib)) != in dmar_dev_path()
772 if (device_get_devclass(device_get_parent(dev)) != in dmar_find()
H A Dintel_intrmap.c248 src_class = device_get_devclass(src); in dmar_ir_find()
/freebsd-13.1/sys/dev/bhnd/cores/chipc/pwrctl/
H A Dbhnd_pwrctl.c95 if (device_get_devclass(chipc) != devclass_find("bhnd_chipc")) in bhnd_pwrctl_probe()
/freebsd-13.1/sys/dev/bhnd/cores/pmu/
H A Dbhnd_pmu.c127 if (device_get_devclass(bus) == bhnd_class) in bhnd_pmu_attach()
/freebsd-13.1/sys/mips/broadcom/
H A Dbcm_mips.c507 if (device_get_devclass(bus) == bhnd_class) in bcm_mips_find_bhnd_parent()
/freebsd-13.1/sys/dev/mlx5/mlx5_core/
H A Dmlx5_fwdump.c280 if (device_get_devclass(dev) != mlx5_core_driver.bsdclass) in mlx5_dbsf_to_core()
/freebsd-13.1/sys/dev/bhnd/bhndb/
H A Dbhndb_pci.c283 for (bus_devclass = device_get_devclass(parent_bus); in bhndb_pci_probe()
1333 device_get_devclass(dev), eio, hint, &p->cid); in bhndb_pci_probe_alloc()
/freebsd-13.1/sys/dev/ichwd/
H A Dichwd.c572 if (pci == NULL || device_get_devclass(pci) != devclass_find("pci")) in ichwd_find_ich_lpc_bridge()
/freebsd-13.1/sys/arm64/cavium/
H A Dthunder_pcie_pem.c764 if (device_get_devclass(parent) == pci_class) in thunder_pem_attach()
/freebsd-13.1/sys/dev/sdio/
H A Dsdiob.c943 bus_devclass = device_get_devclass(pdev); in sdio_newbus_sim_add()
/freebsd-13.1/sys/compat/linuxkpi/common/include/linux/
H A Dpci.h538 if (device_get_devclass(device_get_parent(bridge)) != in pci_upstream_bridge()
/freebsd-13.1/sys/sys/
H A Dbus.h586 devclass_t device_get_devclass(device_t dev);

12