Searched refs:VPD_LEN (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/drivers/scsi/csiostor/ |
D | csio_hw.c | 198 #define VPD_LEN 1024 macro 270 if (len + sizeof(struct t4_vpd_hdr) > VPD_LEN) in csio_hw_get_vpd_keyword_val() 319 vpd = kzalloc(VPD_LEN, GFP_ATOMIC); in csio_hw_get_vpd_params() 330 for (i = 0; i < VPD_LEN; i += 4) { in csio_hw_get_vpd_params()
|
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/ |
D | t4_hw.c | 2692 #define VPD_LEN 1024 macro 2750 vpd = vmalloc(VPD_LEN); in t4_get_raw_vpd_params() 2763 ret = pci_read_vpd(adapter->pdev, addr, VPD_LEN, vpd); in t4_get_raw_vpd_params() 2767 ret = pci_vpd_find_id_string(vpd, VPD_LEN, &id_len); in t4_get_raw_vpd_params() 2772 ret = pci_vpd_check_csum(vpd, VPD_LEN); in t4_get_raw_vpd_params() 2779 ret = pci_vpd_find_ro_info_keyword(vpd, VPD_LEN, in t4_get_raw_vpd_params() 2785 ret = pci_vpd_find_ro_info_keyword(vpd, VPD_LEN, in t4_get_raw_vpd_params() 2791 ret = pci_vpd_find_ro_info_keyword(vpd, VPD_LEN, "NA", &na_len); in t4_get_raw_vpd_params()
|