Lines Matching refs:acl_block
15 static struct ocelot_acl_block *acl_block; variable
650 ocelot_ace_rule_add(acl_block, rule); in ocelot_ace_rule_offload_add()
653 index = ocelot_ace_rule_get_index_id(acl_block, rule); in ocelot_ace_rule_offload_add()
656 for (i = acl_block->count - 1; i > index; i--) { in ocelot_ace_rule_offload_add()
657 ace = ocelot_ace_rule_get_rule_index(acl_block, i); in ocelot_ace_rule_offload_add()
692 index = ocelot_ace_rule_get_index_id(acl_block, rule); in ocelot_ace_rule_offload_del()
695 ocelot_ace_rule_del(acl_block, rule); in ocelot_ace_rule_offload_del()
698 for (i = index; i < acl_block->count; i++) { in ocelot_ace_rule_offload_del()
699 ace = ocelot_ace_rule_get_rule_index(acl_block, i); in ocelot_ace_rule_offload_del()
704 is2_entry_set(rule->port->ocelot, acl_block->count, &del_ace); in ocelot_ace_rule_offload_del()
714 index = ocelot_ace_rule_get_index_id(acl_block, rule); in ocelot_ace_rule_stats_update()
718 tmp = ocelot_ace_rule_get_rule_index(acl_block, index); in ocelot_ace_rule_stats_update()
774 acl_block = ocelot_acl_block_create(ocelot); in ocelot_ace_init()
781 ocelot_acl_block_destroy(acl_block); in ocelot_ace_deinit()