Lines Matching defs:mac

107 	struct sja1105_mac_config_entry *mac;
126 mac = table->entries;
129 mac[i] = default_mac;
134 mac[i].dyn_learn = true;
135 mac[i].ingress = true;
136 mac[i].egress = true;
799 if (of_property_read_bool(child, "sja1105,role-mac"))
920 struct sja1105_mac_config_entry *mac;
932 mac = priv->static_config.tables[BLK_IDX_MAC_CONFIG].entries;
968 mac[port].speed = SJA1105_SPEED_1000MBPS;
970 mac[port].speed = speed;
974 &mac[port], true);
1640 struct sja1105_mac_config_entry *mac;
1642 mac = priv->static_config.tables[BLK_IDX_MAC_CONFIG].entries;
1652 mac[port].ingress = false;
1653 mac[port].egress = false;
1654 mac[port].dyn_learn = false;
1657 mac[port].ingress = true;
1658 mac[port].egress = false;
1659 mac[port].dyn_learn = false;
1662 mac[port].ingress = true;
1663 mac[port].egress = false;
1664 mac[port].dyn_learn = true;
1667 mac[port].ingress = true;
1668 mac[port].egress = true;
1669 mac[port].dyn_learn = true;
1677 &mac[port], true);
1830 struct sja1105_mac_config_entry *mac;
1841 mac = priv->static_config.tables[BLK_IDX_MAC_CONFIG].entries;
1849 speed_mbps[i] = sja1105_speed[mac[i].speed];
1850 mac[i].speed = SJA1105_SPEED_AUTO;
1936 struct sja1105_mac_config_entry *mac;
1938 mac = priv->static_config.tables[BLK_IDX_MAC_CONFIG].entries;
1940 mac[port].vlanid = pvid;
1943 &mac[port], true);
3280 struct sja1105_mac_config_entry *mac;
3289 mac = priv->static_config.tables[BLK_IDX_MAC_CONFIG].entries;
3306 if (mac[port].ing_mirr || mac[port].egr_mirr) {
3325 mac[from].ing_mirr = enabled;
3327 mac[from].egr_mirr = enabled;
3330 &mac[from], true);