Lines Matching refs:lsettings
13 struct ethtool_link_settings *lsettings; member
32 data->lsettings = &data->ksettings.base; in linkinfo_prepare_data()
62 if (nla_put_u8(skb, ETHTOOL_A_LINKINFO_PORT, data->lsettings->port) || in linkinfo_fill_reply()
64 data->lsettings->phy_address) || in linkinfo_fill_reply()
66 data->lsettings->eth_tp_mdix) || in linkinfo_fill_reply()
68 data->lsettings->eth_tp_mdix_ctrl) || in linkinfo_fill_reply()
70 data->lsettings->transceiver)) in linkinfo_fill_reply()
101 struct ethtool_link_settings *lsettings; in ethnl_set_linkinfo() local
112 lsettings = &ksettings.base; in ethnl_set_linkinfo()
114 ethnl_update_u8(&lsettings->port, tb[ETHTOOL_A_LINKINFO_PORT], &mod); in ethnl_set_linkinfo()
115 ethnl_update_u8(&lsettings->phy_address, tb[ETHTOOL_A_LINKINFO_PHYADDR], in ethnl_set_linkinfo()
117 ethnl_update_u8(&lsettings->eth_tp_mdix_ctrl, in ethnl_set_linkinfo()