Home
last modified time | relevance | path

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

/openbmc/linux/drivers/dma/idxd/
H A Dsysfs.c13 static char *idxd_wq_type_names[] = { variable
889 return sysfs_emit(buf, "%s\n", idxd_wq_type_names[IDXD_WQT_KERNEL]); in wq_type_show()
891 return sysfs_emit(buf, "%s\n", idxd_wq_type_names[IDXD_WQT_USER]); in wq_type_show()
894 return sysfs_emit(buf, "%s\n", idxd_wq_type_names[IDXD_WQT_NONE]); in wq_type_show()
911 if (sysfs_streq(buf, idxd_wq_type_names[IDXD_WQT_NONE])) in wq_type_store()
913 else if (sysfs_streq(buf, idxd_wq_type_names[IDXD_WQT_KERNEL])) in wq_type_store()
915 else if (sysfs_streq(buf, idxd_wq_type_names[IDXD_WQT_USER])) in wq_type_store()