Searched refs:plca_cfg (Results 1 - 5 of 5) sorted by relevance
/kernel/linux/linux-6.6/net/ethtool/ |
H A D | plca.c | 15 struct phy_plca_cfg plca_cfg; member 80 memset(&data->plca_cfg, 0xff, in plca_get_cfg_prepare_data() 81 sizeof_field(struct plca_reply_data, plca_cfg)); in plca_get_cfg_prepare_data() 83 ret = ops->get_plca_cfg(dev->phydev, &data->plca_cfg); in plca_get_cfg_prepare_data() 107 const struct phy_plca_cfg *plca = &data->plca_cfg; in plca_get_cfg_fill_reply() 147 struct phy_plca_cfg plca_cfg; in ethnl_set_plca() local 159 memset(&plca_cfg, 0xff, sizeof(plca_cfg)); in ethnl_set_plca() 160 plca_update_sint(&plca_cfg.enabled, tb, ETHTOOL_A_PLCA_ENABLED, &mod); in ethnl_set_plca() 161 plca_update_sint(&plca_cfg in ethnl_set_plca() [all...] |
/kernel/linux/linux-6.6/drivers/net/phy/ |
H A D | phy-c45.c | 1190 * @plca_cfg: output structure to store the PLCA configuration 1197 struct phy_plca_cfg *plca_cfg) in genphy_c45_plca_get_cfg() 1208 plca_cfg->version = ret & ~MDIO_OATC14_PLCA_IDM; in genphy_c45_plca_get_cfg() 1214 plca_cfg->enabled = !!(ret & MDIO_OATC14_PLCA_EN); in genphy_c45_plca_get_cfg() 1220 plca_cfg->node_cnt = (ret & MDIO_OATC14_PLCA_NCNT) >> 8; in genphy_c45_plca_get_cfg() 1221 plca_cfg->node_id = (ret & MDIO_OATC14_PLCA_ID); in genphy_c45_plca_get_cfg() 1227 plca_cfg->to_tmr = ret & MDIO_OATC14_PLCA_TOT; in genphy_c45_plca_get_cfg() 1233 plca_cfg->burst_cnt = (ret & MDIO_OATC14_PLCA_MAXBC) >> 8; in genphy_c45_plca_get_cfg() 1234 plca_cfg->burst_tmr = (ret & MDIO_OATC14_PLCA_BTMR); in genphy_c45_plca_get_cfg() 1243 * @plca_cfg 1196 genphy_c45_plca_get_cfg(struct phy_device *phydev, struct phy_plca_cfg *plca_cfg) genphy_c45_plca_get_cfg() argument 1250 genphy_c45_plca_set_cfg(struct phy_device *phydev, const struct phy_plca_cfg *plca_cfg) genphy_c45_plca_set_cfg() argument [all...] |
H A D | phy.c | 596 * @plca_cfg: where to store the retrieved configuration 602 struct phy_plca_cfg *plca_cfg) in phy_ethtool_get_plca_cfg() 617 ret = phydev->drv->get_plca_cfg(phydev, plca_cfg); in phy_ethtool_get_plca_cfg() 627 * @plca_cfg: current PLCA configuration 635 const struct phy_plca_cfg *plca_cfg, in plca_check_valid() 645 } else if (plca_cfg->node_id >= 255) { in plca_check_valid() 656 * @plca_cfg: new PLCA configuration to apply 663 const struct phy_plca_cfg *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 in phy_ethtool_set_plca_cfg() 601 phy_ethtool_get_plca_cfg(struct phy_device *phydev, struct phy_plca_cfg *plca_cfg) phy_ethtool_get_plca_cfg() argument 634 plca_check_valid(struct phy_device *phydev, const struct phy_plca_cfg *plca_cfg, struct netlink_ext_ack *extack) plca_check_valid() argument 662 phy_ethtool_set_plca_cfg(struct phy_device *phydev, const struct phy_plca_cfg *plca_cfg, struct netlink_ext_ack *extack) phy_ethtool_set_plca_cfg() argument [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | phy.h | 1084 struct phy_plca_cfg *plca_cfg); 1087 const struct phy_plca_cfg *plca_cfg); 1874 struct phy_plca_cfg *plca_cfg); 1876 const struct phy_plca_cfg *plca_cfg); 1985 struct phy_plca_cfg *plca_cfg); 1987 const struct phy_plca_cfg *plca_cfg,
|
H A D | ethtool.h | 963 struct phy_plca_cfg *plca_cfg); 965 const struct phy_plca_cfg *plca_cfg,
|
Completed in 12 milliseconds