• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/dev/e1000/

Lines Matching defs:mac

111 	phy->ops.read_reg	= (hw->mac.type == e1000_82543)
114 phy->ops.reset = (hw->mac.type == e1000_82543)
117 phy->ops.write_reg = (hw->mac.type == e1000_82543)
141 switch (hw->mac.type) {
196 struct e1000_mac_info *mac = &hw->mac;
212 mac->mta_reg_count = 128;
214 mac->rar_entry_count = E1000_RAR_ENTRIES;
219 mac->ops.get_bus_info = e1000_get_bus_info_pci_generic;
221 mac->ops.set_lan_id = e1000_set_lan_id_multi_port_pci;
223 mac->ops.reset_hw = e1000_reset_hw_82543;
225 mac->ops.init_hw = e1000_init_hw_82543;
227 mac->ops.setup_link = e1000_setup_link_82543;
229 mac->ops.setup_physical_interface =
233 mac->ops.check_for_link =
238 mac->ops.get_link_up_info =
243 mac->ops.update_mc_addr_list = e1000_update_mc_addr_list_generic;
245 mac->ops.write_vfta = e1000_write_vfta_82543;
247 mac->ops.clear_vfta = e1000_clear_vfta_generic;
248 /* read mac address */
249 mac->ops.read_mac_addr = e1000_read_mac_addr_82543;
251 mac->ops.led_on = e1000_led_on_82543;
252 mac->ops.led_off = e1000_led_off_82543;
254 mac->ops.clear_hw_cntrs = e1000_clear_hw_cntrs_82543;
257 if ((hw->mac.type != e1000_82543) ||
274 hw->mac.ops.init_params = e1000_init_mac_params_82543;
293 if (hw->mac.type != e1000_82543) {
317 if (hw->mac.type != e1000_82543) {
345 if (hw->mac.type != e1000_82543) {
391 if (hw->mac.type != e1000_82543) {
752 if (!hw->mac.autoneg && (hw->mac.forced_speed_duplex &
927 if (hw->mac.type == e1000_82543) {
959 struct e1000_mac_info *mac = &hw->mac;
969 mac->ops.clear_vfta(hw);
972 e1000_init_rx_addrs_generic(hw, mac->rar_entry_count);
976 for (i = 0; i < mac->mta_reg_count; i++) {
986 if (hw->mac.type == e1000_82543 && dev_spec->dma_fairness) {
994 ret_val = mac->ops.setup_link(hw);
1035 if (hw->mac.type == e1000_82543) {
1076 if (hw->mac.type == e1000_82543) {
1092 if (hw->mac.autoneg) {
1126 if (hw->mac.type == e1000_82544) {
1127 hw->mac.ops.config_collision_dist(hw);
1161 hw->mac.ops.config_collision_dist(hw);
1200 struct e1000_mac_info *mac = &hw->mac;
1208 if (!mac->get_link_status) {
1220 mac->get_link_status = FALSE;
1228 if (!mac->autoneg) {
1237 if (mac->forced_speed_duplex & E1000_ALL_10_SPEED) {
1258 if (mac->type == e1000_82544)
1259 hw->mac.ops.config_collision_dist(hw);
1287 ret_val = mac->ops.get_link_up_info(hw, &speed, &duplex);
1336 struct e1000_mac_info *mac = &hw->mac;
1358 if (!mac->autoneg_failed) {
1359 mac->autoneg_failed = TRUE;
1366 E1000_WRITE_REG(hw, E1000_TXCW, (mac->txcw & ~E1000_TXCW_ANE));
1387 E1000_WRITE_REG(hw, E1000_TXCW, mac->txcw);
1390 mac->serdes_has_link = TRUE;
1432 hw->mac.ops.config_collision_dist(hw);
1464 if ((hw->mac.type == e1000_82544) && (offset & 1)) {
1487 if (hw->mac.type == e1000_82544 &&
1514 if (hw->mac.type == e1000_82544 &&
1584 hw->mac.perm_addr[i] = (u8)(nvm_data & 0xFF);
1585 hw->mac.perm_addr[i+1] = (u8)(nvm_data >> 8);
1588 /* Flip last bit of mac address if we're on second port */
1590 hw->mac.perm_addr[5] ^= 1;
1593 hw->mac.addr[i] = hw->mac.perm_addr[i];