l2_lookup 881 drivers/net/dsa/sja1105/sja1105_main.c struct sja1105_l2_lookup_entry *l2_lookup; l2_lookup 886 drivers/net/dsa/sja1105/sja1105_main.c l2_lookup = table->entries; l2_lookup 889 drivers/net/dsa/sja1105/sja1105_main.c if (l2_lookup[i].macaddr == requested->macaddr && l2_lookup 890 drivers/net/dsa/sja1105/sja1105_main.c l2_lookup[i].vlanid == requested->vlanid && l2_lookup 891 drivers/net/dsa/sja1105/sja1105_main.c l2_lookup[i].destports & BIT(port)) l2_lookup 907 drivers/net/dsa/sja1105/sja1105_main.c struct sja1105_l2_lookup_entry *l2_lookup; l2_lookup 928 drivers/net/dsa/sja1105/sja1105_main.c l2_lookup = table->entries; l2_lookup 937 drivers/net/dsa/sja1105/sja1105_main.c l2_lookup[match] = *requested; l2_lookup 944 drivers/net/dsa/sja1105/sja1105_main.c l2_lookup[match] = l2_lookup[table->entry_count - 1]; l2_lookup 967 drivers/net/dsa/sja1105/sja1105_main.c struct sja1105_l2_lookup_entry l2_lookup = {0}; l2_lookup 974 drivers/net/dsa/sja1105/sja1105_main.c index, &l2_lookup)) { l2_lookup 980 drivers/net/dsa/sja1105/sja1105_main.c if (l2_lookup.macaddr == ether_addr_to_u64(addr) && l2_lookup 981 drivers/net/dsa/sja1105/sja1105_main.c l2_lookup.vlanid == vid) { l2_lookup 983 drivers/net/dsa/sja1105/sja1105_main.c *match = l2_lookup; l2_lookup 994 drivers/net/dsa/sja1105/sja1105_main.c struct sja1105_l2_lookup_entry l2_lookup = {0}; l2_lookup 1003 drivers/net/dsa/sja1105/sja1105_main.c &l2_lookup, &last_unused); l2_lookup 1009 drivers/net/dsa/sja1105/sja1105_main.c if (l2_lookup.destports & BIT(port)) l2_lookup 1011 drivers/net/dsa/sja1105/sja1105_main.c l2_lookup.destports |= BIT(port); l2_lookup 1018 drivers/net/dsa/sja1105/sja1105_main.c l2_lookup.macaddr = ether_addr_to_u64(addr); l2_lookup 1019 drivers/net/dsa/sja1105/sja1105_main.c l2_lookup.destports = BIT(port); l2_lookup 1020 drivers/net/dsa/sja1105/sja1105_main.c l2_lookup.vlanid = vid; l2_lookup 1040 drivers/net/dsa/sja1105/sja1105_main.c l2_lookup.index = sja1105et_fdb_index(bin, way); l2_lookup 1043 drivers/net/dsa/sja1105/sja1105_main.c l2_lookup.index, &l2_lookup, l2_lookup 1048 drivers/net/dsa/sja1105/sja1105_main.c return sja1105_static_fdb_change(priv, port, &l2_lookup, true); l2_lookup 1054 drivers/net/dsa/sja1105/sja1105_main.c struct sja1105_l2_lookup_entry l2_lookup = {0}; l2_lookup 1061 drivers/net/dsa/sja1105/sja1105_main.c &l2_lookup, NULL); l2_lookup 1071 drivers/net/dsa/sja1105/sja1105_main.c l2_lookup.destports &= ~BIT(port); l2_lookup 1073 drivers/net/dsa/sja1105/sja1105_main.c if (l2_lookup.destports) l2_lookup 1079 drivers/net/dsa/sja1105/sja1105_main.c index, &l2_lookup, keep); l2_lookup 1083 drivers/net/dsa/sja1105/sja1105_main.c return sja1105_static_fdb_change(priv, port, &l2_lookup, keep); l2_lookup 1089 drivers/net/dsa/sja1105/sja1105_main.c struct sja1105_l2_lookup_entry l2_lookup = {0}; l2_lookup 1094 drivers/net/dsa/sja1105/sja1105_main.c l2_lookup.macaddr = ether_addr_to_u64(addr); l2_lookup 1095 drivers/net/dsa/sja1105/sja1105_main.c l2_lookup.vlanid = vid; l2_lookup 1096 drivers/net/dsa/sja1105/sja1105_main.c l2_lookup.iotag = SJA1105_S_TAG; l2_lookup 1097 drivers/net/dsa/sja1105/sja1105_main.c l2_lookup.mask_macaddr = GENMASK_ULL(ETH_ALEN * 8 - 1, 0); l2_lookup 1099 drivers/net/dsa/sja1105/sja1105_main.c l2_lookup.mask_vlanid = VLAN_VID_MASK; l2_lookup 1100 drivers/net/dsa/sja1105/sja1105_main.c l2_lookup.mask_iotag = BIT(0); l2_lookup 1102 drivers/net/dsa/sja1105/sja1105_main.c l2_lookup.mask_vlanid = 0; l2_lookup 1103 drivers/net/dsa/sja1105/sja1105_main.c l2_lookup.mask_iotag = 0; l2_lookup 1105 drivers/net/dsa/sja1105/sja1105_main.c l2_lookup.destports = BIT(port); l2_lookup 1108 drivers/net/dsa/sja1105/sja1105_main.c SJA1105_SEARCH, &l2_lookup); l2_lookup 1113 drivers/net/dsa/sja1105/sja1105_main.c if (l2_lookup.destports & BIT(port)) l2_lookup 1118 drivers/net/dsa/sja1105/sja1105_main.c l2_lookup.destports |= BIT(port); l2_lookup 1136 drivers/net/dsa/sja1105/sja1105_main.c l2_lookup.lockeds = true; l2_lookup 1137 drivers/net/dsa/sja1105/sja1105_main.c l2_lookup.index = i; l2_lookup 1141 drivers/net/dsa/sja1105/sja1105_main.c l2_lookup.index, &l2_lookup, l2_lookup 1146 drivers/net/dsa/sja1105/sja1105_main.c return sja1105_static_fdb_change(priv, port, &l2_lookup, true); l2_lookup 1152 drivers/net/dsa/sja1105/sja1105_main.c struct sja1105_l2_lookup_entry l2_lookup = {0}; l2_lookup 1157 drivers/net/dsa/sja1105/sja1105_main.c l2_lookup.macaddr = ether_addr_to_u64(addr); l2_lookup 1158 drivers/net/dsa/sja1105/sja1105_main.c l2_lookup.vlanid = vid; l2_lookup 1159 drivers/net/dsa/sja1105/sja1105_main.c l2_lookup.iotag = SJA1105_S_TAG; l2_lookup 1160 drivers/net/dsa/sja1105/sja1105_main.c l2_lookup.mask_macaddr = GENMASK_ULL(ETH_ALEN * 8 - 1, 0); l2_lookup 1162 drivers/net/dsa/sja1105/sja1105_main.c l2_lookup.mask_vlanid = VLAN_VID_MASK; l2_lookup 1163 drivers/net/dsa/sja1105/sja1105_main.c l2_lookup.mask_iotag = BIT(0); l2_lookup 1165 drivers/net/dsa/sja1105/sja1105_main.c l2_lookup.mask_vlanid = 0; l2_lookup 1166 drivers/net/dsa/sja1105/sja1105_main.c l2_lookup.mask_iotag = 0; l2_lookup 1168 drivers/net/dsa/sja1105/sja1105_main.c l2_lookup.destports = BIT(port); l2_lookup 1171 drivers/net/dsa/sja1105/sja1105_main.c SJA1105_SEARCH, &l2_lookup); l2_lookup 1175 drivers/net/dsa/sja1105/sja1105_main.c l2_lookup.destports &= ~BIT(port); l2_lookup 1180 drivers/net/dsa/sja1105/sja1105_main.c if (l2_lookup.destports) l2_lookup 1186 drivers/net/dsa/sja1105/sja1105_main.c l2_lookup.index, &l2_lookup, keep); l2_lookup 1190 drivers/net/dsa/sja1105/sja1105_main.c return sja1105_static_fdb_change(priv, port, &l2_lookup, keep); l2_lookup 1232 drivers/net/dsa/sja1105/sja1105_main.c struct sja1105_l2_lookup_entry l2_lookup = {0}; l2_lookup 1237 drivers/net/dsa/sja1105/sja1105_main.c i, &l2_lookup); l2_lookup 1252 drivers/net/dsa/sja1105/sja1105_main.c if (!(l2_lookup.destports & BIT(port))) l2_lookup 1254 drivers/net/dsa/sja1105/sja1105_main.c u64_to_ether_addr(l2_lookup.macaddr, macaddr); l2_lookup 1258 drivers/net/dsa/sja1105/sja1105_main.c l2_lookup.vlanid = 0; l2_lookup 1259 drivers/net/dsa/sja1105/sja1105_main.c cb(macaddr, l2_lookup.vlanid, l2_lookup.lockeds, data);