Searched defs:dev (Results 1 - 25 of 2378) sorted by relevance

1234567891011>>

/freebsd-head/sys/dev/xen/pci/
H A Dxen_pci.c38 #include <dev/pci/pcireg.h>
39 #include <dev/pci/pcivar.h>
40 #include <dev/pci/pci_private.h>
50 xen_pci_probe(device_t dev) argument
56 device_set_desc(dev, "Xen PCI bus");
/freebsd-head/sys/mips/mediatek/
H A Dpalmbus.c37 #include <dev/ofw/openfirm.h>
38 #include <dev/ofw/ofw_bus.h>
39 #include <dev/ofw/ofw_bus_subr.h>
41 #include <dev/fdt/simplebus.h>
53 palmbus_probe(device_t dev) argument
56 if (!ofw_bus_status_okay(dev))
59 if (!(ofw_bus_is_compatible(dev, "palmbus") &&
60 ofw_bus_has_prop(dev, "ranges")) &&
61 (ofw_bus_get_type(dev) == NULL || strcmp(ofw_bus_get_type(dev),
[all...]
/freebsd-head/sys/dev/nvram2env/
H A Dnvram2env_mips.c46 nvram2env_mips_probe(device_t dev) argument
50 sc = device_get_softc(dev);
53 return (nvram2env_probe(dev));
/freebsd-head/lib/libc/sys/
H A Dmknod.c41 mknod(const char *path, mode_t mode, dev_t dev) argument
44 return (__sys_mknodat(AT_FDCWD, path, mode, dev));
/freebsd-head/sys/dev/cfi/
H A Dcfi_bus_fdt.c44 #include <dev/cfi/cfi_var.h>
45 #include <dev/ofw/ofw_bus.h>
46 #include <dev/ofw/ofw_bus_subr.h>
69 cfi_fdt_probe(device_t dev) argument
72 if (!ofw_bus_status_okay(dev))
75 if (!ofw_bus_is_compatible(dev, "cfi-flash"))
78 return (cfi_probe(dev));
/freebsd-head/sys/dev/ata/chipsets/
H A Data-cenatek.c49 #include <dev/pci/pcivar.h>
50 #include <dev/pci/pcireg.h>
51 #include <dev/ata/ata-all.h>
52 #include <dev/ata/ata-pci.h>
59 ata_cenatek_probe(device_t dev) argument
61 struct ata_pci_controller *ctlr = device_get_softc(dev);
63 if (pci_get_devid(dev) != ATA_CENATEK_ROCKET)
67 device_set_desc(dev, "Cenatek Rocket Drive controller");
H A Data-micron.c49 #include <dev/pci/pcivar.h>
50 #include <dev/pci/pcireg.h>
51 #include <dev/ata/ata-all.h>
52 #include <dev/ata/ata-pci.h>
59 ata_micron_probe(device_t dev) argument
61 struct ata_pci_controller *ctlr = device_get_softc(dev);
63 if (pci_get_devid(dev) == ATA_MICRON_RZ1000 ||
64 pci_get_devid(dev) == ATA_MICRON_RZ1001) {
65 device_set_desc(dev,
/freebsd-head/sys/mips/malta/
H A Dgtvar.h35 device_t dev; member in struct:gt_softc
H A Duart_bus_maltausart.c48 #include <dev/pci/pcivar.h>
50 #include <dev/uart/uart.h>
51 #include <dev/uart/uart_bus.h>
52 #include <dev/uart/uart_cpu.h>
58 static int uart_malta_probe(device_t dev);
78 uart_malta_probe(device_t dev) argument
82 sc = device_get_softc(dev);
90 return(uart_bus_probe(dev, 0, 0, 0, 0, 0, 0));
/freebsd-head/sys/dev/smc/
H A Dif_smc_fdt.c40 #include <dev/smc/if_smcvar.h>
42 #include <dev/fdt/fdt_common.h>
43 #include <dev/ofw/openfirm.h>
44 #include <dev/ofw/ofw_bus.h>
45 #include <dev/ofw/ofw_bus_subr.h>
50 smc_fdt_probe(device_t dev) argument
54 if (!ofw_bus_status_okay(dev))
57 if (ofw_bus_is_compatible(dev, "smsc,lan91c111")) {
58 sc = device_get_softc(dev);
61 if (smc_probe(dev) !
[all...]
H A Dif_smc_acpi.c41 #include <dev/smc/if_smcvar.h>
43 #include <contrib/dev/acpica/include/acpi.h>
44 #include <dev/acpica/acpivar.h>
49 smc_acpi_probe(device_t dev) argument
54 if ((h = acpi_get_handle(dev)) == NULL)
60 sc = device_get_softc(dev);
63 return (smc_probe(dev));
/freebsd-head/sys/dev/bhnd/nvram/
H A Dbhnd_spromvar.h35 #include <dev/bhnd/bhnd.h>
41 int bhnd_sprom_probe(device_t dev);
42 int bhnd_sprom_attach(device_t dev, bus_size_t offset);
43 int bhnd_sprom_resume(device_t dev);
44 int bhnd_sprom_suspend(device_t dev);
45 int bhnd_sprom_detach(device_t dev);
52 device_t dev; member in struct:bhnd_sprom_softc
/freebsd-head/sys/mips/broadcom/
H A Dbcma_nexus.c45 #include <dev/bhnd/bhnd_ids.h>
47 #include <dev/bhnd/bcma/bcmavar.h>
48 #include <dev/bhnd/bcma/bcma_dmp.h>
66 bcma_nexus_probe(device_t dev) argument
79 if ((error = bcma_probe(dev)) > 0)
83 bhnd_set_default_bus_desc(dev, &bcm_get_platform()->cid);
89 bcma_nexus_attach(device_t dev) argument
94 if ((error = bcma_attach(dev)))
98 if ((error = bhnd_generic_attach(dev)))
104 device_delete_children(dev);
[all...]
H A Dsiba_nexus.c40 #include <dev/bhnd/bhnd_ids.h>
42 #include <dev/bhnd/siba/sibareg.h>
43 #include <dev/bhnd/siba/sibavar.h>
60 siba_nexus_probe(device_t dev) argument
67 if ((error = siba_probe(dev)) > 0)
71 bhnd_set_default_bus_desc(dev, &bcm_get_platform()->cid);
77 siba_nexus_attach(device_t dev) argument
82 if ((error = siba_attach(dev)))
86 if ((error = bhnd_generic_attach(dev)))
92 siba_detach(dev);
[all...]
/freebsd-head/sys/dev/pci/
H A Dignore_pci.c43 #include <dev/pci/pcivar.h>
45 static int ignore_pci_probe(device_t dev);
65 ignore_pci_probe(device_t dev) argument
67 switch (pci_get_devid(dev)) {
69 device_set_desc(dev, "ignored");
70 device_quiet(dev);
/freebsd-head/sys/dev/bhnd/
H A Dbhndvar.h56 struct bhnd_core_clkctl *bhnd_alloc_core_clkctl(device_t dev,
65 int bhnd_generic_attach(device_t dev);
66 int bhnd_generic_detach(device_t dev);
67 int bhnd_generic_shutdown(device_t dev);
68 int bhnd_generic_resume(device_t dev);
69 int bhnd_generic_suspend(device_t dev);
71 int bhnd_generic_get_probe_order(device_t dev,
74 int bhnd_generic_alloc_pmu(device_t dev,
76 int bhnd_generic_release_pmu(device_t dev,
78 int bhnd_generic_get_clock_latency(device_t dev,
121 device_t dev; /**< bus device */ member in struct:bhnd_softc
[all...]
/freebsd-head/sys/dev/virtio/mmio/
H A Dvirtio_mmio_acpi.c51 #include <contrib/dev/acpica/include/acpi.h>
52 #include <dev/acpica/acpivar.h>
54 #include <dev/virtio/mmio/virtio_mmio.h>
74 vtmmio_acpi_probe(device_t dev) argument
78 if ((h = acpi_get_handle(dev)) == NULL)
84 device_set_desc(dev, "VirtIO MMIO adapter");
/freebsd-head/sys/dev/usb/controller/
H A Dgeneric_xhci_acpi.c40 #include <dev/usb/usb.h>
41 #include <dev/usb/usbdi.h>
43 #include <dev/usb/usb_core.h>
44 #include <dev/usb/usb_busdma.h>
45 #include <dev/usb/usb_process.h>
47 #include <dev/usb/usb_controller.h>
48 #include <dev/usb/usb_bus.h>
49 #include <dev/usb/controller/xhci.h>
51 #include <contrib/dev/acpica/include/acpi.h>
52 #include <dev/acpic
57 generic_xhci_acpi_probe(device_t dev) argument
[all...]
H A Ddwc_otg_hisi.c38 #include <dev/ofw/ofw_bus_subr.h>
40 #include <dev/usb/usb.h>
41 #include <dev/usb/usbdi.h>
43 #include <dev/usb/usb_busdma.h>
44 #include <dev/usb/usb_process.h>
46 #include <dev/usb/usb_controller.h>
47 #include <dev/usb/usb_bus.h>
49 #include <dev/usb/controller/dwc_otg.h>
50 #include <dev/usb/controller/dwc_otg_fdt.h>
56 hisi_dwc_otg_probe(device_t dev) argument
71 hisi_dwc_otg_attach(device_t dev) argument
[all...]
/freebsd-head/sys/arm/allwinner/
H A Daw_syscon.c43 #include <dev/ofw/openfirm.h>
44 #include <dev/ofw/ofw_bus.h>
45 #include <dev/ofw/ofw_bus_subr.h>
47 #include <dev/extres/syscon/syscon.h>
48 #include <dev/extres/syscon/syscon_generic.h>
61 aw_syscon_probe(device_t dev) argument
64 if (!ofw_bus_status_okay(dev))
66 if (ofw_bus_search_compatible(dev, compat_data)->ocd_data == 0)
69 device_set_desc(dev, "Allwinner syscon");
/freebsd-head/sys/arm/mv/
H A Dmv_cp110_icu_bus.c40 #include <dev/ofw/openfirm.h>
41 #include <dev/ofw/ofw_bus.h>
42 #include <dev/ofw/ofw_bus_subr.h>
44 #include <dev/extres/syscon/syscon.h>
45 #include <dev/fdt/simple_mfd.h>
53 mv_cp110_icu_bus_probe(device_t dev) argument
56 if (!ofw_bus_status_okay(dev))
58 if (ofw_bus_search_compatible(dev, compat_data)->ocd_data == 0)
61 device_set_desc(dev, "Marvell Interrupt Consolidation Unit Bus");
/freebsd-head/sys/arm64/rockchip/
H A Drk_grf.c39 #include <dev/ofw/openfirm.h>
40 #include <dev/ofw/ofw_bus.h>
41 #include <dev/ofw/ofw_bus_subr.h>
43 #include <dev/extres/syscon/syscon.h>
44 #include <dev/fdt/simple_mfd.h>
55 rk_grf_probe(device_t dev) argument
58 if (!ofw_bus_status_okay(dev))
60 if (ofw_bus_search_compatible(dev, compat_data)->ocd_data == 0)
63 device_set_desc(dev, "RockChip General Register Files");
/freebsd-head/sys/riscv/riscv/
H A Driscv_syscon.c45 #include <dev/ofw/openfirm.h>
46 #include <dev/ofw/ofw_bus.h>
47 #include <dev/ofw/ofw_bus_subr.h>
49 #include <dev/extres/syscon/syscon.h>
50 #include <dev/extres/syscon/syscon_generic.h>
59 riscv_syscon_probe(device_t dev) argument
62 if (!ofw_bus_status_okay(dev))
64 if (ofw_bus_search_compatible(dev, compat_data)->ocd_data == 0)
67 device_set_desc(dev, "RISC-V syscon");
/freebsd-head/sys/dev/bhnd/bhndb/
H A Dbhndb_pci_sprom.c48 #include <dev/pci/pcireg.h>
49 #include <dev/pci/pcivar.h>
51 #include <dev/bhnd/bhnd.h>
52 #include <dev/bhnd/cores/pci/bhnd_pci_hostbvar.h>
53 #include <dev/bhnd/nvram/bhnd_spromvar.h>
61 bhndb_pci_sprom_probe(device_t dev) argument
67 bridge = device_get_parent(dev);
72 if ((error = bhnd_sprom_probe(dev)) > 0)
/freebsd-head/sys/dev/netfpga10g/nf10bmac/
H A Dif_nf10bmac_fdt.c53 #include <dev/fdt/fdt_common.h>
54 #include <dev/ofw/openfirm.h>
55 #include <dev/ofw/ofw_bus.h>
56 #include <dev/ofw/ofw_bus_subr.h>
61 nf10bmac_probe_fdt(device_t dev) argument
64 if (!ofw_bus_status_okay(dev))
67 if (ofw_bus_is_compatible(dev, "netfpag10g,nf10bmac")) {
68 device_set_desc(dev, "NetFPGA-10G Embedded CPU Ethernet Core");
76 nf10bmac_attach_fdt(device_t dev) argument
81 sc = device_get_softc(dev);
[all...]

Completed in 148 milliseconds

1234567891011>>