MTK_HAS_CAPS      217 drivers/net/ethernet/mediatek/mtk_eth_path.c 	if (!MTK_HAS_CAPS(eth->soc->caps, path)) {
MTK_HAS_CAPS      223 drivers/net/ethernet/mediatek/mtk_eth_path.c 	if (!MTK_HAS_CAPS(eth->soc->caps, MTK_MUX))
MTK_HAS_CAPS      228 drivers/net/ethernet/mediatek/mtk_eth_path.c 		if (MTK_HAS_CAPS(eth->soc->caps, mtk_eth_muxc[i].cap_bit)) {
MTK_HAS_CAPS      211 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	if (!MTK_HAS_CAPS(eth->soc->caps, MTK_SOC_MT7628) &&
MTK_HAS_CAPS      218 drivers/net/ethernet/mediatek/mtk_eth_soc.c 			if (!MTK_HAS_CAPS(mac->hw->soc->caps,
MTK_HAS_CAPS      229 drivers/net/ethernet/mediatek/mtk_eth_soc.c 			if (MTK_HAS_CAPS(eth->soc->caps, MTK_RGMII)) {
MTK_HAS_CAPS      238 drivers/net/ethernet/mediatek/mtk_eth_soc.c 			if (MTK_HAS_CAPS(eth->soc->caps, MTK_SGMII)) {
MTK_HAS_CAPS      245 drivers/net/ethernet/mediatek/mtk_eth_soc.c 			if (MTK_HAS_CAPS(eth->soc->caps, MTK_GEPHY)) {
MTK_HAS_CAPS      258 drivers/net/ethernet/mediatek/mtk_eth_soc.c 		    MTK_HAS_CAPS(mac->hw->soc->caps, MTK_GMAC1_TRGMII)) {
MTK_HAS_CAPS      259 drivers/net/ethernet/mediatek/mtk_eth_soc.c 			if (MTK_HAS_CAPS(mac->hw->soc->caps,
MTK_HAS_CAPS      323 drivers/net/ethernet/mediatek/mtk_eth_soc.c 		sid = (MTK_HAS_CAPS(eth->soc->caps, MTK_SHARED_SGMII)) ?
MTK_HAS_CAPS      462 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	    !(MTK_HAS_CAPS(mac->hw->soc->caps, MTK_RGMII) &&
MTK_HAS_CAPS      464 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	    !(MTK_HAS_CAPS(mac->hw->soc->caps, MTK_TRGMII) &&
MTK_HAS_CAPS      466 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	    !(MTK_HAS_CAPS(mac->hw->soc->caps, MTK_SGMII) &&
MTK_HAS_CAPS      509 drivers/net/ethernet/mediatek/mtk_eth_soc.c 		if (MTK_HAS_CAPS(mac->hw->soc->caps, MTK_SGMII)) {
MTK_HAS_CAPS      514 drivers/net/ethernet/mediatek/mtk_eth_soc.c 		if (MTK_HAS_CAPS(mac->hw->soc->caps, MTK_RGMII)) {
MTK_HAS_CAPS      519 drivers/net/ethernet/mediatek/mtk_eth_soc.c 		if (MTK_HAS_CAPS(mac->hw->soc->caps, MTK_GEPHY)) {
MTK_HAS_CAPS      648 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	if (MTK_HAS_CAPS(eth->soc->caps, MTK_SOC_MT7628)) {
MTK_HAS_CAPS      849 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	if (MTK_HAS_CAPS(eth->soc->caps, MTK_QDMA)) {
MTK_HAS_CAPS      888 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	if (MTK_HAS_CAPS(eth->soc->caps, MTK_QDMA)) {
MTK_HAS_CAPS      971 drivers/net/ethernet/mediatek/mtk_eth_soc.c 			if (MTK_HAS_CAPS(eth->soc->caps, MTK_QDMA) ||
MTK_HAS_CAPS     1023 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	if (!MTK_HAS_CAPS(eth->soc->caps, MTK_QDMA)) {
MTK_HAS_CAPS     1041 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	if (MTK_HAS_CAPS(eth->soc->caps, MTK_QDMA)) {
MTK_HAS_CAPS     1061 drivers/net/ethernet/mediatek/mtk_eth_soc.c 		if (!MTK_HAS_CAPS(eth->soc->caps, MTK_QDMA))
MTK_HAS_CAPS     1254 drivers/net/ethernet/mediatek/mtk_eth_soc.c 		if (MTK_HAS_CAPS(eth->soc->caps, MTK_SOC_MT7628)) {
MTK_HAS_CAPS     1319 drivers/net/ethernet/mediatek/mtk_eth_soc.c 		if (MTK_HAS_CAPS(eth->soc->caps, MTK_SOC_MT7628))
MTK_HAS_CAPS     1437 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	if (MTK_HAS_CAPS(eth->soc->caps, MTK_QDMA))
MTK_HAS_CAPS     1473 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	if (MTK_HAS_CAPS(eth->soc->caps, MTK_QDMA))
MTK_HAS_CAPS     1560 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	if (!MTK_HAS_CAPS(eth->soc->caps, MTK_QDMA)) {
MTK_HAS_CAPS     1584 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	if (MTK_HAS_CAPS(eth->soc->caps, MTK_QDMA)) {
MTK_HAS_CAPS     1689 drivers/net/ethernet/mediatek/mtk_eth_soc.c 		if (MTK_HAS_CAPS(eth->soc->caps, MTK_SOC_MT7628))
MTK_HAS_CAPS     2008 drivers/net/ethernet/mediatek/mtk_eth_soc.c 		if (MTK_HAS_CAPS(eth->soc->caps, MTK_QDMA)) {
MTK_HAS_CAPS     2034 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	if (MTK_HAS_CAPS(eth->soc->caps, MTK_QDMA)) {
MTK_HAS_CAPS     2047 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	if (MTK_HAS_CAPS(eth->soc->caps, MTK_QDMA)) {
MTK_HAS_CAPS     2068 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	if (MTK_HAS_CAPS(eth->soc->caps, MTK_QDMA)) {
MTK_HAS_CAPS     2184 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	if (MTK_HAS_CAPS(eth->soc->caps, MTK_QDMA)) {
MTK_HAS_CAPS     2282 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	if (MTK_HAS_CAPS(eth->soc->caps, MTK_QDMA))
MTK_HAS_CAPS     2345 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	if (MTK_HAS_CAPS(eth->soc->caps, MTK_SOC_MT7628)) {
MTK_HAS_CAPS     2896 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	if (MTK_HAS_CAPS(eth->soc->caps, MTK_QDMA)) {
MTK_HAS_CAPS     2904 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	if (MTK_HAS_CAPS(eth->soc->caps, MTK_SOC_MT7628)) {
MTK_HAS_CAPS     2915 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	if (!MTK_HAS_CAPS(eth->soc->caps, MTK_SOC_MT7628)) {
MTK_HAS_CAPS     2924 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	if (MTK_HAS_CAPS(eth->soc->caps, MTK_INFRA)) {
MTK_HAS_CAPS     2933 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	if (MTK_HAS_CAPS(eth->soc->caps, MTK_SGMII)) {
MTK_HAS_CAPS     2956 drivers/net/ethernet/mediatek/mtk_eth_soc.c 		if (MTK_HAS_CAPS(eth->soc->caps, MTK_SHARED_INT) && i > 0)
MTK_HAS_CAPS     2987 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	eth->hwlro = MTK_HAS_CAPS(eth->soc->caps, MTK_HWLRO);
MTK_HAS_CAPS     3004 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	if (MTK_HAS_CAPS(eth->soc->caps, MTK_SHARED_INT)) {
MTK_HAS_CAPS     3023 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	if (!MTK_HAS_CAPS(eth->soc->caps, MTK_SOC_MT7628)) {
MTK_HAS_CAPS      117 drivers/net/ethernet/mediatek/mtk_sgmii.c 	sid = (MTK_HAS_CAPS(eth->soc->caps, MTK_SHARED_SGMII)) ?