Searched refs:mii_rt (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/net/ethernet/ti/icssg/ |
H A D | icssg_mii_cfg.c | 15 void icssg_mii_update_ipg(struct regmap *mii_rt, int mii, u32 ipg) in icssg_mii_update_ipg() argument 20 regmap_write(mii_rt, PRUSS_MII_RT_TX_IPG0, ipg); in icssg_mii_update_ipg() 22 regmap_read(mii_rt, PRUSS_MII_RT_TX_IPG0, &val); in icssg_mii_update_ipg() 23 regmap_write(mii_rt, PRUSS_MII_RT_TX_IPG1, ipg); in icssg_mii_update_ipg() 24 regmap_write(mii_rt, PRUSS_MII_RT_TX_IPG0, val); in icssg_mii_update_ipg() 28 void icssg_mii_update_mtu(struct regmap *mii_rt, int mii, int mtu) in icssg_mii_update_mtu() argument 32 regmap_update_bits(mii_rt, in icssg_mii_update_mtu() 37 regmap_update_bits(mii_rt, in icssg_mii_update_mtu()
|
H A D | icssg_config.c | 113 struct regmap *mii_rt; in icssg_config_mii_init() local 115 mii_rt = prueth->mii_rt; in icssg_config_mii_init() 138 regmap_write(mii_rt, rxcfg_reg, rxcfg); in icssg_config_mii_init() 139 regmap_write(mii_rt, txcfg_reg, txcfg); in icssg_config_mii_init() 140 regmap_write(mii_rt, pcnt_reg, 0x1); in icssg_config_mii_init() 208 icssg_mii_update_ipg(prueth->mii_rt, slice, MII_RT_TX_IPG_1G); in icssg_config_ipg() 211 icssg_mii_update_ipg(prueth->mii_rt, slice, MII_RT_TX_IPG_100M); in icssg_config_ipg() 215 icssg_mii_update_ipg(prueth->mii_rt, slice, MII_RT_TX_IPG_100M); in icssg_config_ipg()
|
H A D | icssg_mii_rt.h | 143 void icssg_mii_update_ipg(struct regmap *mii_rt, int mii, u32 ipg); 144 void icssg_mii_update_mtu(struct regmap *mii_rt, int mii, int mtu);
|
H A D | icssg_prueth.h | 227 struct regmap *mii_rt; member
|
H A D | icssg_prueth.c | 1370 icssg_mii_update_mtu(prueth->mii_rt, slice, ndev->max_mtu); in emac_ndo_open() 2023 prueth->mii_rt = syscon_regmap_lookup_by_phandle(np, "ti,mii-rt"); in prueth_probe() 2024 if (IS_ERR(prueth->mii_rt)) { in prueth_probe()
|