Searched refs:device (Results 226 - 250 of 834) sorted by relevance

1234567891011>>

/freebsd-11-stable/usr.sbin/ppp/
H A Datm.c66 struct device dev; /* What struct physical knows about */
108 atm_device2iov(struct device *d, struct iovec *iov, int *niov,
122 static const struct device baseatmdevice = {
143 struct device *
175 log_Printf(LogWARN, "%s: Cannot allocate an atm device: %s\n",
207 struct device *
220 log_Printf(LogWARN, "Malformed ATM device name \'%s\', "
H A Dphysical.h57 struct device { struct
73 void (*device2iov)(struct device *, struct iovec *, int *, int, int *, int *);
85 int fd; /* File descriptor for this device */
96 char full[DEVICE_LEN]; /* Our current device name */
103 struct device *handler; /* device specific handler */
H A Dtcp.c101 static struct device tcpdevice = {
122 struct device *
136 struct device *
152 p->fd--; /* We own the device but maybe can't use it - change fd */
/freebsd-11-stable/usr.sbin/rmt/
H A Drmt.c63 static char device[SSIZE]; variable
103 getstring(device);
105 DEBUG2("rmtd: O %s %s\n", device, mode);
111 tape = open(device, atoi(mode), 0666);
118 getstring(device); /* discard */
/freebsd-11-stable/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_ah.c48 struct mlx4_dev *dev = to_mdev(pd->device)->dev;
77 struct mlx4_ib_dev *ibdev = to_mdev(pd->device);
93 ret = ib_get_cached_gid(pd->device, ah_attr->port_num,
142 if (rdma_port_get_link_layer(pd->device, ah_attr->port_num) == IB_LINK_LAYER_ETHERNET) {
172 ll = rdma_port_get_link_layer(ibah->device, ah_attr->port_num);
/freebsd-11-stable/contrib/ntp/ntpd/
H A Drefclock_zyfer.c81 #define DEVICE "/dev/zyfer%d" /* device name and unit */
134 char device[20]; local
140 snprintf(device, sizeof(device), DEVICE, unit);
141 fd = refclock_open(device, SPEED232, LDISC_RAW);
145 msyslog(LOG_NOTICE, "zyfer(%d) fd: %d dev <%s>", unit, fd, device);
/freebsd-11-stable/contrib/ipfilter/ipsend/
H A Dsnit.c60 int initdevice(device, tout)
61 char *device;
100 strncpy(ifr.ifr_name, device, sizeof(ifr.ifr_name));
/freebsd-11-stable/sbin/ffsinfo/
H A Dffsinfo.c127 char *device, *special; local
187 device = *argv;
190 * Now we try to guess the (raw)device name.
192 if (0 == strrchr(device, '/') && stat(device, &st) == -1) {
203 len = strlen(device) + strlen(_PATH_DEV) + 2 + strlen("vinum/");
207 snprintf(special, len, "%sr%s", _PATH_DEV, device);
209 snprintf(special, len, "%s%s", _PATH_DEV, device);
212 _PATH_DEV, device);
216 _PATH_DEV, device);
[all...]
/freebsd-11-stable/sys/dev/isci/scil/
H A Dintel_sata.h122 U32 device :8; member in struct:SATA_FIS_REG_H2D
151 U8 device; member in struct:SATA_FIS_REG_D2H
258 U32 device :8; member in struct:SATA_FIS_PIO_SETUP
H A Dsati_write_buffer.c152 (allocation_blocks <= sequence->device->max_blocks_per_microcode_command) &&
153 ((allocation_blocks >= sequence->device->min_blocks_per_microcode_command) ||
H A Dsati_write_long.c104 if((sequence->device->capabilities &
159 if( (sequence->device->capabilities &
H A Dscic_sds_remote_node_context.h77 * This constant represents an invalid remote device id, it is used to program
240 * the remote device information necessary to manage the
252 * This pointer simply points to the remote device object containing
255 * @todo Consider making the device pointer the associated object of the
258 struct SCIC_SDS_REMOTE_DEVICE * device; member in struct:SCIC_SDS_REMOTE_NODE_CONTEXT
321 struct SCIC_SDS_REMOTE_DEVICE * device,
H A Dscif_sas_io_request_state_handlers.c227 fw_request->parent.device->domain->controller->core_object,
228 fw_request->parent.device->core_object,
H A Dscif_sas_stp_task_request.c157 SCIF_SAS_REMOTE_DEVICE_T * fw_device = fw_task->parent.device;
201 * @param[in] fw_device This parameter specifies the target device the
234 if ( pending_request->device == fw_device
/freebsd-11-stable/sys/dev/smartpqi/
H A Dsmartpqi_request.c511 pqi_scsi_dev_t *device, rcb_t *rcb, uint8_t *cdb)
548 if (is_write && device->raid_level != SA_RAID_0)
555 raid_map = device->raid_map;
589 if (device->raid_level == SA_RAID_1) {
590 if (device->offload_to_mirror)
592 device->offload_to_mirror = !device->offload_to_mirror;
593 } else if (device->raid_level == SA_RAID_ADM) {
599 offload_to_mirror = device->offload_to_mirror;
639 device
510 pqisrc_send_scsi_cmd_raidbypass(pqisrc_softstate_t *softs, pqi_scsi_dev_t *device, rcb_t *rcb, uint8_t *cdb) argument
[all...]
/freebsd-11-stable/stand/ofw/libofw/
H A Dopenfirm.c350 /* Convert a device specifier to a fully qualified pathname. */
352 OF_canon(const char *device, char *buf, int len) argument
358 cell_t device; member in struct:__anon5069
368 args.device = (cell_t)device;
376 /* Return a package handle for the specified device. */
378 OF_finddevice(const char *device) argument
384 cell_t device; member in struct:__anon5070
392 args.device = (cell_t)device;
496 OF_open(char *device) argument
502 cell_t device; member in struct:__anon5074
[all...]
/freebsd-11-stable/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_gsi.c113 struct mlx5_ib_dev *dev = to_mdev(pd->device);
117 const int num_pkeys = pd->device->attrs.max_pkeys;
166 gsi->cq = ib_alloc_cq(pd->device, gsi, init_attr->cap.max_send_wr, 0,
210 struct mlx5_ib_dev *dev = to_mdev(qp->device);
270 struct mlx5_ib_dev *dev = to_mdev(qp->device);
309 struct ib_device *device = gsi->rx_qp->device; local
310 struct mlx5_ib_dev *dev = to_mdev(device);
316 ret = ib_query_pkey(device, gsi->port_num, qp_index, &pkey);
371 struct mlx5_ib_dev *dev = to_mdev(qp->device);
[all...]
/freebsd-11-stable/usr.sbin/config/
H A Dconfig.y297 /* and the device part */
307 /* and the device part */
363 * Find a device in the list of devices.
365 static struct device *
368 struct device *dp;
378 * Add a device to the list of devices.
383 struct device *np;
387 "WARNING: duplicate device `%s' encountered.\n", name);
391 np = (struct device *) calloc(1, sizeof *np);
399 * Schedule a device t
[all...]
/freebsd-11-stable/contrib/libpcap/
H A Dpcap-libdlpi.c109 retv = dlpi_open(p->opt.device, &dh, DLPI_RAW|DLPI_PASSIVE);
118 pcap_libdlpi_err(p->opt.device, "dlpi_open", retv,
126 * This device exists, but we don't support monitor mode
136 pcap_libdlpi_err(p->opt.device, "dlpi_bind", retv, p->errbuf);
157 * this device" and "you don't have permission
159 * device" are different; let the user know,
201 pcap_libdlpi_err(p->opt.device, "dlpi_info", retv, p->errbuf);
235 * "p->fd" is a FD for a STREAMS device, so "select()" and
272 pcap_libdlpi_err(p->opt.device, "dlpi_promiscon" STRINGIFY(level),
280 * Presumably everything returned by dlpi_walk() is a DLPI device,
[all...]
/freebsd-11-stable/contrib/ntp/libntp/
H A Dicom.c69 * 1 (short write to device)
140 const char *device, /* device name/link */
149 fd = tty_open(device, O_RDWR, 0777);
139 icom_init( const char *device, int speed, int trace ) argument
/freebsd-11-stable/sys/dev/drm/
H A Dmga_drv.c49 * Determine if the device really is AGP or not.
55 * \param dev The device to be tested.
58 * If the device is a PCI G450, zero is returned. Otherwise non-zero is
72 * supported by this driver, by looking at the device ID of the
74 * device is 0x0021 (HB6 Universal PCI-PCI bridge), we reject the
75 * device.
77 bus = device_get_parent(device_get_parent(dev->device));
78 if (pci_get_device(dev->device) == 0x0525 &&
/freebsd-11-stable/release/powerpc/
H A Dmkisoimages.sh43 <boot-script>boot &device;:,\ppc\chrp\loader</boot-script>
/freebsd-11-stable/sys/mips/idt/
H A Didtpci.c406 idtpci_route_interrupt(device_t pcib, device_t device, int pin) argument
415 dev = pci_get_slot(device);
416 bus = pci_get_bus(device);
419 device_get_nameunit(device));
425 pci_get_bus(device), dev, pci_get_function(device),
430 pci_get_bus(device), dev, pci_get_function(device));
/freebsd-11-stable/sys/i386/pci/
H A Dpci_cfgreg.c274 * to probe beyond that device, you only get garbage, which
390 uint8_t device; local
396 for (device = 0; device < maxdev; device++) {
398 printf("%d ", device);
400 port = pci_cfgenable(0, device, 0, 0, 4);
405 port = pci_cfgenable(0, device, 0, 8, 4);
412 port = pci_cfgenable(0, device, 0, 14, 1);
/freebsd-11-stable/contrib/ofed/libmlx5/
H A Ddbrec.c52 int ps = to_mdev(context->ibv_ctx.device)->page_size;
119 uintptr_t ps = to_mdev(context->ibv_ctx.device)->page_size;

Completed in 166 milliseconds

1234567891011>>