Lines Matching refs:svip
37 sfxge_vpd_get_keyword(sfxge_t *sp, sfxge_vpd_ioc_t *svip)
60 vpd.evv_tag = svip->svi_tag;
61 vpd.evv_keyword = svip->svi_keyword;
66 svip->svi_len = vpd.evv_length;
67 EFX_STATIC_ASSERT(sizeof (svip->svi_payload) == sizeof (vpd.evv_value));
68 bcopy(&vpd.evv_value[0], svip->svi_payload, sizeof (svip->svi_payload));
89 sfxge_vpd_set_keyword(sfxge_t *sp, sfxge_vpd_ioc_t *svip)
118 vpd.evv_tag = svip->svi_tag;
119 vpd.evv_keyword = svip->svi_keyword;
120 vpd.evv_length = svip->svi_len;
122 EFX_STATIC_ASSERT(sizeof (svip->svi_payload) == sizeof (vpd.evv_value));
123 bcopy(svip->svi_payload, &vpd.evv_value[0], sizeof (svip->svi_payload));
160 sfxge_vpd_ioctl(sfxge_t *sp, sfxge_vpd_ioc_t *svip)
164 switch (svip->svi_op) {
166 if ((rc = sfxge_vpd_get_keyword(sp, svip)) != 0)
170 if ((rc = sfxge_vpd_set_keyword(sp, svip)) != 0)