/drivers/net/ethernet/mellanox/mlxsw/ |
D | core_env.c | 196 struct ethtool_modinfo *modinfo) in mlxsw_env_get_module_info() argument 217 modinfo->type = ETH_MODULE_SFF_8436; in mlxsw_env_get_module_info() 218 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in mlxsw_env_get_module_info() 225 modinfo->type = ETH_MODULE_SFF_8636; in mlxsw_env_get_module_info() 226 modinfo->eeprom_len = ETH_MODULE_SFF_8636_MAX_LEN; in mlxsw_env_get_module_info() 228 modinfo->type = ETH_MODULE_SFF_8436; in mlxsw_env_get_module_info() 229 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in mlxsw_env_get_module_info() 243 modinfo->type = ETH_MODULE_SFF_8472; in mlxsw_env_get_module_info() 245 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in mlxsw_env_get_module_info() 247 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN / 2; in mlxsw_env_get_module_info() [all …]
|
D | core_env.h | 11 struct ethtool_modinfo *modinfo);
|
D | minimal.c | 96 struct ethtool_modinfo *modinfo) in mlxsw_m_get_module_info() argument 101 return mlxsw_env_get_module_info(core, mlxsw_m_port->module, modinfo); in mlxsw_m_get_module_info()
|
/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_ethtool.c | 1218 struct ethtool_modinfo *modinfo) in nfp_port_get_module_info() argument 1260 modinfo->type = ETH_MODULE_SFF_8079; in nfp_port_get_module_info() 1261 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in nfp_port_get_module_info() 1263 modinfo->type = ETH_MODULE_SFF_8472; in nfp_port_get_module_info() 1264 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in nfp_port_get_module_info() 1275 modinfo->type = ETH_MODULE_SFF_8436; in nfp_port_get_module_info() 1276 modinfo->eeprom_len = ETH_MODULE_SFF_8436_LEN; in nfp_port_get_module_info() 1278 modinfo->type = ETH_MODULE_SFF_8636; in nfp_port_get_module_info() 1279 modinfo->eeprom_len = ETH_MODULE_SFF_8636_LEN; in nfp_port_get_module_info() 1283 modinfo->type = ETH_MODULE_SFF_8636; in nfp_port_get_module_info() [all …]
|
/drivers/net/ethernet/hisilicon/hns3/ |
D | hns3_ethtool.c | 1434 struct ethtool_modinfo *modinfo) in hns3_get_module_info() argument 1456 modinfo->type = ETH_MODULE_SFF_8472; in hns3_get_module_info() 1457 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in hns3_get_module_info() 1460 modinfo->type = ETH_MODULE_SFF_8436; in hns3_get_module_info() 1461 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in hns3_get_module_info() 1465 modinfo->type = ETH_MODULE_SFF_8436; in hns3_get_module_info() 1466 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in hns3_get_module_info() 1468 modinfo->type = ETH_MODULE_SFF_8636; in hns3_get_module_info() 1469 modinfo->eeprom_len = ETH_MODULE_SFF_8636_MAX_LEN; in hns3_get_module_info() 1473 modinfo->type = ETH_MODULE_SFF_8636; in hns3_get_module_info() [all …]
|
/drivers/net/ethernet/pensando/ionic/ |
D | ionic_ethtool.c | 787 struct ethtool_modinfo *modinfo) in ionic_get_module_info() argument 801 modinfo->type = ETH_MODULE_SFF_8079; in ionic_get_module_info() 802 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in ionic_get_module_info() 806 modinfo->type = ETH_MODULE_SFF_8436; in ionic_get_module_info() 807 modinfo->eeprom_len = ETH_MODULE_SFF_8436_LEN; in ionic_get_module_info() 812 modinfo->type = 0; in ionic_get_module_info() 813 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in ionic_get_module_info()
|
/drivers/net/ethernet/huawei/hinic/ |
D | hinic_ethtool.c | 1708 struct ethtool_modinfo *modinfo) in hinic_get_module_info() argument 1721 modinfo->type = ETH_MODULE_SFF_8472; in hinic_get_module_info() 1722 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in hinic_get_module_info() 1725 modinfo->type = ETH_MODULE_SFF_8436; in hinic_get_module_info() 1726 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in hinic_get_module_info() 1730 modinfo->type = ETH_MODULE_SFF_8636; in hinic_get_module_info() 1731 modinfo->eeprom_len = ETH_MODULE_SFF_8636_MAX_LEN; in hinic_get_module_info() 1734 modinfo->type = ETH_MODULE_SFF_8436; in hinic_get_module_info() 1735 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in hinic_get_module_info() 1739 modinfo->type = ETH_MODULE_SFF_8636; in hinic_get_module_info() [all …]
|
/drivers/net/ethernet/sfc/falcon/ |
D | qt202x_phy.c | 451 struct ethtool_modinfo *modinfo) in qt202x_phy_get_module_info() argument 453 modinfo->type = ETH_MODULE_SFF_8079; in qt202x_phy_get_module_info() 454 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in qt202x_phy_get_module_info()
|
/drivers/net/ethernet/sfc/ |
D | mcdi_port_common.c | 1053 int efx_mcdi_phy_get_module_info(struct efx_nic *efx, struct ethtool_modinfo *modinfo) in efx_mcdi_phy_get_module_info() argument 1073 modinfo->type = ETH_MODULE_SFF_8079; in efx_mcdi_phy_get_module_info() 1074 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in efx_mcdi_phy_get_module_info() 1076 modinfo->type = ETH_MODULE_SFF_8472; in efx_mcdi_phy_get_module_info() 1077 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in efx_mcdi_phy_get_module_info() 1082 modinfo->type = ETH_MODULE_SFF_8436; in efx_mcdi_phy_get_module_info() 1083 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in efx_mcdi_phy_get_module_info()
|
D | ethtool_common.h | 62 struct ethtool_modinfo *modinfo);
|
D | mcdi_port_common.h | 59 int efx_mcdi_phy_get_module_info(struct efx_nic *efx, struct ethtool_modinfo *modinfo);
|
/drivers/net/phy/ |
D | sfp.h | 14 int (*module_info)(struct sfp *sfp, struct ethtool_modinfo *modinfo);
|
D | sfp-bus.c | 523 int sfp_get_module_info(struct sfp_bus *bus, struct ethtool_modinfo *modinfo) in sfp_get_module_info() argument 525 return bus->socket_ops->module_info(bus->sfp, modinfo); in sfp_get_module_info()
|
D | sfp.c | 2258 static int sfp_module_info(struct sfp *sfp, struct ethtool_modinfo *modinfo) in sfp_module_info() argument 2264 modinfo->type = ETH_MODULE_SFF_8472; in sfp_module_info() 2265 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in sfp_module_info() 2267 modinfo->type = ETH_MODULE_SFF_8079; in sfp_module_info() 2268 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in sfp_module_info()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | en_ethtool.c | 2031 struct ethtool_modinfo *modinfo) in mlx4_en_get_module_info() argument 2046 modinfo->type = ETH_MODULE_SFF_8436; in mlx4_en_get_module_info() 2047 modinfo->eeprom_len = ETH_MODULE_SFF_8436_LEN; in mlx4_en_get_module_info() 2051 modinfo->type = ETH_MODULE_SFF_8636; in mlx4_en_get_module_info() 2052 modinfo->eeprom_len = ETH_MODULE_SFF_8636_LEN; in mlx4_en_get_module_info() 2054 modinfo->type = ETH_MODULE_SFF_8436; in mlx4_en_get_module_info() 2055 modinfo->eeprom_len = ETH_MODULE_SFF_8436_LEN; in mlx4_en_get_module_info() 2059 modinfo->type = ETH_MODULE_SFF_8636; in mlx4_en_get_module_info() 2060 modinfo->eeprom_len = ETH_MODULE_SFF_8636_LEN; in mlx4_en_get_module_info() 2063 modinfo->type = ETH_MODULE_SFF_8472; in mlx4_en_get_module_info() [all …]
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_ethtool.c | 1680 struct ethtool_modinfo *modinfo) in mlx5e_get_module_info() argument 1694 modinfo->type = ETH_MODULE_SFF_8436; in mlx5e_get_module_info() 1695 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in mlx5e_get_module_info() 1701 modinfo->type = ETH_MODULE_SFF_8636; in mlx5e_get_module_info() 1702 modinfo->eeprom_len = ETH_MODULE_SFF_8636_MAX_LEN; in mlx5e_get_module_info() 1704 modinfo->type = ETH_MODULE_SFF_8436; in mlx5e_get_module_info() 1705 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in mlx5e_get_module_info() 1709 modinfo->type = ETH_MODULE_SFF_8472; in mlx5e_get_module_info() 1710 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in mlx5e_get_module_info()
|
/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_ethtool.c | 1989 struct ethtool_modinfo *modinfo) in cxgb4_get_module_info() argument 2015 modinfo->type = ETH_MODULE_SFF_8079; in cxgb4_get_module_info() 2016 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in cxgb4_get_module_info() 2018 modinfo->type = ETH_MODULE_SFF_8472; in cxgb4_get_module_info() 2020 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in cxgb4_get_module_info() 2022 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN / 2; in cxgb4_get_module_info() 2040 modinfo->type = ETH_MODULE_SFF_8636; in cxgb4_get_module_info() 2041 modinfo->eeprom_len = ETH_MODULE_SFF_8636_LEN; in cxgb4_get_module_info() 2043 modinfo->type = ETH_MODULE_SFF_8436; in cxgb4_get_module_info() 2044 modinfo->eeprom_len = ETH_MODULE_SFF_8436_LEN; in cxgb4_get_module_info()
|
/drivers/net/ethernet/emulex/benet/ |
D | be_ethtool.c | 1331 struct ethtool_modinfo *modinfo) in be_get_module_info() argument 1344 modinfo->type = ETH_MODULE_SFF_8079; in be_get_module_info() 1345 modinfo->eeprom_len = PAGE_DATA_LEN; in be_get_module_info() 1347 modinfo->type = ETH_MODULE_SFF_8472; in be_get_module_info() 1348 modinfo->eeprom_len = 2 * PAGE_DATA_LEN; in be_get_module_info()
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_ethtool.c | 5170 struct ethtool_modinfo *modinfo) in i40e_get_module_info() argument 5222 modinfo->type = ETH_MODULE_SFF_8079; in i40e_get_module_info() 5223 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in i40e_get_module_info() 5226 modinfo->type = ETH_MODULE_SFF_8079; in i40e_get_module_info() 5227 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in i40e_get_module_info() 5232 modinfo->type = ETH_MODULE_SFF_8079; in i40e_get_module_info() 5233 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in i40e_get_module_info() 5235 modinfo->type = ETH_MODULE_SFF_8472; in i40e_get_module_info() 5236 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in i40e_get_module_info() 5251 modinfo->type = ETH_MODULE_SFF_8636; in i40e_get_module_info() [all …]
|
/drivers/net/ethernet/intel/ice/ |
D | ice_ethtool.c | 3849 struct ethtool_modinfo *modinfo) in ice_get_module_info() argument 3880 modinfo->type = ETH_MODULE_SFF_8079; in ice_get_module_info() 3881 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in ice_get_module_info() 3884 modinfo->type = ETH_MODULE_SFF_8472; in ice_get_module_info() 3885 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in ice_get_module_info() 3887 modinfo->type = ETH_MODULE_SFF_8079; in ice_get_module_info() 3888 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in ice_get_module_info() 3901 modinfo->type = ETH_MODULE_SFF_8636; in ice_get_module_info() 3902 modinfo->eeprom_len = ICE_MODULE_QSFP_MAX_LEN; in ice_get_module_info() 3904 modinfo->type = ETH_MODULE_SFF_8436; in ice_get_module_info() [all …]
|
/drivers/net/ethernet/qlogic/qede/ |
D | qede_ethtool.c | 1930 struct ethtool_modinfo *modinfo) in qede_get_module_info() argument 1946 modinfo->type = ETH_MODULE_SFF_8472; in qede_get_module_info() 1947 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in qede_get_module_info() 1951 modinfo->type = ETH_MODULE_SFF_8436; in qede_get_module_info() 1952 modinfo->eeprom_len = ETH_MODULE_SFF_8436_LEN; in qede_get_module_info() 1955 modinfo->type = ETH_MODULE_SFF_8636; in qede_get_module_info() 1956 modinfo->eeprom_len = ETH_MODULE_SFF_8636_LEN; in qede_get_module_info()
|
/drivers/net/ethernet/amd/xgbe/ |
D | xgbe.h | 895 struct ethtool_modinfo *modinfo); 922 struct ethtool_modinfo *modinfo);
|
D | xgbe-ethtool.c | 610 struct ethtool_modinfo *modinfo) in xgbe_get_module_info() argument 614 return pdata->phy_if.module_info(pdata, modinfo); in xgbe_get_module_info()
|
/drivers/net/can/sja1000/ |
D | Kconfig | 30 be changed by manufacturer. Use modinfo to get usage for
|
/drivers/scsi/esas2r/ |
D | esas2r_ioctl.c | 1476 ioctl->data.modinfo.adapter = a; in esas2r_ioctl_handler() 1477 ioctl->data.modinfo.pci_dev = a->pcid; in esas2r_ioctl_handler() 1478 ioctl->data.modinfo.scsi_host = a->host; in esas2r_ioctl_handler() 1479 ioctl->data.modinfo.host_no = a->host->host_no; in esas2r_ioctl_handler()
|