Home
last modified time | relevance | path

Searched refs:duplex (Results 1 – 8 of 8) sorted by relevance

/net/ethtool/
Dcommon.c102 #define __LINK_MODE_NAME(speed, type, duplex) \ argument
103 #speed "base" #type "/" #duplex
104 #define __DEFINE_LINK_MODE_NAME(speed, type, duplex) \ argument
105 [ETHTOOL_LINK_MODE(speed, type, duplex)] = \
106 __LINK_MODE_NAME(speed, type, duplex)
243 .duplex = __DUPLEX_ ## _duplex \
251 .duplex = DUPLEX_UNKNOWN, \
278 .duplex = DUPLEX_FULL,
472 link_ksettings->base.duplex in convert_legacy_settings_to_link_ksettings()
473 = legacy_settings->duplex; in convert_legacy_settings_to_link_ksettings()
[all …]
Dcommon.h12 #define ETHTOOL_LINK_MODE(speed, type, duplex) \ argument
13 ETHTOOL_LINK_MODE_ ## speed ## base ## type ## _ ## duplex ## _BIT
20 u8 duplex; member
Dlinkmodes.c129 nla_put_u8(skb, ETHTOOL_A_LINKMODES_DUPLEX, lsettings->duplex)) in linkmodes_fill_reply()
198 (!req_duplex || info->duplex == ksettings->base.duplex)) in ethnl_auto_linkmodes()
297 ethnl_update_u8(&lsettings->duplex, tb[ETHTOOL_A_LINKMODES_DUPLEX], in ethnl_update_linkmodes()
Dioctl.c394 legacy_settings->duplex in convert_link_ksettings_to_legacy_settings()
395 = link_ksettings->base.duplex; in convert_link_ksettings_to_legacy_settings()
473 base2.duplex = cmd->base.duplex; in ethtool_virtdev_validate_cmd()
617 u8 duplex; in ethtool_virtdev_set_link_ksettings() local
620 duplex = cmd->base.duplex; in ethtool_virtdev_set_link_ksettings()
623 !ethtool_validate_duplex(duplex) || in ethtool_virtdev_set_link_ksettings()
627 *dev_duplex = duplex; in ethtool_virtdev_set_link_ksettings()
/net/core/
Dnet-sysfs.c247 const char *duplex; in duplex_show() local
249 switch (cmd.base.duplex) { in duplex_show()
251 duplex = "half"; in duplex_show()
254 duplex = "full"; in duplex_show()
257 duplex = "unknown"; in duplex_show()
260 ret = sprintf(buf, "%s\n", duplex); in duplex_show()
266 static DEVICE_ATTR_RO(duplex);
/net/batman-adv/
Dbat_v_elp.c134 if (link_settings.base.duplex == DUPLEX_FULL) in batadv_v_elp_get_throughput()
/net/bridge/
Dbr_device.c266 cmd->base.duplex = DUPLEX_UNKNOWN; in br_get_link_ksettings()
/net/dsa/
Dport.c1079 int speed, int duplex, in dsa_port_phylink_mac_link_up() argument
1092 speed, duplex, tx_pause, rx_pause); in dsa_port_phylink_mac_link_up()