• Home
  • Raw
  • Download

Lines Matching full:vpd

281  * scsi_vpd_inquiry - Request a device provide us with a VPD page
290 * Returns size of the vpd page on success or a negative error number.
309 * I'm not convinced we need to try quite this hard to get VPD, but in scsi_vpd_inquiry()
338 unsigned char vpd[SCSI_VPD_LIST_SIZE] __aligned(4); in scsi_get_vpd_size() local
345 * Fetch the supported pages VPD and validate that the requested page in scsi_get_vpd_size()
349 result = scsi_vpd_inquiry(sdev, vpd, 0, sizeof(vpd)); in scsi_get_vpd_size()
354 if (!memchr(&vpd[SCSI_VPD_HEADER_SIZE], page, result)) in scsi_get_vpd_size()
358 * Fetch the VPD page header to find out how big the page in scsi_get_vpd_size()
363 result = scsi_vpd_inquiry(sdev, vpd, page, SCSI_VPD_HEADER_SIZE); in scsi_get_vpd_size()
369 "%s: short VPD page 0x%02x length: %d bytes\n", in scsi_get_vpd_size()
381 * @buf: where to store the VPD
382 * @buf_len: number of bytes in the VPD buffer area
385 * of VPD is defined in the appropriate SCSI document (eg SPC, SBC).
386 * If the device supports this VPD page, this routine fills @buf
387 * with the data from that page and return 0. If the VPD page is not
414 "%s: VPD page 0x%02x result %d > %d bytes\n", in scsi_get_vpd_page()
453 "%s: VPD page 0x%02x result %d > %d bytes\n", in scsi_get_vpd_buf()
487 * Attach the 'Device Identification' VPD page (0x83) and the
488 * 'Unit Serial Number' VPD page (0x80) to a SCSI device
684 struct scsi_vpd *vpd; in scsi_cdl_enable() local
693 vpd = rcu_dereference(sdev->vpd_pg89); in scsi_cdl_enable()
694 if (vpd) in scsi_cdl_enable()