Lines Matching refs:vtcam_id
32 u32 vtcam_id; member
64 u32 vtcam_id; member
201 u32 vtcam_id; in prestera_acl_ruleset_offload() local
214 ruleset->keymask, &vtcam_id); in prestera_acl_ruleset_offload()
225 vtcam_id, ruleset->pcl_id); in prestera_acl_ruleset_offload()
230 ruleset->vtcam_id = vtcam_id; in prestera_acl_ruleset_offload()
235 prestera_acl_vtcam_id_put(ruleset->acl, ruleset->vtcam_id); in prestera_acl_ruleset_offload()
256 ruleset->vtcam_id); in prestera_acl_ruleset_destroy()
259 WARN_ON(prestera_acl_vtcam_id_put(acl, ruleset->vtcam_id)); in prestera_acl_ruleset_destroy()
329 return prestera_hw_vtcam_iface_bind(port->sw, &iface, ruleset->vtcam_id, in prestera_acl_ruleset_bind()
342 ruleset->vtcam_id); in prestera_acl_ruleset_unbind()
491 rule->re_arg.vtcam_id = ruleset->vtcam_id; in prestera_acl_rule_add()
581 return prestera_hw_vtcam_rule_del(sw, e->vtcam_id, e->hw_id); in __prestera_acl_rule_entry2hw_del()
627 return prestera_hw_vtcam_rule_add(sw, e->vtcam_id, e->key.prio, in __prestera_acl_rule_entry2hw_add()
721 e->vtcam_id = arg->vtcam_id; in prestera_acl_rule_entry_create()
748 void *keymask, u32 *vtcam_id) in __prestera_acl_vtcam_id_try_fit() argument
786 *vtcam_id = vtcam->id; in __prestera_acl_vtcam_id_try_fit()
791 void *keymask, u32 *vtcam_id) in prestera_acl_vtcam_id_get() argument
833 *vtcam_id = new_vtcam_id; in prestera_acl_vtcam_id_get()
848 *vtcam_id = vtcam->id; in prestera_acl_vtcam_id_get()
852 int prestera_acl_vtcam_id_put(struct prestera_acl *acl, u32 vtcam_id) in prestera_acl_vtcam_id_put() argument
858 if (vtcam_id != vtcam->id) in prestera_acl_vtcam_id_put()