Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/tools/testing/selftests/vm/
Dtest_vmalloc.sh42 if ! modinfo $DRIVER > /dev/null 2>&1; then
88 modinfo $DRIVER
118 VALID_ARGS=`modinfo $DRIVER | awk '/parm:/ {print $2}' | sed 's/:.*//'`
Dtest_hmm.sh34 if ! modinfo $DRIVER > /dev/null 2>&1; then
/kernel/linux/linux-5.10/scripts/
Dlink-vmlinux.sh342 info MODINFO modules.builtin.modinfo
343 ${OBJCOPY} -j .modinfo -O binary vmlinux.o modules.builtin.modinfo
346 tr '\0' '\n' < modules.builtin.modinfo | sed -n 's/^[[:alnum:]:_]*\.file=//p' |
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/
Dhns3_ethtool.c1432 struct ethtool_modinfo *modinfo) in hns3_get_module_info() argument
1454 modinfo->type = ETH_MODULE_SFF_8472; in hns3_get_module_info()
1455 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in hns3_get_module_info()
1458 modinfo->type = ETH_MODULE_SFF_8436; in hns3_get_module_info()
1459 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in hns3_get_module_info()
1463 modinfo->type = ETH_MODULE_SFF_8436; in hns3_get_module_info()
1464 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in hns3_get_module_info()
1466 modinfo->type = ETH_MODULE_SFF_8636; in hns3_get_module_info()
1467 modinfo->eeprom_len = ETH_MODULE_SFF_8636_MAX_LEN; in hns3_get_module_info()
1471 modinfo->type = ETH_MODULE_SFF_8636; in hns3_get_module_info()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/fpu/
Drun_test_fpu.sh17 if ! modinfo test_fpu > /dev/null 2>&1; then
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/net/phy/
Dsfp.h14 int (*module_info)(struct sfp *sfp, struct ethtool_modinfo *modinfo);
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
Dmcdi_port_common.c1050 int efx_mcdi_phy_get_module_info(struct efx_nic *efx, struct ethtool_modinfo *modinfo) in efx_mcdi_phy_get_module_info() argument
1070 modinfo->type = ETH_MODULE_SFF_8079; in efx_mcdi_phy_get_module_info()
1071 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in efx_mcdi_phy_get_module_info()
1073 modinfo->type = ETH_MODULE_SFF_8472; in efx_mcdi_phy_get_module_info()
1074 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in efx_mcdi_phy_get_module_info()
1079 modinfo->type = ETH_MODULE_SFF_8436; in efx_mcdi_phy_get_module_info()
1080 modinfo->eeprom_len = ETH_MODULE_SFF_8436_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);
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/Documentation/core-api/
Dsymbol-namespaces.rst99 This will create a `modinfo` tag in the module for each imported namespace.
101 inspected with modinfo::
103 $ modinfo drivers/usb/storage/ums-karma.ko
/kernel/linux/linux-5.10/Documentation/livepatch/
Dmodule-elf-format.rst11 2. Livepatch modinfo field
62 2. Livepatch modinfo field
65 Livepatch modules are required to have the "livepatch" modinfo attribute.
68 Livepatch modules can be identified by users by using the 'modinfo' command
79 % modinfo livepatch-meminfo.ko
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_ethtool.c1682 struct ethtool_modinfo *modinfo) in mlx5e_get_module_info() argument
1696 modinfo->type = ETH_MODULE_SFF_8436; in mlx5e_get_module_info()
1697 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in mlx5e_get_module_info()
1703 modinfo->type = ETH_MODULE_SFF_8636; in mlx5e_get_module_info()
1704 modinfo->eeprom_len = ETH_MODULE_SFF_8636_MAX_LEN; in mlx5e_get_module_info()
1706 modinfo->type = ETH_MODULE_SFF_8436; in mlx5e_get_module_info()
1707 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in mlx5e_get_module_info()
1711 modinfo->type = ETH_MODULE_SFF_8472; in mlx5e_get_module_info()
1712 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in mlx5e_get_module_info()
/kernel/linux/linux-5.10/Documentation/translations/it_IT/core-api/
Dsymbol-namespaces.rst100 Questo creerà un'etichetta `modinfo` per ogni spazio dei nomi
103 modinfo::
105 $ modinfo drivers/usb/storage/ums-karma.ko
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/net/ethtool/
Dioctl.c2286 struct ethtool_modinfo *modinfo) in __ethtool_get_module_info() argument
2292 return sfp_get_module_info(dev->sfp_bus, modinfo); in __ethtool_get_module_info()
2295 return phydev->drv->module_info(phydev, modinfo); in __ethtool_get_module_info()
2298 return ops->get_module_info(dev, modinfo); in __ethtool_get_module_info()
2307 struct ethtool_modinfo modinfo; in ethtool_get_module_info() local
2309 if (copy_from_user(&modinfo, useraddr, sizeof(modinfo))) in ethtool_get_module_info()
2312 ret = __ethtool_get_module_info(dev, &modinfo); in ethtool_get_module_info()
2316 if (copy_to_user(useraddr, &modinfo, sizeof(modinfo))) in ethtool_get_module_info()
2344 struct ethtool_modinfo modinfo; in ethtool_get_module_eeprom() local
2346 ret = __ethtool_get_module_info(dev, &modinfo); in ethtool_get_module_eeprom()
[all …]
/kernel/linux/linux-5.10/Documentation/kbuild/
Dkbuild.rst20 modules.builtin.modinfo
22 This file contains modinfo from all modules that are built into the kernel.
23 Unlike modinfo of a separate module, all fields are prefixed with module name.
/kernel/linux/linux-5.10/tools/testing/selftests/livepatch/
Dfunctions.sh122 if [[ $(modinfo "$mod" | awk '/^livepatch:/{print $NF}') == "Y" ]]; then

123