Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Dsiena_vpd.c46 caddr_t svpd; in siena_vpd_get_static() local
113 svpd = NULL; in siena_vpd_get_static()
116 EFSYS_KMEM_ALLOC(enp->en_esip, vpd_length, svpd); in siena_vpd_get_static()
117 if (svpd == NULL) { in siena_vpd_get_static()
121 (void) memcpy(svpd, (caddr_t)scfg + vpd_offset, vpd_length); in siena_vpd_get_static()
126 *svpdp = svpd; in siena_vpd_get_static()
159 caddr_t svpd = NULL; in siena_vpd_init() local
175 if ((rc = siena_vpd_get_static(enp, partn, &svpd, &size)) != 0) in siena_vpd_init()
178 if (svpd != NULL && size > 0) { in siena_vpd_init()
179 if ((rc = efx_vpd_hunk_verify(svpd, size, NULL)) != 0) in siena_vpd_init()
[all …]
H A Def10_vpd.c45 caddr_t svpd; in ef10_vpd_init() local
67 svpd = NULL; in ef10_vpd_init()
71 tag, &svpd, &svpd_size); in ef10_vpd_init()
80 if (svpd != NULL && svpd_size > 0) { in ef10_vpd_init()
81 if ((rc = efx_vpd_hunk_verify(svpd, svpd_size, NULL)) != 0) in ef10_vpd_init()
85 enp->en_arch.ef10.ena_svpd = svpd; in ef10_vpd_init()
94 EFSYS_KMEM_FREE(enp->en_esip, svpd_size, svpd); in ef10_vpd_init()