Searched refs:duplex (Results 1 – 8 of 8) sorted by relevance
/net/ethtool/ |
D | common.c | 102 #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 …]
|
D | common.h | 12 #define ETHTOOL_LINK_MODE(speed, type, duplex) \ argument 13 ETHTOOL_LINK_MODE_ ## speed ## base ## type ## _ ## duplex ## _BIT 20 u8 duplex; member
|
D | linkmodes.c | 129 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()
|
D | ioctl.c | 394 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/ |
D | net-sysfs.c | 247 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/ |
D | bat_v_elp.c | 134 if (link_settings.base.duplex == DUPLEX_FULL) in batadv_v_elp_get_throughput()
|
/net/bridge/ |
D | br_device.c | 266 cmd->base.duplex = DUPLEX_UNKNOWN; in br_get_link_ksettings()
|
/net/dsa/ |
D | port.c | 1079 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()
|