Home
last modified time | relevance | path

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

/linux/net/ethtool/
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/drivers/net/phy/
A Dphy-c45.c1346 if (plca_cfg->version >= 0) in genphy_c45_plca_set_cfg()
1350 if (plca_cfg->enabled == 0) { in genphy_c45_plca_set_cfg()
1360 if (plca_cfg->node_cnt >= 0 || plca_cfg->node_id >= 0) { in genphy_c45_plca_set_cfg()
1365 if (plca_cfg->node_cnt < 0 || plca_cfg->node_id < 0) { in genphy_c45_plca_set_cfg()
1379 if (plca_cfg->node_id >= 0) in genphy_c45_plca_set_cfg()
1381 (plca_cfg->node_id); in genphy_c45_plca_set_cfg()
1390 if (plca_cfg->to_tmr >= 0) { in genphy_c45_plca_set_cfg()
1393 plca_cfg->to_tmr); in genphy_c45_plca_set_cfg()
1400 if (plca_cfg->burst_cnt >= 0 || plca_cfg->burst_tmr >= 0) { in genphy_c45_plca_set_cfg()
1405 if (plca_cfg->burst_cnt < 0 || plca_cfg->burst_tmr < 0) { in genphy_c45_plca_set_cfg()
[all …]
A Dphy.c627 struct phy_plca_cfg *plca_cfg) in phy_ethtool_get_plca_cfg() argument
642 ret = phydev->drv->get_plca_cfg(phydev, plca_cfg); in phy_ethtool_get_plca_cfg()
660 const struct phy_plca_cfg *plca_cfg, in plca_check_valid() argument
670 } else if (plca_cfg->node_id >= 255) { in plca_check_valid()
688 const struct phy_plca_cfg *plca_cfg, in phy_ethtool_set_plca_cfg() argument
717 if (curr_plca_cfg->enabled < 0 && plca_cfg->enabled >= 0) { in phy_ethtool_set_plca_cfg()
738 if (curr_plca_cfg->to_tmr < 0 && plca_cfg->to_tmr >= 0) { in phy_ethtool_set_plca_cfg()
760 if (plca_cfg->enabled > 0) { in phy_ethtool_set_plca_cfg()
762 if (plca_cfg->node_id >= 0) in phy_ethtool_set_plca_cfg()
763 curr_plca_cfg->node_id = plca_cfg->node_id; in phy_ethtool_set_plca_cfg()
[all …]
/linux/include/linux/
A Dphy.h1119 struct phy_plca_cfg *plca_cfg);
1122 const struct phy_plca_cfg *plca_cfg);
1943 struct phy_plca_cfg *plca_cfg);
1945 const struct phy_plca_cfg *plca_cfg);
2059 struct phy_plca_cfg *plca_cfg);
2061 const struct phy_plca_cfg *plca_cfg,
A Dethtool.h1164 struct phy_plca_cfg *plca_cfg);
1166 const struct phy_plca_cfg *plca_cfg,

Completed in 21 milliseconds