Home
last modified time | relevance | path

Searched refs:vpd_len (Results 1 – 5 of 5) sorted by relevance

/drivers/scsi/
Dscsi.c403 int vpd_len = SCSI_VPD_PG_LEN, result; in scsi_get_vpd_buf() local
406 vpd_buf = kmalloc(sizeof(*vpd_buf) + vpd_len, GFP_KERNEL); in scsi_get_vpd_buf()
410 result = scsi_vpd_inquiry(sdev, vpd_buf->data, page, vpd_len); in scsi_get_vpd_buf()
415 if (result > vpd_len) { in scsi_get_vpd_buf()
416 vpd_len = result; in scsi_get_vpd_buf()
Dsd.c2913 const int vpd_len = 64; in sd_read_block_limits() local
2914 unsigned char *buffer = kmalloc(vpd_len, GFP_KERNEL); in sd_read_block_limits()
2918 scsi_get_vpd_page(sdkp->device, 0xb0, buffer, vpd_len)) in sd_read_block_limits()
2979 const int vpd_len = 64; in sd_read_block_characteristics() local
2981 buffer = kmalloc(vpd_len, GFP_KERNEL); in sd_read_block_characteristics()
2985 scsi_get_vpd_page(sdkp->device, 0xb1, buffer, vpd_len)) in sd_read_block_characteristics()
3035 const int vpd_len = 8; in sd_read_block_provisioning() local
3040 buffer = kmalloc(vpd_len, GFP_KERNEL); in sd_read_block_provisioning()
3042 if (!buffer || scsi_get_vpd_page(sdkp->device, 0xb2, buffer, vpd_len)) in sd_read_block_provisioning()
Dscsi_transport_sas.c341 const int vpd_len = 32; in sas_tlr_supported() local
343 char *buffer = kzalloc(vpd_len, GFP_KERNEL); in sas_tlr_supported()
349 if (scsi_get_vpd_page(sdev, 0x90, buffer, vpd_len)) in sas_tlr_supported()
/drivers/scsi/aic7xxx/
Daic79xx.h906 uint16_t vpd_len; member
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c12204 unsigned int vpd_len, kw_len; in bnx2x_read_fwinfo() local
12210 vpd_data = pci_vpd_alloc(bp->pdev, &vpd_len); in bnx2x_read_fwinfo()
12214 rodi = pci_vpd_find_ro_info_keyword(vpd_data, vpd_len, in bnx2x_read_fwinfo()
12222 rodi = pci_vpd_find_ro_info_keyword(vpd_data, vpd_len, in bnx2x_read_fwinfo()