Lines Matching refs:police
40 } police; member
609 if (e->police.valid) { in __prestera_acl_rule_entry2hw_add()
611 act_hw[act_num].police = e->police.i; in __prestera_acl_rule_entry2hw_add()
639 if (e->police.valid) in __prestera_acl_rule_entry_act_destruct()
640 prestera_hw_policer_release(sw, e->police.i.id); in __prestera_acl_rule_entry_act_destruct()
675 if (arg->police.valid) { in __prestera_acl_rule_entry_act_construct()
676 u8 type = arg->police.ingress ? PRESTERA_POLICER_TYPE_INGRESS : in __prestera_acl_rule_entry_act_construct()
679 err = prestera_hw_policer_create(sw, type, &e->police.i.id); in __prestera_acl_rule_entry_act_construct()
683 err = prestera_hw_policer_sr_tcm_set(sw, e->police.i.id, in __prestera_acl_rule_entry_act_construct()
684 arg->police.rate, in __prestera_acl_rule_entry_act_construct()
685 arg->police.burst); in __prestera_acl_rule_entry_act_construct()
687 prestera_hw_policer_release(sw, e->police.i.id); in __prestera_acl_rule_entry_act_construct()
690 e->police.valid = arg->police.valid; in __prestera_acl_rule_entry_act_construct()