Searched refs:device (Results 251 - 275 of 805) sorted by relevance

<<11121314151617181920>>

/freebsd-9.3-release/sys/contrib/rdma/
H A Drdma_iwcm.c230 struct iw_cm_id *iw_create_cm_id(struct ib_device *device, argument
244 cm_id_priv->id.device = device;
380 ret = cm_id->device->iwcm->destroy_listen(cm_id);
410 cm_id_priv->id.device->iwcm->rem_ref(cm_id_priv->qp);
463 ret = cm_id->device->iwcm->create_listen(cm_id, backlog);
501 ret = cm_id->device->iwcm->reject(cm_id, private_data,
538 qp = cm_id->device->iwcm->get_qp(cm_id->device, iw_param->qpn);
543 cm_id->device
[all...]
/freebsd-9.3-release/sys/dev/isci/scil/
H A Dsati_start_stop_unit.c127 //need to know whether the device supports removable medial feature set.
128 if (sequence->device->capabilities & SATI_DEVICE_CAP_REMOVABLE_MEDIA)
346 //device state is now operational(active)
347 sequence->device->state = SATI_DEVICE_STATE_OPERATIONAL;
361 sequence->device->state = SATI_DEVICE_STATE_IDLE;
381 sequence->device->state = SATI_DEVICE_STATE_STOPPED;
385 sequence->device->state = SATI_DEVICE_STATE_STANDBY;
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 &
/freebsd-9.3-release/sys/ofed/drivers/infiniband/core/
H A Dnotice.c47 static void inform_add_one(struct ib_device *device);
48 static void inform_remove_one(struct ib_device *device);
71 struct ib_device *device; member in struct:inform_device
225 ret = ib_sa_informinfo_query(&sa_client, port->dev->device,
251 ret = ib_sa_informinfo_query(&sa_client, port->dev->device,
447 int notice_dispatch(struct ib_device *device, u8 port_num, argument
455 dev = ib_get_client_data(device, &inform_client);
539 struct ib_device *device, u8 port_num,
551 dev = ib_get_client_data(device, &inform_client);
663 static void inform_add_one(struct ib_device *device) argument
538 ib_sa_register_inform_info(struct ib_sa_client *client, struct ib_device *device, u8 port_num, u16 trap_number, gfp_t gfp_mask, int (*callback)(int status, struct ib_inform_info *info, struct ib_sa_notice *notice), void *context) argument
701 inform_remove_one(struct ib_device *device) argument
[all...]
/freebsd-9.3-release/sys/ofed/drivers/infiniband/hw/mlx4/
H A Dah.c68 struct mlx4_dev *dev = to_mdev(pd->device)->dev;
97 struct mlx4_ib_dev *ibdev = to_mdev(pd->device);
110 err = ib_get_cached_gid(pd->device, ah_attr->port_num, ah_attr->grh.sgid_index, &sgid);
147 if (rdma_port_get_link_layer(pd->device, ah_attr->port_num) == IB_LINK_LAYER_ETHERNET) {
179 ll = rdma_port_get_link_layer(ibah->device, ah_attr->port_num);
H A Dmain.c192 mlx4_ib_port_link_layer(struct ib_device *device, u8 port_num) argument
194 struct mlx4_dev *dev = to_mdev(device)->dev;
560 mlx4_uar_free(to_mdev(ibcontext->device)->dev, &context->uar);
568 struct mlx4_ib_dev *dev = to_mdev(context->device);
623 mlx4_pd_free(to_mdev(pd->device)->dev, to_mpd(pd)->pdn);
632 struct mlx4_ib_dev *mdev = to_mdev(ibqp->device);
681 struct mlx4_ib_dev *mdev = to_mdev(ibqp->device);
723 struct mlx4_ib_dev *mdev = to_mdev(ibqp->device);
790 pd->device = ibdev;
797 cq->device
869 show_hca(struct device *device, struct device_attribute *attr, char *buf) argument
877 show_fw_ver(struct device *device, struct device_attribute *attr, char *buf) argument
887 show_rev(struct device *device, struct device_attribute *attr, char *buf) argument
895 show_board(struct device *device, struct device_attribute *attr, char *buf) argument
930 show_diag_rprt(struct device *device, char *buf, u32 offset, u8 op_modifier) argument
947 clear_diag_counters(struct device *device, struct device_attribute *attr, const char *buf, size_t length) argument
[all...]
/freebsd-9.3-release/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.c99 static struct device tcpdevice = {
120 struct device *
134 struct device *
150 p->fd--; /* We own the device but maybe can't use it - change fd */
/freebsd-9.3-release/usr.sbin/rmt/
H A Drmt.c63 char device[SSIZE]; variable
101 getstring(device);
103 DEBUG2("rmtd: O %s %s\n", device, mode);
109 tape = open(device, atoi(mode), 0666);
116 getstring(device); /* discard */
/freebsd-9.3-release/contrib/ntp/ntpd/
H A Drefclock_chronolog.c47 #define DEVICE "/dev/chronolog%d" /* device name and unit */
101 char device[20]; local
107 snprintf(device, sizeof(device), DEVICE, unit);
110 printf ("starting Chronolog with device %s\n",device);
112 fd = refclock_open(device, SPEED232, 0);
H A Drefclock_fg.c89 * fg_start - open the device and initialize data for processing
100 char device[20]; local
104 * Open device file for reading.
106 snprintf(device, sizeof(device), DEVICE, unit);
108 DPRINTF(1, ("starting FG with device %s\n",device));
110 fd = refclock_open(device, SPEED232, LDISC_CLK);
H A Drefclock_dumbclock.c49 #define DEVICE "/dev/dumbclock%d" /* device name and unit */
110 char device[20]; local
118 snprintf(device, sizeof(device), DEVICE, unit);
121 printf ("starting Dumbclock with device %s\n",device);
123 fd = refclock_open(device, SPEED232, 0);
/freebsd-9.3-release/contrib/ipfilter/ipsd/
H A Dsbpf.c121 int initdevice(device, tout)
122 char *device;
170 (void) strncpy(ifr.ifr_name, device, sizeof(ifr.ifr_name));
/freebsd-9.3-release/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-9.3-release/sbin/ffsinfo/
H A Dffsinfo.c126 char *device, *special; local
186 device = *argv;
189 * Now we try to guess the (raw)device name.
191 if (0 == strrchr(device, '/') && stat(device, &st) == -1) {
202 len = strlen(device) + strlen(_PATH_DEV) + 2 + strlen("vinum/");
206 snprintf(special, len, "%sr%s", _PATH_DEV, device);
208 snprintf(special, len, "%s%s", _PATH_DEV, device);
211 _PATH_DEV, device);
215 _PATH_DEV, device);
[all...]
/freebsd-9.3-release/sys/dev/mlx/
H A Dmlx_pci.c78 u_int16_t device; member in struct:mlx_ident
100 (m->device == pci_get_device(dev)) &&
136 (mlx_identifiers[i].device == pci_get_device(dev))) {
/freebsd-9.3-release/sys/boot/fdt/dts/
H A Ddockstar.dts91 device-width = <1>;
107 device-width = <1>;
115 device-width = <1>;
H A Dsheevaplug.dts91 device-width = <1>;
107 device-width = <1>;
115 device-width = <1>;
/freebsd-9.3-release/usr.sbin/config/
H A Dconfig.y289 /* and the device part */
299 /* and the device part */
342 * Find a device in the list of devices.
344 static struct device *
347 struct device *dp;
357 * Add a device to the list of devices.
362 struct device *np;
366 "WARNING: duplicate device `%s' encountered.\n", name);
370 np = (struct device *) calloc(1, sizeof *np);
378 * Schedule a device t
[all...]
/freebsd-9.3-release/usr.sbin/sade/
H A Dmisc.c323 char device[80]; local
330 sprintf(device, "/dev/%s", (char *)dev);
334 strcpy(device, dev);
344 msgDebug("mount %s %s\n", device, mountpoint);
346 ufsargs.fspec = device;
349 msgConfirm("Error mounting %s on %s : %s", device, mountpoint, strerror(errno));
/freebsd-9.3-release/sys/arm/xscale/i80321/
H A Dep80219_machdep.c145 /* Static device mappings. */
327 * (our device mappings end before this address).
427 int device; local
432 device = pci_get_slot(dev);
440 switch (device) {
443 printf("Device %d routed to irq %d\n", device, ICU_INT_XINT(0));
446 printf("Device %d routed to irq %d\n", device, ICU_INT_XINT(1));
453 printf("Device %d routed to irq %d\n", device, ICU_INT_XINT(2));
456 printf("Device %d routed to irq %d\n", device, ICU_INT_XINT(3));
460 printf("No mapping for %d/%d/%d/%c\n", bus, device, fun
[all...]
/freebsd-9.3-release/sys/dev/ichwd/
H A Dichwd.c36 * device as it's actually an integrated function of the ICH LPC interface
295 ichwd_verbose_printf(sc->device, "timer enabled\n");
309 ichwd_verbose_printf(sc->device, "timer disabled\n");
325 ichwd_verbose_printf(sc->device, "timer reloaded\n");
359 ichwd_verbose_printf(sc->device, "timeout set to %u ticks\n", timeout);
386 device_printf(sc->device,
426 if ((ich = pci_find_device(VENDORID_INTEL, id->device)) != NULL)
443 * ichwd device. There can be only one.
482 /* Do not claim some ISA PnP device by accident. */
497 sc->device
[all...]

Completed in 205 milliseconds

<<11121314151617181920>>