Lines Matching refs:device
144 /* 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%n/", &pos);
673 * Get the IB user verbs port info attributes for the specified device/port.
713 ctx.device = *dev_list;
797 * Map the user verbs device (uverbs) to the associated
798 * hca device. ibdev_cache is indexed by uverbs device minor number
804 fprintf(stderr, "Invalid device %s\n", dev_name);
884 * Under Linux, this is a link to the PCI device entry
890 } else if (strcmp(path, "device") == 0) {
1515 sol_ibv_query_device(struct ibv_device *device, struct ibv_device_attr *attr)
1524 context.device = device;
1526 if (!device || !attr)
1530 IB_OFS_DEVPATH_PREFIX, device->dev_name);