/freebsd-11.0-release/sys/ofed/drivers/net/mlx4/ |
H A D | sense.c | 41 int mlx4_SENSE_PORT(struct mlx4_dev *dev, int port, argument 47 err = mlx4_cmd_imm(dev, 0, &out_param, port, 0, 51 mlx4_err(dev, "Sense command failed for port: %d\n", port); 56 mlx4_err(dev, "Sense returned illegal value: 0x%llx\n", (unsigned long long)out_param); 64 void mlx4_do_sense_ports(struct mlx4_dev *dev, argument 68 struct mlx4_sense *sense = &mlx4_priv(dev)->sense; 72 for (i = 1; i <= dev->caps.num_ports; i++) { 75 dev->caps.possible_type[i] == MLX4_PORT_TYPE_AUTO) { 76 err = mlx4_SENSE_PORT(dev, i, &stype[i - 1]); 86 for (i = 0; i < dev 96 struct mlx4_dev *dev = sense->dev; local 115 mlx4_start_sense(struct mlx4_dev *dev) argument 127 mlx4_stop_sense(struct mlx4_dev *dev) argument 132 mlx4_sense_init(struct mlx4_dev *dev) argument [all...] |
H A D | main.c | 268 static inline u64 dbdf_to_u64(int domain, int bus, int dev, int fn) argument 270 return (domain << 20) | (bus << 12) | (dev << 4) | fn; 364 int domain, bus, dev, fn; local 389 if (sscanf(sbdf, "%02x:%02x.%x-", &bus, &dev, &fn) != 3) { 394 &dev, &fn) != 4) { 398 sprintf(tmp, "%04x:%02x:%02x.%x-", domain, bus, dev, 401 sprintf(tmp, "%02x:%02x.%x-", bus, dev, fn); 409 dbdf = dbdf_to_u64(domain, bus, dev, fn); 503 dbdf = dbdf_to_u64(pci_get_domain(pdev->dev.bsddev), pci_get_bus(pdev->dev 560 mlx4_check_port_params(struct mlx4_dev *dev, enum mlx4_port_type *port_type) argument 585 mlx4_set_port_mask(struct mlx4_dev *dev) argument 593 mlx4_dev_cap(struct mlx4_dev *dev, struct mlx4_dev_cap *dev_cap) argument 831 mlx4_how_many_lives_vf(struct mlx4_dev *dev) argument 850 mlx4_get_parav_qkey(struct mlx4_dev *dev, u32 qpn, u32 *qkey) argument 868 mlx4_sync_pkey_table(struct mlx4_dev *dev, int slave, int port, int i, int val) argument 879 mlx4_put_slave_node_guid(struct mlx4_dev *dev, int slave, __be64 guid) argument 890 mlx4_get_slave_node_guid(struct mlx4_dev *dev, int slave) argument 901 mlx4_is_slave_active(struct mlx4_dev *dev, int slave) argument 914 slave_adjust_steering_mode(struct mlx4_dev *dev, struct mlx4_dev_cap *dev_cap, struct mlx4_init_hca_param *hca_param) argument 929 mlx4_slave_cap(struct mlx4_dev *dev) argument 1104 mlx4_request_modules(struct mlx4_dev *dev) argument 1129 mlx4_change_port_types(struct mlx4_dev *dev, enum mlx4_port_type *port_types) argument 1167 show_port_type(struct device *dev, struct device_attribute *attr, char *buf) argument 1187 set_port_type(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 1322 show_firmware_version(struct device *dev, struct device_attribute *attr, char *buf) argument 1335 show_port_ib_mtu(struct device *dev, struct device_attribute *attr, char *buf) argument 1352 set_port_ib_mtu(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 1396 mlx4_load_fw(struct mlx4_dev *dev) argument 1433 mlx4_init_cmpt_table(struct mlx4_dev *dev, u64 cmpt_base, int cmpt_entry_sz) argument 1493 mlx4_init_icm(struct mlx4_dev *dev, struct mlx4_dev_cap *dev_cap, struct mlx4_init_hca_param *init_hca, u64 icm_size) argument 1701 mlx4_free_icms(struct mlx4_dev *dev) argument 1726 mlx4_slave_exit(struct mlx4_dev *dev) argument 1736 map_bf_area(struct mlx4_dev *dev) argument 1757 unmap_bf_area(struct mlx4_dev *dev) argument 1763 mlx4_read_clock(struct mlx4_dev *dev) argument 1788 map_internal_clock(struct mlx4_dev *dev) argument 1803 mlx4_get_internal_clock_params(struct mlx4_dev *dev, struct mlx4_clock_params *params) argument 1821 unmap_internal_clock(struct mlx4_dev *dev) argument 1829 mlx4_close_hca(struct mlx4_dev *dev) argument 1846 mlx4_init_slave(struct mlx4_dev *dev) argument 1914 mlx4_parav_master_pf_caps(struct mlx4_dev *dev) argument 1942 choose_steering_mode(struct mlx4_dev *dev, struct mlx4_dev_cap *dev_cap) argument 1988 mlx4_init_hca(struct mlx4_dev *dev) argument 2166 mlx4_init_counters_table(struct mlx4_dev *dev) argument 2259 mlx4_cleanup_counters_table(struct mlx4_dev *dev) argument 2298 __mlx4_slave_counters_free(struct mlx4_dev *dev, int slave) argument 2337 __mlx4_counter_alloc(struct mlx4_dev *dev, int slave, int port, u32 *idx) argument 2410 mlx4_counter_alloc(struct mlx4_dev *dev, u8 port, u32 *idx) argument 2455 __mlx4_counter_free(struct mlx4_dev *dev, int slave, int port, u32 idx) argument 2540 mlx4_counter_free(struct mlx4_dev *dev, u8 port, u32 idx) argument 2578 __mlx4_clear_if_stat(struct mlx4_dev *dev, u8 counter_index) argument 2605 mlx4_get_default_counter_index(struct mlx4_dev *dev, int slave, int port) argument 2635 mlx4_get_vport_ethtool_stats(struct mlx4_dev *dev, int port, struct mlx4_en_vport_stats *vport_stats, int reset) argument 2702 mlx4_setup_hca(struct mlx4_dev *dev) argument 2904 mlx4_enable_msi_x(struct mlx4_dev *dev) argument 2981 mlx4_init_hca_info(struct mlx4_dev *dev) argument 3003 mlx4_init_port_info(struct mlx4_dev *dev, int port) argument 3071 mlx4_init_steering(struct mlx4_dev *dev) argument 3089 mlx4_clear_steering(struct mlx4_dev *dev) argument 3130 mlx4_get_ownership(struct mlx4_dev *dev) argument 3150 mlx4_free_ownership(struct mlx4_dev *dev) argument 3171 struct mlx4_dev *dev; local 3518 struct mlx4_dev *dev = pci_get_drvdata(pdev); local 3592 restore_current_port_types(struct mlx4_dev *dev, enum mlx4_port_type *types, enum mlx4_port_type *poss_types) argument 3611 struct mlx4_dev *dev = pci_get_drvdata(pdev); local [all...] |
H A D | pd.c | 47 int mlx4_pd_alloc(struct mlx4_dev *dev, u32 *pdn) argument 49 struct mlx4_priv *priv = mlx4_priv(dev); 59 void mlx4_pd_free(struct mlx4_dev *dev, u32 pdn) argument 61 mlx4_bitmap_free(&mlx4_priv(dev)->pd_bitmap, pdn, MLX4_USE_RR); 65 int __mlx4_xrcd_alloc(struct mlx4_dev *dev, u32 *xrcdn) argument 67 struct mlx4_priv *priv = mlx4_priv(dev); 76 int mlx4_xrcd_alloc(struct mlx4_dev *dev, u32 *xrcdn) argument 81 if (mlx4_is_mfunc(dev)) { 82 err = mlx4_cmd_imm(dev, 0, &out_param, 92 return __mlx4_xrcd_alloc(dev, xrcd 96 __mlx4_xrcd_free(struct mlx4_dev *dev, u32 xrcdn) argument 101 mlx4_xrcd_free(struct mlx4_dev *dev, u32 xrcdn) argument 118 mlx4_init_pd_table(struct mlx4_dev *dev) argument 127 mlx4_cleanup_pd_table(struct mlx4_dev *dev) argument 132 mlx4_init_xrcd_table(struct mlx4_dev *dev) argument 140 mlx4_cleanup_xrcd_table(struct mlx4_dev *dev) argument 145 mlx4_uar_alloc(struct mlx4_dev *dev, struct mlx4_uar *uar) argument 164 mlx4_uar_free(struct mlx4_dev *dev, struct mlx4_uar *uar) argument 171 mlx4_bf_alloc(struct mlx4_dev *dev, struct mlx4_bf *bf, int node) argument 244 mlx4_bf_free(struct mlx4_dev *dev, struct mlx4_bf *bf) argument 271 mlx4_bf_alloc(struct mlx4_dev *dev, struct mlx4_bf *bf, int node) argument 278 mlx4_bf_free(struct mlx4_dev *dev, struct mlx4_bf *bf) argument 285 mlx4_init_uar_table(struct mlx4_dev *dev) argument 299 mlx4_cleanup_uar_table(struct mlx4_dev *dev) argument [all...] |
/freebsd-11.0-release/gnu/usr.bin/grep/tests/ |
H A D | empty.sh | 12 echo "" | ${GREP} $options -e '' > /dev/null 2>&1 19 echo "abcd" | ${GREP} $options -f /dev/null > /dev/null 2>&1 26 echo "abcd" | ${GREP} $options -f /dev/null -e "abcd" > /dev/null 2>&1
|
/freebsd-11.0-release/sys/tools/ |
H A D | embed_mfs.sh | 35 mfs_size=`stat -f '%z' $2 2> /dev/null` 39 sec_info=`objdump -h $1 2> /dev/null | grep " oldmfs "` 43 sec_size=`echo ${sec_info} | awk '{printf("%d", "0x" $3)}' 2> /dev/null` 44 sec_start=`echo ${sec_info} | awk '{printf("%d", "0x" $6)}' 2> /dev/null` 50 dd if=$2 ibs=8192 of=$1 obs=${sec_start} oseek=1 conv=notrunc 2> /dev/null && \
|
/freebsd-11.0-release/sys/ofed/drivers/infiniband/hw/mthca/ |
H A D | mthca_catas.c | 62 struct mthca_dev *dev, *tmpdev; local 72 list_for_each_entry_safe(dev, tmpdev, &tlist, catas_err.list) { 73 struct pci_dev *pdev = dev->pdev; 74 ret = __mthca_restart_one(dev->pdev); 75 /* 'dev' now is not valid */ 88 static void handle_catas(struct mthca_dev *dev) argument 95 event.device = &dev->ib_dev; 98 dev->active = 0; 102 switch (swab32(readl(dev->catas_err.map)) >> 24) { 120 mthca_err(dev, "Catastrophi 136 struct mthca_dev *dev = (struct mthca_dev *) dev_ptr; local 149 mthca_start_catas_poll(struct mthca_dev *dev) argument 174 mthca_stop_catas_poll(struct mthca_dev *dev) argument [all...] |
H A D | mthca_eq.c | 165 static inline u64 async_mask(struct mthca_dev *dev) argument 167 return dev->mthca_flags & MTHCA_FLAG_SRQ ? 172 static inline void tavor_set_eq_ci(struct mthca_dev *dev, struct mthca_eq *eq, u32 ci) argument 184 dev->kar + MTHCA_EQ_DOORBELL, 185 MTHCA_GET_DOORBELL_LOCK(&dev->doorbell_lock)); 188 static inline void arbel_set_eq_ci(struct mthca_dev *dev, struct mthca_eq *eq, u32 ci) argument 193 dev->eq_regs.arbel.eq_set_ci_base + eq->eqn * 8); 198 static inline void set_eq_ci(struct mthca_dev *dev, struct mthca_eq *eq, u32 ci) argument 200 if (mthca_is_memfree(dev)) 201 arbel_set_eq_ci(dev, e 206 tavor_eq_req_not(struct mthca_dev *dev, int eqn) argument 213 arbel_eq_req_not(struct mthca_dev *dev, u32 eqn_mask) argument 218 disarm_cq(struct mthca_dev *dev, int eqn, int cqn) argument 245 port_change(struct mthca_dev *dev, int port, int active) argument 259 mthca_eq_int(struct mthca_dev *dev, struct mthca_eq *eq) argument 392 struct mthca_dev *dev = dev_ptr; local 420 struct mthca_dev *dev = eq->dev; local 432 struct mthca_dev *dev = dev_ptr; local 454 struct mthca_dev *dev = eq->dev; local 464 mthca_create_eq(struct mthca_dev *dev, int nent, u8 intr, struct mthca_eq *eq) argument 594 mthca_free_eq(struct mthca_dev *dev, struct mthca_eq *eq) argument 637 mthca_free_irqs(struct mthca_dev *dev) argument 651 mthca_map_reg(struct mthca_dev *dev, unsigned long offset, unsigned long size, void __iomem **map) argument 664 mthca_map_eq_regs(struct mthca_dev *dev) argument 725 mthca_unmap_eq_regs(struct mthca_dev *dev) argument 737 mthca_map_eq_icm(struct mthca_dev *dev, u64 icm_virt) argument 771 mthca_unmap_eq_icm(struct mthca_dev *dev) argument 781 mthca_init_eq_table(struct mthca_dev *dev) argument 902 mthca_cleanup_eq_table(struct mthca_dev *dev) argument [all...] |
/freebsd-11.0-release/sys/dev/pci/ |
H A D | vga_pci.c | 28 __FBSDID("$FreeBSD: releng/11.0/sys/dev/pci/vga_pci.c 296336 2016-03-03 05:07:35Z jhibbits $"); 51 #include <dev/pci/pcireg.h> 52 #include <dev/pci/pcivar.h> 70 static struct resource *vga_pci_alloc_resource(device_t dev, device_t child, 73 static int vga_pci_release_resource(device_t dev, device_t child, int type, 81 vga_pci_is_boot_display(device_t dev) argument 88 if ((pci_get_class(dev) != PCIC_DISPLAY && 89 (pci_get_class(dev) != PCIC_OLD || 90 pci_get_subclass(dev) != PCIS_OLD_VGA))) 93 unit = device_get_unit(dev); 145 vga_pci_map_bios(device_t dev, size_t *size) argument 178 vga_pci_unmap_bios(device_t dev, void *bios) argument 208 vga_pci_repost(device_t dev) argument 238 vga_pci_probe(device_t dev) argument 260 vga_pci_attach(device_t dev) argument 277 vga_pci_suspend(device_t dev) argument 284 vga_pci_resume(device_t dev) argument 293 vga_pci_read_ivar(device_t dev, device_t child, int which, uintptr_t *result) argument 300 vga_pci_write_ivar(device_t dev, device_t child, int which, uintptr_t value) argument 307 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 316 vga_pci_teardown_intr(device_t dev, device_t child, struct resource *irq, void *cookie) argument 336 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 362 vga_pci_release_resource(device_t dev, device_t child, int type, int rid, struct resource *r) argument 401 vga_pci_read_config(device_t dev, device_t child, int reg, int width) argument 408 vga_pci_write_config(device_t dev, device_t child, int reg, uint32_t val, int width) argument 416 vga_pci_enable_busmaster(device_t dev, device_t child) argument 423 vga_pci_disable_busmaster(device_t dev, device_t child) argument 430 vga_pci_enable_io(device_t dev, device_t child, int space) argument 439 vga_pci_disable_io(device_t dev, device_t child, int space) argument 448 vga_pci_get_vpd_ident(device_t dev, device_t child, const char **identptr) argument 455 vga_pci_get_vpd_readonly(device_t dev, device_t child, const char *kw, const char **vptr) argument 463 vga_pci_set_powerstate(device_t dev, device_t child, int state) argument 472 vga_pci_get_powerstate(device_t dev, device_t child) argument 481 vga_pci_assign_interrupt(device_t dev, device_t child) argument 490 vga_pci_find_cap(device_t dev, device_t child, int capability, int *capreg) argument 498 vga_pci_find_extcap(device_t dev, device_t child, int capability, int *capreg) argument 506 vga_pci_find_htcap(device_t dev, device_t child, int capability, int *capreg) argument 514 vga_pci_alloc_msi(device_t dev, device_t child, int *count) argument 529 vga_pci_alloc_msix(device_t dev, device_t child, int *count) argument 544 vga_pci_remap_msix(device_t dev, device_t child, int count, const u_int *vectors) argument 556 vga_pci_release_msi(device_t dev, device_t child) argument 571 vga_pci_msi_count(device_t dev, device_t child) argument 578 vga_pci_msix_count(device_t dev, device_t child) argument [all...] |
H A D | pci_private.h | 28 * $FreeBSD: releng/11.0/sys/dev/pci/pci_private.h 298708 2016-04-27 16:31:12Z jhb $ 51 void pci_add_children(device_t dev, int domain, int busno); 55 void pci_add_resources(device_t bus, device_t dev, int force, 57 void pci_add_resources_ea(device_t bus, device_t dev, int alloc_iov); 58 struct pci_devinfo *pci_alloc_devinfo_method(device_t dev); 59 int pci_attach_common(device_t dev); 60 int pci_rescan_method(device_t dev); 61 void pci_driver_added(device_t dev, driver_t *driver); 62 int pci_ea_is_enabled(device_t dev, int rid); 63 int pci_print_child(device_t dev, device_ [all...] |
H A D | pcivar.h | 26 * $FreeBSD: releng/11.0/sys/dev/pci/pcivar.h 302175 2016-06-24 17:26:42Z jhb $ 177 struct device *dev; /* device which owns this */ member in struct:pcicfg 331 pci_read_config(device_t dev, int reg, int width) argument 333 return PCI_READ_CONFIG(device_get_parent(dev), dev, reg, width); 337 pci_write_config(device_t dev, int reg, uint32_t val, int width) argument 339 PCI_WRITE_CONFIG(device_get_parent(dev), dev, reg, val, width); local 375 pci_enable_busmaster(device_t dev) argument 377 return(PCI_ENABLE_BUSMASTER(device_get_parent(dev), de 381 pci_disable_busmaster(device_t dev) argument 387 pci_enable_io(device_t dev, int space) argument 393 pci_disable_io(device_t dev, int space) argument 399 pci_get_vpd_ident(device_t dev, const char **identptr) argument 405 pci_get_vpd_readonly(device_t dev, const char *kw, const char **vptr) argument 450 pci_set_powerstate(device_t dev, int state) argument 456 pci_get_powerstate(device_t dev) argument 462 pci_find_cap(device_t dev, int capability, int *capreg) argument 468 pci_find_extcap(device_t dev, int capability, int *capreg) argument 474 pci_find_htcap(device_t dev, int capability, int *capreg) argument 480 pci_alloc_msi(device_t dev, int *count) argument 486 pci_alloc_msix(device_t dev, int *count) argument 492 pci_enable_msi(device_t dev, uint64_t address, uint16_t data) argument 494 PCI_ENABLE_MSI(device_get_parent(dev), dev, address, data); local 498 pci_enable_msix(device_t dev, u_int index, uint64_t address, uint32_t data) argument 500 PCI_ENABLE_MSIX(device_get_parent(dev), dev, index, address, data); local 504 pci_disable_msi(device_t dev) argument 506 PCI_DISABLE_MSI(device_get_parent(dev), dev); local 510 pci_remap_msix(device_t dev, int count, const u_int *vectors) argument 516 pci_release_msi(device_t dev) argument 522 pci_msi_count(device_t dev) argument 528 pci_msix_count(device_t dev) argument 534 pci_msix_pba_bar(device_t dev) argument 540 pci_msix_table_bar(device_t dev) argument 546 pci_get_id(device_t dev, enum pci_id_type type, uintptr_t *id) argument 557 pci_get_rid(device_t dev) argument 568 pci_child_added(device_t dev) argument [all...] |
/freebsd-11.0-release/sys/arm/ti/twl/ |
H A D | twl.h | 32 int twl_read(device_t dev, uint8_t nsub, uint8_t reg, uint8_t *buf, uint16_t cnt); 33 int twl_write(device_t dev, uint8_t nsub, uint8_t reg, uint8_t *buf, uint16_t cnt); 35 int twl_is_4030(device_t dev); 36 int twl_is_6025(device_t dev); 37 int twl_is_6030(device_t dev);
|
/freebsd-11.0-release/sys/dev/drm/ |
H A D | drm_context.c | 32 __FBSDID("$FreeBSD: releng/11.0/sys/dev/drm/drm_context.c 207066 2010-04-22 18:21:25Z rnoland $"); 38 #include "dev/drm/drmP.h" 44 void drm_ctxbitmap_free(struct drm_device *dev, int ctx_handle) argument 47 dev->ctx_bitmap == NULL) { 54 clear_bit(ctx_handle, dev->ctx_bitmap); 55 dev->context_sareas[ctx_handle] = NULL; 60 int drm_ctxbitmap_next(struct drm_device *dev) argument 64 if (dev->ctx_bitmap == NULL) 68 bit = find_first_zero_bit(dev->ctx_bitmap, DRM_MAX_CTXBITMAP); 74 set_bit(bit, dev 97 drm_ctxbitmap_init(struct drm_device *dev) argument 121 drm_ctxbitmap_cleanup(struct drm_device *dev) argument 134 drm_getsareactx(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 155 drm_setsareactx(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 183 drm_context_switch(struct drm_device *dev, int old, int new) argument 200 drm_context_switch_complete(struct drm_device *dev, int new) argument 216 drm_resctx(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 236 drm_addctx(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 261 drm_modctx(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 267 drm_getctx(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 277 drm_switchctx(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 286 drm_newctx(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 296 drm_rmctx(struct drm_device *dev, void *data, struct drm_file *file_priv) argument [all...] |
H A D | drm_drv.c | 32 __FBSDID("$FreeBSD: releng/11.0/sys/dev/drm/drm_drv.c 283999 2015-06-04 20:36:16Z jhb $"); 41 #include "dev/drm/drmP.h" 42 #include "dev/drm/drm.h" 43 #include "dev/drm/drm_sarea.h" 51 static int drm_load(struct drm_device *dev); 52 static void drm_unload(struct drm_device *dev); 185 struct drm_device *dev; local 190 dev = device_get_softc(kdev); 192 dev->device = kdev; 193 dev 248 struct drm_device *dev; local 288 drm_firstopen(struct drm_device *dev) argument 330 drm_lastclose(struct drm_device *dev) argument 407 drm_load(struct drm_device *dev) argument 501 drm_unload(struct drm_device *dev) argument 564 drm_version(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 591 struct drm_device *dev = NULL; local 615 struct drm_device *dev = file_priv->dev; local 703 struct drm_device *dev = drm_get_device_from_kdev(kdev); local 782 drm_getsarea(struct drm_device *dev) argument [all...] |
H A D | tdfx_drv.c | 36 __FBSDID("$FreeBSD: releng/11.0/sys/dev/drm/tdfx_drv.c 283999 2015-06-04 20:36:16Z jhb $"); 38 #include "dev/drm/tdfx_drv.h" 39 #include "dev/drm/drmP.h" 40 #include "dev/drm/drm_pciids.h" 47 static void tdfx_configure(struct drm_device *dev) argument 49 dev->driver->driver_features = 52 dev->driver->buf_priv_size = 1; /* No dev_priv */ 54 dev->driver->max_ioctl = 0; 56 dev->driver->name = DRIVER_NAME; 57 dev 73 struct drm_device *dev = device_get_softc(kdev); local 86 struct drm_device *dev = device_get_softc(kdev); local [all...] |
/freebsd-11.0-release/sys/dev/vxge/vxgehal/ |
H A D | vxgehal.h | 31 /*$FreeBSD: releng/11.0/sys/dev/vxge/vxgehal/vxgehal.h 221167 2011-04-28 14:33:15Z gnn $*/ 36 #include <dev/vxge/include/vxgehal-ll.h> 37 #include <dev/vxge/vxgehal/vxgehal-debug.h> 38 #include <dev/vxge/vxgehal/vxgehal-regdefs.h> 39 #include <dev/vxge/vxgehal/vxgehal-legacy-reg.h> 40 #include <dev/vxge/vxgehal/vxgehal-toc-reg.h> 41 #include <dev/vxge/vxgehal/vxgehal-common-reg.h> 42 #include <dev/vxge/vxgehal/vxgehal-memrepair-reg.h> 43 #include <dev/vxge/vxgehal/vxgehal-pcicfgmgmt-reg.h> 44 #include <dev/vxg [all...] |
/freebsd-11.0-release/sys/dev/agp/ |
H A D | agp_intel.c | 28 __FBSDID("$FreeBSD: releng/11.0/sys/dev/agp/agp_intel.c 274084 2014-11-04 09:56:58Z kib $"); 40 #include <dev/agp/agppriv.h> 41 #include <dev/agp/agpreg.h> 42 #include <dev/pci/pcivar.h> 43 #include <dev/pci/pcireg.h> 60 agp_intel_match(device_t dev) argument 62 if (pci_get_class(dev) != PCIC_BRIDGE 63 || pci_get_subclass(dev) != PCIS_BRIDGE_HOST) 66 if (agp_find_caps(dev) == 0) 69 switch (pci_get_devid(dev)) { 114 agp_intel_probe(device_t dev) argument 130 agp_intel_commit_gatt(device_t dev) argument 216 agp_intel_attach(device_t dev) argument 259 agp_intel_detach(device_t dev) argument 309 agp_intel_resume(device_t dev) argument 320 agp_intel_get_aperture(device_t dev) argument 340 agp_intel_set_aperture(device_t dev, u_int32_t aperture) argument 366 agp_intel_bind_page(device_t dev, vm_offset_t offset, vm_offset_t physical) argument 380 agp_intel_unbind_page(device_t dev, vm_offset_t offset) argument 394 agp_intel_flush_tlb(device_t dev) argument [all...] |
H A D | agppriv.h | 26 * $FreeBSD: releng/11.0/sys/dev/agp/agppriv.h 273963 2014-11-02 11:26:37Z tijl $ 37 #include <dev/agp/agpvar.h> 86 u_int8_t agp_find_caps(device_t dev); 87 struct agp_gatt *agp_alloc_gatt(device_t dev); 88 void agp_set_aperture_resource(device_t dev, int rid); 89 void agp_free_cdev(device_t dev); 91 void agp_free_res(device_t dev); 92 int agp_generic_attach(device_t dev); 93 int agp_generic_detach(device_t dev); 94 u_int32_t agp_generic_get_aperture(device_t dev); [all...] |
/freebsd-11.0-release/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_core.h | 25 * $FreeBSD: releng/11.0/sys/dev/mlx5/mlx5_core/mlx5_core.h 290650 2015-11-10 12:20:22Z hselasky $ 41 #define mlx5_core_dbg(dev, format, ...) \ 43 (dev)->priv.name, __func__, __LINE__, curthread->td_proc->p_pid, \ 46 #define mlx5_core_dbg_mask(dev, mask, format, ...) \ 49 mlx5_core_dbg(dev, format, ##__VA_ARGS__); \ 52 #define mlx5_core_err(dev, format, ...) \ 54 (dev)->priv.name, __func__, __LINE__, curthread->td_proc->p_pid, \ 57 #define mlx5_core_warn(dev, format, ...) \ 59 (dev)->priv.name, __func__, __LINE__, curthread->td_proc->p_pid, \ 67 int mlx5_query_hca_caps(struct mlx5_core_dev *dev); 75 mlx5_cmd_exec_check_status(struct mlx5_core_dev *dev, u32 *in, int in_size, u32 *out, int out_size) argument [all...] |
/freebsd-11.0-release/sys/dev/cmx/ |
H A D | cmx_pccard.c | 29 __FBSDID("$FreeBSD: releng/11.0/sys/dev/cmx/cmx_pccard.c 298955 2016-05-03 03:41:25Z pfg $"); 46 #include <dev/cmx/cmxvar.h> 48 #include <dev/pccard/pccardvar.h> 49 #include <dev/pccard/pccard_cis.h> 62 cmx_pccard_probe(device_t dev) argument 65 if ((pp = pccard_product_lookup(dev, cmx_pccard_products, 68 device_set_desc(dev, pp->pp_name); 79 cmx_pccard_attach(device_t dev) argument 82 cmx_init_softc(dev); 84 if ((rv = cmx_alloc_resources(dev)) ! [all...] |
/freebsd-11.0-release/sys/dev/bhnd/siba/ |
H A D | siba_nexus.c | 29 __FBSDID("$FreeBSD: releng/11.0/sys/dev/bhnd/siba/siba_nexus.c 301698 2016-06-08 21:38:51Z landonf $"); 40 #include <dev/bhnd/bhnd_ids.h> 41 #include <dev/bhnd/bhnd_nexusvar.h> 42 #include <dev/bhnd/cores/chipc/chipcreg.h> 58 siba_nexus_probe(device_t dev) argument 63 sc = device_get_softc(dev); 67 if ((error = bhnd_nexus_read_chipid(dev, &sc->siba_cid))) 73 if ((error = siba_probe(dev)) > 0) { 74 device_printf(dev, "error %d in probe\n", error); 82 siba_nexus_attach(device_t dev) argument 99 siba_nexus_get_chipid(device_t dev, device_t child) argument [all...] |
/freebsd-11.0-release/sys/dev/acpi_support/ |
H A D | acpi_sony.c | 28 __FBSDID("$FreeBSD: releng/11.0/sys/dev/acpi_support/acpi_sony.c 273377 2014-10-21 07:31:21Z hselasky $"); 35 #include <contrib/dev/acpica/include/acpi.h> 39 #include <dev/acpica/acpivar.h> 87 static int acpi_sony_probe(device_t dev); 88 static int acpi_sony_attach(device_t dev); 89 static int acpi_sony_detach(device_t dev); 115 acpi_sony_probe(device_t dev) argument 119 if (ACPI_ID_PROBE(device_get_parent(dev), dev, sny_id)) { 120 device_set_desc(dev, "Son 127 acpi_sony_attach(device_t dev) argument 156 acpi_sony_detach(device_t dev) argument 179 device_t dev = arg1; local [all...] |
/freebsd-11.0-release/sys/dev/mdio/ |
H A D | mdio.c | 26 * $FreeBSD: releng/11.0/sys/dev/mdio/mdio.c 292750 2015-12-26 17:22:02Z adrian $ 34 #include <dev/mdio/mdio.h> 47 mdio_probe(device_t dev) argument 50 device_set_desc(dev, "MDIO"); 56 mdio_attach(device_t dev) argument 59 bus_generic_probe(dev); 60 bus_enumerate_hinted_children(dev); 61 return (bus_generic_attach(dev)); 65 mdio_detach(device_t dev) argument 68 bus_generic_detach(dev); 73 mdio_readreg(device_t dev, int phy, int reg) argument 80 mdio_writereg(device_t dev, int phy, int reg, int val) argument 87 mdio_readextreg(device_t dev, int phy, int devad, int reg) argument 94 mdio_writeextreg(device_t dev, int phy, int devad, int reg, int val) argument 102 mdio_hinted_child(device_t dev, const char *name, int unit) argument [all...] |
/freebsd-11.0-release/sys/mips/mediatek/ |
H A D | mtk_clock.c | 36 #include <dev/fdt/fdt_common.h> 37 #include <dev/ofw/openfirm.h> 38 #include <dev/ofw/ofw_bus.h> 39 #include <dev/ofw/ofw_bus_subr.h> 40 #include <dev/fdt/fdt_clock.h> 54 mtk_clock_probe(device_t dev) argument 57 if (!ofw_bus_status_okay(dev)) 60 if (ofw_bus_search_compatible(dev, compat_data)->ocd_data == 0) 63 device_set_desc(dev, "MTK Clock Controller"); 69 mtk_clock_attach(device_t dev) argument 86 mtk_clock_set(device_t dev, int index, int value) argument 105 mtk_clock_enable(device_t dev, int index) argument 112 mtk_clock_disable(device_t dev, int index) argument 119 mtk_clock_get_info(device_t dev, int index, struct fdt_clock_info *info) argument [all...] |
/freebsd-11.0-release/sys/dev/mcd/ |
H A D | mcd_isa.c | 5 __FBSDID("$FreeBSD: releng/11.0/sys/dev/mcd/mcd_isa.c 274676 2014-11-18 21:51:01Z jhb $"); 26 #include <dev/mcd/mcdreg.h> 27 #include <dev/mcd/mcdvar.h> 37 mcd_isa_probe (device_t dev) argument 43 if (isa_get_vendorid(dev)) 47 if (bus_get_resource_start(dev, SYS_RES_IOPORT, 0) == 0) 50 sc = device_get_softc(dev); 51 sc->dev = dev; 54 error = mcd_alloc_resources(dev); 72 mcd_isa_attach(device_t dev) argument 106 mcd_isa_detach(device_t dev) argument 122 mcd_alloc_resources(device_t dev) argument 166 mcd_release_resources(device_t dev) argument [all...] |
/freebsd-11.0-release/etc/rc.d/ |
H A D | dumpon | 21 ln -fs "${1}" /dev/dumpdev 37 dev=$(/bin/kenv -q dumpdev) 38 if [ -n "${dev}" ] ; then 39 dumpon_try "${dev}" 42 while read dev mp type more ; do 44 [ -c "${dev}" ] || continue 45 dumpon_try "${dev}" 2>/dev/null && return 0 62 rm -f /dev/dumpdev
|