Home
last modified time | relevance | path

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

12

/freebsd/sys/dev/bhnd/cores/chipc/
H A Dchipc_slicer.c87 if (device_get_devclass(dev) != devclass_find("cfi")) in chipc_slicer_cfi()
96 if (device_get_devclass(parent) != devclass_find("bhnd_chipc")) { in chipc_slicer_cfi()
128 if (device_get_devclass(chipc) != devclass_find("bhnd_chipc")) { in chipc_slicer_spi()
H A Dbhnd_pmu_chipc.c72 if (device_get_devclass(chipc) != devclass_find("bhnd_chipc")) in bhnd_pmu_chipc_probe()
/freebsd/sys/dev/vnic/
H A Dthunder_bgx_fdt.c292 KASSERT(device_get_devclass(device_get_parent(dev)) == pci_class, in bgx_find_root_pcib()
301 if (device_get_devclass(bus) != pci_class) in bgx_find_root_pcib()
312 if (device_get_devclass(device_get_parent(pcib)) != pci_class) in bgx_find_root_pcib()
/freebsd/sys/dev/hid/
H A Dhidbus.c294 is_bus = device_get_devclass(dev) == devclass_find("hidbus"); in hidbus_detach_children()
297 KASSERT(device_get_devclass(bus) == devclass_find("hidbus"), in hidbus_detach_children()
685 bus = device_get_devclass(dev) == devclass_find("hidbus") ? in hid_get_report_descr()
725 is_bus = device_get_devclass(dev) == devclass_find("hidbus"); in hid_set_report_descr()
852 is_child = device_get_devclass(dev) != devclass_find("hidbus"); in hidbus_lookup_id()
928 bus = device_get_devclass(dev) == devclass_find("hidbus") ? in hid_get_device_info()
H A Dietp.c459 if (device_get_devclass(iichid) != devclass_find("iichid")) in ietp_iic_probe()
H A Dhmt.c883 if (device_get_devclass(hconf) != hconf_devclass) in hmt_set_input_mode()
/freebsd/sys/dev/ata/
H A Data-pci.c222 if (device_get_devclass(child) == ata_devclass) { in ata_pci_alloc_resource()
281 if (device_get_devclass(child) == ata_devclass) { in ata_pci_release_resource()
334 if (device_get_devclass(child) == ata_devclass) in ata_pci_setup_intr()
357 if (device_get_devclass(child) == ata_devclass) in ata_pci_teardown_intr()
/freebsd/sys/compat/linsysfs/
H A Dlinsysfs.c275 devclass = device_get_devclass(parent); in linsysfs_run_bus()
368 devclass = device_get_devclass(dev); in linsysfs_run_bus()
/freebsd/sys/amd64/vmm/io/
H A Diommu.c226 device_get_devclass(dev) == dc) in iommu_init()
/freebsd/sys/dev/bhnd/
H A Dbhnd_subr.c602 KASSERT(device_get_devclass(device_get_parent(dev)) == in bhnd_find_bridge_root()
611 if (device_get_devclass(parent) == bhndb_class) in bhnd_find_bridge_root()
624 if (bus != NULL && device_get_devclass(bus) == bus_class) in bhnd_find_bridge_root()
865 if (device_get_devclass(parent) != devclass_find("bhnd")) { in bhnd_device_matches()
/freebsd/sys/dev/pci/
H A Dvga_pci.c114 if (device_get_devclass(device_get_parent(pcib)) == in vga_pci_is_boot_display()
189 if (device_get_devclass(device_get_parent(pcib)) == in vga_pci_map_bios()
/freebsd/sys/dev/iommu/
H A Dbusdma_iommu.c140 KASSERT(device_get_devclass(pci) == pci_class, in iommu_get_requester()
156 if (device_get_devclass(pcip) != pci_class) in iommu_get_requester()
311 if (device_get_devclass(parent) != devclass_find("pci")) in bus_dma_iommu_set_buswide()
/freebsd/sys/x86/iommu/
H A Dintel_drv.c631 if (device_get_devclass(device_get_parent(pcib)) != in dmar_dev_depth()
652 if (device_get_devclass(device_get_parent(pcib)) != in dmar_dev_path()
783 if (device_get_devclass(device_get_parent(dev)) != in dmar_find()
H A Dintel_intrmap.c245 src_class = device_get_devclass(src); in dmar_ir_find()
/freebsd/sys/dev/bhnd/cores/chipc/pwrctl/
H A Dbhnd_pwrctl.c92 if (device_get_devclass(chipc) != devclass_find("bhnd_chipc")) in bhnd_pwrctl_probe()
/freebsd/sys/dev/bhnd/cores/pmu/
H A Dbhnd_pmu.c122 if (device_get_devclass(bus) == bhnd_class) in bhnd_pmu_attach()
/freebsd/sys/dev/mlx5/mlx5_core/
H A Dmlx5_fwdump.c277 if (device_get_devclass(dev) != mlx5_core_driver.bsdclass) in mlx5_dbsf_to_core()
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dpci.h387 return (device_get_devclass(dev->bsddev) == devclass_find("pci")); in dev_is_pci()
530 if (device_get_devclass(device_get_parent(bridge)) != in pci_upstream_bridge()
/freebsd/sys/dev/bhnd/bhndb/
H A Dbhndb_pci.c281 for (bus_devclass = device_get_devclass(parent_bus); in bhndb_pci_probe()
1331 device_get_devclass(dev), eio, hint, &p->cid); in bhndb_pci_probe_alloc()
/freebsd/sys/dev/mpt/
H A Dmpt_pci.c291 mpt2 = devclass_get_softc(device_get_devclass(mpt->dev), mpt->unit - 1);
/freebsd/sys/dev/ichwd/
H A Dichwd.c570 if (pci == NULL || device_get_devclass(pci) != devclass_find("pci")) in ichwd_find_ich_lpc_bridge()
/freebsd/sys/arm64/iommu/
H A Dsmmu.c1856 if (device_get_devclass(device_get_parent(ctx->dev)) == pci_class) { in smmu_ctx_init()
1882 if (device_get_devclass(device_get_parent(ctx->dev)) == pci_class) in smmu_ctx_init()
/freebsd/sys/dev/acpica/
H A Dacpi_ec.c395 peer = devclass_get_device(device_get_devclass(dev), params->uid); in acpi_ec_probe()
/freebsd/sys/arm64/cavium/
H A Dthunder_pcie_pem.c796 if (device_get_devclass(parent) == pci_class) in thunder_pem_attach()
/freebsd/sys/dev/sdio/
H A Dsdiob.c935 bus_devclass = device_get_devclass(pdev); in sdio_newbus_sim_add()

12