Home
last modified time | relevance | path

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

/drivers/net/ethernet/amd/pds_core/
Ddevlink.c28 struct pdsc_viftype *vt_entry; in pdsc_dl_enable_get() local
30 vt_entry = pdsc_dl_find_viftype_by_id(pdsc, id); in pdsc_dl_enable_get()
31 if (!vt_entry) in pdsc_dl_enable_get()
34 ctx->val.vbool = vt_entry->enabled; in pdsc_dl_enable_get()
43 struct pdsc_viftype *vt_entry; in pdsc_dl_enable_set() local
47 vt_entry = pdsc_dl_find_viftype_by_id(pdsc, id); in pdsc_dl_enable_set()
48 if (!vt_entry || !vt_entry->supported) in pdsc_dl_enable_set()
51 if (vt_entry->enabled == ctx->val.vbool) in pdsc_dl_enable_set()
54 vt_entry->enabled = ctx->val.vbool; in pdsc_dl_enable_set()
70 struct pdsc_viftype *vt_entry; in pdsc_dl_enable_validate() local
[all …]