Lines Matching refs:evvp
254 __inout efx_vpd_value_t *evvp) in efx_vpd_get() argument
262 if ((rc = evpdop->evpdo_get(enp, data, size, evvp)) != 0) { in efx_vpd_get()
282 __in efx_vpd_value_t *evvp) in efx_vpd_set() argument
290 if ((rc = evpdop->evpdo_set(enp, data, size, evvp)) != 0) in efx_vpd_set()
306 __out efx_vpd_value_t *evvp, in efx_vpd_next() argument
315 if ((rc = evpdop->evpdo_next(enp, data, size, evvp, contp)) != 0) in efx_vpd_next()
798 __in efx_vpd_value_t *evvp) in efx_vpd_hunk_set() argument
815 switch (evvp->evv_tag) { in efx_vpd_hunk_set()
817 if (evvp->evv_keyword != 0) { in efx_vpd_hunk_set()
823 if (evvp->evv_length == 0) { in efx_vpd_hunk_set()
830 if (evvp->evv_keyword == EFX_VPD_KEYWORD('R', 'V')) { in efx_vpd_hunk_set()
854 else if (tag != evvp->evv_tag) { in efx_vpd_hunk_set()
872 dest = offset + evvp->evv_length; in efx_vpd_hunk_set()
883 if (keyword == evvp->evv_keyword && in efx_vpd_hunk_set()
884 evvp->evv_length == 0) { in efx_vpd_hunk_set()
890 } else if (keyword == evvp->evv_keyword) { in efx_vpd_hunk_set()
893 dest = offset + pos + 3 + evvp->evv_length; in efx_vpd_hunk_set()
905 if (evvp->evv_length == 0) in efx_vpd_hunk_set()
910 dest = offset + pos + 3 + evvp->evv_length; in efx_vpd_hunk_set()
925 memcpy(data + dest - evvp->evv_length, evvp->evv_value, in efx_vpd_hunk_set()
926 evvp->evv_length); in efx_vpd_hunk_set()
929 if (tag != EFX_VPD_ID && evvp->evv_length > 0) { in efx_vpd_hunk_set()
931 evvp->evv_keyword); in efx_vpd_hunk_set()
936 data[offset + pos + 2] = evvp->evv_length; in efx_vpd_hunk_set()