Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/amd/pds_core/
H A 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()
44 struct pdsc_viftype *vt_entry; in pdsc_dl_enable_set() local
48 vt_entry = pdsc_dl_find_viftype_by_id(pdsc, id); in pdsc_dl_enable_set()
49 if (!vt_entry || !vt_entry->supported) in pdsc_dl_enable_set()
52 if (vt_entry->enabled == ctx->val.vbool) in pdsc_dl_enable_set()
55 vt_entry->enabled = ctx->val.vbool; in pdsc_dl_enable_set()
71 struct pdsc_viftype *vt_entry; in pdsc_dl_enable_validate() local
[all …]