Lines Matching refs:vctrl

12 	struct vcap_control *vctrl;  member
17 struct vcap_control *vctrl; member
22 static void vcap_debugfs_show_rule_keyfield(struct vcap_control *vctrl, in vcap_debugfs_show_rule_keyfield() argument
32 out->prf(out->dst, " %s: W%d: ", vcap_keyfield_name(vctrl, key), in vcap_debugfs_show_rule_keyfield()
117 vcap_debugfs_show_rule_actionfield(struct vcap_control *vctrl, in vcap_debugfs_show_rule_actionfield() argument
128 vcap_actionfield_name(vctrl, action), in vcap_debugfs_show_rule_actionfield()
173 err = vcap_find_keystream_keysets(ri->vctrl, admin->vtype, in vcap_debugfs_show_keysets()
186 vcap_keyset_name(ri->vctrl, matches.keysets[idx])); in vcap_debugfs_show_keysets()
194 struct vcap_control *vctrl = ri->vctrl; in vcap_debugfs_show_rule_keyset() local
204 keyfield = vcap_keyfields(vctrl, admin->vtype, ri->data.keyset); in vcap_debugfs_show_rule_keyset()
205 vcap_debugfs_show_rule_keyfield(vctrl, out, ckf->ctrl.key, in vcap_debugfs_show_rule_keyset()
215 struct vcap_control *vctrl = ri->vctrl; in vcap_debugfs_show_rule_actionset() local
221 vcap_actionset_name(vctrl, ri->data.actionset)); in vcap_debugfs_show_rule_actionset()
226 actionfield = vcap_actionfields(vctrl, admin->vtype, in vcap_debugfs_show_rule_actionset()
228 vcap_debugfs_show_rule_actionfield(vctrl, out, caf->ctrl.action, in vcap_debugfs_show_rule_actionset()
236 static void vcap_show_admin_rule(struct vcap_control *vctrl, in vcap_show_admin_rule() argument
266 static void vcap_show_admin_info(struct vcap_control *vctrl, in vcap_show_admin_info() argument
270 const struct vcap_info *vcap = &vctrl->vcaps[admin->vtype]; in vcap_show_admin_info()
292 static int vcap_show_admin(struct vcap_control *vctrl, in vcap_show_admin() argument
300 vcap_show_admin_info(vctrl, admin, out); in vcap_show_admin()
309 vcap_show_admin_rule(vctrl, admin, out, to_intrule(vrule)); in vcap_show_admin()
315 static int vcap_show_admin_raw(struct vcap_control *vctrl, in vcap_show_admin_raw() argument
330 ret = vcap_api_check(vctrl); in vcap_show_admin_raw()
342 ret = vcap_addr_keysets(vctrl, ri->ndev, admin, addr, &kslist); in vcap_show_admin_raw()
345 info = vcap_keyfieldset(vctrl, vt, kslist.keysets[0]); in vcap_show_admin_raw()
352 vcap_keyset_name(vctrl, kslist.keysets[0])); in vcap_show_admin_raw()
359 vcap_keyset_name(vctrl, in vcap_show_admin_raw()
377 list_for_each_entry(admin, &info->vctrl->list, list) { in vcap_port_debugfs_show()
380 info->vctrl->ops->port_info(info->ndev, admin, &out); in vcap_port_debugfs_show()
387 struct vcap_control *vctrl, in vcap_port_debugfs() argument
396 info->vctrl = vctrl; in vcap_port_debugfs()
414 ret = vcap_show_admin(info->vctrl, info->admin, &out); in vcap_debugfs_show()
431 ret = vcap_show_admin_raw(info->vctrl, info->admin, &out); in vcap_raw_debugfs_show()
438 struct vcap_control *vctrl) in vcap_debugfs() argument
448 list_for_each_entry(admin, &vctrl->list, list) { in vcap_debugfs()
449 sprintf(name, "raw_%s_%d", vctrl->vcaps[admin->vtype].name, in vcap_debugfs()
454 info->vctrl = vctrl; in vcap_debugfs()
458 sprintf(name, "%s_%d", vctrl->vcaps[admin->vtype].name, in vcap_debugfs()