Searched refs:vpd_rd (Results 1 – 1 of 1) sorted by relevance
/titanic_44/usr/src/uts/common/io/nxge/npi/ |
H A D | npi_espc.c | 370 static inline uint8_t vpd_rd(npi_handle_t handle, uint32_t addr) in vpd_rd() function 404 if (vpd_rd(handle, ep) != 0x55 || in npi_espc_vpd_info_get() 405 vpd_rd(handle, ep + 1) != 0xaa) { in npi_espc_vpd_info_get() 409 vpd_rd(handle, ep), vpd_rd(handle, ep + 1))); in npi_espc_vpd_info_get() 414 ep = base + ((vpd_rd(handle, ep) << 8) | in npi_espc_vpd_info_get() 415 (vpd_rd(handle, ep + 1))); in npi_espc_vpd_info_get() 417 if ((vpd_rd(handle, ep) != 0x50) || in npi_espc_vpd_info_get() 418 (vpd_rd(handle, ep + 1) != 0x43) || in npi_espc_vpd_info_get() 419 (vpd_rd(handle, ep + 2) != 0x49) || in npi_espc_vpd_info_get() 420 (vpd_rd(handle, ep + 3) != 0x52)) { in npi_espc_vpd_info_get() [all …]
|