Home
last modified time | relevance | path

Searched refs:vpd_size (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_ioctl.c1153 uint32_t start_addr, vpd_size, *lptr, data32; in ql_vpd_load() local
1163 vpd_size = QL_24XX_VPD_SIZE; in ql_vpd_load()
1165 if ((vpd = kmem_zalloc(vpd_size, KM_SLEEP)) == NULL) { in ql_vpd_load()
1170 if (ddi_copyin(bp, vpd, vpd_size, mode) != 0) { in ql_vpd_load()
1172 kmem_free(vpd, vpd_size); in ql_vpd_load()
1179 kmem_free(vpd, vpd_size); in ql_vpd_load()
1192 kmem_free(vpd, vpd_size); in ql_vpd_load()
1199 kmem_free(vpd, vpd_size); in ql_vpd_load()
1206 kmem_free(vpd, vpd_size); in ql_vpd_load()
1216 if ((rval = ql_r_m_w_flash(ha, bp, vpd_size, start_addr, in ql_vpd_load()
[all …]
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/qlge/
H A Dqlge_flash.c840 uint32_t vpd_size; in ql_flash_vpd() local
853 vpd_size = ISP_8100_VPD0_SIZE; in ql_flash_vpd()
855 rval = qlge_dump_fcode(qlge, buf, vpd_size, qlge->flash_vpd_addr); in ql_flash_vpd()
860 bzero(buf, vpd_size); in ql_flash_vpd()
864 QL_DUMP(DBG_FLASH, "flash vpd table raw data:\n", buf, 8, vpd_size); in ql_flash_vpd()
869 for (cnt = 0; cnt < (vpd_size/2); cnt++) { in ql_flash_vpd()