Lines Matching +full:- +full:- +full:silent
2 * phy.c - List PHYs on an interface and their parameters
4 * Implementation of "ethtool --show-phys <dev>"
33 bool silent; in phy_reply_cb() local
37 silent = nlctx->is_dump || nlctx->is_monitor; in phy_reply_cb()
38 err_ret = silent ? MNL_CB_OK : MNL_CB_ERROR; in phy_reply_cb()
42 nlctx->devname = get_dev_name(tb[ETHTOOL_A_PHY_HEADER]); in phy_reply_cb()
46 if (silent) in phy_reply_cb()
51 print_string(PRINT_ANY, "ifname", "PHY for %s:\n", nlctx->devname); in phy_reply_cb()
82 if (!silent) in phy_reply_cb()
95 struct nl_context *nlctx = ctx->nlctx; in nl_get_phy()
96 struct nl_socket *nlsk = nlctx->ethnl_socket; in nl_get_phy()
100 return -EOPNOTSUPP; in nl_get_phy()
101 if (ctx->argc > 0) { in nl_get_phy()
103 *ctx->argp); in nl_get_phy()
112 new_json_obj(ctx->json); in nl_get_phy()