Searched refs:mii_rt (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/ti/icssg/ |
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()
|
D | icssg_config.c | 115 struct regmap *mii_rt; in icssg_config_mii_init_fw_offload() local 117 mii_rt = prueth->mii_rt; in icssg_config_mii_init_fw_offload() 133 regmap_write(mii_rt, txcfg_reg, txcfg); in icssg_config_mii_init_fw_offload() 134 regmap_write(mii_rt, pcnt_reg, 0x1); in icssg_config_mii_init_fw_offload() 142 struct regmap *mii_rt; in icssg_config_mii_init() local 144 mii_rt = prueth->mii_rt; in icssg_config_mii_init() 161 regmap_write(mii_rt, txcfg_reg, txcfg); in icssg_config_mii_init() 162 regmap_write(mii_rt, pcnt_reg, 0x1); in icssg_config_mii_init() 249 icssg_mii_update_ipg(prueth->mii_rt, slice, ipg); in icssg_config_ipg()
|
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);
|
D | icssg_prueth_sr1.c | 550 icssg_mii_update_mtu(prueth->mii_rt, slice, ndev->max_mtu); in emac_ndo_open() 955 prueth->mii_rt = syscon_regmap_lookup_by_phandle(np, "ti,mii-rt"); in prueth_probe() 956 if (IS_ERR(prueth->mii_rt)) { in prueth_probe()
|
D | icssg_prueth.h | 275 struct regmap *mii_rt; member
|
D | icssg_prueth.c | 605 icssg_mii_update_mtu(prueth->mii_rt, slice, ndev->max_mtu); in emac_ndo_open() 1361 prueth->mii_rt = syscon_regmap_lookup_by_phandle(np, "ti,mii-rt"); in prueth_probe() 1362 if (IS_ERR(prueth->mii_rt)) { in prueth_probe()
|