xgene_mdio_pdata
struct xgene_mdio_pdata *pdata = bus->priv;
static u32 xgene_menet_rd_diag_csr(struct xgene_mdio_pdata *pdata, u32 offset)
static void xgene_menet_wr_diag_csr(struct xgene_mdio_pdata *pdata,
static int xgene_enet_ecc_init(struct xgene_mdio_pdata *pdata)
static void xgene_gmac_reset(struct xgene_mdio_pdata *pdata)
static int xgene_mdio_reset(struct xgene_mdio_pdata *pdata)
u32 xgene_mdio_rd_mac(struct xgene_mdio_pdata *pdata, u32 rd_addr)
struct xgene_mdio_pdata *pdata;
pdata = devm_kzalloc(dev, sizeof(struct xgene_mdio_pdata), GFP_KERNEL);
struct xgene_mdio_pdata *pdata = platform_get_drvdata(pdev);
void xgene_mdio_wr_mac(struct xgene_mdio_pdata *pdata, u32 wr_addr, u32 data)
struct xgene_mdio_pdata *pdata = bus->priv;
u32 xgene_mdio_rd_mac(struct xgene_mdio_pdata *pdata, u32 rd_addr);
void xgene_mdio_wr_mac(struct xgene_mdio_pdata *pdata, u32 wr_addr, u32 data);