/haiku/headers/private/kernel/platform/efi/protocol/ |
H A D | simple-network.h | 114 bool ipv6, efi_ip_addr* ip, efi_mac_addr* mac) EFIAPI;
|
/haiku/src/add-ons/kernel/drivers/network/ether/atheros813x/dev/alc/ |
H A D | if_alc.c | 2595 uint32_t gphy, mac, master, pmcs, reg; local 2610 mac = CSR_READ_4(sc, ALC_MAC_CFG); 2621 mac = CSR_READ_4(sc, ALC_MAC_CFG); 2622 mac &= ~(MAC_CFG_DBG | MAC_CFG_PROMISC | MAC_CFG_ALLMULTI | 2625 mac |= MAC_CFG_ALLMULTI | MAC_CFG_BCAST; 2627 mac |= MAC_CFG_RX_ENB; 2639 CSR_WRITE_4(sc, ALC_MAC_CFG, mac);
|
/haiku/src/add-ons/kernel/drivers/network/ether/dec21xxx/dev/dc/ |
H A D | if_dc.c | 2028 uint8_t *mac; local 2296 mac = (uint8_t *)&eaddr[0]; 2297 mac[0] = (reg >> 0) & 0xff; 2298 mac[1] = (reg >> 8) & 0xff; 2299 mac[2] = (reg >> 16) & 0xff; 2300 mac[3] = (reg >> 24) & 0xff; 2302 mac[4] = (reg >> 0) & 0xff; 2303 mac[5] = (reg >> 8) & 0xff; 2311 mac = pci_get_ether(dev); 2312 if (!mac) { [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/intel22x/dev/igc/ |
H A D | if_igc.c | 501 /* Determine hardware and mac info */ 573 hw->mac.autoneg = DO_AUTO_NEG; 586 scctx->isc_max_frame_size = adapter->hw.mac.max_frame_size = 615 ** mac from that. 642 if (!igc_is_valid_ether_addr(hw->mac.addr)) { 658 iflib_set_mac(ctx, hw->mac.addr); 688 hw->mac.get_link_status = true; 781 scctx->isc_max_frame_size = adapter->hw.mac.max_frame_size = 806 /* Get the latest mac address, User can use a LAA */ 807 bcopy(if_getlladdr(ifp), adapter->hw.mac [all...] |
H A D | igc_api.c | 23 if (hw->mac.ops.init_params) { 24 ret_val = hw->mac.ops.init_params(hw); 30 DEBUGOUT("mac.init_mac_params was NULL\n"); 94 * This function sets the mac type of the adapter based on the 101 struct igc_mac_info *mac = &hw->mac; local 121 mac->type = igc_i225; 174 switch (hw->mac.type) { 216 if (hw->mac.ops.get_bus_info) 217 return hw->mac [all...] |
H A D | igc_base.c | 30 return hw->mac.ops.acquire_swfw_sync(hw, mask); 48 hw->mac.ops.release_swfw_sync(hw, mask); 59 struct igc_mac_info *mac = &hw->mac; local 61 u16 i, rar_count = mac->rar_entry_count; 70 for (i = 0; i < mac->mta_reg_count; i++) 75 for (i = 0; i < mac->uta_reg_count; i++) 79 ret_val = mac->ops.setup_link(hw);
|
H A D | igc_hw.h | 521 struct igc_mac_info mac; member in struct:igc_hw
|
H A D | igc_i225.c | 86 struct igc_mac_info *mac = &hw->mac; local 97 mac->mta_reg_count = 128; 99 mac->rar_entry_count = IGC_RAR_ENTRIES_BASE; 102 mac->ops.reset_hw = igc_reset_hw_i225; 104 mac->ops.init_hw = igc_init_hw_i225; 106 mac->ops.setup_link = igc_setup_link_generic; 108 mac->ops.check_for_link = igc_check_for_link_i225; 110 mac->ops.get_link_up_info = igc_get_speed_and_duplex_copper_generic; 112 mac 992 struct igc_mac_info *mac = &hw->mac; local [all...] |
H A D | igc_mac.c | 22 struct igc_mac_info *mac = &hw->mac; local 26 mac->ops.init_params = igc_null_ops_generic; 27 mac->ops.config_collision_dist = igc_config_collision_dist_generic; 28 mac->ops.rar_set = igc_rar_set_generic; 181 hw->mac.ops.rar_set(hw, hw->mac.addr, 0); 186 hw->mac.ops.rar_set(hw, mac_addr, i); 251 hw->mac.ops.rar_set(hw, alt_mac_addr, 0); 311 hash_mask = (hw->mac 463 struct igc_mac_info *mac = &hw->mac; local 709 struct igc_mac_info *mac = &hw->mac; local [all...] |
H A D | igc_nvm.c | 626 hw->mac.perm_addr[i] = (u8)(rar_low >> (i*8)); 629 hw->mac.perm_addr[i+4] = (u8)(rar_high >> (i*8)); 632 hw->mac.addr[i] = hw->mac.perm_addr[i];
|
H A D | igc_phy.c | 522 hw->mac.get_link_status = true; 543 if (hw->mac.autoneg) { 572 hw->mac.ops.config_collision_dist(hw); 595 struct igc_mac_info *mac = &hw->mac; local 603 /* Force speed/duplex on the mac */ 615 if (mac->forced_speed_duplex & IGC_ALL_HALF_DUPLEX) { 626 if (mac->forced_speed_duplex & IGC_ALL_100_SPEED) { 637 hw->mac.ops.config_collision_dist(hw);
|
/haiku/src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/ |
H A D | e1000_80003es2lan.c | 197 struct e1000_mac_info *mac = &hw->mac; local 205 mac->ops.check_for_link = e1000_check_for_serdes_link_generic; 206 mac->ops.setup_physical_interface = 211 mac->ops.check_for_link = e1000_check_for_copper_link_generic; 212 mac->ops.setup_physical_interface = 218 mac->mta_reg_count = 128; 220 mac->rar_entry_count = E1000_RAR_ENTRIES; 222 mac->asf_firmware_present = true; 224 mac 814 struct e1000_mac_info *mac = &hw->mac; local [all...] |
H A D | e1000_82540.c | 95 switch (hw->mac.type) { 161 struct e1000_mac_info *mac = &hw->mac; local 184 mac->mta_reg_count = 128; 186 mac->rar_entry_count = E1000_RAR_ENTRIES; 191 mac->ops.get_bus_info = e1000_get_bus_info_pci_generic; 193 mac->ops.set_lan_id = e1000_set_lan_id_multi_port_pci; 195 mac->ops.reset_hw = e1000_reset_hw_82540; 197 mac->ops.init_hw = e1000_init_hw_82540; 199 mac 331 struct e1000_mac_info *mac = &hw->mac; local 463 struct e1000_mac_info *mac = &hw->mac; local [all...] |
H A D | e1000_82541.c | 222 struct e1000_mac_info *mac = &hw->mac; local 229 mac->mta_reg_count = 128; 231 mac->rar_entry_count = E1000_RAR_ENTRIES; 233 mac->asf_firmware_present = true; 238 mac->ops.get_bus_info = e1000_get_bus_info_pci_generic; 240 mac->ops.set_lan_id = e1000_set_lan_id_single_port; 242 mac->ops.reset_hw = e1000_reset_hw_82541; 244 mac->ops.init_hw = e1000_init_hw_82541; 246 mac 377 struct e1000_mac_info *mac = &hw->mac; local 587 struct e1000_mac_info *mac = &hw->mac; local [all...] |
H A D | e1000_82542.c | 103 struct e1000_mac_info *mac = &hw->mac; local 111 mac->mta_reg_count = 128; 113 mac->rar_entry_count = E1000_RAR_ENTRIES; 118 mac->ops.get_bus_info = e1000_get_bus_info_82542; 120 mac->ops.set_lan_id = e1000_set_lan_id_multi_port_pci; 122 mac->ops.reset_hw = e1000_reset_hw_82542; 124 mac->ops.init_hw = e1000_init_hw_82542; 126 mac->ops.setup_link = e1000_setup_link_82542; 128 mac 246 struct e1000_mac_info *mac = &hw->mac; local 320 struct e1000_mac_info *mac = &hw->mac; local [all...] |
H A D | e1000_82543.c | 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; local 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 959 struct e1000_mac_info *mac = &hw->mac; local 1200 struct e1000_mac_info *mac = &hw->mac; local 1336 struct e1000_mac_info *mac = &hw->mac; local [all...] |
H A D | e1000_82571.c | 115 switch (hw->mac.type) { 172 switch (hw->mac.type) { 227 switch (hw->mac.type) { 259 switch (hw->mac.type) { 285 struct e1000_mac_info *mac = &hw->mac; local 298 mac->ops.setup_physical_interface = 300 mac->ops.check_for_link = e1000_check_for_fiber_link_generic; 301 mac->ops.get_link_up_info = 309 mac 1072 struct e1000_mac_info *mac = &hw->mac; local 1532 struct e1000_mac_info *mac = &hw->mac; local 1853 struct e1000_mac_info *mac = &hw->mac; local [all...] |
H A D | e1000_82575.c | 135 switch (hw->mac.type) { 204 switch (hw->mac.type) { 298 hw->mac.ops.check_for_link = 326 struct e1000_mac_info *mac = &hw->mac; local 337 mac->mta_reg_count = 128; 339 mac->uta_reg_count = (hw->mac.type == e1000_82575) ? 0 : 128; 341 mac->rar_entry_count = E1000_RAR_ENTRIES_82575; 342 if (mac 1203 struct e1000_mac_info *mac = &hw->mac; local 1365 struct e1000_mac_info *mac = &hw->mac; local [all...] |
H A D | e1000_api.c | 49 if (hw->mac.ops.init_params) { 50 ret_val = hw->mac.ops.init_params(hw); 56 DEBUGOUT("mac.init_mac_params was NULL\n"); 146 * This function sets the mac type of the adapter based on the 153 struct e1000_mac_info *mac = &hw->mac; local 160 mac->type = e1000_82542; 164 mac->type = e1000_82543; 170 mac->type = e1000_82544; 177 mac [all...] |
H A D | e1000_base.c | 61 return hw->mac.ops.acquire_swfw_sync(hw, mask); 83 hw->mac.ops.release_swfw_sync(hw, mask); 94 struct e1000_mac_info *mac = &hw->mac; local 96 u16 i, rar_count = mac->rar_entry_count; 105 for (i = 0; i < mac->mta_reg_count; i++) 110 for (i = 0; i < mac->uta_reg_count; i++) 114 ret_val = mac->ops.setup_link(hw);
|
H A D | e1000_hw.h | 1028 struct e1000_mac_info mac; member in struct:e1000_hw
|
H A D | e1000_i210.c | 813 struct e1000_mac_info *mac = &hw->mac; local 817 if ((hw->mac.type >= e1000_i210) && 826 mac->ops.id_led_init(hw);
|
H A D | e1000_ich8lan.c | 236 if (hw->mac.type < e1000_pch_lpt) { 247 if (hw->mac.type >= e1000_pch_lpt) { 296 if (hw->mac.type < e1000_pch_lpt) { 345 switch (hw->mac.type) { 375 if ((hw->mac.type == e1000_pchlan) && 387 if (hw->mac.type >= e1000_pch_lpt) { 439 if ((hw->mac.type == e1000_pch2lan) && 489 switch (hw->mac.type) { 652 if (hw->mac.type >= e1000_pch_spt) { 709 if (hw->mac 732 struct e1000_mac_info *mac = &hw->mac; local 1560 struct e1000_mac_info *mac = &hw->mac; local 2758 e1000_calc_rx_da_crc(u8 mac[]) argument 4876 struct e1000_mac_info *mac = &hw->mac; local 5108 struct e1000_mac_info *mac = &hw->mac; local [all...] |
H A D | e1000_mac.c | 50 struct e1000_mac_info *mac = &hw->mac; local 54 mac->ops.init_params = e1000_null_ops_generic; 55 mac->ops.init_hw = e1000_null_ops_generic; 56 mac->ops.reset_hw = e1000_null_ops_generic; 57 mac->ops.setup_physical_interface = e1000_null_ops_generic; 58 mac->ops.get_bus_info = e1000_null_ops_generic; 59 mac->ops.set_lan_id = e1000_set_lan_id_multi_port_pcie; 60 mac->ops.read_mac_addr = e1000_read_mac_addr_generic; 61 mac 187 struct e1000_mac_info *mac = &hw->mac; local 242 struct e1000_mac_info *mac = &hw->mac; local 719 struct e1000_mac_info *mac = &hw->mac; local 784 struct e1000_mac_info *mac = &hw->mac; local 851 struct e1000_mac_info *mac = &hw->mac; local 1068 struct e1000_mac_info *mac = &hw->mac; local 1137 struct e1000_mac_info *mac = &hw->mac; local 1361 struct e1000_mac_info *mac = &hw->mac; local 1777 struct e1000_mac_info *mac = &hw->mac; local 2062 struct e1000_mac_info *mac = &hw->mac; local 2090 struct e1000_mac_info *mac = &hw->mac; local [all...] |
H A D | e1000_manage.c | 80 if (!hw->mac.arc_subsystem_valid) { 142 hw->mac.tx_pkt_filtering = true; 145 if (!hw->mac.ops.check_mng_mode(hw)) { 146 hw->mac.tx_pkt_filtering = false; 147 return hw->mac.tx_pkt_filtering; 155 hw->mac.tx_pkt_filtering = false; 156 return hw->mac.tx_pkt_filtering; 174 hw->mac.tx_pkt_filtering = true; 175 return hw->mac.tx_pkt_filtering; 180 hw->mac [all...] |