Searched refs:evvp (Results 1 – 8 of 8) sorted by relevance
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | ef10_vpd.c | 308 __inout efx_vpd_value_t *evvp) in ef10_vpd_get() argument 320 enp->en_arch.ef10.ena_svpd_length, evvp->evv_tag, in ef10_vpd_get() 321 evvp->evv_keyword, &offset, &length)) == 0) { in ef10_vpd_get() 322 evvp->evv_length = length; in ef10_vpd_get() 323 (void) memcpy(evvp->evv_value, in ef10_vpd_get() 331 if ((rc = efx_vpd_hunk_get(data, size, evvp->evv_tag, in ef10_vpd_get() 332 evvp->evv_keyword, &offset, &length)) != 0) in ef10_vpd_get() 335 evvp->evv_length = length; in ef10_vpd_get() 336 (void) memcpy(evvp->evv_value, data + offset, length); in ef10_vpd_get() 353 __in efx_vpd_value_t *evvp) in ef10_vpd_set() argument [all …]
|
H A D | efx_vpd.c | 245 __inout efx_vpd_value_t *evvp) in efx_vpd_get() argument 253 if ((rc = evpdop->evpdo_get(enp, data, size, evvp)) != 0) in efx_vpd_get() 269 __in efx_vpd_value_t *evvp) in efx_vpd_set() argument 277 if ((rc = evpdop->evpdo_set(enp, data, size, evvp)) != 0) in efx_vpd_set() 293 __out efx_vpd_value_t *evvp, in efx_vpd_next() argument 302 if ((rc = evpdop->evpdo_next(enp, data, size, evvp, contp)) != 0) in efx_vpd_next() 786 __in efx_vpd_value_t *evvp) in efx_vpd_hunk_set() argument 803 switch (evvp->evv_tag) { in efx_vpd_hunk_set() 805 if (evvp->evv_keyword != 0) { in efx_vpd_hunk_set() 811 if (evvp->evv_length == 0) { in efx_vpd_hunk_set() [all …]
|
H A D | siena_vpd.c | 413 __inout efx_vpd_value_t *evvp) in siena_vpd_get() argument 424 enp->en_u.siena.enu_svpd_length, evvp->evv_tag, in siena_vpd_get() 425 evvp->evv_keyword, &offset, &length)) == 0) { in siena_vpd_get() 426 evvp->evv_length = length; in siena_vpd_get() 427 (void) memcpy(evvp->evv_value, in siena_vpd_get() 435 if ((rc = efx_vpd_hunk_get(data, size, evvp->evv_tag, in siena_vpd_get() 436 evvp->evv_keyword, &offset, &length)) != 0) in siena_vpd_get() 439 evvp->evv_length = length; in siena_vpd_get() 440 (void) memcpy(evvp->evv_value, data + offset, length); in siena_vpd_get() 457 __in efx_vpd_value_t *evvp) in siena_vpd_set() argument [all …]
|
H A D | siena_impl.h | 263 __inout efx_vpd_value_t *evvp); 270 __in efx_vpd_value_t *evvp); 277 __out efx_vpd_value_t *evvp,
|
H A D | ef10_impl.h | 789 __inout efx_vpd_value_t *evvp); 796 __in efx_vpd_value_t *evvp); 803 __out efx_vpd_value_t *evvp,
|
H A D | efx.h | 1226 __inout efx_vpd_value_t *evvp); 1233 __in efx_vpd_value_t *evvp); 1240 __out efx_vpd_value_t *evvp,
|
H A D | efx_impl.h | 1115 __in efx_vpd_value_t *evvp);
|
/illumos-gate/usr/src/uts/common/io/sfxge/ |
H A D | sfxge.c | 789 efx_vpd_value_t *evvp; in _sfxge_vpd_kstat_init() local 791 evvp = svkp->svk_vv + type; in _sfxge_vpd_kstat_init() 792 evvp->evv_tag = tag; in _sfxge_vpd_kstat_init() 793 evvp->evv_keyword = EFX_VPD_KEYWORD(keyword[0], keyword[1]); in _sfxge_vpd_kstat_init() 795 if (efx_vpd_get(enp, vpd, size, evvp) != 0) { in _sfxge_vpd_kstat_init() 796 evvp->evv_length = strlen(unknown) + 1; in _sfxge_vpd_kstat_init() 797 bcopy(unknown, evvp->evv_value, evvp->evv_length); in _sfxge_vpd_kstat_init() 803 kstat_named_setstr(knp, (char *)evvp->evv_value); in _sfxge_vpd_kstat_init() 804 svkp->svk_ksp->ks_data_size += sizeof (*evvp); in _sfxge_vpd_kstat_init()
|