Lines Matching refs:caps
23 struct vas_cop_feat_caps *caps; member
32 static ssize_t update_total_credits_store(struct vas_cop_feat_caps *caps, in update_total_credits_store() argument
48 err = vas_reconfig_capabilties(caps->win_type, creds); in update_total_credits_store()
59 static ssize_t _name##_show(struct vas_cop_feat_caps *caps, char *buf) \
61 return sprintf(buf, "%d\n", atomic_read(&caps->_name)); \
125 struct vas_cop_feat_caps *caps; in vas_type_show() local
129 caps = centry->caps; in vas_type_show()
135 return entry->show(caps, buf); in vas_type_show()
142 struct vas_cop_feat_caps *caps; in vas_type_store() local
146 caps = centry->caps; in vas_type_store()
151 return entry->store(caps, buf, count); in vas_type_store()
180 struct vas_cop_feat_caps *caps = centry->caps; in vas_caps_kobj_name() local
182 if (caps->descriptor == VAS_GZIP_QOS_CAPABILITIES) { in vas_caps_kobj_name()
186 } else if (caps->descriptor == VAS_GZIP_DEFAULT_CAPABILITIES) { in vas_caps_kobj_name()
198 int sysfs_add_vas_caps(struct vas_cop_feat_caps *caps) in sysfs_add_vas_caps() argument
209 centry->caps = caps; in sysfs_add_vas_caps()
272 int sysfs_add_vas_caps(struct vas_cop_feat_caps *caps) in sysfs_add_vas_caps() argument