/kernel/linux/linux-5.10/net/ethtool/ |
H A D | ioctl.c | 2358 static int ethtool_tunable_valid(const struct ethtool_tunable *tuna) in ethtool_tunable_valid() argument 2360 switch (tuna->id) { in ethtool_tunable_valid() 2363 if (tuna->len != sizeof(u32) || in ethtool_tunable_valid() 2364 tuna->type_id != ETHTOOL_TUNABLE_U32) in ethtool_tunable_valid() 2368 if (tuna->len != sizeof(u16) || in ethtool_tunable_valid() 2369 tuna->type_id != ETHTOOL_TUNABLE_U16) in ethtool_tunable_valid() 2382 struct ethtool_tunable tuna; in ethtool_get_tunable() local 2388 if (copy_from_user(&tuna, useraddr, sizeof(tuna))) in ethtool_get_tunable() 2390 ret = ethtool_tunable_valid(&tuna); in ethtool_get_tunable() 2413 struct ethtool_tunable tuna; ethtool_set_tunable() local 2548 ethtool_phy_tunable_valid(const struct ethtool_tunable *tuna) ethtool_phy_tunable_valid() argument 2572 struct ethtool_tunable tuna; get_phy_tunable() local 2611 struct ethtool_tunable tuna; set_phy_tunable() local [all...] |
/kernel/linux/linux-6.6/net/ethtool/ |
H A D | ioctl.c | 2443 static int ethtool_tunable_valid(const struct ethtool_tunable *tuna) in ethtool_tunable_valid() argument 2445 switch (tuna->id) { in ethtool_tunable_valid() 2449 if (tuna->len != sizeof(u32) || in ethtool_tunable_valid() 2450 tuna->type_id != ETHTOOL_TUNABLE_U32) in ethtool_tunable_valid() 2454 if (tuna->len != sizeof(u16) || in ethtool_tunable_valid() 2455 tuna->type_id != ETHTOOL_TUNABLE_U16) in ethtool_tunable_valid() 2468 struct ethtool_tunable tuna; in ethtool_get_tunable() local 2474 if (copy_from_user(&tuna, useraddr, sizeof(tuna))) in ethtool_get_tunable() 2476 ret = ethtool_tunable_valid(&tuna); in ethtool_get_tunable() 2499 struct ethtool_tunable tuna; ethtool_set_tunable() local 2634 ethtool_phy_tunable_valid(const struct ethtool_tunable *tuna) ethtool_phy_tunable_valid() argument 2658 struct ethtool_tunable tuna; get_phy_tunable() local 2697 struct ethtool_tunable tuna; set_phy_tunable() local [all...] |
/kernel/linux/linux-5.10/drivers/net/phy/ |
H A D | bcm-cygnus.c | 186 struct ethtool_tunable *tuna, void *data) in bcm_omega_get_tunable() 188 switch (tuna->id) { in bcm_omega_get_tunable() 197 struct ethtool_tunable *tuna, in bcm_omega_set_tunable() 203 switch (tuna->id) { in bcm_omega_set_tunable() 185 bcm_omega_get_tunable(struct phy_device *phydev, struct ethtool_tunable *tuna, void *data) bcm_omega_get_tunable() argument 196 bcm_omega_set_tunable(struct phy_device *phydev, struct ethtool_tunable *tuna, const void *data) bcm_omega_set_tunable() argument
|
H A D | bcm7xxx.c | 579 struct ethtool_tunable *tuna, in bcm7xxx_28nm_get_tunable() 582 switch (tuna->id) { in bcm7xxx_28nm_get_tunable() 591 struct ethtool_tunable *tuna, in bcm7xxx_28nm_set_tunable() 597 switch (tuna->id) { in bcm7xxx_28nm_set_tunable() 578 bcm7xxx_28nm_get_tunable(struct phy_device *phydev, struct ethtool_tunable *tuna, void *data) bcm7xxx_28nm_get_tunable() argument 590 bcm7xxx_28nm_set_tunable(struct phy_device *phydev, struct ethtool_tunable *tuna, const void *data) bcm7xxx_28nm_set_tunable() argument
|
H A D | marvell.c | 891 struct ethtool_tunable *tuna, void *data) in m88e1111_get_tunable() 893 switch (tuna->id) { in m88e1111_get_tunable() 902 struct ethtool_tunable *tuna, const void *data) in m88e1111_set_tunable() 904 switch (tuna->id) { in m88e1111_set_tunable() 955 struct ethtool_tunable *tuna, void *data) in m88e1011_get_tunable() 957 switch (tuna->id) { in m88e1011_get_tunable() 966 struct ethtool_tunable *tuna, const void *data) in m88e1011_set_tunable() 968 switch (tuna->id) { in m88e1011_set_tunable() 1295 struct ethtool_tunable *tuna, void *data) in m88e1540_get_tunable() 1297 switch (tuna in m88e1540_get_tunable() 890 m88e1111_get_tunable(struct phy_device *phydev, struct ethtool_tunable *tuna, void *data) m88e1111_get_tunable() argument 901 m88e1111_set_tunable(struct phy_device *phydev, struct ethtool_tunable *tuna, const void *data) m88e1111_set_tunable() argument 954 m88e1011_get_tunable(struct phy_device *phydev, struct ethtool_tunable *tuna, void *data) m88e1011_get_tunable() argument 965 m88e1011_set_tunable(struct phy_device *phydev, struct ethtool_tunable *tuna, const void *data) m88e1011_set_tunable() argument 1294 m88e1540_get_tunable(struct phy_device *phydev, struct ethtool_tunable *tuna, void *data) m88e1540_get_tunable() argument 1307 m88e1540_set_tunable(struct phy_device *phydev, struct ethtool_tunable *tuna, const void *data) m88e1540_set_tunable() argument [all...] |
H A D | adin.c | 385 struct ethtool_tunable *tuna, void *data) in adin_get_tunable() 387 switch (tuna->id) { in adin_get_tunable() 398 struct ethtool_tunable *tuna, const void *data) in adin_set_tunable() 400 switch (tuna->id) { in adin_set_tunable() 384 adin_get_tunable(struct phy_device *phydev, struct ethtool_tunable *tuna, void *data) adin_get_tunable() argument 397 adin_set_tunable(struct phy_device *phydev, struct ethtool_tunable *tuna, const void *data) adin_set_tunable() argument
|
H A D | marvell10g.c | 754 struct ethtool_tunable *tuna, void *data) in mv3310_get_tunable() 756 switch (tuna->id) { in mv3310_get_tunable() 765 struct ethtool_tunable *tuna, const void *data) in mv3310_set_tunable() 767 switch (tuna->id) { in mv3310_set_tunable() 753 mv3310_get_tunable(struct phy_device *phydev, struct ethtool_tunable *tuna, void *data) mv3310_get_tunable() argument 764 mv3310_set_tunable(struct phy_device *phydev, struct ethtool_tunable *tuna, const void *data) mv3310_set_tunable() argument
|
H A D | bcm54140.c | 804 struct ethtool_tunable *tuna, void *data) in bcm54140_get_tunable() 806 switch (tuna->id) { in bcm54140_get_tunable() 817 struct ethtool_tunable *tuna, const void *data) in bcm54140_set_tunable() 819 switch (tuna->id) { in bcm54140_set_tunable() 803 bcm54140_get_tunable(struct phy_device *phydev, struct ethtool_tunable *tuna, void *data) bcm54140_get_tunable() argument 816 bcm54140_set_tunable(struct phy_device *phydev, struct ethtool_tunable *tuna, const void *data) bcm54140_set_tunable() argument
|
H A D | dp83867.c | 414 struct ethtool_tunable *tuna, void *data) in dp83867_get_tunable() 416 switch (tuna->id) { in dp83867_get_tunable() 425 struct ethtool_tunable *tuna, const void *data) in dp83867_set_tunable() 427 switch (tuna->id) { in dp83867_set_tunable() 413 dp83867_get_tunable(struct phy_device *phydev, struct ethtool_tunable *tuna, void *data) dp83867_get_tunable() argument 424 dp83867_set_tunable(struct phy_device *phydev, struct ethtool_tunable *tuna, const void *data) dp83867_set_tunable() argument
|
H A D | dp83869.c | 439 struct ethtool_tunable *tuna, void *data) in dp83869_get_tunable() 441 switch (tuna->id) { in dp83869_get_tunable() 450 struct ethtool_tunable *tuna, const void *data) in dp83869_set_tunable() 452 switch (tuna->id) { in dp83869_set_tunable() 438 dp83869_get_tunable(struct phy_device *phydev, struct ethtool_tunable *tuna, void *data) dp83869_get_tunable() argument 449 dp83869_set_tunable(struct phy_device *phydev, struct ethtool_tunable *tuna, const void *data) dp83869_set_tunable() argument
|
H A D | aquantia_main.c | 429 struct ethtool_tunable *tuna, void *data) in aqr107_get_tunable() 431 switch (tuna->id) { in aqr107_get_tunable() 440 struct ethtool_tunable *tuna, const void *data) in aqr107_set_tunable() 442 switch (tuna->id) { in aqr107_set_tunable() 428 aqr107_get_tunable(struct phy_device *phydev, struct ethtool_tunable *tuna, void *data) aqr107_get_tunable() argument 439 aqr107_set_tunable(struct phy_device *phydev, struct ethtool_tunable *tuna, const void *data) aqr107_set_tunable() argument
|
/kernel/linux/linux-6.6/drivers/net/phy/ |
H A D | bcm-cygnus.c | 186 struct ethtool_tunable *tuna, void *data) in bcm_omega_get_tunable() 188 switch (tuna->id) { in bcm_omega_get_tunable() 197 struct ethtool_tunable *tuna, in bcm_omega_set_tunable() 203 switch (tuna->id) { in bcm_omega_set_tunable() 185 bcm_omega_get_tunable(struct phy_device *phydev, struct ethtool_tunable *tuna, void *data) bcm_omega_get_tunable() argument 196 bcm_omega_set_tunable(struct phy_device *phydev, struct ethtool_tunable *tuna, const void *data) bcm_omega_set_tunable() argument
|
H A D | bcm54140.c | 831 struct ethtool_tunable *tuna, void *data) in bcm54140_get_tunable() 833 switch (tuna->id) { in bcm54140_get_tunable() 844 struct ethtool_tunable *tuna, const void *data) in bcm54140_set_tunable() 846 switch (tuna->id) { in bcm54140_set_tunable() 830 bcm54140_get_tunable(struct phy_device *phydev, struct ethtool_tunable *tuna, void *data) bcm54140_get_tunable() argument 843 bcm54140_set_tunable(struct phy_device *phydev, struct ethtool_tunable *tuna, const void *data) bcm54140_set_tunable() argument
|
H A D | bcm7xxx.c | 762 struct ethtool_tunable *tuna, in bcm7xxx_28nm_get_tunable() 765 switch (tuna->id) { in bcm7xxx_28nm_get_tunable() 774 struct ethtool_tunable *tuna, in bcm7xxx_28nm_set_tunable() 780 switch (tuna->id) { in bcm7xxx_28nm_set_tunable() 761 bcm7xxx_28nm_get_tunable(struct phy_device *phydev, struct ethtool_tunable *tuna, void *data) bcm7xxx_28nm_get_tunable() argument 773 bcm7xxx_28nm_set_tunable(struct phy_device *phydev, struct ethtool_tunable *tuna, const void *data) bcm7xxx_28nm_set_tunable() argument
|
H A D | dp83869.c | 474 struct ethtool_tunable *tuna, void *data) in dp83869_get_tunable() 476 switch (tuna->id) { in dp83869_get_tunable() 485 struct ethtool_tunable *tuna, const void *data) in dp83869_set_tunable() 487 switch (tuna->id) { in dp83869_set_tunable() 473 dp83869_get_tunable(struct phy_device *phydev, struct ethtool_tunable *tuna, void *data) dp83869_get_tunable() argument 484 dp83869_set_tunable(struct phy_device *phydev, struct ethtool_tunable *tuna, const void *data) dp83869_set_tunable() argument
|
H A D | aquantia_main.c | 503 struct ethtool_tunable *tuna, void *data) in aqr107_get_tunable() 505 switch (tuna->id) { in aqr107_get_tunable() 514 struct ethtool_tunable *tuna, const void *data) in aqr107_set_tunable() 516 switch (tuna->id) { in aqr107_set_tunable() 502 aqr107_get_tunable(struct phy_device *phydev, struct ethtool_tunable *tuna, void *data) aqr107_get_tunable() argument 513 aqr107_set_tunable(struct phy_device *phydev, struct ethtool_tunable *tuna, const void *data) aqr107_set_tunable() argument
|
H A D | adin.c | 420 struct ethtool_tunable *tuna, void *data) in adin_get_tunable() 422 switch (tuna->id) { in adin_get_tunable() 433 struct ethtool_tunable *tuna, const void *data) in adin_set_tunable() 435 switch (tuna->id) { in adin_set_tunable() 419 adin_get_tunable(struct phy_device *phydev, struct ethtool_tunable *tuna, void *data) adin_get_tunable() argument 432 adin_set_tunable(struct phy_device *phydev, struct ethtool_tunable *tuna, const void *data) adin_set_tunable() argument
|
H A D | smsc.c | 590 struct ethtool_tunable *tuna, void *data) in smsc_phy_get_tunable() 592 switch (tuna->id) { in smsc_phy_get_tunable() 602 struct ethtool_tunable *tuna, const void *data) in smsc_phy_set_tunable() 604 switch (tuna->id) { in smsc_phy_set_tunable() 589 smsc_phy_get_tunable(struct phy_device *phydev, struct ethtool_tunable *tuna, void *data) smsc_phy_get_tunable() argument 601 smsc_phy_set_tunable(struct phy_device *phydev, struct ethtool_tunable *tuna, const void *data) smsc_phy_set_tunable() argument
|
H A D | marvell.c | 1028 struct ethtool_tunable *tuna, void *data) in m88e1111_get_tunable() 1030 switch (tuna->id) { in m88e1111_get_tunable() 1039 struct ethtool_tunable *tuna, const void *data) in m88e1111_set_tunable() 1041 switch (tuna->id) { in m88e1111_set_tunable() 1092 struct ethtool_tunable *tuna, void *data) in m88e1011_get_tunable() 1094 switch (tuna->id) { in m88e1011_get_tunable() 1103 struct ethtool_tunable *tuna, const void *data) in m88e1011_set_tunable() 1105 switch (tuna->id) { in m88e1011_set_tunable() 1501 struct ethtool_tunable *tuna, void *data) in m88e1540_get_tunable() 1503 switch (tuna in m88e1540_get_tunable() 1027 m88e1111_get_tunable(struct phy_device *phydev, struct ethtool_tunable *tuna, void *data) m88e1111_get_tunable() argument 1038 m88e1111_set_tunable(struct phy_device *phydev, struct ethtool_tunable *tuna, const void *data) m88e1111_set_tunable() argument 1091 m88e1011_get_tunable(struct phy_device *phydev, struct ethtool_tunable *tuna, void *data) m88e1011_get_tunable() argument 1102 m88e1011_set_tunable(struct phy_device *phydev, struct ethtool_tunable *tuna, const void *data) m88e1011_set_tunable() argument 1500 m88e1540_get_tunable(struct phy_device *phydev, struct ethtool_tunable *tuna, void *data) m88e1540_get_tunable() argument 1513 m88e1540_set_tunable(struct phy_device *phydev, struct ethtool_tunable *tuna, const void *data) m88e1540_set_tunable() argument [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | smscphy.h | 36 struct ethtool_tunable *tuna, void *data); 38 struct ethtool_tunable *tuna, const void *data);
|
/kernel/linux/linux-5.10/drivers/s390/net/ |
H A D | qeth_ethtool.c | 258 const struct ethtool_tunable *tuna, void *data) in qeth_get_tunable() 262 switch (tuna->id) { in qeth_get_tunable() 272 const struct ethtool_tunable *tuna, in qeth_set_tunable() 277 switch (tuna->id) { in qeth_set_tunable() 257 qeth_get_tunable(struct net_device *dev, const struct ethtool_tunable *tuna, void *data) qeth_get_tunable() argument 271 qeth_set_tunable(struct net_device *dev, const struct ethtool_tunable *tuna, const void *data) qeth_set_tunable() argument
|
/kernel/linux/linux-6.6/drivers/s390/net/ |
H A D | qeth_ethtool.c | 261 const struct ethtool_tunable *tuna, void *data) in qeth_get_tunable() 265 switch (tuna->id) { in qeth_get_tunable() 275 const struct ethtool_tunable *tuna, in qeth_set_tunable() 280 switch (tuna->id) { in qeth_set_tunable() 260 qeth_get_tunable(struct net_device *dev, const struct ethtool_tunable *tuna, void *data) qeth_get_tunable() argument 274 qeth_set_tunable(struct net_device *dev, const struct ethtool_tunable *tuna, const void *data) qeth_set_tunable() argument
|
/kernel/linux/linux-5.10/drivers/net/ethernet/cisco/enic/ |
H A D | enic_ethtool.c | 537 const struct ethtool_tunable *tuna, void *data) in enic_get_tunable() 542 switch (tuna->id) { in enic_get_tunable() 555 const struct ethtool_tunable *tuna, in enic_set_tunable() 561 switch (tuna->id) { in enic_set_tunable() 536 enic_get_tunable(struct net_device *dev, const struct ethtool_tunable *tuna, void *data) enic_get_tunable() argument 554 enic_set_tunable(struct net_device *dev, const struct ethtool_tunable *tuna, const void *data) enic_set_tunable() argument
|
/kernel/linux/linux-6.6/drivers/net/ethernet/cisco/enic/ |
H A D | enic_ethtool.c | 530 const struct ethtool_tunable *tuna, void *data) in enic_get_tunable() 535 switch (tuna->id) { in enic_get_tunable() 548 const struct ethtool_tunable *tuna, in enic_set_tunable() 554 switch (tuna->id) { in enic_set_tunable() 529 enic_get_tunable(struct net_device *dev, const struct ethtool_tunable *tuna, void *data) enic_get_tunable() argument 547 enic_set_tunable(struct net_device *dev, const struct ethtool_tunable *tuna, const void *data) enic_set_tunable() argument
|
/kernel/linux/linux-5.10/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_ethtool.c | 754 const struct ethtool_tunable *tuna, in ionic_set_tunable() 759 switch (tuna->id) { in ionic_set_tunable() 771 const struct ethtool_tunable *tuna, void *data) in ionic_get_tunable() 775 switch (tuna->id) { in ionic_get_tunable() 753 ionic_set_tunable(struct net_device *dev, const struct ethtool_tunable *tuna, const void *data) ionic_set_tunable() argument 770 ionic_get_tunable(struct net_device *netdev, const struct ethtool_tunable *tuna, void *data) ionic_get_tunable() argument
|