Home
last modified time | relevance | path

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

/linux-6.3-rc2/net/ethtool/
A Dplca.c15 struct phy_plca_cfg plca_cfg; member
67 memset(&data->plca_cfg, 0xff, in plca_get_cfg_prepare_data()
68 sizeof_field(struct plca_reply_data, plca_cfg)); in plca_get_cfg_prepare_data()
70 ret = ops->get_plca_cfg(dev->phydev, &data->plca_cfg); in plca_get_cfg_prepare_data()
94 const struct phy_plca_cfg *plca = &data->plca_cfg; in plca_get_cfg_fill_reply()
134 struct phy_plca_cfg plca_cfg; in ethnl_set_plca() local
146 memset(&plca_cfg, 0xff, sizeof(plca_cfg)); in ethnl_set_plca()
150 plca_update_sint(&plca_cfg.to_tmr, tb[ETHTOOL_A_PLCA_TO_TMR], &mod); in ethnl_set_plca()
151 plca_update_sint(&plca_cfg.burst_cnt, tb[ETHTOOL_A_PLCA_BURST_CNT], in ethnl_set_plca()
153 plca_update_sint(&plca_cfg.burst_tmr, tb[ETHTOOL_A_PLCA_BURST_TMR], in ethnl_set_plca()
[all …]
/linux-6.3-rc2/drivers/net/phy/
A Dphy-c45.c1222 if (plca_cfg->version >= 0) in genphy_c45_plca_set_cfg()
1226 if (plca_cfg->enabled == 0) { in genphy_c45_plca_set_cfg()
1236 if (plca_cfg->node_cnt >= 0 || plca_cfg->node_id >= 0) { in genphy_c45_plca_set_cfg()
1241 if (plca_cfg->node_cnt < 0 || plca_cfg->node_id < 0) { in genphy_c45_plca_set_cfg()
1255 if (plca_cfg->node_id >= 0) in genphy_c45_plca_set_cfg()
1257 (plca_cfg->node_id); in genphy_c45_plca_set_cfg()
1266 if (plca_cfg->to_tmr >= 0) { in genphy_c45_plca_set_cfg()
1269 plca_cfg->to_tmr); in genphy_c45_plca_set_cfg()
1276 if (plca_cfg->burst_cnt >= 0 || plca_cfg->burst_tmr >= 0) { in genphy_c45_plca_set_cfg()
1281 if (plca_cfg->burst_cnt < 0 || plca_cfg->burst_tmr < 0) { in genphy_c45_plca_set_cfg()
[all …]
A Dphy.c555 struct phy_plca_cfg *plca_cfg) in phy_ethtool_get_plca_cfg() argument
570 ret = phydev->drv->get_plca_cfg(phydev, plca_cfg); in phy_ethtool_get_plca_cfg()
588 const struct phy_plca_cfg *plca_cfg, in plca_check_valid() argument
598 } else if (plca_cfg->node_id >= 255) { in plca_check_valid()
616 const struct phy_plca_cfg *plca_cfg, in phy_ethtool_set_plca_cfg() argument
645 if (curr_plca_cfg->enabled < 0 && plca_cfg->enabled >= 0) { in phy_ethtool_set_plca_cfg()
666 if (curr_plca_cfg->to_tmr < 0 && plca_cfg->to_tmr >= 0) { in phy_ethtool_set_plca_cfg()
688 if (plca_cfg->enabled > 0) { in phy_ethtool_set_plca_cfg()
690 if (plca_cfg->node_id >= 0) in phy_ethtool_set_plca_cfg()
691 curr_plca_cfg->node_id = plca_cfg->node_id; in phy_ethtool_set_plca_cfg()
[all …]
/linux-6.3-rc2/include/linux/
A Dphy.h1052 struct phy_plca_cfg *plca_cfg);
1055 const struct phy_plca_cfg *plca_cfg);
1760 struct phy_plca_cfg *plca_cfg);
1762 const struct phy_plca_cfg *plca_cfg);
1873 struct phy_plca_cfg *plca_cfg);
1875 const struct phy_plca_cfg *plca_cfg,
A Dethtool.h956 struct phy_plca_cfg *plca_cfg);
958 const struct phy_plca_cfg *plca_cfg,

Completed in 15 milliseconds