/freebsd-12-stable/tests/sys/geom/class/shsec/ |
H A D | 2_test.sh | 13 dd if=/dev/random of=${src} count=$nblocks1 >/dev/null 2>&1 19 gshsec label $name /dev/$us0 /dev/$us1 /dev/$us2 || exit 1 22 dd if=${src} of=/dev/shsec/${name} count=$nblocks1 >/dev/null 2>&1 24 dd if=/dev/shsec/${name} of=${dst} count=$nblocks1 >/dev/null 2>&1 31 dd if=/dev/ [all...] |
/freebsd-12-stable/sys/dev/acpica/ |
H A D | acpi_cmbat.c | 44 #include <contrib/dev/acpica/include/acpi.h> 46 #include <dev/acpica/acpivar.h> 47 #include <dev/acpica/acpiio.h> 67 device_t dev; member in struct:acpi_cmbat_softc 77 static int acpi_cmbat_probe(device_t dev); 78 static int acpi_cmbat_attach(device_t dev); 79 static int acpi_cmbat_detach(device_t dev); 80 static int acpi_cmbat_resume(device_t dev); 117 acpi_cmbat_probe(device_t dev) argument 122 ACPI_ID_PROBE(device_get_parent(dev), de 130 acpi_cmbat_attach(device_t dev) argument 161 acpi_cmbat_detach(device_t dev) argument 182 acpi_cmbat_resume(device_t dev) argument 193 device_t dev; local 256 device_t dev; local 331 device_t dev; local 486 acpi_cmbat_bix(device_t dev, void *bix, size_t len) argument 510 acpi_cmbat_bst(device_t dev, struct acpi_bst *bst) argument 532 device_t dev; local [all...] |
H A D | acpi_pcib_pci.c | 40 #include <contrib/dev/acpica/include/acpi.h> 41 #include <contrib/dev/acpica/include/accommon.h> 43 #include <dev/acpica/acpivar.h> 44 #include <dev/acpica/acpi_pcibvar.h> 47 #include <dev/pci/pcivar.h> 48 #include <dev/pci/pcireg.h> 49 #include <dev/pci/pcib_private.h> 70 static int acpi_pcib_read_ivar(device_t dev, device_t child, 73 device_t dev, int pin); 100 acpi_pcib_pci_probe(device_t dev) argument 117 acpi_pcib_pci_attach(device_t dev) argument 132 acpi_pcib_pci_detach(device_t dev) argument 147 acpi_pcib_read_ivar(device_t dev, device_t child, int which, uintptr_t *result) argument 160 acpi_pcib_pci_route_interrupt(device_t pcib, device_t dev, int pin) argument [all...] |
/freebsd-12-stable/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_eq.c | 41 #include <dev/mlx4/cmd.h> 86 static u64 get_async_ev_mask(struct mlx4_dev *dev) argument 89 if (dev->caps.flags & MLX4_DEV_CAP_FLAG_PORT_MNG_CHG_EV) 91 if (dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_RECOVERABLE_ERROR_EVENT) 144 struct mlx4_dev *dev = &priv->dev; local 156 mlx4_is_bonded(dev)) { 159 if (!mlx4_QUERY_PORT(dev, 1, &port_cap) && port_cap.link_state) 162 if (!mlx4_QUERY_PORT(dev, 2, &port_cap) && port_cap.link_state) 167 for (i = 0; i <= dev 194 slave_event(struct mlx4_dev *dev, u8 slave, struct mlx4_eqe *eqe) argument 223 mlx4_slave_event(struct mlx4_dev *dev, int slave, struct mlx4_eqe *eqe) argument 239 struct mlx4_dev *dev = &priv->dev; local 248 mlx4_gen_pkey_eqe(struct mlx4_dev *dev, int slave, u8 port) argument 268 mlx4_gen_guid_change_eqe(struct mlx4_dev *dev, int slave, u8 port) argument 285 mlx4_gen_port_state_change_eqe(struct mlx4_dev *dev, int slave, u8 port, u8 port_subtype_change) argument 306 mlx4_get_slave_port_state(struct mlx4_dev *dev, int slave, u8 port) argument 322 mlx4_set_slave_port_state(struct mlx4_dev *dev, int slave, u8 port, enum slave_port_state state) argument 340 set_all_slave_state(struct mlx4_dev *dev, u8 port, int event) argument 361 set_and_calc_slave_port_state(struct mlx4_dev *dev, int slave, u8 port, int event, enum slave_port_gen_event *gen_event) argument 427 mlx4_gen_slaves_port_mgt_ev(struct mlx4_dev *dev, u8 port, int attr) argument 453 struct mlx4_dev *dev = &priv->dev; local 489 mlx4_eq_int(struct mlx4_dev *dev, struct mlx4_eq *eq) argument 839 struct mlx4_dev *dev = dev_ptr; local 855 struct mlx4_dev *dev = eq->dev; local 863 mlx4_MAP_EQ_wrapper(struct mlx4_dev *dev, int slave, struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox, struct mlx4_cmd_mailbox *outbox, struct mlx4_cmd_info *cmd) argument 890 mlx4_MAP_EQ(struct mlx4_dev *dev, u64 event_mask, int unmap, int eq_num) argument 898 mlx4_SW2HW_EQ(struct mlx4_dev *dev, struct mlx4_cmd_mailbox *mailbox, int eq_num) argument 906 mlx4_HW2SW_EQ(struct mlx4_dev *dev, int eq_num) argument 912 mlx4_num_eq_uar(struct mlx4_dev *dev) argument 923 mlx4_get_eq_uar(struct mlx4_dev *dev, struct mlx4_eq *eq) argument 945 mlx4_unmap_uar(struct mlx4_dev *dev) argument 957 mlx4_create_eq(struct mlx4_dev *dev, int nent, u8 intr, struct mlx4_eq *eq) argument 1072 mlx4_free_eq(struct mlx4_dev *dev, struct mlx4_eq *eq) argument 1099 mlx4_free_irqs(struct mlx4_dev *dev) argument 1117 mlx4_map_clr_int(struct mlx4_dev *dev) argument 1132 mlx4_unmap_clr_int(struct mlx4_dev *dev) argument 1139 mlx4_alloc_eq_table(struct mlx4_dev *dev) argument 1151 mlx4_free_eq_table(struct mlx4_dev *dev) argument 1156 mlx4_init_eq_table(struct mlx4_dev *dev) argument 1311 mlx4_cleanup_eq_table(struct mlx4_dev *dev) argument 1344 mlx4_test_async(struct mlx4_dev *dev) argument 1354 mlx4_test_interrupt(struct mlx4_dev *dev, int vector) argument 1385 mlx4_is_eq_vector_valid(struct mlx4_dev *dev, u8 port, int vector) argument 1398 mlx4_get_eqs_per_port(struct mlx4_dev *dev, u8 port) argument 1412 mlx4_is_eq_shared(struct mlx4_dev *dev, int vector) argument 1425 mlx4_assign_eq(struct mlx4_dev *dev, u8 port, int *vector) argument 1515 mlx4_eq_get_irq(struct mlx4_dev *dev, int cq_vec) argument 1523 mlx4_release_eq(struct mlx4_dev *dev, int vec) argument 1539 mlx4_disable_interrupts(struct mlx4_dev *dev) argument 1554 mlx4_poll_interrupts(struct mlx4_dev *dev) argument [all...] |
/freebsd-12-stable/contrib/netbsd-tests/bin/df/ |
H A D | t_df.sh | 58 /dev/ld0g 1308726116 17901268 1225388540 1% /anon-root 59 /dev/ld0g 1308726116 0 1308726116 0% /anon-root 60 /dev/ld0g 1308726116 261745224 1046980892 20% /anon-root 61 /dev/ld0g 1308726116 785235672 523490444 60% /anon-root 62 /dev/ld0g 1308726116 1243289812 65436304 95% /anon-root 63 /dev/ld0g 1308726116 1308726116 0 100% /anon-root 64 /dev/ld0g 1308726116 0 1243289808 0% /anon-root 65 /dev/ld0g 1308726116 261745224 981544584 21% /anon-root 66 /dev/ld0g 1308726116 785235672 458054140 63% /anon-root 67 /dev/ld0 [all...] |
/freebsd-12-stable/sys/dev/drm2/ |
H A D | drm_ioctl.c | 39 #include <dev/drm2/drmP.h> 40 #include <dev/drm2/drm_core.h> 53 int drm_getunique(struct drm_device *dev, void *data, argument 69 drm_unset_busid(struct drm_device *dev, argument 93 int drm_setunique(struct drm_device *dev, void *data, argument 106 if (!dev->driver->bus->set_unique) 109 ret = dev->driver->bus->set_unique(dev, master, u); 116 drm_unset_busid(dev, master); 120 static int drm_set_busid(struct drm_device *dev, struc argument 150 drm_getmap(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 201 drm_getclient(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 240 drm_getstats(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 265 drm_getcap(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 308 drm_setversion(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 355 drm_noop(struct drm_device *dev, void *data, struct drm_file *file_priv) argument [all...] |
H A D | drm_vm.c | 43 #include <dev/drm2/drmP.h> 44 #include <dev/drm2/drm.h> 51 struct drm_device *dev = drm_get_device_from_kdev(kdev); local 72 if (dev->dma && offset < ptoa(dev->dma->page_count)) { 73 drm_device_dma_t *dma = dev->dma; 75 DRM_SPINLOCK(&dev->dma_lock); 81 DRM_SPINUNLOCK(&dev->dma_lock); 85 DRM_SPINUNLOCK(&dev->dma_lock); 98 DRM_LOCK(dev); [all...] |
/freebsd-12-stable/sys/dev/malo/ |
H A D | if_malo_pci.c | 61 #include <dev/malo/if_malo.h> 63 #include <dev/pci/pcivar.h> 64 #include <dev/pci/pcireg.h> 134 malo_pci_probe(device_t dev) argument 140 vendor = pci_get_vendor(dev); 141 devid = pci_get_device(dev); 146 device_set_desc(dev, mp->mp_name); 155 malo_pci_attach(device_t dev) argument 158 struct malo_pci_softc *psc = device_get_softc(dev); 161 sc->malo_dev = dev; 272 malo_pci_detach(device_t dev) argument 304 malo_pci_shutdown(device_t dev) argument 314 malo_pci_suspend(device_t dev) argument 324 malo_pci_resume(device_t dev) argument [all...] |
/freebsd-12-stable/sys/dev/agp/ |
H A D | agp_via.c | 42 #include <dev/agp/agppriv.h> 43 #include <dev/agp/agpreg.h> 44 #include <dev/pci/pcivar.h> 45 #include <dev/pci/pcireg.h> 68 agp_via_match(device_t dev) argument 70 if (pci_get_class(dev) != PCIC_BRIDGE 71 || pci_get_subclass(dev) != PCIS_BRIDGE_HOST) 74 if (agp_find_caps(dev) == 0) 77 switch (pci_get_devid(dev)) { 146 agp_via_probe(device_t dev) argument 162 agp_via_attach(device_t dev) argument 226 agp_via_detach(device_t dev) argument 242 agp_via_get_aperture(device_t dev) argument 290 agp_via_set_aperture(device_t dev, u_int32_t aperture) argument 353 agp_via_bind_page(device_t dev, vm_offset_t offset, vm_offset_t physical) argument 365 agp_via_unbind_page(device_t dev, vm_offset_t offset) argument 377 agp_via_flush_tlb(device_t dev) argument [all...] |
/freebsd-12-stable/sys/compat/linuxkpi/common/include/linux/ |
H A D | dma-mapping.h | 59 void* (*alloc_coherent)(struct device *dev, size_t size, 61 void (*free_coherent)(struct device *dev, size_t size, 63 dma_addr_t (*map_page)(struct device *dev, struct page *page, 66 void (*unmap_page)(struct device *dev, dma_addr_t dma_handle, 68 int (*map_sg)(struct device *dev, struct scatterlist *sg, 70 void (*unmap_sg)(struct device *dev, struct scatterlist *sg, int nents, 72 void (*sync_single_for_cpu)(struct device *dev, dma_addr_t dma_handle, 74 void (*sync_single_for_device)(struct device *dev, 76 void (*sync_single_range_for_cpu)(struct device *dev, 79 void (*sync_single_range_for_device)(struct device *dev, 104 dma_supported(struct device *dev, u64 mask) argument 112 dma_set_mask(struct device *dev, u64 dma_mask) argument 122 dma_set_coherent_mask(struct device *dev, u64 mask) argument 132 dma_set_mask_and_coherent(struct device *dev, u64 mask) argument 143 dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_handle, gfp_t flag) argument 150 dma_zalloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_handle, gfp_t flag) argument 158 dma_free_coherent(struct device *dev, size_t size, void *cpu_addr, dma_addr_t dma_addr) argument 167 dma_map_single_attrs(struct device *dev, void *ptr, size_t size, enum dma_data_direction dir, struct dma_attrs *attrs) argument 175 dma_unmap_single_attrs(struct device *dev, dma_addr_t dma_addr, size_t size, enum dma_data_direction dir, struct dma_attrs *attrs) argument 183 dma_map_page_attrs(struct device *dev, struct page *page, size_t offset, size_t size, enum dma_data_direction dir, unsigned long attrs) argument 191 dma_map_sg_attrs(struct device *dev, struct scatterlist *sgl, int nents, enum dma_data_direction dir, struct dma_attrs *attrs) argument 199 dma_unmap_sg_attrs(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction dir, struct dma_attrs *attrs) argument 207 dma_map_page(struct device *dev, struct page *page, unsigned long offset, size_t size, enum dma_data_direction direction) argument 215 dma_unmap_page(struct device *dev, dma_addr_t dma_address, size_t size, enum dma_data_direction direction) argument 223 dma_sync_single_for_cpu(struct device *dev, dma_addr_t dma_handle, size_t size, enum dma_data_direction direction) argument 229 dma_sync_single(struct device *dev, dma_addr_t addr, size_t size, enum dma_data_direction dir) argument 236 dma_sync_single_for_device(struct device *dev, dma_addr_t dma_handle, size_t size, enum dma_data_direction direction) argument 242 dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nelems, enum dma_data_direction direction) argument 248 dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, int nelems, enum dma_data_direction direction) argument 254 dma_sync_single_range_for_cpu(struct device *dev, dma_addr_t dma_handle, unsigned long offset, size_t size, int direction) argument 260 dma_sync_single_range_for_device(struct device *dev, dma_addr_t dma_handle, unsigned long offset, size_t size, int direction) argument 266 dma_mapping_error(struct device *dev, dma_addr_t dma_addr) argument 272 dma_set_max_seg_size(struct device *dev, unsigned int size) argument [all...] |
/freebsd-12-stable/sys/dev/stg/ |
H A D | tmc18c30_pci.c | 57 #include <dev/pci/pcireg.h> 58 #include <dev/pci/pcivar.h> 62 #include <dev/stg/tmc18c30reg.h> 63 #include <dev/stg/tmc18c30var.h> 64 #include <dev/stg/tmc18c30.h> 76 stg_pci_probe(device_t dev) argument 78 u_int32_t type = pci_get_devid(dev); 84 device_set_desc(dev, stg->desc); 91 stg_pci_attach(device_t dev) argument 93 struct stg_softc *sc = device_get_softc(dev); [all...] |
/freebsd-12-stable/sys/mips/cavium/octe/ |
H A D | octebus.c | 54 static int octebus_probe(device_t dev); 55 static int octebus_attach(device_t dev); 56 static int octebus_detach(device_t dev); 57 static int octebus_shutdown(device_t dev); 90 octebus_probe(device_t dev) argument 92 if (device_get_unit(dev) != 0) 94 device_set_desc(dev, "Cavium Octeon Ethernet pseudo-bus"); 99 octebus_attach(device_t dev) argument 104 sc = device_get_softc(dev); 105 sc->sc_dev = dev; 115 octebus_detach(device_t dev) argument 122 octebus_shutdown(device_t dev) argument [all...] |
/freebsd-12-stable/sys/sys/ |
H A D | cpu.h | 45 static __inline struct pcpu *cpu_get_pcpu(device_t dev) argument 48 BUS_READ_IVAR(device_get_parent(dev), dev, CPU_IVAR_PCPU, &v); local 52 static __inline int32_t cpu_get_nominal_mhz(device_t dev) argument 55 if (BUS_READ_IVAR(device_get_parent(dev), dev, 61 static __inline const uint32_t *cpu_get_cpuid(device_t dev, size_t *count) argument 64 if (BUS_READ_IVAR(device_get_parent(dev), dev, 69 if (BUS_READ_IVAR(device_get_parent(dev), de 85 device_t dev; /* Driver providing this setting. */ member in struct:cf_setting [all...] |
/freebsd-12-stable/sys/arm/annapurna/alpine/ |
H A D | alpine_ccu.c | 42 #include <dev/ofw/ofw_bus_subr.h> 57 static int al_ccu_probe(device_t dev); 58 static int al_ccu_attach(device_t dev); 59 static int al_ccu_detach(device_t dev); 83 al_ccu_probe(device_t dev) argument 86 if (!ofw_bus_status_okay(dev)) 89 if (!ofw_bus_is_compatible(dev, "annapurna-labs,al-ccu")) 92 device_set_desc(dev, "Alpine CCU"); 98 al_ccu_attach(device_t dev) argument 103 sc = device_get_softc(dev); 122 al_ccu_detach(device_t dev) argument [all...] |
H A D | alpine_nb_service.c | 42 #include <dev/ofw/ofw_bus_subr.h> 56 static int nb_service_probe(device_t dev); 57 static int nb_service_attach(device_t dev); 58 static int nb_service_detach(device_t dev); 82 nb_service_probe(device_t dev) argument 85 if (!ofw_bus_status_okay(dev)) 88 if (!ofw_bus_is_compatible(dev, "annapurna-labs,al-nb-service")) 91 device_set_desc(dev, "Alpine North Bridge Service"); 97 nb_service_attach(device_t dev) argument 103 sc = device_get_softc(dev); 120 nb_service_detach(device_t dev) argument [all...] |
/freebsd-12-stable/stand/mips/beri/loader/ |
H A D | beri_disk_cfi.c | 95 struct disk_devdesc *dev; local 98 dev = va_arg(ap, struct disk_devdesc *); 101 if (dev->dd.d_unit != 0) 103 return (disk_open(dev, cfi_get_mediasize(), cfi_get_sectorsize())); 109 struct disk_devdesc *dev; local 111 dev = (struct disk_devdesc *)f->f_devdata; 112 return (disk_close(dev)); 118 struct disk_devdesc dev; local 130 dev.dd.d_dev = &beri_cfi_disk; 131 dev [all...] |
/freebsd-12-stable/sys/dev/pci/ |
H A D | pcivar.h | 180 device_t dev; /* device which owns this */ member in struct:pcicfg 395 pci_read_config(device_t dev, int reg, int width) argument 397 return PCI_READ_CONFIG(device_get_parent(dev), dev, reg, width); 401 pci_write_config(device_t dev, int reg, uint32_t val, int width) argument 403 PCI_WRITE_CONFIG(device_get_parent(dev), dev, reg, val, width); local 439 pci_enable_busmaster(device_t dev) argument 441 return(PCI_ENABLE_BUSMASTER(device_get_parent(dev), dev)); 445 pci_disable_busmaster(device_t dev) argument 451 pci_enable_io(device_t dev, int space) argument 457 pci_disable_io(device_t dev, int space) argument 463 pci_get_vpd_ident(device_t dev, const char **identptr) argument 469 pci_get_vpd_readonly(device_t dev, const char *kw, const char **vptr) argument 514 pci_set_powerstate(device_t dev, int state) argument 520 pci_get_powerstate(device_t dev) argument 526 pci_find_cap(device_t dev, int capability, int *capreg) argument 532 pci_find_next_cap(device_t dev, int capability, int start, int *capreg) argument 539 pci_find_extcap(device_t dev, int capability, int *capreg) argument 545 pci_find_next_extcap(device_t dev, int capability, int start, int *capreg) argument 552 pci_find_htcap(device_t dev, int capability, int *capreg) argument 558 pci_find_next_htcap(device_t dev, int capability, int start, int *capreg) argument 565 pci_alloc_msi(device_t dev, int *count) argument 571 pci_alloc_msix(device_t dev, int *count) argument 577 pci_enable_msi(device_t dev, uint64_t address, uint16_t data) argument 579 PCI_ENABLE_MSI(device_get_parent(dev), dev, address, data); local 583 pci_enable_msix(device_t dev, u_int index, uint64_t address, uint32_t data) argument 585 PCI_ENABLE_MSIX(device_get_parent(dev), dev, index, address, data); local 589 pci_disable_msi(device_t dev) argument 591 PCI_DISABLE_MSI(device_get_parent(dev), dev); local 595 pci_remap_msix(device_t dev, int count, const u_int *vectors) argument 601 pci_release_msi(device_t dev) argument 607 pci_msi_count(device_t dev) argument 613 pci_msix_count(device_t dev) argument 619 pci_msix_pba_bar(device_t dev) argument 625 pci_msix_table_bar(device_t dev) argument 631 pci_get_id(device_t dev, enum pci_id_type type, uintptr_t *id) argument 642 pci_get_rid(device_t dev) argument 653 pci_child_added(device_t dev) argument [all...] |
/freebsd-12-stable/sys/dev/drm/ |
H A D | drm_drawable.c | 39 #include "dev/drm/drmP.h" 62 drm_get_drawable_info(struct drm_device *dev, int handle) argument 67 result = RB_FIND(drawable_tree, &dev->drw_head, &find); 72 int drm_adddraw(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 82 info->handle = alloc_unr(dev->drw_unrhdr); 83 DRM_SPINLOCK(&dev->drw_lock); 84 RB_INSERT(drawable_tree, &dev->drw_head, info); 86 DRM_SPINUNLOCK(&dev->drw_lock); 93 int drm_rmdraw(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 98 DRM_SPINLOCK(&dev 114 drm_update_draw(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 156 drm_drawable_free_all(struct drm_device *dev) argument [all...] |
/freebsd-12-stable/sys/dev/bhnd/bhndb/ |
H A D | bhnd_bhndb.c | 42 #include <dev/bhnd/bhnd_ids.h> 43 #include <dev/bhnd/bhnd.h> 55 bhnd_bhndb_read_board_info(device_t dev, device_t child, argument 61 if ((error = bhnd_bus_generic_read_board_info(dev, child, info))) 65 return (BHNDB_POPULATE_BOARD_INFO(device_get_parent(dev), dev, info)); 69 bhnd_bhndb_get_attach_type(device_t dev, device_t child) argument 77 bhnd_bhndb_is_hw_disabled(device_t dev, device_t child) argument 82 return (BHNDB_IS_CORE_DISABLED(device_get_parent(dev), dev, 87 bhnd_bhndb_find_hostb_device(device_t dev) argument 103 bhnd_bhndb_map_intr(device_t dev, device_t child, u_int intr, rman_res_t *irq) argument 110 bhnd_bhndb_unmap_intr(device_t dev, device_t child, rman_res_t irq) argument 117 bhnd_bhndb_pwrctl_get_clksrc(device_t dev, device_t child, bhnd_clock clock) argument 126 bhnd_bhndb_pwrctl_gate_clock(device_t dev, device_t child, bhnd_clock clock) argument 135 bhnd_bhndb_pwrctl_ungate_clock(device_t dev, device_t child, bhnd_clock clock) argument 144 bhnd_bhndb_setup_intr(device_t dev, device_t child, struct resource *irq, int flags, driver_filter_t *filter, driver_intr_t *intr, void *arg, void **cookiep) argument [all...] |
/freebsd-12-stable/sys/dev/hdmi/ |
H A D | dwc_hdmi_fdt.c | 42 #include <dev/ofw/ofw_bus.h> 43 #include <dev/ofw/ofw_bus_subr.h> 47 #include <dev/extres/clk/clk.h> 49 #include <dev/videomode/videomode.h> 50 #include <dev/videomode/edidvar.h> 52 #include <dev/hdmi/dwc_hdmi.h> 69 dwc_hdmi_fdt_get_i2c_dev(device_t dev) argument 73 sc = device_get_softc(dev); 82 dwc_hdmi_fdt_detach(device_t dev) argument 86 sc = device_get_softc(dev); 101 dwc_hdmi_fdt_attach(device_t dev) argument 169 dwc_hdmi_fdt_probe(device_t dev) argument [all...] |
/freebsd-12-stable/sys/dev/pcf/ |
H A D | pcf_isa.c | 57 #include <dev/iicbus/iiconf.h> 58 #include <dev/pcf/pcfvar.h> 103 pcf_isa_probe(device_t dev) argument 109 if (isa_get_logicalid(dev)) 113 bus_get_resource(dev, SYS_RES_IOPORT, rid, &start, &count); 121 device_set_desc(dev, "PCF8584 I2C bus controller"); 127 pcf_isa_attach(device_t dev) argument 132 sc = DEVTOSOFTC(dev); 133 mtx_init(&sc->pcf_lock, device_get_nameunit(dev), "pcf", MTX_DEF); 136 sc->res_ioport = bus_alloc_resource_any(dev, SYS_RES_IOPOR 189 pcf_isa_detach(device_t dev) argument [all...] |
/freebsd-12-stable/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_eq.c | 30 #include <dev/mlx5/port.h> 31 #include <dev/mlx5/mlx5_ifc.h> 32 #include <dev/mlx5/mlx5_fpga/core.h> 84 static void mlx5_port_module_event(struct mlx5_core_dev *dev, 86 static void mlx5_port_general_notification_event(struct mlx5_core_dev *dev, 89 static int mlx5_cmd_destroy_eq(struct mlx5_core_dev *dev, u8 eqn) argument 97 return mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); 220 mlx5_temp_warning_event(struct mlx5_core_dev *dev, struct mlx5_eqe *eqe) argument 223 mlx5_core_warn(dev, 229 static int mlx5_eq_int(struct mlx5_core_dev *dev, struc argument 400 struct mlx5_core_dev *dev = eq->dev; local 421 mlx5_create_map_eq(struct mlx5_core_dev *dev, struct mlx5_eq *eq, u8 vecidx, int nent, u64 mask, struct mlx5_uar *uar) argument 510 mlx5_destroy_unmap_eq(struct mlx5_core_dev *dev, struct mlx5_eq *eq) argument 525 mlx5_eq_init(struct mlx5_core_dev *dev) argument 537 mlx5_eq_cleanup(struct mlx5_core_dev *dev) argument 541 mlx5_start_eqs(struct mlx5_core_dev *dev) argument 610 mlx5_stop_eqs(struct mlx5_core_dev *dev) argument 629 mlx5_core_eq_query(struct mlx5_core_dev *dev, struct mlx5_eq *eq, u32 *out, int outlen) argument 680 mlx5_query_module_status(struct mlx5_core_dev *dev, int module_num) argument 687 mlx5_port_module_event(struct mlx5_core_dev *dev, struct mlx5_eqe *eqe) argument 736 mlx5_port_general_notification_event(struct mlx5_core_dev *dev, struct mlx5_eqe *eqe) argument 761 mlx5_disable_interrupts(struct mlx5_core_dev *dev) argument 771 mlx5_poll_interrupts(struct mlx5_core_dev *dev) argument [all...] |
/freebsd-12-stable/sys/dev/xen/xenpci/ |
H A D | xenpci.c | 50 #include <dev/pci/pcireg.h> 51 #include <dev/pci/pcivar.h> 53 #include <dev/xen/xenpci/xenpcivar.h> 101 xenpci_deallocate_resources(device_t dev) argument 103 struct xenpci_softc *scp = device_get_softc(dev); 106 bus_deactivate_resource(dev, SYS_RES_IRQ, 108 bus_release_resource(dev, SYS_RES_IRQ, 120 xenpci_allocate_resources(device_t dev) argument 122 struct xenpci_softc *scp = device_get_softc(dev); 124 scp->res_irq = bus_alloc_resource_any(dev, SYS_RES_IR 143 xenpci_probe(device_t dev) argument 157 xenpci_attach(device_t dev) argument 193 xenpci_detach(device_t dev) argument 218 xenpci_resume(device_t dev) argument [all...] |
/freebsd-12-stable/sys/dev/usb/controller/ |
H A D | usb_nop_xceiv.c | 44 #include <dev/ofw/ofw_bus.h> 45 #include <dev/ofw/ofw_bus_subr.h> 47 #include <dev/extres/clk/clk.h> 48 #include <dev/extres/regulator/regulator.h> 49 #include <dev/extres/phy/phy_usb.h> 54 device_t dev; member in struct:usb_nop_xceiv_softc 80 device_t dev; local 84 dev = phynode_get_device(phynode); 86 sc = device_get_softc(dev); 97 device_printf(dev, "Canno 131 usb_nop_xceiv_probe(device_t dev) argument 145 usb_nop_xceiv_attach(device_t dev) argument 181 OF_device_register_xref(OF_xref_from_node(node), dev); local 187 usb_nop_xceiv_detach(device_t dev) argument [all...] |
/freebsd-12-stable/sys/powerpc/ofw/ |
H A D | ofw_pcib_pci.c | 40 #include <dev/ofw/openfirm.h> 41 #include <dev/ofw/ofw_pci.h> 42 #include <dev/ofw/ofw_bus.h> 43 #include <dev/ofw/ofw_bus_subr.h> 45 #include <dev/pci/pcivar.h> 46 #include <dev/pci/pcireg.h> 47 #include <dev/pci/pcib_private.h> 55 static phandle_t ofw_pcib_pci_get_node(device_t bus, device_t dev); 56 static int ofw_pcib_pci_route_interrupt(device_t bridge, device_t dev, 79 * generic routines only need the dev, secbu 92 ofw_pcib_pci_probe(device_t dev) argument 108 ofw_pcib_pci_attach(device_t dev) argument 124 ofw_pcib_pci_get_node(device_t bridge, device_t dev) argument 132 ofw_pcib_pci_route_interrupt(device_t bridge, device_t dev, int intpin) argument [all...] |