Home
last modified time | relevance | path

Searched refs:eee (Results 1 – 25 of 83) sorted by relevance

1234

/linux-6.12.1/net/ethtool/
Deee.c13 struct ethtool_keee eee; member
30 struct ethtool_keee *eee = &data->eee; in eee_prepare_data() local
38 ret = dev->ethtool_ops->get_eee(dev, eee); in eee_prepare_data()
49 const struct ethtool_keee *eee = &data->eee; in eee_reply_size() local
54 ret = ethnl_bitset_size(eee->advertised, eee->supported, in eee_reply_size()
61 ret = ethnl_bitset_size(eee->lp_advertised, NULL, in eee_reply_size()
82 const struct ethtool_keee *eee = &data->eee; in eee_fill_reply() local
86 eee->advertised, eee->supported, in eee_fill_reply()
92 eee->lp_advertised, NULL, in eee_fill_reply()
98 if (nla_put_u8(skb, ETHTOOL_A_EEE_ACTIVE, eee->eee_active) || in eee_fill_reply()
[all …]
Dioctl.c1716 const struct ethtool_eee *eee) in eee_to_keee() argument
1720 keee->eee_enabled = eee->eee_enabled; in eee_to_keee()
1721 keee->tx_lpi_enabled = eee->tx_lpi_enabled; in eee_to_keee()
1722 keee->tx_lpi_timer = eee->tx_lpi_timer; in eee_to_keee()
1725 eee->advertised); in eee_to_keee()
1728 static void keee_to_eee(struct ethtool_eee *eee, in keee_to_eee() argument
1733 memset(eee, 0, sizeof(*eee)); in keee_to_eee()
1735 eee->eee_active = keee->eee_active; in keee_to_eee()
1736 eee->eee_enabled = keee->eee_enabled; in keee_to_eee()
1737 eee->tx_lpi_enabled = keee->tx_lpi_enabled; in keee_to_eee()
[all …]
DMakefile9 channels.o coalesce.o pause.o eee.o tsinfo.o cabletest.o \
/linux-6.12.1/crypto/
Drmd160.c51 u32 aa, bb, cc, dd, ee, aaa, bbb, ccc, ddd, eee; in rmd160_transform() local
65 eee = state[4]; in rmd160_transform()
158 ROUND(aaa, bbb, ccc, ddd, eee, F5, KK1, in[5], 8); in rmd160_transform()
159 ROUND(eee, aaa, bbb, ccc, ddd, F5, KK1, in[14], 9); in rmd160_transform()
160 ROUND(ddd, eee, aaa, bbb, ccc, F5, KK1, in[7], 9); in rmd160_transform()
161 ROUND(ccc, ddd, eee, aaa, bbb, F5, KK1, in[0], 11); in rmd160_transform()
162 ROUND(bbb, ccc, ddd, eee, aaa, F5, KK1, in[9], 13); in rmd160_transform()
163 ROUND(aaa, bbb, ccc, ddd, eee, F5, KK1, in[2], 15); in rmd160_transform()
164 ROUND(eee, aaa, bbb, ccc, ddd, F5, KK1, in[11], 15); in rmd160_transform()
165 ROUND(ddd, eee, aaa, bbb, ccc, F5, KK1, in[4], 5); in rmd160_transform()
[all …]
/linux-6.12.1/include/net/
Deee.h22 static inline void eeecfg_to_eee(struct ethtool_keee *eee, in eeecfg_to_eee() argument
25 eee->tx_lpi_timer = eeecfg->tx_lpi_timer; in eeecfg_to_eee()
26 eee->tx_lpi_enabled = eeecfg->tx_lpi_enabled; in eeecfg_to_eee()
27 eee->eee_enabled = eeecfg->eee_enabled; in eeecfg_to_eee()
31 const struct ethtool_keee *eee) in eee_to_eeecfg() argument
33 eeecfg->tx_lpi_timer = eee->tx_lpi_timer; in eee_to_eeecfg()
34 eeecfg->tx_lpi_enabled = eee->tx_lpi_enabled; in eee_to_eeecfg()
35 eeecfg->eee_enabled = eee->eee_enabled; in eee_to_eeecfg()
/linux-6.12.1/tools/net/ynl/
Dethtool.py195 eee = dumpit(ynl, args, 'eee-get')
196 ours = bits_to_dict(eee['modes-ours'])
197 peer = bits_to_dict(eee['modes-peer'])
199 if 'enabled' in eee:
200 status = 'enabled' if eee['enabled'] else 'disabled'
201 if 'active' in eee and eee['active']:
209 print_field(eee, ('tx-lpi-timer', 'Tx LPI'))
/linux-6.12.1/drivers/net/ethernet/aquantia/atlantic/
Daq_ethtool.c690 static int aq_ethtool_get_eee(struct net_device *ndev, struct ethtool_keee *eee) in aq_ethtool_get_eee() argument
706 eee_mask_to_ethtool_mask(eee->supported, supported_rates); in aq_ethtool_get_eee()
709 linkmode_copy(eee->advertised, eee->supported); in aq_ethtool_get_eee()
711 eee_mask_to_ethtool_mask(eee->lp_advertised, rate); in aq_ethtool_get_eee()
713 eee->eee_enabled = !linkmode_empty(eee->advertised); in aq_ethtool_get_eee()
715 eee->tx_lpi_enabled = eee->eee_enabled; in aq_ethtool_get_eee()
717 eee->eee_active = true; in aq_ethtool_get_eee()
722 static int aq_ethtool_set_eee(struct net_device *ndev, struct ethtool_keee *eee) in aq_ethtool_set_eee() argument
742 if (eee->eee_enabled) { in aq_ethtool_set_eee()
/linux-6.12.1/Documentation/netlink/specs/
Dethtool.yaml1544 attributes: &eee anchor
1561 attributes: *eee
/linux-6.12.1/arch/arm64/boot/dts/freescale/
Dfsl-ls1028a-kontron-sl28-var4.dts24 eee-broken-1000t;
25 eee-broken-100tx;
Dfsl-ls1028a-kontron-sl28-var2.dts23 eee-broken-1000t;
24 eee-broken-100tx;
Dfsl-ls1028a-kontron-sl28-var1.dts30 eee-broken-1000t;
31 eee-broken-100tx;
Dfsl-lx2160a-rdb.dts78 eee-broken-1000t;
86 eee-broken-1000t;
Dfsl-lx2162a-qds.dts48 eee-broken-1000t;
60 eee-broken-1000t;
Dfsl-ls1028a-kontron-sl28.dts86 eee-broken-1000t;
87 eee-broken-100tx;
Dimx93-var-som.dtsi53 eee-broken-1000t;
Dimx8mp-debix-som-a-bmb-08.dts162 eee-broken-1000t;
189 eee-broken-1000t;
/linux-6.12.1/drivers/net/ethernet/broadcom/asp2/
Dbcmasp_ethtool.c362 intf->eee.eee_enabled = enable; in bcmasp_eee_enable_set()
368 struct ethtool_keee *p = &intf->eee; in bcmasp_get_eee()
382 struct ethtool_keee *p = &intf->eee; in bcmasp_set_eee()
399 intf->eee.tx_lpi_enabled = e->tx_lpi_enabled; in bcmasp_set_eee()
/linux-6.12.1/drivers/net/ethernet/microchip/
Dlan743x_ethtool.c1054 struct ethtool_keee *eee) in lan743x_ethtool_get_eee() argument
1058 eee->tx_lpi_timer = lan743x_csr_read(adapter, in lan743x_ethtool_get_eee()
1061 return phylink_ethtool_get_eee(adapter->phylink, eee); in lan743x_ethtool_get_eee()
1065 struct ethtool_keee *eee) in lan743x_ethtool_set_eee() argument
1071 if (tx_lpi_timer != eee->tx_lpi_timer) { in lan743x_ethtool_set_eee()
1081 eee->tx_lpi_timer); in lan743x_ethtool_set_eee()
1087 return phylink_ethtool_set_eee(adapter->phylink, eee); in lan743x_ethtool_set_eee()
/linux-6.12.1/drivers/net/ethernet/qlogic/qede/
Dqede_ethtool.c1794 current_link.eee.adv_caps & QED_EEE_1G_ADV); in qede_get_eee()
1797 current_link.eee.adv_caps & QED_EEE_10G_ADV); in qede_get_eee()
1808 current_link.eee.lp_adv_caps & QED_EEE_1G_ADV); in qede_get_eee()
1811 current_link.eee.lp_adv_caps & QED_EEE_10G_ADV); in qede_get_eee()
1813 edata->tx_lpi_timer = current_link.eee.tx_lpi_timer; in qede_get_eee()
1814 edata->eee_enabled = current_link.eee.enable; in qede_get_eee()
1815 edata->tx_lpi_enabled = current_link.eee.tx_lpi_enable; in qede_get_eee()
1861 params.eee.adv_caps = QED_EEE_1G_ADV; in qede_set_eee()
1864 params.eee.adv_caps = QED_EEE_10G_ADV; in qede_set_eee()
1866 params.eee.enable = edata->eee_enabled; in qede_set_eee()
[all …]
/linux-6.12.1/include/linux/
Dphylink.h629 int phylink_ethtool_get_eee(struct phylink *link, struct ethtool_keee *eee);
630 int phylink_ethtool_set_eee(struct phylink *link, struct ethtool_keee *eee);
/linux-6.12.1/drivers/net/ethernet/qlogic/qed/
Dqed_main.c1760 memcpy(&link_params->eee, &params->eee, in qed_set_link()
1761 sizeof(link_params->eee)); in qed_set_link()
2170 if_link->eee.adv_caps = link.eee_adv_caps ? link.eee_adv_caps : in qed_fill_link()
2171 params.eee.adv_caps; in qed_fill_link()
2172 if_link->eee.lp_adv_caps = link.eee_lp_adv_caps; in qed_fill_link()
2173 if_link->eee.enable = params.eee.enable; in qed_fill_link()
2174 if_link->eee.tx_lpi_enable = params.eee.tx_lpi_enable; in qed_fill_link()
2175 if_link->eee.tx_lpi_timer = params.eee.tx_lpi_timer; in qed_fill_link()
/linux-6.12.1/arch/arm64/boot/dts/amlogic/
Dmeson-gxl-s905d-p230.dts88 eee-broken-1000t;
/linux-6.12.1/arch/arm/boot/dts/ti/omap/
Dam335x-baltos.dtsi358 eee-broken-100tx;
359 eee-broken-1000t;
/linux-6.12.1/drivers/net/ethernet/broadcom/genet/
Dbcmmii.c96 priv->eee.eee_enabled && active, in bcmgenet_mac_config()
97 priv->eee.tx_lpi_enabled); in bcmgenet_mac_config()
/linux-6.12.1/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-common.c395 hw_feat->eee = XLGMAC_GET_REG_BITS(mac_hfr0, in xlgmac_get_all_hw_features()
537 pdata->hw_feat.eee ? "YES" : "NO"); in xlgmac_print_all_hw_features()

1234