Searched refs:MTK_HAS_CAPS (Results 1 – 4 of 4) sorted by relevance
/drivers/net/ethernet/mediatek/ |
D | mtk_eth_soc.c | 221 if (!MTK_HAS_CAPS(eth->soc->caps, MTK_SOC_MT7628) && in mtk_mac_config() 228 if (!MTK_HAS_CAPS(mac->hw->soc->caps, in mtk_mac_config() 239 if (MTK_HAS_CAPS(eth->soc->caps, MTK_RGMII)) { in mtk_mac_config() 248 if (MTK_HAS_CAPS(eth->soc->caps, MTK_SGMII)) { in mtk_mac_config() 255 if (MTK_HAS_CAPS(eth->soc->caps, MTK_GEPHY)) { in mtk_mac_config() 268 MTK_HAS_CAPS(mac->hw->soc->caps, MTK_GMAC1_TRGMII)) { in mtk_mac_config() 269 if (MTK_HAS_CAPS(mac->hw->soc->caps, in mtk_mac_config() 332 sid = (MTK_HAS_CAPS(eth->soc->caps, MTK_SHARED_SGMII)) ? in mtk_mac_config() 476 !(MTK_HAS_CAPS(mac->hw->soc->caps, MTK_RGMII) && in mtk_validate() 478 !(MTK_HAS_CAPS(mac->hw->soc->caps, MTK_TRGMII) && in mtk_validate() [all …]
|
D | mtk_eth_path.c | 217 if (!MTK_HAS_CAPS(eth->soc->caps, path)) { in mtk_eth_mux_setup() 223 if (!MTK_HAS_CAPS(eth->soc->caps, MTK_MUX)) in mtk_eth_mux_setup() 228 if (MTK_HAS_CAPS(eth->soc->caps, mtk_eth_muxc[i].cap_bit)) { in mtk_eth_mux_setup()
|
D | mtk_sgmii.c | 118 sid = (MTK_HAS_CAPS(eth->soc->caps, MTK_SHARED_SGMII)) ? in mtk_sgmii_restart_an()
|
D | mtk_eth_soc.h | 783 #define MTK_HAS_CAPS(caps, _x) (((caps) & (_x)) == (_x)) macro
|