/freebsd-11-stable/sys/dev/xen/xenpci/ |
H A D | xenpci.c | 48 #include <dev/pci/pcireg.h> 49 #include <dev/pci/pcivar.h> 51 #include <dev/xen/xenpci/xenpcivar.h> 99 xenpci_deallocate_resources(device_t dev) argument 101 struct xenpci_softc *scp = device_get_softc(dev); 104 bus_deactivate_resource(dev, SYS_RES_IRQ, 106 bus_release_resource(dev, SYS_RES_IRQ, 118 xenpci_allocate_resources(device_t dev) argument 120 struct xenpci_softc *scp = device_get_softc(dev); 122 scp->res_irq = bus_alloc_resource_any(dev, SYS_RES_IR 141 xenpci_probe(device_t dev) argument 155 xenpci_attach(device_t dev) argument 191 xenpci_detach(device_t dev) argument 216 xenpci_resume(device_t dev) argument [all...] |
/freebsd-11-stable/sys/dev/snc/ |
H A D | if_snc_cbus.c | 57 #include <dev/snc/dp83932var.h> 58 #include <dev/snc/if_sncreg.h> 59 #include <dev/snc/if_sncvar.h> 71 snc_isapnp_reconfig(device_t dev) argument 73 struct isa_device *idev = DEVTOISA(dev); 81 if (bus_get_resource(dev, SYS_RES_MEMORY, rid, &start, &count)) 89 if (bus_get_resource(dev, SYS_RES_IOPORT, rid, &start, &count)) 97 if (bus_get_resource(dev, SYS_RES_IRQ, rid, &start, &count)) 103 if (bus_get_resource(dev, SYS_RES_DRQ, rid, &start, &count)) 113 snc_isa_probe(device_t dev) argument 178 snc_isa_attach(device_t dev) argument [all...] |
/freebsd-11-stable/sys/dev/ichiic/ |
H A D | ig4_acpi.c | 28 __FBSDID("$FreeBSD: stable/11/sys/dev/ichiic/ig4_acpi.c 339030 2018-09-30 23:15:44Z gonzo $"); 42 #include <contrib/dev/acpica/include/acpi.h> 43 #include <contrib/dev/acpica/include/accommon.h> 45 #include <dev/acpica/acpivar.h> 46 #include <dev/iicbus/iiconf.h> 48 #include <dev/ichiic/ig4_reg.h> 49 #include <dev/ichiic/ig4_var.h> 51 static int ig4iic_acpi_probe(device_t dev); 52 static int ig4iic_acpi_attach(device_t dev); 53 static int ig4iic_acpi_detach(device_t dev); 69 ig4iic_acpi_probe(device_t dev) argument 91 ig4iic_acpi_attach(device_t dev) argument 127 ig4iic_acpi_detach(device_t dev) argument [all...] |
/freebsd-11-stable/sys/dev/pcf/ |
H A D | pcf_isa.c | 31 __FBSDID("$FreeBSD: stable/11/sys/dev/pcf/pcf_isa.c 343643 2019-02-01 03:26:10Z avos $"); 55 #include <dev/iicbus/iiconf.h> 56 #include <dev/pcf/pcfvar.h> 101 pcf_isa_probe(device_t dev) argument 107 if (isa_get_logicalid(dev)) 111 bus_get_resource(dev, SYS_RES_IOPORT, rid, &start, &count); 119 device_set_desc(dev, "PCF8584 I2C bus controller"); 125 pcf_isa_attach(device_t dev) argument 130 sc = DEVTOSOFTC(dev); 131 mtx_init(&sc->pcf_lock, device_get_nameunit(dev), "pc 187 pcf_isa_detach(device_t dev) argument [all...] |
/freebsd-11-stable/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_eq.c | 25 * $FreeBSD: stable/11/sys/dev/mlx5/mlx5_core/mlx5_eq.c 363041 2020-07-09 11:06:29Z kib $ 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 mlx5_eq_int(struct mlx5_core_dev *dev, struct mlx5_eq *eq) argument 401 struct mlx5_core_dev *dev = eq->dev; local 422 mlx5_create_map_eq(struct mlx5_core_dev *dev, struct mlx5_eq *eq, u8 vecidx, int nent, u64 mask, struct mlx5_uar *uar) argument 511 mlx5_destroy_unmap_eq(struct mlx5_core_dev *dev, struct mlx5_eq *eq) argument 526 mlx5_eq_init(struct mlx5_core_dev *dev) argument 538 mlx5_eq_cleanup(struct mlx5_core_dev *dev) argument 542 mlx5_start_eqs(struct mlx5_core_dev *dev) argument 611 mlx5_stop_eqs(struct mlx5_core_dev *dev) argument 630 mlx5_core_eq_query(struct mlx5_core_dev *dev, struct mlx5_eq *eq, u32 *out, int outlen) argument 681 mlx5_query_module_status(struct mlx5_core_dev *dev, int module_num) argument 688 mlx5_port_module_event(struct mlx5_core_dev *dev, struct mlx5_eqe *eqe) argument 737 mlx5_port_general_notification_event(struct mlx5_core_dev *dev, struct mlx5_eqe *eqe) argument 762 mlx5_disable_interrupts(struct mlx5_core_dev *dev) argument 772 mlx5_poll_interrupts(struct mlx5_core_dev *dev) argument [all...] |
/freebsd-11-stable/sys/dev/pci/ |
H A D | vga_pci.c | 27 __FBSDID("$FreeBSD: stable/11/sys/dev/pci/vga_pci.c 367457 2020-11-07 18:10:59Z dim $"); 50 #include <dev/pci/pcireg.h> 51 #include <dev/pci/pcivar.h> 69 static struct resource *vga_pci_alloc_resource(device_t dev, device_t child, 72 static int vga_pci_release_resource(device_t dev, device_t child, int type, 80 vga_pci_is_boot_display(device_t dev) argument 87 if ((pci_get_class(dev) != PCIC_DISPLAY && 88 (pci_get_class(dev) != PCIC_OLD || 89 pci_get_subclass(dev) != PCIS_OLD_VGA))) 92 unit = device_get_unit(dev); 144 vga_pci_map_bios(device_t dev, size_t *size) argument 177 vga_pci_unmap_bios(device_t dev, void *bios) argument 207 vga_pci_repost(device_t dev) argument 237 vga_pci_probe(device_t dev) argument 259 vga_pci_attach(device_t dev) argument 276 vga_pci_suspend(device_t dev) argument 283 vga_pci_resume(device_t dev) argument 292 vga_pci_read_ivar(device_t dev, device_t child, int which, uintptr_t *result) argument 299 vga_pci_write_ivar(device_t dev, device_t child, int which, uintptr_t value) argument 306 vga_pci_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 315 vga_pci_teardown_intr(device_t dev, device_t child, struct resource *irq, void *cookie) argument 335 vga_pci_alloc_resource(device_t dev, device_t child, int type, int *rid, rman_res_t start, rman_res_t end, rman_res_t count, u_int flags) argument 361 vga_pci_release_resource(device_t dev, device_t child, int type, int rid, struct resource *r) argument 400 vga_pci_read_config(device_t dev, device_t child, int reg, int width) argument 407 vga_pci_write_config(device_t dev, device_t child, int reg, uint32_t val, int width) argument 415 vga_pci_enable_busmaster(device_t dev, device_t child) argument 422 vga_pci_disable_busmaster(device_t dev, device_t child) argument 429 vga_pci_enable_io(device_t dev, device_t child, int space) argument 438 vga_pci_disable_io(device_t dev, device_t child, int space) argument 447 vga_pci_get_vpd_ident(device_t dev, device_t child, const char **identptr) argument 454 vga_pci_get_vpd_readonly(device_t dev, device_t child, const char *kw, const char **vptr) argument 462 vga_pci_set_powerstate(device_t dev, device_t child, int state) argument 471 vga_pci_get_powerstate(device_t dev, device_t child) argument 480 vga_pci_assign_interrupt(device_t dev, device_t child) argument 489 vga_pci_find_cap(device_t dev, device_t child, int capability, int *capreg) argument 497 vga_pci_find_next_cap(device_t dev, device_t child, int capability, int start, int *capreg) argument 505 vga_pci_find_extcap(device_t dev, device_t child, int capability, int *capreg) argument 513 vga_pci_find_next_extcap(device_t dev, device_t child, int capability, int start, int *capreg) argument 521 vga_pci_find_htcap(device_t dev, device_t child, int capability, int *capreg) argument 529 vga_pci_find_next_htcap(device_t dev, device_t child, int capability, int start, int *capreg) argument 537 vga_pci_alloc_msi(device_t dev, device_t child, int *count) argument 552 vga_pci_alloc_msix(device_t dev, device_t child, int *count) argument 567 vga_pci_remap_msix(device_t dev, device_t child, int count, const u_int *vectors) argument 579 vga_pci_release_msi(device_t dev, device_t child) argument 594 vga_pci_msi_count(device_t dev, device_t child) argument 601 vga_pci_msix_count(device_t dev, device_t child) argument [all...] |
/freebsd-11-stable/sys/dev/ata/ |
H A D | ata-cbus.c | 45 #include <dev/ata/ata-all.h> 66 ata_cbus_probe(device_t dev) argument 73 if (isa_get_vendorid(dev)) 78 if (!(io = bus_alloc_resource_anywhere(dev, SYS_RES_IOPORT, &rid, 84 if (bus_get_resource(dev, SYS_RES_IOPORT, rid, &tmp, &tmp)) { 85 bus_set_resource(dev, SYS_RES_IOPORT, rid, 91 if (bus_get_resource(dev, SYS_RES_IOPORT, rid, &tmp, &tmp)) { 92 bus_set_resource(dev, SYS_RES_IOPORT, rid, 96 bus_release_resource(dev, SYS_RES_IOPORT, ATA_IOADDR_RID, io); 101 ata_cbus_attach(device_t dev) argument 170 ata_cbus_alloc_resource(device_t dev, device_t child, int type, int *rid, rman_res_t start, rman_res_t end, rman_res_t count, u_int flags) argument 190 ata_cbus_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 209 ata_cbus_print_child(device_t dev, device_t child) argument 259 ata_cbuschannel_probe(device_t dev) argument 270 ata_cbuschannel_attach(device_t dev) argument 299 ata_cbuschannel_detach(device_t dev) argument 311 ata_cbuschannel_suspend(device_t dev) argument 322 ata_cbuschannel_resume(device_t dev) argument [all...] |
/freebsd-11-stable/sys/dev/ath/ |
H A D | if_ath_pci.c | 61 #include <dev/ath/if_athvar.h> 63 #include <dev/pci/pcivar.h> 64 #include <dev/pci/pcireg.h> 139 ath_pci_probe_device(device_t dev, const struct pci_device_id *dev_table, int nentries) argument 145 vendor_id = pci_get_vendor(dev); 146 device_id = pci_get_device(dev); 147 sub_vendor_id = pci_get_subvendor(dev); 148 sub_device_id = pci_get_subdevice(dev); 182 ath_pci_setup(device_t dev) argument 192 cz = pci_read_config(dev, PCIR_CACHELNS 222 ath_pci_probe(device_t dev) argument 235 ath_pci_attach(device_t dev) argument 381 ath_pci_detach(device_t dev) argument 416 ath_pci_shutdown(device_t dev) argument 425 ath_pci_suspend(device_t dev) argument 435 ath_pci_resume(device_t dev) argument [all...] |
/freebsd-11-stable/sys/dev/siba/ |
H A D | siba_bwn.c | 55 #include <dev/pci/pcivar.h> 56 #include <dev/pci/pcireg.h> 58 #include <dev/siba/siba_ids.h> 59 #include <dev/siba/sibareg.h> 60 #include <dev/siba/sibavar.h> 107 siba_bwn_probe(device_t dev) argument 112 did = pci_get_device(dev); 113 vid = pci_get_vendor(dev); 117 device_set_desc(dev, siba_devices[i].desc); 125 siba_bwn_attach(device_t dev) argument 162 siba_bwn_detach(device_t dev) argument 180 siba_bwn_suspend(device_t dev) argument 195 siba_bwn_resume(device_t dev) argument 212 siba_bwn_alloc_resource(device_t dev, device_t child, int type, int *rid, rman_res_t start, rman_res_t end, rman_res_t count, u_int flags) argument 222 siba_bwn_release_resource(device_t dev, device_t child, int type, int rid, struct resource *r) argument 232 siba_bwn_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 243 siba_bwn_teardown_intr(device_t dev, device_t child, struct resource *irq, void *cookie) argument 251 siba_bwn_find_cap(device_t dev, device_t child, int capability, int *capreg) argument 259 siba_bwn_find_extcap(device_t dev, device_t child, int capability, int *capreg) argument 267 siba_bwn_find_htcap(device_t dev, device_t child, int capability, int *capreg) argument 275 siba_bwn_alloc_msi(device_t dev, device_t child, int *count) argument 290 siba_bwn_release_msi(device_t dev, device_t child) argument 305 siba_bwn_msi_count(device_t dev, device_t child) argument 312 siba_bwn_read_ivar(device_t dev, device_t child, int which, uintptr_t *result) argument [all...] |
/freebsd-11-stable/sys/dev/mthca/ |
H A D | mthca_mcg.c | 63 static int find_mgm(struct mthca_dev *dev, argument 72 mailbox = mthca_alloc_mailbox(dev, GFP_KERNEL); 79 err = mthca_MGID_HASH(dev, mailbox, hash); 81 mthca_err(dev, "MGID_HASH failed (%d)\n", err); 86 mthca_dbg(dev, "Hash for %pI6 is %04x\n", gid, *hash); 92 err = mthca_READ_MGM(dev, *index, mgm_mailbox); 94 mthca_err(dev, "READ_MGM failed (%d)\n", err); 100 mthca_err(dev, "Found zero MGID in AMGM.\n"); 116 mthca_free_mailbox(dev, mailbox); 122 struct mthca_dev *dev local 216 struct mthca_dev *dev = to_mdev(ibqp->device); local 315 mthca_init_mcg_table(struct mthca_dev *dev) argument 332 mthca_cleanup_mcg_table(struct mthca_dev *dev) argument [all...] |
/freebsd-11-stable/sys/dev/acpi_support/ |
H A D | acpi_rapidstart.c | 35 #include <contrib/dev/acpica/include/acpi.h> 39 #include <dev/acpica/acpivar.h> 63 acpi_rapidstart_probe(device_t dev) argument 66 ACPI_ID_PROBE(device_get_parent(dev), dev, rapidstart_ids) == NULL || 67 device_get_unit(dev) != 0) 70 device_set_desc(dev, "Intel Rapid Start ACPI device"); 77 acpi_rapidstart_attach(device_t dev) argument 82 sc = device_get_softc(dev); 84 sc->sysctl_ctx = device_get_sysctl_ctx(dev); 109 device_t dev = arg1; local [all...] |
/freebsd-11-stable/sys/dev/acpica/ |
H A D | acpi_pcibvar.h | 35 void acpi_pci_link_add_reference(device_t dev, int index, device_t pcib, 37 int acpi_pci_link_route_interrupt(device_t dev, int index); 39 int acpi_pcib_get_cpus(device_t pcib, device_t dev, enum cpu_sets op, 41 int acpi_pcib_route_interrupt(device_t pcib, device_t dev, int pin, 43 int acpi_pcib_power_for_sleep(device_t pcib, device_t dev,
|
/freebsd-11-stable/sys/dev/drm2/i915/ |
H A D | intel_panel.c | 36 #include <dev/drm2/drmP.h> 37 #include <dev/drm2/i915/intel_drv.h> 60 intel_pch_panel_fitting(struct drm_device *dev, argument 65 struct drm_i915_private *dev_priv = dev->dev_private; 123 static int is_backlight_combination_mode(struct drm_device *dev) argument 125 struct drm_i915_private *dev_priv = dev->dev_private; 127 if (INTEL_INFO(dev)->gen >= 4) 130 if (IS_GEN2(dev)) 136 static u32 i915_read_blc_pwm_ctl(struct drm_device *dev) argument 138 struct drm_i915_private *dev_priv = dev 170 _intel_panel_get_max_backlight(struct drm_device *dev) argument 191 intel_panel_get_max_backlight(struct drm_device *dev) argument 216 intel_panel_compute_brightness(struct drm_device *dev, u32 val) argument 230 intel_panel_get_backlight(struct drm_device *dev) argument 255 intel_pch_panel_set_backlight(struct drm_device *dev, u32 level) argument 262 intel_panel_actually_set_backlight(struct drm_device *dev, u32 level) argument 289 intel_panel_set_backlight(struct drm_device *dev, u32 level) argument 298 intel_panel_disable_backlight(struct drm_device *dev) argument 320 intel_panel_enable_backlight(struct drm_device *dev, enum pipe pipe) argument 371 intel_panel_init_backlight(struct drm_device *dev) argument 380 intel_panel_detect(struct drm_device *dev) argument 404 struct drm_device *dev = bl_get_data(bd); local 411 struct drm_device *dev = bl_get_data(bd); local 423 struct drm_device *dev = connector->dev; local 454 intel_panel_destroy_backlight(struct drm_device *dev) argument 469 intel_panel_destroy_backlight(struct drm_device *dev) argument [all...] |
/freebsd-11-stable/sys/dev/aic7xxx/ |
H A D | ahc_eisa.c | 29 * $Id: //depot/aic7xxx/freebsd/dev/aic7xxx/ahc_eisa.c#13 $ 35 #include <dev/aic7xxx/aic7xxx_osm.h> 37 #include <dev/eisa/eisaconf.h> 40 aic7770_probe(device_t dev) argument 54 entry = aic7770_find_device(eisa_get_id(dev)); 57 device_set_desc(dev, entry->name); 59 iobase = (eisa_get_slot(dev) * EISA_SLOT_SIZE) + AHC_EISA_SLOT_OFFSET; 61 eisa_add_iospace(dev, iobase, AHC_EISA_IOSIZE, RESVADDR_NONE); 64 regs = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid, RF_ACTIVE); 66 device_printf(dev, "Unabl 106 aic7770_attach(device_t dev) argument [all...] |
/freebsd-11-stable/sys/dev/altera/avgen/ |
H A D | altera_avgen_fdt.c | 53 #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> 58 #include <dev/altera/avgen/altera_avgen.h> 61 altera_avgen_fdt_probe(device_t dev) argument 64 if (!ofw_bus_status_okay(dev)) 67 if (ofw_bus_is_compatible(dev, "sri-cambridge,avgen")) { 68 device_set_desc(dev, "Generic Altera Avalon device attachment"); 75 altera_avgen_fdt_attach(device_t dev) argument 132 altera_avgen_fdt_detach(device_t dev) argument [all...] |
/freebsd-11-stable/sys/dev/ata/chipsets/ |
H A D | ata-cyrix.c | 47 #include <dev/pci/pcivar.h> 48 #include <dev/pci/pcireg.h> 49 #include <dev/ata/ata-all.h> 50 #include <dev/ata/ata-pci.h> 54 static int ata_cyrix_chipinit(device_t dev); 55 static int ata_cyrix_ch_attach(device_t dev); 56 static int ata_cyrix_setmode(device_t dev, int target, int mode); 62 ata_cyrix_probe(device_t dev) argument 64 struct ata_pci_controller *ctlr = device_get_softc(dev); 66 if (pci_get_devid(dev) 75 ata_cyrix_chipinit(device_t dev) argument 87 ata_cyrix_ch_attach(device_t dev) argument 97 ata_cyrix_setmode(device_t dev, int target, int mode) argument [all...] |
H A D | ata-national.c | 47 #include <dev/pci/pcivar.h> 48 #include <dev/pci/pcireg.h> 49 #include <dev/ata/ata-all.h> 50 #include <dev/ata/ata-pci.h> 54 static int ata_national_chipinit(device_t dev); 55 static int ata_national_ch_attach(device_t dev); 56 static int ata_national_setmode(device_t dev, int target, int mode); 62 ata_national_probe(device_t dev) argument 64 struct ata_pci_controller *ctlr = device_get_softc(dev); 67 if (pci_get_devid(dev) 76 ata_national_chipinit(device_t dev) argument 89 ata_national_ch_attach(device_t dev) argument 99 ata_national_setmode(device_t dev, int target, int mode) argument [all...] |
/freebsd-11-stable/sys/dev/pms/RefTisa/tisa/sassata/sas/ini/ |
H A D | itdtypes.h | 36 #include <dev/pms/RefTisa/sallsdk/api/sa.h> 37 #include <dev/pms/RefTisa/tisa/api/titypes.h> 38 #include <dev/pms/RefTisa/tisa/sassata/sas/common/tdtypes.h> 39 #include <dev/pms/RefTisa/tisa/sassata/common/tdlist.h> 40 #include <dev/pms/RefTisa/tisa/sassata/sas/ini/itddefs.h>
|
/freebsd-11-stable/sys/dev/mk48txx/ |
H A D | mk48txxvar.h | 34 typedef uint8_t (*mk48txx_nvrd_t)(device_t dev, int off); 35 typedef void (*mk48txx_nvwr_t)(device_t dev, int off, uint8_t v); 57 int mk48txx_attach(device_t dev); 60 int mk48txx_gettime(device_t dev, struct timespec *ts); 61 int mk48txx_settime(device_t dev, struct timespec *ts);
|
/freebsd-11-stable/tools/tools/wtap/wtap/ |
H A D | wtap.c | 38 static int dev = -1; variable 42 if(ioctl(dev, WTAPIOCTLCRT, &id) < 0){ 49 if(ioctl(dev, WTAPIOCTLDEL, &id) < 0){ 65 dev = open("/dev/wtapctl", O_RDONLY); 66 if(dev < 0){
|
/freebsd-11-stable/sys/dev/isci/scil/ |
H A D | scif_sas_high_priority_request_queue.h | 74 #include <dev/isci/scil/sci_types.h> 75 #include <dev/isci/scil/sci_base_object.h> 76 #include <dev/isci/scil/sci_pool.h> 77 #include <dev/isci/scil/scif_sas_domain.h> 78 #include <dev/isci/scil/scif_sas_internal_io_request.h>
|
/freebsd-11-stable/sys/dev/fdt/ |
H A D | simplebus.h | 32 #include <dev/ofw/ofw_bus.h> 45 device_t dev; member in struct:simplebus_softc 59 void simplebus_init(device_t dev, phandle_t node); 60 device_t simplebus_add_device(device_t dev, phandle_t node, u_int order, 62 struct simplebus_devinfo *simplebus_setup_dinfo(device_t dev, phandle_t node,
|
/freebsd-11-stable/sys/modules/hyperv/storvsc/ |
H A D | Makefile | 3 .PATH: ${SRCTOP}/sys/dev/hyperv/storvsc \ 4 ${SRCTOP}/sys/dev/hyperv/vmbus \ 11 CFLAGS+= -I${SRCTOP}/sys/dev/hyperv/include \ 12 -I${SRCTOP}/sys/dev/hyperv/vmbus \ 13 -I${SRCTOP}/sys/dev/hyperv/storvsc
|
/freebsd-11-stable/sys/arm/allwinner/clk/ |
H A D | aw_codecclk.c | 44 #include <dev/ofw/ofw_bus.h> 45 #include <dev/ofw/ofw_bus_subr.h> 46 #include <dev/ofw/ofw_subr.h> 48 #include <dev/extres/clk/clk_gate.h> 49 #include <dev/extres/hwreset/hwreset.h> 61 aw_codecclk_create(device_t dev, bus_addr_t paddr, struct clkdom *clkdom, argument 82 aw_codecclk_probe(device_t dev) argument 84 if (!ofw_bus_status_okay(dev)) 87 if (ofw_bus_search_compatible(dev, compat_data)->ocd_data == 0) 90 device_set_desc(dev, "Allwinne 95 aw_codecclk_attach(device_t dev) argument [all...] |
/freebsd-11-stable/sys/dev/iicbus/twsi/ |
H A D | a10_twsi.c | 28 __FBSDID("$FreeBSD: stable/11/sys/dev/iicbus/twsi/a10_twsi.c 331182 2018-03-19 06:40:11Z eadler $"); 45 #include <dev/iicbus/iiconf.h> 46 #include <dev/iicbus/iicbus.h> 47 #include <dev/iicbus/twsi/twsi.h> 48 #include <dev/ofw/ofw_bus.h> 49 #include <dev/ofw/ofw_bus_subr.h> 51 #include <dev/extres/clk/clk.h> 52 #include <dev/extres/hwreset/hwreset.h> 74 a10_twsi_probe(device_t dev) argument 77 if (!ofw_bus_status_okay(dev)) 88 a10_twsi_attach(device_t dev) argument 135 a10_twsi_get_node(device_t bus, device_t dev) argument [all...] |