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

1234567891011>>

/freebsd-9.3-release/sys/ofed/include/linux/mlx4/
H A Ddriver.h36 #include <linux/device.h>
/freebsd-9.3-release/sys/sys/
H A Drman.h70 uintptr_t r_device; /* device owning this resource */
71 char r_devname[RM_TEXTLEN]; /* device name XXX obsolete */
93 * NB: breaks the device driver ABI and is strongly FORBIDDEN.
125 struct device *rman_get_device(struct resource *);
142 u_int flags, struct device *dev);
145 u_int flags, struct device *dev);
148 void rman_set_device(struct resource *_r, struct device *_dev);
/freebsd-9.3-release/sys/x86/include/
H A Dpci_cfgreg.h57 int pci_pir_route_interrupt(int bus, int device, int func, int pin);
/freebsd-9.3-release/contrib/ntp/ntpd/
H A Drefclock_pst.c74 #define DEVICE "/dev/wwv%d" /* device name and unit */
125 char device[20]; local
130 snprintf(device, sizeof(device), DEVICE, unit);
131 fd = refclock_open(device, SPEED232, LDISC_CLK);
H A Drefclock_heath.c163 #define DEVICE "/dev/heath%d" /* device name and unit */
219 char device[20]; local
224 snprintf(device, sizeof(device), DEVICE, unit);
225 fd = refclock_open(device, speed[peer->ttl & 0x3],
356 * device driver before finalizing the timecode format.
/freebsd-9.3-release/contrib/ofed/libmlx4/src/
H A Dmlx4.c58 .device = d }
62 unsigned device; member in struct:__anon3881
240 munmap(context->uar, to_mdev(ibctx->device)->page_size);
242 munmap(context->bf_page, to_mdev(ibctx->device)->page_size);
256 unsigned vendor, device; local
259 if (ibv_read_sysfs_file(uverbs_sys_path, "device/vendor",
264 if (ibv_read_sysfs_file(uverbs_sys_path, "device/device",
267 sscanf(value, "%i", &device);
271 device
[all...]
/freebsd-9.3-release/share/man/man5/
H A DMakefile10 bluetooth.device.conf.5 \
18 device.hints.5 \
/freebsd-9.3-release/sys/dev/isci/scil/
H A Dscif_sas_io_request_states.c196 fw_io->parent.device->domain, fw_io->parent.device, fw_io
/freebsd-9.3-release/lib/libdisk/
H A Dwrite_pc98_disk.c67 char device[64]; local
73 strcpy(device, _PATH_DEV);
74 strcat(device, d1->name);
79 device[9] = 0;
82 fd = open(device, O_RDWR);
85 warn("open(%s) failed", device);
H A Dtst01.c93 char device[64]; local
97 strcpy(device, _PATH_DEV);
98 strcat(device, d->name);
100 fd = open(device, O_RDWR);
102 warn("open(%s) failed", device);
/freebsd-9.3-release/sys/cam/
H A DREADME.quirks28 Please follow these guidelines to get your device working as soon
34 The first step is to determine what's wrong. If the device should
40 o CAM_QUIRK_NOLUNS - do not probe luns other than 0 since device
46 since device has a sparse lun space.
55 are harmless and only a device or system hang is cause for adding
114 o NO_START_STOP - Like test unit ready, don't send this command if it hangs the device.
128 o IGNORE_RESIDUE - The device can't count and gets the residue
137 o WRONG_CSWSIG - The device uses a weird CSWSIGNATURE. Rare.
148 device.
153 above, using wildcarding to be sure your device i
[all...]
H A Dcam.c235 cam_error_string(struct cam_device *device, union ccb *ccb, char *str,
303 cam_path_string(device, path_str, sizeof(path_str));
319 scsi_command_string(device, &ccb->csio, &sb);
390 scsi_sense_sbuf(device, &ccb->csio, &sb,
433 cam_error_print(struct cam_device *device, union ccb *ccb, argument
439 if ((device == NULL) || (ccb == NULL) || (ofile == NULL))
442 fprintf(ofile, "%s", cam_error_string(device, ccb, str, sizeof(str),
/freebsd-9.3-release/sys/contrib/rdma/
H A Dib_sa.h279 struct ib_device *device, u8 port_num,
290 struct ib_device *device, u8 port_num,
313 * @device: Device associated with the multicast group.
314 * @port_num: Port on the specified device to associate with the multicast
338 struct ib_device *device, u8 port_num,
361 * @device: Device associated with the multicast group.
362 * @port_num: Port on the specified device to associate with the multicast
367 int ib_sa_get_mcmember_rec(struct ib_device *device, u8 port_num,
374 int ib_init_ah_from_mcmember(struct ib_device *device, u8 port_num,
382 int ib_init_ah_from_path(struct ib_device *device, u
[all...]
/freebsd-9.3-release/sys/dev/isci/
H A Disci_remote_device.c49 * device is ready and capable of processing IO requests.
55 * @param[in] remote_device This parameter specifies the device object with
71 /* This new device is now ready, so put it in the controller's
72 * remote device list so it is visible to CAM.
80 * CAM to rescan this device.
81 * If the sim object has not been scanned, this device
99 * device is not ready. Thus, it is incapable of processing IO
106 * @param[in] remote_device This parameter specifies the device object with
120 * device failed. This typically occurs shortly after the device
291 isci_remote_device_release_device_queue( struct ISCI_REMOTE_DEVICE *device) argument
[all...]
/freebsd-9.3-release/sys/dev/ofw/
H A Dopenfirm.c277 * downward from the node to the device tree root. Returns the value of the
337 /* Convert a device specifier to a fully qualified pathname. */
339 OF_canon(const char *device, char *buf, size_t len) argument
345 return (OFW_CANON(ofw_obj, device, buf, len));
348 /* Return a package handle for the specified device. */
350 OF_finddevice(const char *device) argument
356 return (OFW_FINDDEVICE(ofw_obj, device));
411 /* Open an instance for a device. */
413 OF_open(const char *device) argument
419 return (OFW_OPEN(ofw_obj, device));
[all...]
H A Dofw_standard.c89 static ssize_t ofw_std_canon(ofw_t ofw, const char *device, char *buf,
91 static phandle_t ofw_std_finddevice(ofw_t ofw, const char *device);
98 static ihandle_t ofw_std_open(ofw_t ofw, const char *device);
413 /* Convert a device specifier to a fully qualified pathname. */
415 ofw_std_canon(ofw_t ofw, const char *device, char *buf, size_t len) argument
421 cell_t device; member in struct:__anon8772
431 args.device = (cell_t)device;
439 /* Return a package handle for the specified device. */
441 ofw_std_finddevice(ofw_t ofw, const char *device) argument
447 cell_t device; member in struct:__anon8773
558 ofw_std_open(ofw_t ofw, const char *device) argument
564 cell_t device; member in struct:__anon8777
[all...]
/freebsd-9.3-release/sys/geom/vinum/
H A Dgeom_vinum_events.c153 strlcpy(d->device, pp->name, sizeof(d->device));
155 strlcpy(d->device, pp->name, sizeof(d->device));
196 * attached to the underlying device and bring the drive itself to a
237 snprintf(d->device, sizeof(d->device), "???");
/freebsd-9.3-release/usr.sbin/fdwrite/
H A Dfdwrite.c60 fprintf(stderr, "usage: fdwrite [-v] [-y] [-f inputfile] [-d device]\n");
70 const char *device= "/dev/fd0"; local
79 device = optarg;
121 fdn,device);
128 if((fd = open(device, O_RDWR)) < 0)
129 err(1, "%s", device);
132 errx(1, "not a floppy disk: %s", device);
/freebsd-9.3-release/sys/ofed/drivers/infiniband/core/
H A Dfmr_pool.c213 struct ib_device *device; local
223 device = pd->device;
224 if (!device->alloc_fmr || !device->dealloc_fmr ||
225 !device->map_phys_fmr || !device->unmap_fmr) {
227 device->name);
233 printk(KERN_WARNING PFX "couldn't allocate device attr struct\n");
237 ret = ib_query_device(device, att
[all...]
H A Diwcm.c191 struct iw_cm_id *iw_create_cm_id(struct ib_device *device, argument
203 cm_id_priv->id.device = device;
345 ret = cm_id->device->iwcm->destroy_listen(cm_id);
368 cm_id->device->iwcm->reject(cm_id, NULL, 0);
378 cm_id_priv->id.device->iwcm->rem_ref(cm_id_priv->qp);
430 ret = cm_id->device->iwcm->create_listen(cm_id, backlog);
470 ret = cm_id->device->iwcm->reject(cm_id, private_data,
506 qp = cm_id->device->iwcm->get_qp(cm_id->device, iw_para
[all...]
/freebsd-9.3-release/contrib/libpcap/
H A Dpcap-dag.c575 * Get a handle for a live capture from the given DAG device. Passing a NULL
576 * device will result in a failure. The promisc flag is ignored because DAG
594 char * device = handle->opt.source; local
601 if (device == NULL) {
602 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "device is NULL: %s", pcap_strerror(errno));
609 newDev = (char *)malloc(strlen(device) + 16);
611 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't allocate string for device name: %s\n", pcap_strerror(errno));
615 /* Parse input name to get dag device and stream number if provided */
616 if (dag_parse_name(device, newDev, strlen(device)
835 dag_create(const char *device, char *ebuf, int *is_ours) argument
[all...]
/freebsd-9.3-release/sys/dev/nvme/
H A Dnvme.c95 nvme_probe (device_t device) argument
100 type = pci_get_devid(device);
107 device_set_desc(device, ep->desc);
112 if (pci_get_class(device) == PCIC_STORAGE &&
113 pci_get_subclass(device) == PCIS_STORAGE_NVM &&
114 pci_get_progif(device) == PCIP_STORAGE_NVM_ENTERPRISE_NVMHCI_1_0) {
115 device_set_desc(device, "Generic NVMe Device");
/freebsd-9.3-release/sys/ofed/include/rdma/
H A Dib_sa.h396 struct ib_device *device, u8 port_num,
407 struct ib_device *device, u8 port_num,
430 * @device: Device associated with the multicast group.
431 * @port_num: Port on the specified device to associate with the multicast
455 struct ib_device *device, u8 port_num,
478 * @device: Device associated with the multicast group.
479 * @port_num: Port on the specified device to associate with the multicast
484 int ib_sa_get_mcmember_rec(struct ib_device *device, u8 port_num,
491 int ib_init_ah_from_mcmember(struct ib_device *device, u8 port_num,
499 int ib_init_ah_from_path(struct ib_device *device, u
[all...]
/freebsd-9.3-release/sys/powerpc/ofw/
H A Dofw_real.c95 static ssize_t ofw_real_canon(ofw_t, const char *device, char *buf, size_t len);
96 static phandle_t ofw_real_finddevice(ofw_t, const char *device);
105 static ihandle_t ofw_real_open(ofw_t, const char *device);
611 /* Convert a device specifier to a fully qualified pathname. */
613 ofw_real_canon(ofw_t ofw, const char *device, char *buf, size_t len) argument
620 cell_t device; member in struct:__anon10311
632 args.device = ofw_real_map(device, strlen(device) + 1);
636 if (args.device
650 ofw_real_finddevice(ofw_t ofw, const char *device) argument
657 cell_t device; member in struct:__anon10312
839 ofw_real_open(ofw_t ofw, const char *device) argument
846 cell_t device; member in struct:__anon10317
[all...]
/freebsd-9.3-release/sys/ofed/include/linux/
H A Dpci.h53 #include <linux/device.h>
57 uint32_t device; member in struct:pci_device_id
77 .vendor = PCI_VENDOR_ID_##_vendor, .device = (_device), \
80 .vendor = (_vendor), .device = (_device), \
113 struct device dev;
117 uint16_t device; member in struct:pci_dev
144 static inline struct device *
363 uint16_t device; local
366 device = pci_get_device(dev);
371 if (vendor == id->vendor && device
[all...]

Completed in 168 milliseconds

1234567891011>>