Home
last modified time | relevance | path

Searched refs:modinfo (Results 1 – 25 of 37) sorted by relevance

12

/drivers/net/ethernet/mellanox/mlxsw/
Dcore_env.c196 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 …]
Dcore_env.h11 struct ethtool_modinfo *modinfo);
Dminimal.c96 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/
Dnfp_net_ethtool.c1218 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/
Dhns3_ethtool.c1434 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/
Dionic_ethtool.c787 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/
Dhinic_ethtool.c1708 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/
Dqt202x_phy.c451 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/
Dmcdi_port_common.c1053 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()
Dethtool_common.h62 struct ethtool_modinfo *modinfo);
Dmcdi_port_common.h59 int efx_mcdi_phy_get_module_info(struct efx_nic *efx, struct ethtool_modinfo *modinfo);
/drivers/net/phy/
Dsfp.h14 int (*module_info)(struct sfp *sfp, struct ethtool_modinfo *modinfo);
Dsfp-bus.c523 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()
Dsfp.c2258 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/
Den_ethtool.c2031 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/
Den_ethtool.c1680 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/
Dcxgb4_ethtool.c1989 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/
Dbe_ethtool.c1331 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/
Di40e_ethtool.c5170 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/
Dice_ethtool.c3849 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/
Dqede_ethtool.c1930 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/
Dxgbe.h895 struct ethtool_modinfo *modinfo);
922 struct ethtool_modinfo *modinfo);
Dxgbe-ethtool.c610 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/
DKconfig30 be changed by manufacturer. Use modinfo to get usage for
/drivers/scsi/esas2r/
Desas2r_ioctl.c1476 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()

12