Lines Matching defs:plca_cfg
655 * @plca_cfg: where to store the retrieved configuration
661 struct phy_plca_cfg *plca_cfg)
676 ret = phydev->drv->get_plca_cfg(phydev, plca_cfg);
686 * @plca_cfg: current PLCA configuration
694 const struct phy_plca_cfg *plca_cfg,
704 } else if (plca_cfg->node_id >= 255) {
715 * @plca_cfg: new PLCA configuration to apply
722 const struct phy_plca_cfg *plca_cfg,
751 if (curr_plca_cfg->enabled < 0 && plca_cfg->enabled >= 0) {
758 if (curr_plca_cfg->node_id < 0 && plca_cfg->node_id >= 0) {
765 if (curr_plca_cfg->node_cnt < 0 && plca_cfg->node_cnt >= 0) {
772 if (curr_plca_cfg->to_tmr < 0 && plca_cfg->to_tmr >= 0) {
779 if (curr_plca_cfg->burst_cnt < 0 && plca_cfg->burst_cnt >= 0) {
786 if (curr_plca_cfg->burst_tmr < 0 && plca_cfg->burst_tmr >= 0) {
794 if (plca_cfg->enabled > 0) {
796 if (plca_cfg->node_id >= 0)
797 curr_plca_cfg->node_id = plca_cfg->node_id;
804 ret = phydev->drv->set_plca_cfg(phydev, plca_cfg);