| /third_party/dev/ethernet/e1000/ |
| A D | e1000_api.c | 153 struct e1000_mac_info *mac = &hw->mac; in e1000_set_mac_type() local 160 mac->type = e1000_82542; in e1000_set_mac_type() 164 mac->type = e1000_82543; in e1000_set_mac_type() 170 mac->type = e1000_82544; in e1000_set_mac_type() 177 mac->type = e1000_82540; in e1000_set_mac_type() 181 mac->type = e1000_82545; in e1000_set_mac_type() 191 mac->type = e1000_82546; in e1000_set_mac_type() 204 mac->type = e1000_82541; in e1000_set_mac_type() 356 mac->type = e1000_i350; in e1000_set_mac_type() 366 mac->type = e1000_i210; in e1000_set_mac_type() [all …]
|
| A D | e1000_mac.c | 51 struct e1000_mac_info *mac = &hw->mac; in e1000_init_mac_ops_generic() local 180 struct e1000_mac_info *mac = &hw->mac; in e1000_get_bus_info_pci_generic() local 235 struct e1000_mac_info *mac = &hw->mac; in e1000_get_bus_info_pcie_generic() local 381 hw->mac.ops.rar_set(hw, hw->mac.addr, 0); in e1000_init_rx_addrs_generic() 712 struct e1000_mac_info *mac = &hw->mac; in e1000_check_for_copper_link_generic() local 777 struct e1000_mac_info *mac = &hw->mac; in e1000_check_for_fiber_link_generic() local 844 struct e1000_mac_info *mac = &hw->mac; in e1000_check_for_serdes_link_generic() local 1061 struct e1000_mac_info *mac = &hw->mac; in e1000_commit_fc_settings_generic() local 1130 struct e1000_mac_info *mac = &hw->mac; in e1000_poll_fiber_serdes_link_generic() local 1354 struct e1000_mac_info *mac = &hw->mac; in e1000_config_fc_after_link_up_generic() local [all …]
|
| A D | e1000_82571.c | 115 switch (hw->mac.type) { in e1000_init_phy_params_82571() 172 switch (hw->mac.type) { in e1000_init_phy_params_82571() 227 switch (hw->mac.type) { in e1000_init_nvm_params_82571() 285 struct e1000_mac_info *mac = &hw->mac; in e1000_init_mac_params_82571() local 372 mac->has_fwsm = TRUE; in e1000_init_mac_params_82571() 391 mac->has_fwsm = TRUE; in e1000_init_mac_params_82571() 1072 struct e1000_mac_info *mac = &hw->mac; in e1000_init_hw_82571() local 1115 switch (mac->type) { in e1000_init_hw_82571() 1532 struct e1000_mac_info *mac = &hw->mac; in e1000_check_for_serdes_link_82571() local 1760 hw->mac.ops.rar_set(hw, hw->mac.addr, in e1000_set_laa_state_82571() [all …]
|
| A D | e1000_82540.c | 95 switch (hw->mac.type) { in e1000_init_phy_params_82540() 161 struct e1000_mac_info *mac = &hw->mac; in e1000_init_mac_params_82540() local 184 mac->mta_reg_count = 128; in e1000_init_mac_params_82540() 222 mac->ops.get_link_up_info = in e1000_init_mac_params_82540() 294 switch (hw->mac.type) { in e1000_reset_hw_82540() 331 struct e1000_mac_info *mac = &hw->mac; in e1000_init_hw_82540() local 350 mac->ops.clear_vfta(hw); in e1000_init_hw_82540() 463 struct e1000_mac_info *mac = &hw->mac; in e1000_setup_fiber_serdes_link_82540() local 468 switch (mac->type) { in e1000_setup_fiber_serdes_link_82540() 712 hw->mac.perm_addr[5] ^= 1; in e1000_read_mac_addr_82540() [all …]
|
| A D | e1000_82542.c | 103 struct e1000_mac_info *mac = &hw->mac; in e1000_init_mac_params_82542() local 111 mac->mta_reg_count = 128; in e1000_init_mac_params_82542() 124 mac->ops.init_hw = e1000_init_hw_82542; in e1000_init_mac_params_82542() 128 mac->ops.setup_physical_interface = in e1000_init_mac_params_82542() 143 mac->ops.led_on = e1000_led_on_82542; in e1000_init_mac_params_82542() 148 mac->ops.get_link_up_info = in e1000_init_mac_params_82542() 246 struct e1000_mac_info *mac = &hw->mac; in e1000_init_hw_82542() local 256 mac->ops.clear_vfta(hw); in e1000_init_hw_82542() 320 struct e1000_mac_info *mac = &hw->mac; in e1000_setup_link_82542() local 331 if (mac->report_tx_early) in e1000_setup_link_82542() [all …]
|
| A D | e1000_82543.c | 141 switch (hw->mac.type) { in e1000_init_phy_params_82543() 196 struct e1000_mac_info *mac = &hw->mac; in e1000_init_mac_params_82543() local 212 mac->mta_reg_count = 128; in e1000_init_mac_params_82543() 233 mac->ops.check_for_link = in e1000_init_mac_params_82543() 752 if (!hw->mac.autoneg && (hw->mac.forced_speed_duplex & in e1000_phy_force_speed_duplex_82543() 959 struct e1000_mac_info *mac = &hw->mac; in e1000_init_hw_82543() local 1092 if (hw->mac.autoneg) { in e1000_setup_copper_link_82543() 1200 struct e1000_mac_info *mac = &hw->mac; in e1000_check_for_copper_link_82543() local 1228 if (!mac->autoneg) { in e1000_check_for_copper_link_82543() 1336 struct e1000_mac_info *mac = &hw->mac; in e1000_check_for_fiber_link_82543() local [all …]
|
| A D | e1000_vf.c | 94 struct e1000_mac_info *mac = &hw->mac; in e1000_init_mac_params_vf() local 107 mac->asf_firmware_present = FALSE; in e1000_init_mac_params_vf() 109 mac->arc_subsystem_valid = FALSE; in e1000_init_mac_params_vf() 111 mac->adaptive_ifs = FALSE; in e1000_init_mac_params_vf() 113 mac->mta_reg_count = 128; in e1000_init_mac_params_vf() 115 mac->rar_entry_count = 1; in e1000_init_mac_params_vf() 521 hw->mac.addr[i] = hw->mac.perm_addr[i]; in e1000_read_mac_addr_vf() 537 struct e1000_mac_info *mac = &hw->mac; in e1000_check_for_link_vf() local 551 mac->get_link_status = TRUE; in e1000_check_for_link_vf() 553 if (!mac->get_link_status) in e1000_check_for_link_vf() [all …]
|
| A D | e1000_82541.c | 222 struct e1000_mac_info *mac = &hw->mac; in e1000_init_mac_params_82541() local 319 if ((hw->mac.type == e1000_82541) || (hw->mac.type == e1000_82547)) { in e1000_reset_hw_82541() 326 switch (hw->mac.type) { in e1000_reset_hw_82541() 349 if ((hw->mac.type == e1000_82541) || (hw->mac.type == e1000_82547)) { in e1000_reset_hw_82541() 377 struct e1000_mac_info *mac = &hw->mac; in e1000_init_hw_82541() local 513 if ((hw->mac.type == e1000_82541) || (hw->mac.type == e1000_82547)) { in e1000_phy_hw_reset_82541() 550 if (hw->mac.type == e1000_82541 || hw->mac.type == e1000_82547) { in e1000_setup_copper_link_82541() 561 if (hw->mac.autoneg) { in e1000_setup_copper_link_82541() 587 struct e1000_mac_info *mac = &hw->mac; in e1000_check_for_link_82541() local 630 if (!mac->autoneg) { in e1000_check_for_link_82541() [all …]
|
| A D | e1000_manage.c | 78 if (!hw->mac.arc_subsystem_valid) { in e1000_mng_enable_host_if_generic() 140 hw->mac.tx_pkt_filtering = TRUE; in e1000_enable_tx_pkt_filtering_generic() 144 hw->mac.tx_pkt_filtering = FALSE; in e1000_enable_tx_pkt_filtering_generic() 145 return hw->mac.tx_pkt_filtering; in e1000_enable_tx_pkt_filtering_generic() 153 hw->mac.tx_pkt_filtering = FALSE; in e1000_enable_tx_pkt_filtering_generic() 154 return hw->mac.tx_pkt_filtering; in e1000_enable_tx_pkt_filtering_generic() 172 hw->mac.tx_pkt_filtering = TRUE; in e1000_enable_tx_pkt_filtering_generic() 173 return hw->mac.tx_pkt_filtering; in e1000_enable_tx_pkt_filtering_generic() 180 return hw->mac.tx_pkt_filtering; in e1000_enable_tx_pkt_filtering_generic() 356 if (hw->mac.has_fwsm) { in e1000_enable_mng_pass_thru() [all …]
|
| A D | e1000_80003es2lan.c | 197 struct e1000_mac_info *mac = &hw->mac; in e1000_init_mac_params_80003es2lan() local 206 mac->ops.setup_physical_interface = in e1000_init_mac_params_80003es2lan() 212 mac->ops.setup_physical_interface = in e1000_init_mac_params_80003es2lan() 218 mac->mta_reg_count = 128; in e1000_init_mac_params_80003es2lan() 222 mac->asf_firmware_present = TRUE; in e1000_init_mac_params_80003es2lan() 224 mac->has_fwsm = TRUE; in e1000_init_mac_params_80003es2lan() 229 mac->adaptive_ifs = FALSE; in e1000_init_mac_params_80003es2lan() 268 hw->mac.ops.set_lan_id(hw); in e1000_init_mac_params_80003es2lan() 814 struct e1000_mac_info *mac = &hw->mac; in e1000_init_hw_80003es2lan() local 832 mac->ops.clear_vfta(hw); in e1000_init_hw_80003es2lan() [all …]
|
| A D | e1000_82575.c | 138 switch (hw->mac.type) { in e1000_sgmii_uses_mdio_82575() 415 struct e1000_mac_info *mac = &hw->mac; in e1000_init_mac_params_82575() local 425 mac->uta_reg_count = (hw->mac.type == e1000_82575) ? 0 : 128; in e1000_init_mac_params_82575() 432 if (mac->type == e1000_i350 || mac->type == e1000_i354) in e1000_init_mac_params_82575() 446 mac->has_fwsm = TRUE; in e1000_init_mac_params_82575() 461 if ((mac->type == e1000_i210) || (mac->type == e1000_i211)) in e1000_init_mac_params_82575() 483 if (hw->mac.type == e1000_i350 || mac->type == e1000_i354) { in e1000_init_mac_params_82575() 1128 hw->mac.get_link_status = !hw->mac.serdes_has_link; in e1000_check_for_link_82575() 1249 struct e1000_mac_info *mac = &hw->mac; in e1000_get_pcs_speed_and_duplex_82575() local 1411 struct e1000_mac_info *mac = &hw->mac; in e1000_init_hw_82575() local [all …]
|
| A D | e1000_ich8lan.c | 345 switch (hw->mac.type) { in e1000_init_phy_workarounds_pchlan() 726 struct e1000_mac_info *mac = &hw->mac; in e1000_init_mac_params_ich8lan() local 742 mac->has_fwsm = TRUE; in e1000_init_mac_params_ich8lan() 772 switch (mac->type) { in e1000_init_mac_params_ich8lan() 1544 struct e1000_mac_info *mac = &hw->mac; in e1000_check_for_copper_link_ich8lan() local 1791 if (!mac->autoneg) in e1000_check_for_copper_link_ich8lan() 2744 crc = crc ^ mac[i]; in e1000_calc_rx_da_crc() 4851 struct e1000_mac_info *mac = &hw->mac; in e1000_id_led_init_pchlan() local 4865 mac->ledctl_mode1 = mac->ledctl_default; in e1000_id_led_init_pchlan() 4866 mac->ledctl_mode2 = mac->ledctl_default; in e1000_id_led_init_pchlan() [all …]
|
| A D | if_em.c | 677 switch (adapter->hw.mac.type) { in em_set_num_queues() 916 hw->mac.autoneg = DO_AUTO_NEG; in em_if_attach_pre() 942 hw->mac.report_tx_early = 1; in em_if_attach_pre() 1040 hw->mac.get_link_status = 1; in em_if_attach_post() 1135 switch (adapter->hw.mac.type) { in em_if_mtu_set() 1711 if (hw->mac.get_link_status) { in em_if_update_admin_status() 2029 switch (adapter->hw.mac.type) { in igb_configure_queues() 2248 if(adapter->hw.mac.autoneg && in lem_smartspeed() 2400 switch (hw->mac.type) { in em_reset() 2521 switch (hw->mac.type) { in em_reset() [all …]
|
| A D | fuchsia.c | 46 #define IGB_RX_PTHRESH ((hw->mac.type == e1000_i354) ? 12 : ((hw->mac.type <= e1000_82576) ? 16 : 8… 431 memcpy(info->mac, adapter->hw.mac.addr, sizeof adapter->hw.mac.addr); in e1000_query() 677 switch (adapter->hw.mac.type) { in em_initialize_transmit_unit() 736 if (hw->mac.type == e1000_pch_spt) { in em_initialize_transmit_unit() 759 if ((hw->mac.type != e1000_82574) && (hw->mac.type != e1000_82583)) { in em_initialize_receive_unit() 798 if (hw->mac.type == e1000_82574) { in em_initialize_receive_unit() 821 if (hw->mac.type == e1000_82573) { in em_initialize_receive_unit() 1006 (hw->mac.type == e1000_pchlan) || in e1000_bind() 1037 hw->mac.autoneg = 1; in e1000_bind() 1054 hw->mac.report_tx_early = 1; in e1000_bind() [all …]
|
| A D | if_em.h | 281 #define IGB_RX_PTHRESH ((hw->mac.type == e1000_i354) ? 12 : \ 282 ((hw->mac.type <= e1000_82576) ? 16 : 8)) 284 #define IGB_RX_WTHRESH ((hw->mac.type == e1000_82576 && \ 287 #define IGB_TX_PTHRESH ((hw->mac.type == e1000_i354) ? 20 : 8) 289 #define IGB_TX_WTHRESH ((hw->mac.type != e1000_82575 && \
|
| A D | igb_txrx.c | 130 if (adapter->hw.mac.type == e1000_82575) in igb_tso_setup() 218 if (adapter->hw.mac.type == e1000_82575) in igb_tx_ctx_setup() 261 if (sc->hw.mac.type == e1000_82575) in igb_isc_txd_encap() 462 if (((adapter->hw.mac.type == e1000_i350) || in igb_isc_rxd_pkt_get() 463 (adapter->hw.mac.type == e1000_i354)) && in igb_isc_rxd_pkt_get()
|
| A D | e1000_nvm.c | 779 if ((hw->mac.type >= e1000_i210) && in e1000_read_pba_string_generic() 1141 hw->mac.perm_addr[i] = (u8)(rar_low >> (i*8)); in e1000_read_mac_addr_generic() 1144 hw->mac.perm_addr[i+4] = (u8)(rar_high >> (i*8)); in e1000_read_mac_addr_generic() 1147 hw->mac.addr[i] = hw->mac.perm_addr[i]; in e1000_read_mac_addr_generic()
|
| A D | e1000_phy.c | 336 if (hw->mac.type == e1000_pch2lan) in e1000_read_phy_reg_mdic() 401 if (hw->mac.type == e1000_pch2lan) in e1000_write_phy_reg_mdic() 1426 if (hw->mac.autoneg) { in e1000_copper_link_setup_igp() 1675 hw->mac.get_link_status = TRUE; in e1000_copper_link_autoneg() 1696 if (hw->mac.autoneg) { in e1000_setup_copper_link_generic() 1725 hw->mac.ops.config_collision_dist(hw); in e1000_setup_copper_link_generic() 2017 struct e1000_mac_info *mac = &hw->mac; in e1000_phy_force_speed_duplex_setup() local 2037 if (mac->forced_speed_duplex & E1000_ALL_HALF_DUPLEX) { in e1000_phy_force_speed_duplex_setup() 2048 if (mac->forced_speed_duplex & E1000_ALL_100_SPEED) { in e1000_phy_force_speed_duplex_setup() 2059 hw->mac.ops.config_collision_dist(hw); in e1000_phy_force_speed_duplex_setup() [all …]
|
| A D | e1000_osdep.h | 124 (((hw)->mac.type >= e1000_82543) ? (u32)(reg) \
|
| A D | e1000_vf.h | 269 struct e1000_mac_info mac; member
|
| A D | em_txrx.c | 661 if (adapter->hw.mac.type >= e1000_82543 && !(status & E1000_RXD_STAT_IXSM)) in lem_isc_rxd_pkt_get() 723 if (adapter->hw.mac.type >= e1000_82543) in em_isc_rxd_pkt_get()
|
| A D | e1000_mbx.c | 760 switch (hw->mac.type) { in e1000_init_mbx_params_pf()
|
| A D | e1000_i210.c | 780 if ((hw->mac.type >= e1000_i210) && in e1000_init_hw_i210()
|
| A D | e1000_hw.h | 1004 struct e1000_mac_info mac; member
|
| /third_party/ulib/uboringssl/ |
| A D | rules.mk | 63 DARWIN_X86_64_ASMSRCS := $(patsubst %,$(LOCAL_DIR)/mac-x86_64/crypto/%,$(X86_64_ASMSRCS))
|