Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/phy/
Dphy.c666 struct phy_plca_cfg *curr_plca_cfg; in phy_ethtool_set_plca_cfg() local
680 curr_plca_cfg = kmalloc(sizeof(*curr_plca_cfg), GFP_KERNEL); in phy_ethtool_set_plca_cfg()
681 if (!curr_plca_cfg) { in phy_ethtool_set_plca_cfg()
688 ret = phydev->drv->get_plca_cfg(phydev, curr_plca_cfg); in phy_ethtool_set_plca_cfg()
692 if (curr_plca_cfg->enabled < 0 && plca_cfg->enabled >= 0) { in phy_ethtool_set_plca_cfg()
699 if (curr_plca_cfg->node_id < 0 && plca_cfg->node_id >= 0) { in phy_ethtool_set_plca_cfg()
706 if (curr_plca_cfg->node_cnt < 0 && plca_cfg->node_cnt >= 0) { in phy_ethtool_set_plca_cfg()
713 if (curr_plca_cfg->to_tmr < 0 && plca_cfg->to_tmr >= 0) { in phy_ethtool_set_plca_cfg()
720 if (curr_plca_cfg->burst_cnt < 0 && plca_cfg->burst_cnt >= 0) { in phy_ethtool_set_plca_cfg()
727 if (curr_plca_cfg->burst_tmr < 0 && plca_cfg->burst_tmr >= 0) { in phy_ethtool_set_plca_cfg()
[all …]