Home
last modified time | relevance | path

Searched refs:lsettings (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/net/ethtool/
Dlinkmodes.c16 struct ethtool_link_settings *lsettings; member
36 data->lsettings = &data->ksettings.base; in linkmodes_prepare_data()
65 const struct ethtool_link_settings *lsettings = &ksettings->base; in linkmodes_reply_size() local
91 if (lsettings->master_slave_cfg != MASTER_SLAVE_CFG_UNSUPPORTED) in linkmodes_reply_size()
94 if (lsettings->master_slave_state != MASTER_SLAVE_STATE_UNSUPPORTED) in linkmodes_reply_size()
106 const struct ethtool_link_settings *lsettings = &ksettings->base; in linkmodes_fill_reply() local
110 if (nla_put_u8(skb, ETHTOOL_A_LINKMODES_AUTONEG, lsettings->autoneg)) in linkmodes_fill_reply()
129 if (nla_put_u32(skb, ETHTOOL_A_LINKMODES_SPEED, lsettings->speed) || in linkmodes_fill_reply()
130 nla_put_u8(skb, ETHTOOL_A_LINKMODES_DUPLEX, lsettings->duplex)) in linkmodes_fill_reply()
137 if (lsettings->master_slave_cfg != MASTER_SLAVE_CFG_UNSUPPORTED && in linkmodes_fill_reply()
[all …]
Dlinkinfo.c13 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()
[all …]