Home
last modified time | relevance | path

Searched refs:rule_linkage (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/net/dsa/microchip/
H A Dksz9477_acl.c337 unsigned long rule_linkage; in ksz9477_acl_update_linkage() local
346 rule_linkage = (vale << 8) | valf; in ksz9477_acl_update_linkage()
347 original_bit_count = hweight16(rule_linkage); in ksz9477_acl_update_linkage()
352 if (!rule_linkage) in ksz9477_acl_update_linkage()
368 rule_linkage <<= shift; in ksz9477_acl_update_linkage()
370 rule_linkage >>= -shift; in ksz9477_acl_update_linkage()
373 if (original_bit_count != hweight16(rule_linkage)) { in ksz9477_acl_update_linkage()
381 entry[KSZ9477_ACL_PORT_ACCESS_E] = (rule_linkage >> 8) & 0xFF; in ksz9477_acl_update_linkage()
382 entry[KSZ9477_ACL_PORT_ACCESS_F] = rule_linkage & 0xFF; in ksz9477_acl_update_linkage()