Lines Matching defs:plca_cfg
596 * @plca_cfg: where to store the retrieved configuration
602 struct phy_plca_cfg *plca_cfg)
617 ret = phydev->drv->get_plca_cfg(phydev, plca_cfg);
627 * @plca_cfg: current PLCA configuration
635 const struct phy_plca_cfg *plca_cfg,
645 } else if (plca_cfg->node_id >= 255) {
656 * @plca_cfg: new PLCA configuration to apply
663 const struct phy_plca_cfg *plca_cfg,
692 if (curr_plca_cfg->enabled < 0 && plca_cfg->enabled >= 0) {
699 if (curr_plca_cfg->node_id < 0 && plca_cfg->node_id >= 0) {
706 if (curr_plca_cfg->node_cnt < 0 && plca_cfg->node_cnt >= 0) {
713 if (curr_plca_cfg->to_tmr < 0 && plca_cfg->to_tmr >= 0) {
720 if (curr_plca_cfg->burst_cnt < 0 && plca_cfg->burst_cnt >= 0) {
727 if (curr_plca_cfg->burst_tmr < 0 && plca_cfg->burst_tmr >= 0) {
735 if (plca_cfg->enabled > 0) {
737 if (plca_cfg->node_id >= 0)
738 curr_plca_cfg->node_id = plca_cfg->node_id;
745 ret = phydev->drv->set_plca_cfg(phydev, plca_cfg);