/freebsd-11-stable/contrib/libpcap/ |
H A D | pcap-dlpi.c | 127 * HP-UX has a /dev/dlpi device; you open it and set the PPA of the actual 128 * network device you want. 362 ** Remove any "/dev/" on the front of the device. 371 * Split the device name into a device type name and a unit number; 372 * chop off the unit number, so "dname" is just a device type name. 380 * Use "/dev/dlpi" as the device. 387 * search "/dev" for the appropriate device with that major 388 * device number, rather than hardwiring "/dev/dlpi". 402 * Get a table of all PPAs for that device, an 872 split_dname(char *device, u_int *unitp, char *ebuf) argument 1607 get_dlpi_ppa(register int fd, register const char *device, register u_int unit, u_int *ppa, register char *ebuf) argument [all...] |
H A D | pcap-bt-linux.c | 69 int dev_id; /* device ID of device we're bound to */ 95 pcap_snprintf(err_str, PCAP_ERRBUF_SIZE, "Can't allocate %zu bytes for Bluetooth device list", 106 errno, "Can't get Bluetooth device list via ioctl"); 142 bt_create(const char *device, char *ebuf, int *is_ours) argument 149 /* Does this look like a Bluetooth device? */ 150 cp = strrchr(device, '/'); 152 cp = device; 195 if (sscanf(handle->opt.device, BT_IFACE"%d", &dev_id) != 1) 198 "Can't get Bluetooth device inde [all...] |
/freebsd-11-stable/sys/modules/cxgbe/iw_cxgbe/ |
H A D | Makefile | 9 SRCS+= device.c
|
/freebsd-11-stable/sys/cam/ |
H A D | cam.c | 338 cam_error_string(struct cam_device *device, union ccb *ccb, char *str, 406 cam_path_string(device, path_str, sizeof(path_str)); 422 scsi_command_string(device, &ccb->csio, &sb); 494 scsi_sense_sbuf(device, &ccb->csio, &sb, 537 cam_error_print(struct cam_device *device, union ccb *ccb, argument 543 if ((device == NULL) || (ccb == NULL) || (ofile == NULL)) 546 fprintf(ofile, "%s", cam_error_string(device, ccb, str, sizeof(str),
|
/freebsd-11-stable/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_srq.c | 52 event.device = ibsrq->device; 75 struct mlx4_ib_dev *dev = to_mdev(pd->device); 236 struct mlx4_ib_dev *dev = to_mdev(ibsrq->device); 261 struct mlx4_ib_dev *dev = to_mdev(ibsrq->device); 279 struct mlx4_ib_dev *dev = to_mdev(srq->device); 324 struct mlx4_ib_dev *mdev = to_mdev(ibsrq->device);
|
H A D | mlx4_ib_cq.c | 62 event.device = ibcq->device; 96 struct mlx4_ib_dev *dev = to_mdev(cq->device); 375 struct mlx4_ib_dev *dev = to_mdev(ibcq->device); 476 struct mlx4_ib_dev *dev = to_mdev(cq->device); 585 ib_dma_sync_single_for_cpu(qp->ibqp.device, 694 struct mlx4_ib_dev *dev = to_mdev(cq->ibcq.device); 714 mqp = __mlx4_qp_lookup(to_mdev(cq->ibcq.device)->dev, 726 msrq = mlx4_srq_lookup(to_mdev(cq->ibcq.device)->dev, 831 is_eth = (rdma_port_get_link_layer(wc->qp->device, [all...] |
/freebsd-11-stable/sys/compat/linsysfs/ |
H A D | linsysfs.c | 92 * Filler function for device sym-link 241 * Filler function for symlink from drm char device to PCI device 267 char *device, *host, *new_path, *devname; local 280 device = malloc(MAXPATHLEN, M_TEMP, M_WAITOK); 286 device[0] = '\000'; 287 sprintf(device, "%s:%02x:%02x.%x", 293 strcat(new_path, device); 294 dir = pfs_create_dir(dir, device, 300 cur_file = pfs_create_file(dir, "device", [all...] |
/freebsd-11-stable/contrib/groff/src/roff/groff/ |
H A D | groff.cpp | 36 #include "device.h" 236 device = "ps"; 240 device = optarg; 293 fatal("invalid device `%1'", device); 295 fatal("no `postpro' command in DESC file for device `%1'", device); 299 // pass the device arguments to the predrivers as well 357 commands[TROFF_INDEX].append_arg("-T", device); 359 if (strcmp(device, "htm [all...] |
/freebsd-11-stable/sys/dev/advansys/ |
H A D | adwlib.c | 257 device_get_nameunit(adw->device)); 481 device_printf(adw->device, "Firmware load failed!\n"); 510 * informed us of device capabilities, but do set the desired 558 device_printf(adw->device, "Illegal Cable Config!\n"); 559 device_printf(adw->device, "Internal cable is reversed!\n"); 564 * If this is a differential board and a single-ended device 570 device_printf(adw->device, "A Single Ended Device is " 576 device_printf(adw->device, 579 device_printf(adw->device, 655 device_printf(adw->device, [all...] |
H A D | adwcam.c | 115 device_printf(adw->device, "Can't malloc ACB\n"); 240 device_printf(adw->device, "Unexepected error 0x%x " 437 case XPT_RESET_DEV: /* Bus Device Reset the specified SCSI device */ 750 adw->device = dev; 798 bus_release_resource(adw->device, 804 bus_release_resource(adw->device, 835 device_printf(adw->device, 915 device_printf(adw->device, 917 device_printf(adw->device, 936 device_printf(adw->device, [all...] |
/freebsd-11-stable/sys/dev/bhnd/bcma/ |
H A D | bcma_erom.c | 370 core->device = BCMA_EROM_GET_ATTR(entry, COREA_ID); 561 buffer[i].device = core.device; 569 buffer[i].device == buffer[j].device) 723 * @param[out] result On success, the core's device info. The caller inherits 763 core.device == prev_core.device) 779 core.device, core.rev); 795 bhnd_find_core_name(core.vendor, core.device), [all...] |
/freebsd-11-stable/sys/dev/tdfx/ |
H A D | tdfx_pci.c | 110 * a device structure to work with, and we can test the VENDOR/DEVICE IDs to 111 * see if this PCI device is one that we support. Return BUS_PRROBE_DEFAULT 140 * the system. I want to map the device memory for userland allocation and 143 * up memory writes. The last thing is to register the character device 155 /* Fill the soft config struct with info about this device*/ 278 to free an MTRR for another device */ 284 /* Remove device entry when it can no longer be accessed */ 362 /* This length of 1000h was taken from the linux device driver... */ 387 * We can pretty much allow any opening of the device. 404 * We'll always want to close the device whe [all...] |
/freebsd-11-stable/contrib/ntp/util/ |
H A D | tg.c | 66 #define DEVICE "/dev/audio" /* default audio device */ 260 char device[50]; /* audio device */ local 269 strlcpy(device, DEVICE, sizeof(device)); 274 case 'a': /* specify audio device (/dev/audio) */ 275 strlcpy(device, optarg, sizeof(device)); 323 * Open audio device and set options
|
/freebsd-11-stable/sys/dev/isci/scil/ |
H A D | scif_sas_stp_io_request.c | 115 fw_io->parent.device 121 // Set the NCQ tag in the host to device register FIS (upper 5 bits 170 fw_io->parent.device, fw_io->parent.stp.ncq_tag 209 fw_request->device, fw_io->parent.stp.ncq_tag 360 SCIF_SAS_REMOTE_DEVICE_T * fw_device = fw_io->parent.device; 445 SCIF_SAS_REMOTE_DEVICE_T * fw_device = fw_io->parent.device;
|
H A D | sati_log_sense.c | 99 if(sequence->device->capabilities & SATI_DEVICE_CAP_SMART_SUPPORT) 110 if(sequence->device->capabilities & SATI_DEVICE_CAP_SMART_SELF_TEST_SUPPORT) 398 * ATA device. The response is from a ATA_Read_Log_EXT command 430 * the SMART self-test log response received from the ATA device. 516 * the ATA SMART response received from the ATA device. The response is 622 if((sequence->device->capabilities & 638 if((sequence->device->capabilities & 669 if(sequence->device->capabilities & SATI_DEVICE_CAP_SMART_SUPPORT) 671 if(sequence->device->capabilities & SATI_DEVICE_CAP_SMART_ENABLE)
|
/freebsd-11-stable/contrib/ofed/libibverbs/ |
H A D | driver.h | 105 struct ibv_context *(*alloc_context)(struct ibv_device *device, 110 int (*init_context)(struct verbs_device *device, 112 void (*uninit_context)(struct verbs_device *device, 118 struct ibv_device device; /* Must be first */ member in struct:verbs_device 127 return container_of(dev, struct verbs_device, device);
|
/freebsd-11-stable/usr.sbin/ppp/ |
H A D | udp.c | 71 struct device dev; /* What struct physical knows about */ 142 udp_device2iov(struct device *d, struct iovec *iov, int *niov, 156 static const struct device baseudpdevice = { 177 struct device * 208 log_Printf(LogWARN, "%s: Cannot allocate a udp device: %s\n", 254 struct device * 272 p->fd--; /* We own the device but maybe can't use it - change fd */ 303 log_Printf(LogWARN, "%s: Cannot allocate a udp device: %s\n",
|
/freebsd-11-stable/sys/dev/usb/serial/ |
H A D | ugensa.c | 203 /* Figure out how many interfaces this device has got */ 205 if ((usbd_get_endpoint(uaa->device, cnt, ugensa_xfer_config + 0) == NULL) || 206 (usbd_get_endpoint(uaa->device, cnt, ugensa_xfer_config + 1) == NULL)) { 217 iface = usbd_get_iface(uaa->device, x); 226 error = usbd_transfer_setup(uaa->device, 245 usbd_set_parent_iface(uaa->device, x,
|
/freebsd-11-stable/sys/dev/smartpqi/ |
H A D | smartpqi_cam.c | 95 * Add the target to CAM layer and rescan, when a new device is found 97 void os_add_device(pqisrc_softstate_t *softs, pqi_scsi_dev_t *device) { argument 110 device->target, device->lun) != CAM_REQ_CMP) { 122 * Remove the device from CAM layer when deleted or hot removed 125 pqi_scsi_dev_t *device) { 133 device->target, device->lun) != CAM_REQ_CMP) { 139 pqisrc_free_device(softs, device); 218 pqi_scsi_dev_t *device local 124 os_remove_device(pqisrc_softstate_t *softs, pqi_scsi_dev_t *device) argument [all...] |
/freebsd-11-stable/sys/dev/wl/ |
H A D | if_wl.c | 83 * device wl0 at isa? port 0x300 net irq ? 325 static int wl_allocate_resources(device_t device); 326 static int wl_deallocate_resources(device_t device); 381 * input : address device is mapped to, and unit # being checked 386 wlprobe(device_t device) argument 394 error = ISA_PNP_PROBE(device_get_parent(device), device, wl_ids); 398 sc = device_get_softc(device); 399 error = wl_allocate_resources(device); 438 device_printf(device, "PS 472 wlattach(device_t device) argument 573 wldetach(device_t device) argument 604 wl_allocate_resources(device_t device) argument 626 wl_deallocate_resources(device_t device) argument [all...] |
/freebsd-11-stable/sys/dev/isci/ |
H A D | isci_io_request.c | 57 * @param[in] remote_device This parameter specifies the remote device on 158 "isci: bus=%x target=%x lun=%x cdb[0]=%x remote device reset required\n", 282 * Do nothing, CCB is already on the device's queue. 284 * next time a CCB on this device completes, or we 285 * get a ready notification for this device. 331 * by CAM or the isci layer (i.e. device reset for I/O 692 SCI_REMOTE_DEVICE_HANDLE_T *device = io_request->parent.remote_device_handle; local 714 device, io_request, (SCI_IO_STATUS)status); 724 io_request->parent.controller_handle, device, 729 device, io_reques 746 struct ISCI_REMOTE_DEVICE *device = local [all...] |
/freebsd-11-stable/sbin/growfs/ |
H A D | growfs.c | 1259 * Return mountpoint on which the device is currently mounted. 1266 char device[MAXPATHLEN]; local 1283 strcpy(device, _PATH_DEV); 1284 strcat(device, mntdevname); 1285 mntdevname = device; 1326 static char device[MAXPATHLEN]; local 1334 snprintf(device, sizeof(device), "%s%s", _PATH_DEV, name); 1335 if (is_dev(device)) 1336 return (device); 1371 const char *device; local [all...] |
/freebsd-11-stable/sys/dev/bhnd/siba/ |
H A D | siba.c | 84 "missing device registers for core %d\n", i); 166 *result = cfg->device; 374 * @param dev The siba bus device. 375 * @param di The device info instance on which to register all address 391 /* Register the device address space entries */ 414 /* If this is the device's core/enumeration addrespace, 448 * @param dev The siba bus device. 449 * @param chipid The chip identifier, if the device does not provide a 467 * Try to determine the number of device cores via the ChipCommon 476 uint16_t vendor, device; local [all...] |
/freebsd-11-stable/sys/dev/nxge/xgehal/ |
H A D | xgehal-channel.c | 32 #include <dev/nxge/include/xgehal-device.h> 263 * @devh: HAL device, pointer to xge_hal_device_t structure. 270 * Open communication channel with the device. 307 xge_hal_device_t *device = (xge_hal_device_t *)devh; local 309 xge_assert(device); 315 xge_list_for_each(item, &device->free_channels) { 387 xge_list_insert(&channel->item, &device->fifo_channels); 391 xge_list_insert(&channel->item, &device->ring_channels);
|
/freebsd-11-stable/sys/dev/pms/freebsd/driver/common/ |
H A D | encrypt_ioctl.h | 98 bit32 device; member in struct:EncryptDeviceDekMap_s 115 bit32 device; member in struct:IoctlEncryptIOError_s
|