Home
last modified time | relevance | path

Searched refs:mac_type (Results 1 – 16 of 16) sorted by relevance

/linux-2.6.39/drivers/net/e1000/
De1000_osdep.h55 (readl(hw->hw_addr + ((hw->mac_type >= e1000_82543) \
59 (writel((value), (hw->hw_addr + ((hw->mac_type >= e1000_82543) \
64 (((a)->mac_type >= e1000_82543) ? E1000_##reg : E1000_82542_##reg) + \
69 (((a)->mac_type >= e1000_82543) ? E1000_##reg : E1000_82542_##reg) + \
77 (((a)->mac_type >= e1000_82543) ? E1000_##reg : E1000_82542_##reg) + \
82 (((a)->mac_type >= e1000_82543) ? E1000_##reg : E1000_82542_##reg) + \
87 (((a)->mac_type >= e1000_82543) ? E1000_##reg : E1000_82542_##reg) + \
92 (((a)->mac_type >= e1000_82543) ? E1000_##reg : E1000_82542_##reg) + \
De1000_hw.c119 if (hw->mac_type == e1000_undefined) in e1000_set_phy_type()
131 if (hw->mac_type == e1000_82541 || in e1000_set_phy_type()
132 hw->mac_type == e1000_82541_rev_2 || in e1000_set_phy_type()
133 hw->mac_type == e1000_82547 || in e1000_set_phy_type()
134 hw->mac_type == e1000_82547_rev_2) in e1000_set_phy_type()
177 switch (hw->mac_type) { in e1000_phy_init_script()
205 if (hw->mac_type == e1000_82547) { in e1000_phy_init_script()
260 hw->mac_type = e1000_82542_rev2_0; in e1000_set_mac_type()
263 hw->mac_type = e1000_82542_rev2_1; in e1000_set_mac_type()
272 hw->mac_type = e1000_82543; in e1000_set_mac_type()
[all …]
De1000_ethtool.c135 if (hw->mac_type == e1000_82543) in e1000_get_settings()
151 if (hw->mac_type >= e1000_82545) in e1000_get_settings()
319 if (hw->mac_type < e1000_82543) { in e1000_set_tx_csum()
338 if ((hw->mac_type < e1000_82544) || in e1000_set_tso()
339 (hw->mac_type == e1000_82547)) in e1000_set_tso()
454 if (hw->mac_type >= e1000_82540 && in e1000_get_regs()
596 e1000_mac_type mac_type = hw->mac_type; in e1000_get_ringparam() local
600 ring->rx_max_pending = (mac_type < e1000_82544) ? E1000_MAX_RXD : in e1000_get_ringparam()
602 ring->tx_max_pending = (mac_type < e1000_82544) ? E1000_MAX_TXD : in e1000_get_ringparam()
617 e1000_mac_type mac_type = hw->mac_type; in e1000_set_ringparam() local
[all …]
De1000_param.c284 e1000_mac_type mac_type = adapter->hw.mac_type; in e1000_check_options() local
294 .max = mac_type < e1000_82544 ? E1000_MAX_TXD : E1000_MAX_82544_TXD in e1000_check_options()
312 e1000_mac_type mac_type = adapter->hw.mac_type; in e1000_check_options() local
322 .max = mac_type < e1000_82544 ? E1000_MAX_RXD : E1000_MAX_82544_RXD in e1000_check_options()
De1000_main.c460 if (!adapter->wol && hw->mac_type >= e1000_82540 && in e1000_power_down_phy()
464 switch (hw->mac_type) { in e1000_power_down_phy()
570 switch (hw->mac_type) { in e1000_reset()
602 if (hw->mac_type == e1000_82547) { in e1000_reset()
646 switch (hw->mac_type) { in e1000_reset()
684 if (hw->mac_type >= e1000_82544) in e1000_reset()
692 if (hw->mac_type >= e1000_82544 && in e1000_reset()
855 switch (hw->mac_type) { in e1000_init_hw_struct()
1009 if (hw->mac_type == e1000_ce4100) { in e1000_probe()
1018 if (hw->mac_type >= e1000_82543) { in e1000_probe()
[all …]
De1000_hw.h1347 e1000_mac_type mac_type; member
/linux-2.6.39/drivers/net/chelsio/
Despi.c238 int t1_espi_init(struct peespi *espi, int mac_type, int nports) in t1_espi_init() argument
255 if (mac_type == CHBT_MAC_PM3393) in t1_espi_init()
257 else if (mac_type == CHBT_MAC_VSC7321) in t1_espi_init()
259 else if (mac_type == CHBT_MAC_IXF1010) { in t1_espi_init()
Despi.h57 int t1_espi_init(struct peespi *espi, int mac_type, int nports);
/linux-2.6.39/drivers/net/bnx2x/
Dbnx2x_link.h261 u8 mac_type; member
Dbnx2x_stats.c341 if (bp->link_vars.mac_type == MAC_TYPE_BMAC) { in bnx2x_port_stats_init()
402 } else if (bp->link_vars.mac_type == MAC_TYPE_EMAC) { in bnx2x_port_stats_init()
705 if (bp->link_vars.mac_type == MAC_TYPE_BMAC) in bnx2x_hw_stats_update()
708 else if (bp->link_vars.mac_type == MAC_TYPE_EMAC) in bnx2x_hw_stats_update()
Dbnx2x_link.c643 vars->mac_type = MAC_TYPE_EMAC; in bnx2x_emac_enable()
924 switch (vars->mac_type) { in bnx2x_update_pfc_nig()
1172 vars->mac_type = MAC_TYPE_BMAC; in bnx2x_bmac_enable()
1719 vars->mac_type = MAC_TYPE_BMAC; in bnx2x_link_status_update()
1721 vars->mac_type = MAC_TYPE_EMAC; in bnx2x_link_status_update()
1733 vars->mac_type = MAC_TYPE_NONE; in bnx2x_link_status_update()
2592 vars->mac_type = MAC_TYPE_NONE; in bnx2x_link_settings_status()
3374 vars->mac_type = MAC_TYPE_NONE; in bnx2x_update_link_down()
7630 vars->mac_type = MAC_TYPE_NONE; in bnx2x_phy_init()
7655 vars->mac_type = MAC_TYPE_BMAC; in bnx2x_phy_init()
[all …]
Dbnx2x_cmn.c2120 u8 mac_type = UNICAST_ADDRESS; in bnx2x_start_xmit() local
2149 mac_type = BROADCAST_ADDRESS; in bnx2x_start_xmit()
2151 mac_type = MULTICAST_ADDRESS; in bnx2x_start_xmit()
2188 mac_type); in bnx2x_start_xmit()
Dbnx2x_main.c2147 if (bp->link_vars.mac_type == MAC_TYPE_BMAC) { in bnx2x_link_attn()
/linux-2.6.39/drivers/net/wireless/
Dmwl8k.c3043 __le16 mac_type; member
3061 int mac_type; in mwl8k_cmd_set_mac_addr() local
3064 mac_type = MWL8K_MAC_TYPE_PRIMARY_AP; in mwl8k_cmd_set_mac_addr()
3067 mac_type = MWL8K_MAC_TYPE_PRIMARY_CLIENT; in mwl8k_cmd_set_mac_addr()
3069 mac_type = MWL8K_MAC_TYPE_SECONDARY_CLIENT; in mwl8k_cmd_set_mac_addr()
3072 mac_type = MWL8K_MAC_TYPE_PRIMARY_AP; in mwl8k_cmd_set_mac_addr()
3074 mac_type = MWL8K_MAC_TYPE_SECONDARY_AP; in mwl8k_cmd_set_mac_addr()
3084 cmd->mbss.mac_type = cpu_to_le16(mac_type); in mwl8k_cmd_set_mac_addr()
/linux-2.6.39/drivers/net/ixgb/
Dixgb_hw.h672 ixgb_mac_type mac_type; /* Identifier for MAC controller */ member
Dixgb_main.c568 hw->mac_type = ixgb_82597; in ixgb_sw_init()