Home
last modified time | relevance | path

Searched refs:evvp (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Def10_vpd.c308 __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 Defx_vpd.c245 __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 Dsiena_vpd.c413 __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 Dsiena_impl.h263 __inout efx_vpd_value_t *evvp);
270 __in efx_vpd_value_t *evvp);
277 __out efx_vpd_value_t *evvp,
H A Def10_impl.h789 __inout efx_vpd_value_t *evvp);
796 __in efx_vpd_value_t *evvp);
803 __out efx_vpd_value_t *evvp,
H A Defx.h1226 __inout efx_vpd_value_t *evvp);
1233 __in efx_vpd_value_t *evvp);
1240 __out efx_vpd_value_t *evvp,
H A Defx_impl.h1115 __in efx_vpd_value_t *evvp);
/illumos-gate/usr/src/uts/common/io/sfxge/
H A Dsfxge.c789 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()