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.c29 struct pdsc_viftype *vt_entry; in pdsc_dl_enable_get() local
31 vt_entry = pdsc_dl_find_viftype_by_id(pdsc, id); in pdsc_dl_enable_get()
32 if (!vt_entry) in pdsc_dl_enable_get()
35 ctx->val.vbool = vt_entry->enabled; in pdsc_dl_enable_get()
45 struct pdsc_viftype *vt_entry; in pdsc_dl_enable_set() local
49 vt_entry = pdsc_dl_find_viftype_by_id(pdsc, id); in pdsc_dl_enable_set()
50 if (!vt_entry || !vt_entry->supported) in pdsc_dl_enable_set()
53 if (vt_entry->enabled == ctx->val.vbool) in pdsc_dl_enable_set()
56 vt_entry->enabled = ctx->val.vbool; in pdsc_dl_enable_set()
61 err = pdsc_auxbus_dev_add(vf, pdsc, vt_entry->vif_id, in pdsc_dl_enable_set()
[all …]