• Home
  • Raw
  • Download

Lines Matching refs:lk_ksettings

1503 #define BNXT_FW_TO_ETHTOOL_SPDS(fw_speeds, fw_pause, lk_ksettings, name)\  argument
1506 ethtool_link_ksettings_add_link_mode(lk_ksettings, name,\
1509 ethtool_link_ksettings_add_link_mode(lk_ksettings, name,\
1512 ethtool_link_ksettings_add_link_mode(lk_ksettings, name,\
1515 ethtool_link_ksettings_add_link_mode(lk_ksettings, name,\
1518 ethtool_link_ksettings_add_link_mode(lk_ksettings, name,\
1521 ethtool_link_ksettings_add_link_mode(lk_ksettings, name,\
1524 ethtool_link_ksettings_add_link_mode(lk_ksettings, name,\
1527 ethtool_link_ksettings_add_link_mode(lk_ksettings, name,\
1531 lk_ksettings, name, Asym_Pause);\
1533 ethtool_link_ksettings_add_link_mode(lk_ksettings, name,\
1538 #define BNXT_ETHTOOL_TO_FW_SPDS(fw_speeds, lk_ksettings, name) \ argument
1540 if (ethtool_link_ksettings_test_link_mode(lk_ksettings, name, \
1542 ethtool_link_ksettings_test_link_mode(lk_ksettings, name, \
1545 if (ethtool_link_ksettings_test_link_mode(lk_ksettings, name, \
1547 ethtool_link_ksettings_test_link_mode(lk_ksettings, name, \
1550 if (ethtool_link_ksettings_test_link_mode(lk_ksettings, name, \
1553 if (ethtool_link_ksettings_test_link_mode(lk_ksettings, name, \
1556 if (ethtool_link_ksettings_test_link_mode(lk_ksettings, name, \
1559 if (ethtool_link_ksettings_test_link_mode(lk_ksettings, name, \
1562 if (ethtool_link_ksettings_test_link_mode(lk_ksettings, name, \
1567 #define BNXT_FW_TO_ETHTOOL_PAM4_SPDS(fw_speeds, lk_ksettings, name) \ argument
1570 ethtool_link_ksettings_add_link_mode(lk_ksettings, name,\
1573 ethtool_link_ksettings_add_link_mode(lk_ksettings, name,\
1576 ethtool_link_ksettings_add_link_mode(lk_ksettings, name,\
1580 #define BNXT_ETHTOOL_TO_FW_PAM4_SPDS(fw_speeds, lk_ksettings, name) \ argument
1582 if (ethtool_link_ksettings_test_link_mode(lk_ksettings, name, \
1585 if (ethtool_link_ksettings_test_link_mode(lk_ksettings, name, \
1588 if (ethtool_link_ksettings_test_link_mode(lk_ksettings, name, \
1594 struct ethtool_link_ksettings *lk_ksettings) in bnxt_fw_to_ethtool_advertised_fec() argument
1600 lk_ksettings->link_modes.advertising); in bnxt_fw_to_ethtool_advertised_fec()
1605 lk_ksettings->link_modes.advertising); in bnxt_fw_to_ethtool_advertised_fec()
1608 lk_ksettings->link_modes.advertising); in bnxt_fw_to_ethtool_advertised_fec()
1611 lk_ksettings->link_modes.advertising); in bnxt_fw_to_ethtool_advertised_fec()
1615 struct ethtool_link_ksettings *lk_ksettings) in bnxt_fw_to_ethtool_advertised_spds() argument
1623 BNXT_FW_TO_ETHTOOL_SPDS(fw_speeds, fw_pause, lk_ksettings, advertising); in bnxt_fw_to_ethtool_advertised_spds()
1625 BNXT_FW_TO_ETHTOOL_PAM4_SPDS(fw_speeds, lk_ksettings, advertising); in bnxt_fw_to_ethtool_advertised_spds()
1626 bnxt_fw_to_ethtool_advertised_fec(link_info, lk_ksettings); in bnxt_fw_to_ethtool_advertised_spds()
1630 struct ethtool_link_ksettings *lk_ksettings) in bnxt_fw_to_ethtool_lp_adv() argument
1638 BNXT_FW_TO_ETHTOOL_SPDS(fw_speeds, fw_pause, lk_ksettings, in bnxt_fw_to_ethtool_lp_adv()
1641 BNXT_FW_TO_ETHTOOL_PAM4_SPDS(fw_speeds, lk_ksettings, lp_advertising); in bnxt_fw_to_ethtool_lp_adv()
1645 struct ethtool_link_ksettings *lk_ksettings) in bnxt_fw_to_ethtool_support_fec() argument
1651 lk_ksettings->link_modes.supported); in bnxt_fw_to_ethtool_support_fec()
1656 lk_ksettings->link_modes.supported); in bnxt_fw_to_ethtool_support_fec()
1659 lk_ksettings->link_modes.supported); in bnxt_fw_to_ethtool_support_fec()
1662 lk_ksettings->link_modes.supported); in bnxt_fw_to_ethtool_support_fec()
1666 struct ethtool_link_ksettings *lk_ksettings) in bnxt_fw_to_ethtool_support_spds() argument
1671 BNXT_FW_TO_ETHTOOL_SPDS(fw_speeds, 0, lk_ksettings, supported); in bnxt_fw_to_ethtool_support_spds()
1673 BNXT_FW_TO_ETHTOOL_PAM4_SPDS(fw_speeds, lk_ksettings, supported); in bnxt_fw_to_ethtool_support_spds()
1676 ethtool_link_ksettings_add_link_mode(lk_ksettings, supported, in bnxt_fw_to_ethtool_support_spds()
1678 ethtool_link_ksettings_add_link_mode(lk_ksettings, supported, in bnxt_fw_to_ethtool_support_spds()
1684 ethtool_link_ksettings_add_link_mode(lk_ksettings, supported, in bnxt_fw_to_ethtool_support_spds()
1686 bnxt_fw_to_ethtool_support_fec(link_info, lk_ksettings); in bnxt_fw_to_ethtool_support_spds()
1718 struct ethtool_link_ksettings *lk_ksettings) in bnxt_get_link_ksettings() argument
1722 struct ethtool_link_settings *base = &lk_ksettings->base; in bnxt_get_link_ksettings()
1725 ethtool_link_ksettings_zero_link_mode(lk_ksettings, supported); in bnxt_get_link_ksettings()
1727 bnxt_fw_to_ethtool_support_spds(link_info, lk_ksettings); in bnxt_get_link_ksettings()
1729 ethtool_link_ksettings_zero_link_mode(lk_ksettings, advertising); in bnxt_get_link_ksettings()
1731 bnxt_fw_to_ethtool_advertised_spds(link_info, lk_ksettings); in bnxt_get_link_ksettings()
1732 ethtool_link_ksettings_add_link_mode(lk_ksettings, in bnxt_get_link_ksettings()
1737 bnxt_fw_to_ethtool_lp_adv(link_info, lk_ksettings); in bnxt_get_link_ksettings()
1757 ethtool_link_ksettings_add_link_mode(lk_ksettings, supported, in bnxt_get_link_ksettings()
1759 ethtool_link_ksettings_add_link_mode(lk_ksettings, advertising, in bnxt_get_link_ksettings()
1762 ethtool_link_ksettings_add_link_mode(lk_ksettings, supported, in bnxt_get_link_ksettings()
1764 ethtool_link_ksettings_add_link_mode(lk_ksettings, advertising, in bnxt_get_link_ksettings()
1884 const struct ethtool_link_ksettings *lk_ksettings) in bnxt_set_link_ksettings() argument
1888 const struct ethtool_link_settings *base = &lk_ksettings->base; in bnxt_set_link_ksettings()
1900 BNXT_ETHTOOL_TO_FW_SPDS(link_info->advertising, lk_ksettings, in bnxt_set_link_ksettings()
1903 lk_ksettings, advertising); in bnxt_set_link_ksettings()