linux/drivers/net/ethernet/mediatek/mtk_eth_path.c

// SPDX-License-Identifier: GPL-2.0
// Copyright (c) 2018-2019 MediaTek Inc.

/* A library for configuring path from GMAC/GDM to target PHY
 *
 * Author: Sean Wang <[email protected]>
 *
 */

#include <linux/phy.h>
#include <linux/regmap.h>

#include "mtk_eth_soc.h"

struct mtk_eth_muxc {};

static const char *mtk_eth_path_name(u64 path)
{}

static int set_mux_gdm1_to_gmac1_esw(struct mtk_eth *eth, u64 path)
{}

static int set_mux_gmac2_gmac0_to_gephy(struct mtk_eth *eth, u64 path)
{}

static int set_mux_u3_gmac2_to_qphy(struct mtk_eth *eth, u64 path)
{}

static int set_mux_gmac1_gmac2_to_sgmii_rgmii(struct mtk_eth *eth, u64 path)
{}

static int set_mux_gmac12_to_gephy_sgmii(struct mtk_eth *eth, u64 path)
{}

static const struct mtk_eth_muxc mtk_eth_muxc[] =;

static int mtk_eth_mux_setup(struct mtk_eth *eth, u64 path)
{}

int mtk_gmac_sgmii_path_setup(struct mtk_eth *eth, int mac_id)
{}

int mtk_gmac_gephy_path_setup(struct mtk_eth *eth, int mac_id)
{}

int mtk_gmac_rgmii_path_setup(struct mtk_eth *eth, int mac_id)
{}