Lines Matching refs:cmd
1494 struct ethtool_link_ksettings *cmd) in __de_get_link_ksettings() argument
1496 ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported, in __de_get_link_ksettings()
1498 cmd->base.phy_address = 0; in __de_get_link_ksettings()
1499 ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.advertising, in __de_get_link_ksettings()
1504 cmd->base.port = PORT_AUI; in __de_get_link_ksettings()
1507 cmd->base.port = PORT_BNC; in __de_get_link_ksettings()
1510 cmd->base.port = PORT_TP; in __de_get_link_ksettings()
1514 cmd->base.speed = 10; in __de_get_link_ksettings()
1517 cmd->base.duplex = DUPLEX_FULL; in __de_get_link_ksettings()
1519 cmd->base.duplex = DUPLEX_HALF; in __de_get_link_ksettings()
1522 cmd->base.autoneg = AUTONEG_DISABLE; in __de_get_link_ksettings()
1524 cmd->base.autoneg = AUTONEG_ENABLE; in __de_get_link_ksettings()
1530 const struct ethtool_link_ksettings *cmd) in __de_set_link_ksettings() argument
1534 u8 duplex = cmd->base.duplex; in __de_set_link_ksettings()
1535 u8 port = cmd->base.port; in __de_set_link_ksettings()
1536 u8 autoneg = cmd->base.autoneg; in __de_set_link_ksettings()
1540 cmd->link_modes.advertising); in __de_set_link_ksettings()
1542 if (cmd->base.speed != 10) in __de_set_link_ksettings()
1619 struct ethtool_link_ksettings *cmd) in de_get_link_ksettings() argument
1624 __de_get_link_ksettings(de, cmd); in de_get_link_ksettings()
1631 const struct ethtool_link_ksettings *cmd) in de_set_link_ksettings() argument
1637 rc = __de_set_link_ksettings(de, cmd); in de_set_link_ksettings()