/freebsd-11-stable/sys/arm/at91/ |
H A D | uart_bus_at91usart.c | 41 #include <dev/uart/uart.h> 42 #include <dev/uart/uart_bus.h> 43 #include <dev/uart/uart_cpu.h> 50 static int usart_at91_probe(device_t dev); 69 usart_at91_probe(device_t dev) argument 73 sc = device_get_softc(dev); 74 switch (device_get_unit(dev)) 77 device_set_desc(dev, "DBGU"); 86 device_set_desc(dev, "USART0"); 89 device_set_desc(dev, "USART [all...] |
/freebsd-11-stable/sys/dev/amdsmn/ |
H A D | amdsmn.h | 26 * $FreeBSD: stable/11/sys/dev/amdsmn/amdsmn.h 323184 2017-09-05 15:13:41Z cem $ 31 int amdsmn_read(device_t dev, uint32_t addr, uint32_t *value); 32 int amdsmn_write(device_t dev, uint32_t addr, uint32_t value);
|
/freebsd-11-stable/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_catas.c | 52 static int read_vendor_id(struct mlx4_dev *dev) argument 57 ret = pci_read_config_word(dev->persist->pdev, 0, &vendor_id); 59 mlx4_err(dev, "Failed to read vendor ID, ret=%d\n", ret); 64 mlx4_err(dev, "PCI can't be accessed to read vendor id\n"); 71 static int mlx4_reset_master(struct mlx4_dev *dev) argument 75 if (mlx4_is_master(dev)) 76 mlx4_report_internal_err_comm_event(dev); 78 if (!pci_channel_offline(dev->persist->pdev)) { 79 err = read_vendor_id(dev); 86 err = mlx4_reset(dev); 94 mlx4_reset_slave(struct mlx4_dev *dev) argument 172 struct mlx4_dev *dev; local 217 dump_err_buf(struct mlx4_dev *dev) argument 231 struct mlx4_dev *dev = (struct mlx4_dev *) dev_ptr; local 269 mlx4_start_catas_poll(struct mlx4_dev *dev) argument 298 mlx4_stop_catas_poll(struct mlx4_dev *dev) argument 313 mlx4_catas_init(struct mlx4_dev *dev) argument 323 mlx4_catas_end(struct mlx4_dev *dev) argument [all...] |
H A D | mlx4_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 166 mlx4_uar_free(struct mlx4_dev *dev, struct mlx4_uar *uar) argument 172 mlx4_bf_alloc(struct mlx4_dev *dev, struct mlx4_bf *bf, int node) argument 246 mlx4_bf_free(struct mlx4_dev *dev, struct mlx4_bf *bf) argument 272 mlx4_init_uar_table(struct mlx4_dev *dev) argument 291 mlx4_cleanup_uar_table(struct mlx4_dev *dev) argument [all...] |
/freebsd-11-stable/sys/dev/mlx5/ |
H A D | mpfs.h | 25 * $FreeBSD: stable/11/sys/dev/mlx5/mpfs.h 359542 2020-04-01 22:45:33Z kib $ 32 int mlx5_mpfs_add_mac(struct mlx5_core_dev *dev, u32 *p_index, const u8 *mac, 34 int mlx5_mpfs_del_mac(struct mlx5_core_dev *dev, u32 index); 35 int mlx5_mpfs_init(struct mlx5_core_dev *dev); 36 void mlx5_mpfs_destroy(struct mlx5_core_dev *dev);
|
/freebsd-11-stable/sys/dev/acpica/ |
H A D | acpi_pcivar.h | 25 * $FreeBSD: stable/11/sys/dev/acpica/acpi_pcivar.h 367457 2020-11-07 18:10:59Z dim $ 33 void acpi_pci_child_added(device_t dev, device_t child);
|
/freebsd-11-stable/sys/dev/drm2/ |
H A D | drm_stub.c | 37 #include <dev/drm2/drmP.h> 38 #include <dev/drm2/drm_core.h> 86 static int drm_minor_get_id(struct drm_device *dev, int type) argument 90 new_id = device_get_unit(dev->dev); 135 struct drm_device *dev = master->minor->dev; local 140 if (dev->driver->master_destroy) 141 dev->driver->master_destroy(dev, maste 175 drm_setmaster_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 207 drm_dropmaster_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 225 drm_fill_in_dev(struct drm_device *dev, struct drm_driver *driver) argument 298 drm_cancel_fill_in_dev(struct drm_device *dev) argument 342 drm_get_minor(struct drm_device *dev, struct drm_minor **minor, int type) argument 436 drm_put_dev(struct drm_device *dev) argument [all...] |
/freebsd-11-stable/sys/dev/dpaa/ |
H A D | fman.h | 36 device_t dev; member in struct:fman_softc 53 int fman_attach(device_t dev); 54 int fman_detach(device_t dev); 55 int fman_suspend(device_t dev); 56 int fman_resume(device_t dev); 57 int fman_shutdown(device_t dev); 58 int fman_read_ivar(device_t dev, device_t child, int index,
|
/freebsd-11-stable/sys/dev/drm/ |
H A D | mach64_drv.c | 39 #include "dev/drm/drmP.h" 40 #include "dev/drm/drm.h" 41 #include "dev/drm/mach64_drm.h" 42 #include "dev/drm/mach64_drv.h" 43 #include "dev/drm/drm_pciids.h" 50 static void mach64_configure(struct drm_device *dev) argument 52 dev->driver->driver_features = 56 dev->driver->buf_priv_size = 1; /* No dev_priv */ 57 dev->driver->load = mach64_driver_load; 58 dev 88 struct drm_device *dev = device_get_softc(kdev); local 99 mach64_driver_load(struct drm_device * dev, unsigned long flags) argument 107 struct drm_device *dev = device_get_softc(kdev); local [all...] |
H A D | drm_context.c | 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->ctx_bitmap); 76 if ((bit+1) > 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 | 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->devnode = make_dev(&drm_cdevsw, 199 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 | 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->driver->desc = DRIVER_DESC; 58 dev 73 struct drm_device *dev = device_get_softc(kdev); local 86 struct drm_device *dev = device_get_softc(kdev); local [all...] |
/freebsd-11-stable/sys/dev/pms/RefTisa/tisa/sassata/common/ |
H A D | tdhw.c | 31 #include <dev/pms/config.h> 33 #include <dev/pms/freebsd/driver/common/osenv.h> 34 #include <dev/pms/freebsd/driver/common/ostypes.h> 35 #include <dev/pms/freebsd/driver/common/osdebug.h> 37 #include <dev/pms/RefTisa/sallsdk/api/sa.h> 38 #include <dev/pms/RefTisa/sallsdk/api/saapi.h> 39 #include <dev/pms/RefTisa/sallsdk/api/saosapi.h> 41 #include <dev/pms/RefTisa/tisa/api/titypes.h> 42 #include <dev/pms/RefTisa/tisa/api/ostiapi.h> 43 #include <dev/pm [all...] |
/freebsd-11-stable/tools/regression/ccd/layout/ |
H A D | ccd.sh | 17 ) > /dev/null 2>&1 24 ccdconfig -v ccd3 $5 $6 /dev/md90 /dev/md91 /dev/md92 /dev/md93 25 ./a > /dev/ccd3 27 md5 < /dev/md90 28 md5 < /dev/md91 29 md5 < /dev/md92 30 md5 < /dev/md9 [all...] |
/freebsd-11-stable/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-stable/sys/dev/mthca/ |
H A D | mthca_catas.c | 63 struct mthca_dev *dev, *tmpdev; local 73 list_for_each_entry_safe(dev, tmpdev, &tlist, catas_err.list) { 74 struct pci_dev *pdev = dev->pdev; 75 ret = __mthca_restart_one(dev->pdev); 76 /* 'dev' now is not valid */ 89 static void handle_catas(struct mthca_dev *dev) argument 96 event.device = &dev->ib_dev; 99 dev->active = false; 103 switch (swab32(readl(dev->catas_err.map)) >> 24) { 121 mthca_err(dev, "Catastrophi 137 struct mthca_dev *dev = (struct mthca_dev *) dev_ptr; local 150 mthca_start_catas_poll(struct mthca_dev *dev) argument 176 mthca_stop_catas_poll(struct mthca_dev *dev) argument [all...] |
H A D | mthca_eq.c | 166 static inline u64 async_mask(struct mthca_dev *dev) argument 168 return dev->mthca_flags & MTHCA_FLAG_SRQ ? 173 static inline void tavor_set_eq_ci(struct mthca_dev *dev, struct mthca_eq *eq, u32 ci) argument 185 dev->kar + MTHCA_EQ_DOORBELL, 186 MTHCA_GET_DOORBELL_LOCK(&dev->doorbell_lock)); 189 static inline void arbel_set_eq_ci(struct mthca_dev *dev, struct mthca_eq *eq, u32 ci) argument 194 dev->eq_regs.arbel.eq_set_ci_base + eq->eqn * 8); 199 static inline void set_eq_ci(struct mthca_dev *dev, struct mthca_eq *eq, u32 ci) argument 201 if (mthca_is_memfree(dev)) 202 arbel_set_eq_ci(dev, e 207 tavor_eq_req_not(struct mthca_dev *dev, int eqn) argument 214 arbel_eq_req_not(struct mthca_dev *dev, u32 eqn_mask) argument 219 disarm_cq(struct mthca_dev *dev, int eqn, int cqn) argument 246 port_change(struct mthca_dev *dev, int port, int active) argument 260 mthca_eq_int(struct mthca_dev *dev, struct mthca_eq *eq) argument 393 struct mthca_dev *dev = dev_ptr; local 421 struct mthca_dev *dev = eq->dev; local 433 struct mthca_dev *dev = dev_ptr; local 455 struct mthca_dev *dev = eq->dev; local 465 mthca_create_eq(struct mthca_dev *dev, int nent, u8 intr, struct mthca_eq *eq) argument 588 mthca_free_eq(struct mthca_dev *dev, struct mthca_eq *eq) argument 628 mthca_free_irqs(struct mthca_dev *dev) argument 642 mthca_map_reg(struct mthca_dev *dev, unsigned long offset, unsigned long size, void __iomem **map) argument 655 mthca_map_eq_regs(struct mthca_dev *dev) argument 716 mthca_unmap_eq_regs(struct mthca_dev *dev) argument 728 mthca_map_eq_icm(struct mthca_dev *dev, u64 icm_virt) argument 759 mthca_unmap_eq_icm(struct mthca_dev *dev) argument 767 mthca_init_eq_table(struct mthca_dev *dev) argument 888 mthca_cleanup_eq_table(struct mthca_dev *dev) argument [all...] |
/freebsd-11-stable/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-stable/sys/compat/linuxkpi/common/include/linux/ |
H A D | interrupt.h | 47 struct device *dev; member in struct:irq_ent 56 linux_irq_rid(struct device *dev, unsigned int irq) argument 59 if (irq >= dev->irq_start && irq < dev->irq_end) 60 return (irq - dev->irq_start + 1); 68 linux_irq_ent(struct device *dev, unsigned int irq) argument 72 list_for_each_entry(irqe, &dev->irqents, links) 85 struct device *dev; local 89 dev = linux_pci_find_irq_dev(irq); 90 if (dev 119 struct device *dev; local 135 struct device *dev; local 152 struct device *dev; local 169 struct device *dev; local [all...] |
/freebsd-11-stable/sys/dev/vxge/vxgehal/ |
H A D | vxgehal.h | 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/vxge/vxgehal/vxgehal-mrpcim-reg.h> 45 #include <dev/vxg [all...] |
/freebsd-11-stable/sys/dev/mlx5/mlx5_core/ |
H A D | transobj.h | 25 * $FreeBSD: stable/11/sys/dev/mlx5/mlx5_core/transobj.h 329213 2018-02-13 15:18:11Z hselasky $ 31 int mlx5_alloc_transport_domain(struct mlx5_core_dev *dev, u32 *tdn); 32 void mlx5_dealloc_transport_domain(struct mlx5_core_dev *dev, u32 tdn); 33 int mlx5_core_create_rq(struct mlx5_core_dev *dev, u32 *in, int inlen, 35 int mlx5_core_modify_rq(struct mlx5_core_dev *dev, u32 *in, int inlen); 36 void mlx5_core_destroy_rq(struct mlx5_core_dev *dev, u32 rqn); 37 int mlx5_core_query_rq(struct mlx5_core_dev *dev, u32 rqn, u32 *out); 38 int mlx5_core_create_sq(struct mlx5_core_dev *dev, u32 *in, int inlen, 40 int mlx5_core_modify_sq(struct mlx5_core_dev *dev, u32 *in, int inlen); 41 void mlx5_core_destroy_sq(struct mlx5_core_dev *dev, u3 [all...] |
/freebsd-11-stable/sys/dev/agp/ |
H A D | agp_intel.c | 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 | 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); 95 int agp_generic_set_aperture(device_t dev, [all...] |
/freebsd-11-stable/sys/dev/cmx/ |
H A D | cmx_pccard.c | 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)) != 0) { 85 device_printf(dev, "cmx_alloc_resource [all...] |
/freebsd-11-stable/sys/dev/bhnd/siba/ |
H A D | siba_nexus.c | 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 87 sc = device_get_softc(dev); 99 siba_nexus_get_chipid(device_t dev, device_t child) argument [all...] |