Home
last modified time | relevance | path

Searched refs:tuna (Results 1 – 17 of 17) sorted by relevance

/Linux-v5.4/net/core/
Dethtool.c2263 static int ethtool_tunable_valid(const struct ethtool_tunable *tuna) in ethtool_tunable_valid() argument
2265 switch (tuna->id) { in ethtool_tunable_valid()
2268 if (tuna->len != sizeof(u32) || in ethtool_tunable_valid()
2269 tuna->type_id != ETHTOOL_TUNABLE_U32) in ethtool_tunable_valid()
2273 if (tuna->len != sizeof(u16) || in ethtool_tunable_valid()
2274 tuna->type_id != ETHTOOL_TUNABLE_U16) in ethtool_tunable_valid()
2287 struct ethtool_tunable tuna; in ethtool_get_tunable() local
2293 if (copy_from_user(&tuna, useraddr, sizeof(tuna))) in ethtool_get_tunable()
2295 ret = ethtool_tunable_valid(&tuna); in ethtool_get_tunable()
2298 data = kmalloc(tuna.len, GFP_USER); in ethtool_get_tunable()
[all …]
/Linux-v5.4/drivers/net/phy/
Dbcm-cygnus.c186 struct ethtool_tunable *tuna, void *data) in bcm_omega_get_tunable() argument
188 switch (tuna->id) { in bcm_omega_get_tunable()
197 struct ethtool_tunable *tuna, in bcm_omega_set_tunable() argument
203 switch (tuna->id) { in bcm_omega_set_tunable()
Dbcm7xxx.c469 struct ethtool_tunable *tuna, in bcm7xxx_28nm_get_tunable() argument
472 switch (tuna->id) { in bcm7xxx_28nm_get_tunable()
481 struct ethtool_tunable *tuna, in bcm7xxx_28nm_set_tunable() argument
487 switch (tuna->id) { in bcm7xxx_28nm_set_tunable()
Daquantia_main.c422 struct ethtool_tunable *tuna, void *data) in aqr107_get_tunable() argument
424 switch (tuna->id) { in aqr107_get_tunable()
433 struct ethtool_tunable *tuna, const void *data) in aqr107_set_tunable() argument
435 switch (tuna->id) { in aqr107_set_tunable()
Dadin.c385 struct ethtool_tunable *tuna, void *data) in adin_get_tunable() argument
387 switch (tuna->id) { in adin_get_tunable()
398 struct ethtool_tunable *tuna, const void *data) in adin_set_tunable() argument
400 switch (tuna->id) { in adin_set_tunable()
Dmarvell.c1115 struct ethtool_tunable *tuna, void *data) in m88e1540_get_tunable() argument
1117 switch (tuna->id) { in m88e1540_get_tunable()
1126 struct ethtool_tunable *tuna, const void *data) in m88e1540_set_tunable() argument
1128 switch (tuna->id) { in m88e1540_set_tunable()
Dmscc.c865 struct ethtool_tunable *tuna, void *data) in vsc85xx_get_tunable() argument
867 switch (tuna->id) { in vsc85xx_get_tunable()
876 struct ethtool_tunable *tuna, in vsc85xx_set_tunable() argument
879 switch (tuna->id) { in vsc85xx_set_tunable()
/Linux-v5.4/drivers/net/ethernet/cisco/enic/
Denic_ethtool.c558 const struct ethtool_tunable *tuna, void *data) in enic_get_tunable() argument
563 switch (tuna->id) { in enic_get_tunable()
576 const struct ethtool_tunable *tuna, in enic_set_tunable() argument
582 switch (tuna->id) { in enic_set_tunable()
/Linux-v5.4/drivers/net/ethernet/pensando/ionic/
Dionic_ethtool.c626 const struct ethtool_tunable *tuna, in ionic_set_tunable() argument
631 switch (tuna->id) { in ionic_set_tunable()
643 const struct ethtool_tunable *tuna, void *data) in ionic_get_tunable() argument
647 switch (tuna->id) { in ionic_get_tunable()
/Linux-v5.4/drivers/net/ethernet/amazon/ena/
Dena_ethtool.c748 const struct ethtool_tunable *tuna, void *data) in ena_get_tunable() argument
753 switch (tuna->id) { in ena_get_tunable()
766 const struct ethtool_tunable *tuna, in ena_set_tunable() argument
773 switch (tuna->id) { in ena_set_tunable()
/Linux-v5.4/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ethtool.c880 const struct ethtool_tunable *tuna, void *data) in stmmac_get_tunable() argument
885 switch (tuna->id) { in stmmac_get_tunable()
898 const struct ethtool_tunable *tuna, in stmmac_set_tunable() argument
904 switch (tuna->id) { in stmmac_set_tunable()
/Linux-v5.4/drivers/net/ethernet/freescale/fs_enet/
Dfs_enet-main.c833 const struct ethtool_tunable *tuna, void *data) in fs_get_tunable() argument
839 switch (tuna->id) { in fs_get_tunable()
852 const struct ethtool_tunable *tuna, const void *data) in fs_set_tunable() argument
858 switch (tuna->id) { in fs_set_tunable()
/Linux-v5.4/include/linux/
Dphy.h626 struct ethtool_tunable *tuna, void *data);
628 struct ethtool_tunable *tuna,
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den_ethtool.c1282 const struct ethtool_tunable *tuna, in mlx5e_get_tunable() argument
1287 switch (tuna->id) { in mlx5e_get_tunable()
1300 const struct ethtool_tunable *tuna, in mlx5e_set_tunable() argument
1308 switch (tuna->id) { in mlx5e_set_tunable()
/Linux-v5.4/drivers/net/ethernet/qlogic/qede/
Dqede_ethtool.c1770 const struct ethtool_tunable *tuna, in qede_set_tunable() argument
1776 switch (tuna->id) { in qede_set_tunable()
1796 const struct ethtool_tunable *tuna, void *data) in qede_get_tunable() argument
1800 switch (tuna->id) { in qede_get_tunable()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c1973 const struct ethtool_tunable *tuna, in mlx4_en_get_tunable() argument
1979 switch (tuna->id) { in mlx4_en_get_tunable()
1992 const struct ethtool_tunable *tuna, in mlx4_en_set_tunable() argument
1998 switch (tuna->id) { in mlx4_en_set_tunable()
/Linux-v5.4/drivers/net/ethernet/freescale/
Dfec_main.c2560 const struct ethtool_tunable *tuna, in fec_enet_get_tunable() argument
2566 switch (tuna->id) { in fec_enet_get_tunable()
2579 const struct ethtool_tunable *tuna, in fec_enet_set_tunable() argument
2585 switch (tuna->id) { in fec_enet_set_tunable()