Searched refs:device (Results 501 - 525 of 834) sorted by relevance

<<21222324252627282930>>

/freebsd-11-stable/contrib/traceroute/
H A Dtraceroute.c343 char *device; variable
643 device = optarg;
928 /* Look for a specific device */
929 if (device != NULL) {
931 if (strcmp(device, al->device) == 0)
935 prog, device);
943 * If a device was specified, use the interface address.
946 if (device != NULL)
958 * If the device wa
[all...]
/freebsd-11-stable/sys/dev/aacraid/
H A Daacraid_cam.c83 u_int8_t device; member in struct:scsi_vpd_supported_page_list
564 p->device = T_DIRECT;
582 p->device = T_DIRECT;
591 p->device = T_DIRECT;
1190 u_int8_t command, device; local
1218 device = ccb->csio.data_ptr[0] & 0x1f;
1221 * visible through the pass device.
1223 if ((device == T_DIRECT &&
1225 (device == T_PROCESSOR))
1227 ((device
[all...]
/freebsd-11-stable/contrib/ntp/ntpd/
H A Drefclock_gpsdjson.c22 * - The device name matching must be done in a different way for
71 * ?WATCH={"device":"/dev/gps0","enable":true,"json":true,"pps":true};<CRLF>
74 * with the device link used by GPSD, if necessary.
243 * We use the same device name scheme as does the NMEA driver; since
294 char * device; /* device name of unit */ member in struct:gpsd_unit
334 /* admin stuff for sockets and device selection */
528 /* Create the device name and check for a Character
532 * any, so we can get the true device file.)
534 if (-1 == myasprintf(&up->device, "
[all...]
H A Drefclock_tsyncpci.c55 ** that the tsyncpci.o device driver be installed and loaded.
64 #define DEVICE "/dev/tsyncpci" /* device name */
380 * Description: Retrieve time from the TSYNC device.
390 char device[32]; local
419 /* Construct the device name */
420 sprintf(device, "%s%d", DEVICE, (int)peer->refclkunit);
422 printf("Polling device number %d...\n", (int)peer->refclkunit);
424 /* Open the TSYNC device */
425 hBoard.file_descriptor = open(device, O_RDONLY | O_NDELAY, 0777);
427 /* If error opening TSYNC device
[all...]
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/
H A Dib_ucma.c87 /* mark that device is in process of destroying the internal HW
156 * Same as ucm_get_ctx but requires that ->cm_id->device is valid, eg that the
165 if (!ctx->cm_id->device) {
366 * to release the underlying HW resources in case of a device
839 if (!ctx->cm_id->device)
842 resp.node_guid = (__force __u64) ctx->cm_id->device->node_guid;
845 if (rdma_cap_ib_sa(ctx->cm_id->device, ctx->cm_id->port_num))
847 else if (rdma_protocol_roce(ctx->cm_id->device, ctx->cm_id->port_num))
849 else if (rdma_protocol_iwarp(ctx->cm_id->device, ctx->cm_id->port_num))
864 if (!cm_id->device)
[all...]
/freebsd-11-stable/sys/cam/scsi/
H A Dscsi_all.c2 * Implementation of Utility functions for all SCSI device types.
181 * D - DIRECT ACCESS DEVICE (SBC-2) device column key
634 * device we're dealing with here. Otherwise, assume direct
977 * D - DIRECT ACCESS DEVICE (SBC-2) device column key
1078 "Peripheral device write fault") },
1267 "Warning - device statistics notification available") },
1354 "Third party device failure") },
1357 "Copy target device not reachable") },
1360 "Incorrect copy target device type") },
1363 "Copy target device dat
5169 scsi_sense_print(struct cam_device *device, struct ccb_scsiio *csio, FILE *ofile) argument
6435 unsigned long bus, device, function; local
8395 scsi_ata_pass(struct ccb_scsiio *csio, uint32_t retries, void (*cbfcnp)(struct cam_periph *, union ccb *), uint32_t flags, uint8_t tag_action, uint8_t protocol, uint8_t ata_flags, uint16_t features, uint16_t sector_count, uint64_t lba, uint8_t command, uint8_t device, uint8_t icc, uint32_t auxiliary, uint8_t control, u_int8_t *data_ptr, uint32_t dxfer_len, uint8_t *cdb_storage, size_t cdb_storage_len, int minimum_cmd_size, u_int8_t sense_len, u_int32_t timeout) argument
9150 struct cam_ed *device; local
[all...]
H A Dsmp_all.c253 smp_error_sbuf(struct cam_device *device, struct ccb_smpio *smpio,
262 cam_path_string(device, path_str, sizeof(path_str));
/freebsd-11-stable/sys/dev/patm/
H A Dif_patm_attach.c187 IFP2IFATM(sc->ifp)->mib.device = ATM_DEVICE_IDTABR25;
325 IFP2IFATM(sc->ifp)->mib.device = ATM_DEVICE_PROATM25;
333 IFP2IFATM(sc->ifp)->mib.device = ATM_DEVICE_PROATM155;
344 IFP2IFATM(sc->ifp)->mib.device = ATM_DEVICE_IDTABR25;
352 IFP2IFATM(sc->ifp)->mib.device = ATM_DEVICE_IDTABR155;
/freebsd-11-stable/usr.sbin/ppp/
H A Dtty.c90 struct device dev; /* What struct physical knows about */
269 * carrier cannot be detected via TIOCMGET and the device doesn't become
360 /* All done, set up our device state */
462 log_Printf(LogWARN, "%s: tcsetattr: Failed configuring device\n",
505 log_Printf(LogWARN, "%s: tcsetattr: Unable to restore device settings\n",
577 tty_device2iov(struct device *d, struct iovec *iov, int *niov,
612 static struct device basettydevice = {
633 struct device *
676 struct device *
716 /* Any override is ok for the tty device */
[all...]
H A Dphysical.c116 return sizeof(struct device);
120 struct device *(*create)(struct physical *);
121 struct device *(*iov2device)(int, struct physical *, struct iovec *,
212 p->cfg.cd.delay = 0; /* reconfigured or device specific default */
516 prompt_Printf(arg->prompt, "device specific");
664 biggest = sizeof(struct device);
679 struct device *h;
694 p->handler = (struct device *)(long)p->handler->type;
707 " + device !\n");
1090 log_Printf(LogWARN, "Sync device settin
[all...]
/freebsd-11-stable/contrib/libpcap/
H A Dpcap-usb-linux.c227 /* facility to add an USB device to the device list*/
278 * What do the device names look like?
303 * Is this a usbmon device?
309 * What's the device number?
326 * (we want to let the user to try a device and get
336 * it doesn't have a "scan all buses" device.
507 /* scan usb bus directories for device nodes */
555 usb_create(const char *device, char *ebuf, int *is_ours) argument
562 /* Does this look like a USB monitoring device
[all...]
/freebsd-11-stable/sys/dev/usb/net/
H A Dif_urndis.c240 sc->sc_ue.ue_udev = uaa->device;
243 cmd = usbd_find_descriptor(uaa->device, NULL, uaa->info.bIfaceIndex,
256 error = usbd_set_alt_interface_index(uaa->device,
262 error = usbd_transfer_setup(uaa->device,
274 /* Initialize device - must be done before even querying it */
315 ue->ue_udev = uaa->device;
558 DPRINTF("wrong device type (current type: 0x%x)\n",
719 * NB: Querying a device has the requirement of using an input buffer the size
/freebsd-11-stable/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib.h907 struct ib_rwq_ind_table *mlx5_ib_create_rwq_ind_table(struct ib_device *device,
943 int mlx5_ib_get_vf_config(struct ib_device *device, int vf,
945 int mlx5_ib_set_vf_link_state(struct ib_device *device, int vf,
947 int mlx5_ib_get_vf_stats(struct ib_device *device, int vf,
949 int mlx5_ib_set_vf_guid(struct ib_device *device, int vf, u8 port,
H A Dmlx5_ib_qp.c134 struct ib_device *ibdev = qp->ibqp.device;
196 event.device = ibqp->device;
1774 /* Maintain device to QPs access, needed for further handling via reset
2014 dev = to_mdev(pd->device);
2033 dev = to_mdev(to_mxrcd(init_attr->xrcd)->ibxrcd.device);
2102 struct mlx5_ib_dev *dev = to_mdev(qp->device);
2603 struct mlx5_ib_dev *dev = to_mdev(ibqp->device);
2770 * again to RTS, and may cause the driver and the device to get out of
2845 struct mlx5_ib_dev *dev = to_mdev(ibqp->device);
4811 mlx5_ib_create_rwq_ind_table(struct ib_device *device, struct ib_rwq_ind_table_init_attr *init_attr, struct ib_udata *udata) argument
[all...]
/freebsd-11-stable/sys/dev/bhnd/
H A Dbhnd.c71 uint16_t device; /**< core id */ member in struct:bhnd_nomatch
91 * This implementation calls device_probe_and_attach() for each of the device's
120 * This implementation calls device_detach() for each of the device's
155 * This implementation calls device_shutdown() for each of the device's
190 * This implementation calls BUS_RESUME_CHILD() for each of the device's
224 * This implementation calls BUS_SUSPEND_CHILD() for each of the device's
266 * Ascending comparison of bhnd device's probe order.
290 * Descending comparison of bhnd device's probe order.
301 * This implementation determines probe ordering based on the device's class
302 * and other properties, including whether the device i
[all...]
/freebsd-11-stable/sys/dev/pms/RefTisa/sallsdk/api/
H A Dsa_spec.h103 #define SASD_DEV_SAS_END_DEVICE 0x01 /* SAS end device type */
104 #define SASD_DEV_SAS_EDGE_EXPANDER 0x02 /* SAS edge expander device type */
105 #define SASD_DEV_SAS_FAN_EXPANDER 0x03 /* SAS fan out expander device type */
107 #define SASD_DEV_SATA_ATA_DEVICE 0x10 /* SATA ATA device type */
108 #define SASD_DEV_SATA_ATAPI_DEVICE 0x20 /* SATA ATAPI device type */
109 #define SASD_DEV_SATA_PM_DEVICE 0x30 /* SATA PM device type */
110 #define SASD_DEV_SATA_SEMB_DEVICE 0x40 /* SATA SEMB device type */
111 #define SASD_DEV_SATA_SEMB_WO_SEP_DEVICE 0x50 /* SATA SEMB without SEP device type */
113 #define SASD_DEV_SATA_UNKNOWN_DEVICE 0xFF /* SAS SATA unknown device type */
185 /* b3-b0 PM Port. device por
300 bit8 device; /* Contains the contents to be placed in the Device register of the Shadow Command Block */ member in struct:agsaFisRegD2HData_s
342 bit8 device; /* Contains the contents of the Device register of the Shadow Command Block */ member in struct:agsaFisRegH2DData_s
412 bit8 device; /* Contains the contents of the Device register of the Shadow Command Block */ member in struct:agsaFisPioSetupData_s
[all...]
/freebsd-11-stable/sys/dev/isci/scil/
H A Dsati_mode_select.c488 sequence->device->descriptor_sense_enable = SCSI_MODE_PAGE_CONTROL_D_SENSE_ENABLE;
490 sequence->device->descriptor_sense_enable = SCSI_MODE_PAGE_CONTROL_D_SENSE_DISABLE;
631 if (sequence->device->capabilities & SATI_DEVICE_CAP_STANDBY_ENABLE)
/freebsd-11-stable/sys/dev/usb/serial/
H A Duvisor.c93 * firmware works. It looks like the device is not short terminating
109 * UVISOR_CLOSE_NOTIFICATION is set to the device to notify it that the host
326 sc->sc_udev = uaa->device;
328 /* configure the device */
334 error = uvisor_init(sc, uaa->device, uvisor_config_copy);
341 error = usbd_transfer_setup(uaa->device, &sc->sc_iface_index,
/freebsd-11-stable/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp.h43 #include <linux/device.h>
690 int sdp_tx_ring_create(struct sdp_sock *ssk, struct ib_device *device);
699 int sdp_rx_ring_create(struct sdp_sock *ssk, struct ib_device *device);
/freebsd-11-stable/stand/sparc64/boot1/
H A Dboot1.c63 static int domount(const char *device);
365 printf("usage: boot device [/path/to/loader]\n");
500 domount(const char *device) argument
503 if ((bootdev = ofw_open(device)) == -1) {
504 printf("domount: can't open device\n");
/freebsd-11-stable/stand/powerpc/boot1.chrp/
H A Dboot1.c64 static int domount(const char *device, int quiet);
467 printf("usage: boot device [/path/to/loader]\n");
481 domount(const char *device, int quiet) argument
485 if ((bootdev = ofw_open(device)) == -1) {
486 printf("domount: can't open device\n");
/freebsd-11-stable/sys/dev/pci/
H A Dpcivar.h131 uint8_t ht_slave; /* Non-zero if device is an HT slave. */
146 uint16_t pcie_device_ctl2; /* Second device control register. */
178 struct device *dev; /* device which owns this */
183 uint16_t subdevice; /* card device ID, assigned by card vendor */
185 uint16_t device; /* chip device ID, assigned by chip vendor */ member in struct:pcicfg
204 uint8_t mfdev; /* multi-function device (from hdrtype reg) */
227 /* additional type 1 device config header information (PCI to PCI bridge) */
241 /* additional type 2 device confi
[all...]
/freebsd-11-stable/sys/dev/usb/input/
H A Dums.c445 error = usbd_req_get_hid_desc(uaa->device, NULL,
604 err = usbd_req_set_protocol(uaa->device, NULL,
607 err = usbd_transfer_setup(uaa->device,
617 err = usbd_req_get_hid_desc(uaa->device, NULL, &d_ptr,
658 /* Announce device */
663 /* Search the HID descriptor and announce device */
707 err = usb_fifo_attach(uaa->device, sc, &sc->sc_mtx,
720 evdev_set_serial(sc->sc_evdev, usb_get_serial(uaa->device));
/freebsd-11-stable/sys/netgraph/bluetooth/drivers/ubt/
H A Dng_ubt.c36 * a USB device driver and on the other it is a Netgraph node. This
42 * 1) sc_if_mtx - lock for device's interface #0 and #1. This lock is used
43 * by USB for any USB request going over device's interface #0 and #1,
266 * The following desribes usb transfers that could be submitted on USB device.
268 * Interface 0 on the USB device must present the following endpoints
273 * Interface 1 on the USB device must present the following endpoints
376 * If for some reason device should not be attached then put
504 * Probe for a USB Bluetooth device.
531 * Attach the device.
571 * Initialize device soft
[all...]
/freebsd-11-stable/sys/dev/adlink/
H A Dadlink.c29 * This is a device driver or the Adlink 9812 and 9810 ADC cards, mainly
103 device_t device; member in struct:softc
372 sc->device = self;

Completed in 380 milliseconds

<<21222324252627282930>>