Searched defs:device (Results 1 - 8 of 8) sorted by relevance

/solaris-userland-s11u3/components/net-snmp/sun/agent/modules/healthMonitor/
H A Ddsr.c308 * "/pathname/device@unit,instance" devicenumber We want to extract the
309 * devicenumber and the device from this string if it is one of the ones in
362 * Extract the device number at the end of
365 * device id string;
383 * device number. Point entry->dn at the
572 char *device; local
596 device = nm;
605 (void) strncpy(cmpbuf, device, len);
/solaris-userland-s11u3/components/open-fabrics/infiniband-diags/
H A Dsolaris_set_nodedesc.c166 do_driver_read_ioctl(struct ibv_device *device) argument
173 /* Get the context for the device */
174 context = ibv_open_device(device);
176 IBEXIT("Unable to open the device.\n");
180 if (context->device != device) {
196 /* Get the guid for the device */
197 hca_guid = (uint64_t)ntohll(ibv_get_device_guid(device));
217 /* Close the device */
222 do_driver_update_ioctl(struct ibv_device *device, cha argument
[all...]
/solaris-userland-s11u3/components/libusb/ugen/src/
H A Dlibusbugen_impl.h86 #define USB_DEV_DESCR_SIZE 18 /* device descr size */
119 usb_device_t *device; member in struct:__anon6
H A Dlibusbugen.c88 static void usb_free_all_configs(usb_device_t *device);
90 static void usb_free_config(usb_device_t *device, uint_t index);
93 static void usb_free_interface(usb_device_t *device, uint_t index,
97 static void usb_free_alternate(usb_device_t *device, uint_t index,
276 /* the device must have been hot removed */
314 return ((hdl != NULL) ? hdl->device : NULL);
319 * opens the device for access
321 * Returns: a usb device handle or NULL
345 hdl->device = dev;
377 usb_free_all_configs(hdl->device);
1883 usb_free_config(usb_device_t *device, uint_t index) argument
1969 usb_free_interface(usb_device_t *device, uint_t index, uint_t iface) argument
2082 usb_free_alternate(usb_device_t *device, uint_t index, uint_t iface, uint_t alt) argument
2312 char *device, *filename; local
[all...]
/solaris-userland-s11u3/components/libusb/wrapper/src/
H A Dwr_libusb.h181 struct usb_device *device; /* usb.h device pointer */ member in struct:dev_handles
H A Dwr_libusb.c73 * The wrapper library maintains the open device handle states to be
74 * able to map the device handle to the correct plugin. As such each
401 * In trying to map the device handle to a bus
426 * upon a call to open adds the device handle to the
428 * so that it can map device handles to bus
431 * to map the device handles to the plugin module
434 usb_add_dev(struct usb_dev_handle *dev, struct usb_device *device, argument
441 /* first device handle to be added */
446 "Error adding device to list \n");
463 "Error adding device t
580 get_index_devicep(struct usb_device *device) argument
1024 usb_open(struct usb_device *device) argument
[all...]
/solaris-userland-s11u3/components/open-fabrics/libibverbs/
H A Dsolaris_compatibility.c186 /* IB device info cache */
211 int sol_ibv_query_device(struct ibv_device *device,
237 * Given a device name of the form <driver-prefix><instance>,
238 * get the device number. Device name is of the form
239 * for example:- mlx4_0, mlx4_2 etc. Function will return the device instance
262 * Check if the device number is invalid.
275 * For usages where ibdev cache needs to be read based on the IB device
276 * name instead of uverbs device name a simple compare against the cache
590 * During parsing the device instance number is validated to make sure it is
634 ret = sscanf(path, "device
1561 sol_ibv_query_device(struct ibv_device *device, struct ibv_device_attr *attr) argument
[all...]
/solaris-userland-s11u3/components/open-fabrics/libsif/include/psifapi/
H A Dpsif_hw_data_be.h2174 * CSR Query device structure
3029 /* Query HW state of device port or other */
3038 struct psif_epsc_csr_modify_device device; member in union:psif_epsc_csr_details

Completed in 2630 milliseconds