Searched refs:device (Results 1 - 12 of 12) sorted by relevance

/solaris-userland/components/libusb/ugen/src/
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...]
H A Dlibusbugen_impl.h86 #define USB_DEV_DESCR_SIZE 18 /* device descr size */
119 usb_device_t *device; member in struct:__anon6
/solaris-userland/components/open-fabrics/infiniband-diags/
H A Dsolaris_set_nodedesc.c136 do_driver_read_ioctl(struct ibv_device *device) argument
143 /* Get the context for the device */
144 context = ibv_open_device(device);
146 IBEXIT("Unable to open the device.\n");
150 if (context->device != device) {
166 /* Get the guid for the device */
167 hca_guid = (uint64_t)ntohll(ibv_get_device_guid(device));
187 /* Close the device */
192 do_driver_update_ioctl(struct ibv_device *device, cha argument
[all...]
/solaris-userland/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/components/python/os-brick/files/solaris/
H A Dsolarisiscsi.py37 """Get the device path from the target info.
74 LOG.error(_("No device is found for the target %s LUN %s.") %
131 # check if it is a valid device path.
138 raise exception.VolumeDeviceNotFound(device=host_device)
141 # make sure the correct device path with slice 0
/solaris-userland/components/open-fabrics/libibverbs/
H A Dsolaris_compatibility.c144 /* IB device info cache */
169 int sol_ibv_query_device(struct ibv_device *device,
195 * Given a device name of the form <driver-prefix><instance>,
196 * get the device number. Device name is of the form
197 * for example:- mlx4_0, mlx4_2 etc. Function will return the device instance
220 * Check if the device number is invalid.
233 * For usages where ibdev cache needs to be read based on the IB device
234 * name instead of uverbs device name a simple compare against the cache
544 * During parsing the device instance number is validated to make sure it is
588 ret = sscanf(path, "device
1515 sol_ibv_query_device(struct ibv_device *device, struct ibv_device_attr *attr) argument
[all...]
/solaris-userland/components/net-snmp-57/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/components/openstack/ironic/files/drivers/modules/
H A Dsolaris_ipmitool.py169 "device to the BMC each time the server "
172 "device across power cycles; default value "
349 This uses the lanplus interface to communicate with the BMC device driver.
1599 boot device to pxe and reboot the physical node.
1617 # Set boot device to PXE network boot
1643 Reset boot device or bootmode script and power off the node.
1989 def set_boot_device(self, task, device, persistent=False):
1990 """Set the boot device for the task's node.
1992 Set the boot device to use on next reboot of the node.
1995 :param device
[all...]
/solaris-userland/components/open-fabrics/libsif/include/psifapi/
H A Dpsif_hw_data_be.h77 /**< LID of the IB device connected to the external port */
80 /**< IB port number of external port (on the IB device above) */
2246 * CSR Query device structure
3120 /* Query HW state of device port or other */
3129 struct psif_epsc_csr_modify_device device; member in union:psif_epsc_csr_details
H A Dpsif_hw_data_le.h2220 * CSR Query device structure
3094 /* Query HW state of device port or other */
3103 struct psif_epsc_csr_modify_device device; member in union:psif_epsc_csr_details
/solaris-userland/components/open-fabrics/libsif/include/sif/
H A Dpsif_hw_print.c5090 xprintf(fd, ", .device = ");
5091 write_struct_psif_epsc_csr_modify_device(fd, 0, &(data->device));
5218 xprintf(fd, "device = ");
5219 write_struct_psif_epsc_csr_modify_device(fd, network_order, &(data->u.device));

Completed in 2545 milliseconds