Lines Matching defs:plca_cfg
616 * @plca_cfg: where to store the retrieved configuration
622 struct phy_plca_cfg *plca_cfg)
637 ret = phydev->drv->get_plca_cfg(phydev, plca_cfg);
647 * @plca_cfg: current PLCA configuration
655 const struct phy_plca_cfg *plca_cfg,
665 } else if (plca_cfg->node_id >= 255) {
676 * @plca_cfg: new PLCA configuration to apply
683 const struct phy_plca_cfg *plca_cfg,
712 if (curr_plca_cfg->enabled < 0 && plca_cfg->enabled >= 0) {
719 if (curr_plca_cfg->node_id < 0 && plca_cfg->node_id >= 0) {
726 if (curr_plca_cfg->node_cnt < 0 && plca_cfg->node_cnt >= 0) {
733 if (curr_plca_cfg->to_tmr < 0 && plca_cfg->to_tmr >= 0) {
740 if (curr_plca_cfg->burst_cnt < 0 && plca_cfg->burst_cnt >= 0) {
747 if (curr_plca_cfg->burst_tmr < 0 && plca_cfg->burst_tmr >= 0) {
755 if (plca_cfg->enabled > 0) {
757 if (plca_cfg->node_id >= 0)
758 curr_plca_cfg->node_id = plca_cfg->node_id;
765 ret = phydev->drv->set_plca_cfg(phydev, plca_cfg);