mac_version 1324 drivers/net/ethernet/freescale/fman/fman_dtsec.c int dtsec_get_version(struct fman_mac *dtsec, u32 *mac_version) mac_version 1331 drivers/net/ethernet/freescale/fman/fman_dtsec.c *mac_version = ioread32be(®s->tsec_id); mac_version 57 drivers/net/ethernet/freescale/fman/fman_dtsec.h int dtsec_get_version(struct fman_mac *dtsec, u32 *mac_version); mac_version 649 drivers/net/ethernet/freescale/fman/fman_tgec.c int tgec_get_version(struct fman_mac *tgec, u32 *mac_version) mac_version 656 drivers/net/ethernet/freescale/fman/fman_tgec.c *mac_version = ioread32be(®s->tgec_id); mac_version 53 drivers/net/ethernet/freescale/fman/fman_tgec.h int tgec_get_version(struct fman_mac *tgec, u32 *mac_version); mac_version 654 drivers/net/ethernet/realtek/r8169_main.c enum mac_version mac_version; mac_version 753 drivers/net/ethernet/realtek/r8169_main.c return tp->mac_version >= RTL_GIGA_MAC_VER_60; mac_version 758 drivers/net/ethernet/realtek/r8169_main.c return tp->mac_version >= RTL_GIGA_MAC_VER_34 && mac_version 759 drivers/net/ethernet/realtek/r8169_main.c tp->mac_version != RTL_GIGA_MAC_VER_39 && mac_version 760 drivers/net/ethernet/realtek/r8169_main.c tp->mac_version <= RTL_GIGA_MAC_VER_51; mac_version 765 drivers/net/ethernet/realtek/r8169_main.c return tp->mac_version >= RTL_GIGA_MAC_VER_34 && mac_version 766 drivers/net/ethernet/realtek/r8169_main.c tp->mac_version != RTL_GIGA_MAC_VER_37 && mac_version 767 drivers/net/ethernet/realtek/r8169_main.c tp->mac_version != RTL_GIGA_MAC_VER_39; mac_version 1051 drivers/net/ethernet/realtek/r8169_main.c switch (tp->mac_version) { mac_version 1070 drivers/net/ethernet/realtek/r8169_main.c switch (tp->mac_version) { mac_version 1214 drivers/net/ethernet/realtek/r8169_main.c return (tp->mac_version == RTL_GIGA_MAC_VER_31) ? 0xb8 : 0x10; mac_version 1260 drivers/net/ethernet/realtek/r8169_main.c switch (tp->mac_version) { mac_version 1294 drivers/net/ethernet/realtek/r8169_main.c switch (tp->mac_version) { mac_version 1325 drivers/net/ethernet/realtek/r8169_main.c switch (tp->mac_version) { mac_version 1412 drivers/net/ethernet/realtek/r8169_main.c if (tp->mac_version == RTL_GIGA_MAC_VER_34 || mac_version 1413 drivers/net/ethernet/realtek/r8169_main.c tp->mac_version == RTL_GIGA_MAC_VER_38) { mac_version 1425 drivers/net/ethernet/realtek/r8169_main.c } else if (tp->mac_version == RTL_GIGA_MAC_VER_35 || mac_version 1426 drivers/net/ethernet/realtek/r8169_main.c tp->mac_version == RTL_GIGA_MAC_VER_36) { mac_version 1434 drivers/net/ethernet/realtek/r8169_main.c } else if (tp->mac_version == RTL_GIGA_MAC_VER_37) { mac_version 1498 drivers/net/ethernet/realtek/r8169_main.c switch (tp->mac_version) { mac_version 1575 drivers/net/ethernet/realtek/r8169_main.c tp->mac_version > RTL_GIGA_MAC_VER_06) mac_version 1717 drivers/net/ethernet/realtek/r8169_main.c if (tp->mac_version < RTL_GIGA_MAC_VER_19) mac_version 1885 drivers/net/ethernet/realtek/r8169_main.c if (tp->mac_version <= RTL_GIGA_MAC_VER_06) mac_version 2141 drivers/net/ethernet/realtek/r8169_main.c u16 mac_version; mac_version 2231 drivers/net/ethernet/realtek/r8169_main.c tp->mac_version = p->mac_version; mac_version 2233 drivers/net/ethernet/realtek/r8169_main.c if (tp->mac_version == RTL_GIGA_MAC_NONE) { mac_version 2236 drivers/net/ethernet/realtek/r8169_main.c if (tp->mac_version == RTL_GIGA_MAC_VER_42) mac_version 2237 drivers/net/ethernet/realtek/r8169_main.c tp->mac_version = RTL_GIGA_MAC_VER_43; mac_version 2238 drivers/net/ethernet/realtek/r8169_main.c else if (tp->mac_version == RTL_GIGA_MAC_VER_45) mac_version 2239 drivers/net/ethernet/realtek/r8169_main.c tp->mac_version = RTL_GIGA_MAC_VER_47; mac_version 2240 drivers/net/ethernet/realtek/r8169_main.c else if (tp->mac_version == RTL_GIGA_MAC_VER_46) mac_version 2241 drivers/net/ethernet/realtek/r8169_main.c tp->mac_version = RTL_GIGA_MAC_VER_48; mac_version 2288 drivers/net/ethernet/realtek/r8169_main.c if (tp->mac_version != RTL_GIGA_MAC_VER_38) mac_version 3848 drivers/net/ethernet/realtek/r8169_main.c if (phy_configs[tp->mac_version]) mac_version 3849 drivers/net/ethernet/realtek/r8169_main.c phy_configs[tp->mac_version](tp); mac_version 3862 drivers/net/ethernet/realtek/r8169_main.c if (tp->mac_version <= RTL_GIGA_MAC_VER_06) { mac_version 3888 drivers/net/ethernet/realtek/r8169_main.c if (tp->mac_version == RTL_GIGA_MAC_VER_34) mac_version 3928 drivers/net/ethernet/realtek/r8169_main.c switch (tp->mac_version) { mac_version 3950 drivers/net/ethernet/realtek/r8169_main.c if (tp->mac_version == RTL_GIGA_MAC_VER_32 || mac_version 3951 drivers/net/ethernet/realtek/r8169_main.c tp->mac_version == RTL_GIGA_MAC_VER_33) mac_version 3960 drivers/net/ethernet/realtek/r8169_main.c switch (tp->mac_version) { mac_version 3989 drivers/net/ethernet/realtek/r8169_main.c switch (tp->mac_version) { mac_version 4024 drivers/net/ethernet/realtek/r8169_main.c switch (tp->mac_version) { mac_version 4121 drivers/net/ethernet/realtek/r8169_main.c switch (tp->mac_version) { mac_version 4147 drivers/net/ethernet/realtek/r8169_main.c switch (tp->mac_version) { mac_version 4239 drivers/net/ethernet/realtek/r8169_main.c switch (tp->mac_version) { mac_version 4289 drivers/net/ethernet/realtek/r8169_main.c static void rtl8169_set_magic_reg(struct rtl8169_private *tp, unsigned mac_version) mac_version 4293 drivers/net/ethernet/realtek/r8169_main.c if (tp->mac_version == RTL_GIGA_MAC_VER_05) mac_version 4295 drivers/net/ethernet/realtek/r8169_main.c else if (tp->mac_version == RTL_GIGA_MAC_VER_06) mac_version 4320 drivers/net/ethernet/realtek/r8169_main.c tp->mac_version == RTL_GIGA_MAC_VER_35) { mac_version 4333 drivers/net/ethernet/realtek/r8169_main.c if (tp->mac_version > RTL_GIGA_MAC_VER_06) { mac_version 5420 drivers/net/ethernet/realtek/r8169_main.c if (hw_configs[tp->mac_version]) mac_version 5421 drivers/net/ethernet/realtek/r8169_main.c hw_configs[tp->mac_version](tp); mac_version 5437 drivers/net/ethernet/realtek/r8169_main.c if (tp->mac_version == RTL_GIGA_MAC_VER_13 || mac_version 5438 drivers/net/ethernet/realtek/r8169_main.c tp->mac_version == RTL_GIGA_MAC_VER_16) mac_version 5455 drivers/net/ethernet/realtek/r8169_main.c if (tp->mac_version == RTL_GIGA_MAC_VER_05) mac_version 5462 drivers/net/ethernet/realtek/r8169_main.c if (tp->mac_version == RTL_GIGA_MAC_VER_02 || mac_version 5463 drivers/net/ethernet/realtek/r8169_main.c tp->mac_version == RTL_GIGA_MAC_VER_03) { mac_version 5471 drivers/net/ethernet/realtek/r8169_main.c rtl8169_set_magic_reg(tp, tp->mac_version); mac_version 5486 drivers/net/ethernet/realtek/r8169_main.c if (tp->mac_version <= RTL_GIGA_MAC_VER_06) mac_version 5745 drivers/net/ethernet/realtek/r8169_main.c return skb->len < ETH_ZLEN && tp->mac_version == RTL_GIGA_MAC_VER_34; mac_version 5863 drivers/net/ethernet/realtek/r8169_main.c switch (tp->mac_version) { mac_version 6002 drivers/net/ethernet/realtek/r8169_main.c switch (tp->mac_version) { mac_version 6257 drivers/net/ethernet/realtek/r8169_main.c tp->mac_version == RTL_GIGA_MAC_VER_11)) { mac_version 6324 drivers/net/ethernet/realtek/r8169_main.c if (tp->mac_version > RTL_GIGA_MAC_VER_06) mac_version 6714 drivers/net/ethernet/realtek/r8169_main.c switch (tp->mac_version) { mac_version 6798 drivers/net/ethernet/realtek/r8169_main.c if (tp->mac_version <= RTL_GIGA_MAC_VER_06) mac_version 6800 drivers/net/ethernet/realtek/r8169_main.c else if (tp->mac_version == RTL_GIGA_MAC_VER_11) mac_version 6811 drivers/net/ethernet/realtek/r8169_main.c switch (tp->mac_version) { mac_version 6832 drivers/net/ethernet/realtek/r8169_main.c if (rtl_is_8168evl_up(tp) && tp->mac_version != RTL_GIGA_MAC_VER_34) { mac_version 6976 drivers/net/ethernet/realtek/r8169_main.c switch (tp->mac_version) { mac_version 6997 drivers/net/ethernet/realtek/r8169_main.c switch (tp->mac_version) { mac_version 7134 drivers/net/ethernet/realtek/r8169_main.c if (tp->mac_version == RTL_GIGA_MAC_NONE) mac_version 7139 drivers/net/ethernet/realtek/r8169_main.c if (sizeof(dma_addr_t) > 4 && tp->mac_version >= RTL_GIGA_MAC_VER_18 && mac_version 7153 drivers/net/ethernet/realtek/r8169_main.c chipset = tp->mac_version; mac_version 7188 drivers/net/ethernet/realtek/r8169_main.c if (tp->mac_version == RTL_GIGA_MAC_VER_05) mac_version 7251 drivers/net/ethernet/realtek/r8169_main.c jumbo_max, tp->mac_version <= RTL_GIGA_MAC_VER_06 ?