Home
last modified time | relevance | path

Searched refs:plca_cfg (Results 1 – 6 of 6) sorted by relevance

/linux-6.15/net/ethtool/
H A Dplca.c15 struct phy_plca_cfg plca_cfg; member
84 memset(&data->plca_cfg, 0xff, in plca_get_cfg_prepare_data()
85 sizeof_field(struct plca_reply_data, plca_cfg)); in plca_get_cfg_prepare_data()
87 ret = ops->get_plca_cfg(phydev, &data->plca_cfg); in plca_get_cfg_prepare_data()
111 const struct phy_plca_cfg *plca = &data->plca_cfg; in plca_get_cfg_fill_reply()
150 struct phy_plca_cfg plca_cfg; in ethnl_set_plca() local
165 memset(&plca_cfg, 0xff, sizeof(plca_cfg)); in ethnl_set_plca()
169 plca_update_sint(&plca_cfg.to_tmr, tb, ETHTOOL_A_PLCA_TO_TMR, &mod); in ethnl_set_plca()
170 plca_update_sint(&plca_cfg.burst_cnt, tb, ETHTOOL_A_PLCA_BURST_CNT, in ethnl_set_plca()
172 plca_update_sint(&plca_cfg.burst_tmr, tb, ETHTOOL_A_PLCA_BURST_TMR, in ethnl_set_plca()
[all …]
/linux-6.15/drivers/net/phy/
H A Dphy-c45.c1347 if (plca_cfg->version >= 0) in genphy_c45_plca_set_cfg()
1351 if (plca_cfg->enabled == 0) { in genphy_c45_plca_set_cfg()
1361 if (plca_cfg->node_cnt >= 0 || plca_cfg->node_id >= 0) { in genphy_c45_plca_set_cfg()
1366 if (plca_cfg->node_cnt < 0 || plca_cfg->node_id < 0) { in genphy_c45_plca_set_cfg()
1380 if (plca_cfg->node_id >= 0) in genphy_c45_plca_set_cfg()
1382 (plca_cfg->node_id); in genphy_c45_plca_set_cfg()
1391 if (plca_cfg->to_tmr >= 0) { in genphy_c45_plca_set_cfg()
1394 plca_cfg->to_tmr); in genphy_c45_plca_set_cfg()
1401 if (plca_cfg->burst_cnt >= 0 || plca_cfg->burst_tmr >= 0) { in genphy_c45_plca_set_cfg()
1406 if (plca_cfg->burst_cnt < 0 || plca_cfg->burst_tmr < 0) { in genphy_c45_plca_set_cfg()
[all …]
H A Dphy.c655 struct phy_plca_cfg *plca_cfg) in phy_ethtool_get_plca_cfg() argument
670 ret = phydev->drv->get_plca_cfg(phydev, plca_cfg); in phy_ethtool_get_plca_cfg()
688 const struct phy_plca_cfg *plca_cfg, in plca_check_valid() argument
698 } else if (plca_cfg->node_id >= 255) { in plca_check_valid()
716 const struct phy_plca_cfg *plca_cfg, in phy_ethtool_set_plca_cfg() argument
745 if (curr_plca_cfg->enabled < 0 && plca_cfg->enabled >= 0) { in phy_ethtool_set_plca_cfg()
766 if (curr_plca_cfg->to_tmr < 0 && plca_cfg->to_tmr >= 0) { in phy_ethtool_set_plca_cfg()
788 if (plca_cfg->enabled > 0) { in phy_ethtool_set_plca_cfg()
790 if (plca_cfg->node_id >= 0) in phy_ethtool_set_plca_cfg()
791 curr_plca_cfg->node_id = plca_cfg->node_id; in phy_ethtool_set_plca_cfg()
[all …]
H A Dmicrochip_t1s.c392 const struct phy_plca_cfg *plca_cfg) in lan86xx_plca_set_cfg() argument
396 ret = genphy_c45_plca_set_cfg(phydev, plca_cfg); in lan86xx_plca_set_cfg()
400 if (plca_cfg->enabled) in lan86xx_plca_set_cfg()
/linux-6.15/include/linux/
H A Dphy.h1158 struct phy_plca_cfg *plca_cfg);
1161 const struct phy_plca_cfg *plca_cfg);
1974 struct phy_plca_cfg *plca_cfg);
1976 const struct phy_plca_cfg *plca_cfg);
2091 struct phy_plca_cfg *plca_cfg);
2093 const struct phy_plca_cfg *plca_cfg,
H A Dethtool.h1216 struct phy_plca_cfg *plca_cfg);
1218 const struct phy_plca_cfg *plca_cfg,