Home
last modified time | relevance | path

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

123

/linux/net/ethtool/
A Deeprom.c30 struct ethtool_modinfo *modinfo, in fallback_set_params() argument
39 if (modinfo->type == ETH_MODULE_SFF_8079 && in fallback_set_params()
43 if (offset >= modinfo->eeprom_len) in fallback_set_params()
58 struct ethtool_modinfo modinfo = {0}; in eeprom_fallback() local
63 modinfo.cmd = ETHTOOL_GMODULEINFO; in eeprom_fallback()
64 err = ethtool_get_module_info_call(dev, &modinfo); in eeprom_fallback()
68 err = fallback_set_params(request, &modinfo, &eeprom); in eeprom_fallback()
A Dcommon.h51 struct ethtool_modinfo *modinfo);
A Dioctl.c2325 struct ethtool_modinfo *modinfo) in ethtool_get_module_info_call() argument
2331 return sfp_get_module_info(dev->sfp_bus, modinfo); in ethtool_get_module_info_call()
2334 return phydev->drv->module_info(phydev, modinfo); in ethtool_get_module_info_call()
2337 return ops->get_module_info(dev, modinfo); in ethtool_get_module_info_call()
2346 struct ethtool_modinfo modinfo; in ethtool_get_module_info() local
2348 if (copy_from_user(&modinfo, useraddr, sizeof(modinfo))) in ethtool_get_module_info()
2351 ret = ethtool_get_module_info_call(dev, &modinfo); in ethtool_get_module_info()
2355 if (copy_to_user(useraddr, &modinfo, sizeof(modinfo))) in ethtool_get_module_info()
2383 struct ethtool_modinfo modinfo; in ethtool_get_module_eeprom() local
2385 ret = ethtool_get_module_info_call(dev, &modinfo); in ethtool_get_module_eeprom()
[all …]
/linux/tools/testing/selftests/vm/
A Dtest_vmalloc.sh43 if ! modinfo $DRIVER > /dev/null 2>&1; then
89 modinfo $DRIVER
119 VALID_ARGS=`modinfo $DRIVER | awk '/parm:/ {print $2}' | sed 's/:.*//'`
A Dtest_hmm.sh34 if ! modinfo $DRIVER > /dev/null 2>&1; then
/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dcore_env.c210 struct ethtool_modinfo *modinfo) in mlxsw_env_get_module_info() argument
231 modinfo->type = ETH_MODULE_SFF_8436; in mlxsw_env_get_module_info()
232 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in mlxsw_env_get_module_info()
239 modinfo->type = ETH_MODULE_SFF_8636; in mlxsw_env_get_module_info()
240 modinfo->eeprom_len = ETH_MODULE_SFF_8636_MAX_LEN; in mlxsw_env_get_module_info()
242 modinfo->type = ETH_MODULE_SFF_8436; in mlxsw_env_get_module_info()
257 modinfo->type = ETH_MODULE_SFF_8472; in mlxsw_env_get_module_info()
259 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in mlxsw_env_get_module_info()
267 modinfo->type = ETH_MODULE_SFF_8636; in mlxsw_env_get_module_info()
275 modinfo->eeprom_len = ETH_MODULE_SFF_8636_LEN; in mlxsw_env_get_module_info()
[all …]
A Dcore_env.h16 struct ethtool_modinfo *modinfo);
/linux/Documentation/translations/zh_CN/core-api/
A Dsymbol-namespaces.rst93 这将在模块中为每个导入的命名空间创建一个 ``modinfo`` 标签。这也顺带
94 使得可以用modinfo检查模块已导入的命名空间::
96 $ modinfo drivers/usb/storage/ums-karma.ko
/linux/scripts/
A Dlink-vmlinux.sh338 info MODINFO modules.builtin.modinfo
339 ${OBJCOPY} -j .modinfo -O binary vmlinux.o modules.builtin.modinfo
342 tr '\0' '\n' < modules.builtin.modinfo | sed -n 's/^[[:alnum:]:_]*\.file=//p' |
/linux/drivers/net/ethernet/netronome/nfp/
A Dnfp_net_ethtool.c1213 struct ethtool_modinfo *modinfo) in nfp_port_get_module_info() argument
1250 modinfo->type = ETH_MODULE_SFF_8079; in nfp_port_get_module_info()
1251 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in nfp_port_get_module_info()
1253 modinfo->type = ETH_MODULE_SFF_8472; in nfp_port_get_module_info()
1254 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in nfp_port_get_module_info()
1265 modinfo->type = ETH_MODULE_SFF_8436; in nfp_port_get_module_info()
1266 modinfo->eeprom_len = ETH_MODULE_SFF_8436_LEN; in nfp_port_get_module_info()
1268 modinfo->type = ETH_MODULE_SFF_8636; in nfp_port_get_module_info()
1269 modinfo->eeprom_len = ETH_MODULE_SFF_8636_LEN; in nfp_port_get_module_info()
1273 modinfo->type = ETH_MODULE_SFF_8636; in nfp_port_get_module_info()
[all …]
/linux/drivers/net/ethernet/pensando/ionic/
A Dionic_ethtool.c776 struct ethtool_modinfo *modinfo) in ionic_get_module_info() argument
790 modinfo->type = ETH_MODULE_SFF_8079; in ionic_get_module_info()
791 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in ionic_get_module_info()
795 modinfo->type = ETH_MODULE_SFF_8436; in ionic_get_module_info()
796 modinfo->eeprom_len = ETH_MODULE_SFF_8436_LEN; in ionic_get_module_info()
801 modinfo->type = 0; in ionic_get_module_info()
802 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in ionic_get_module_info()
/linux/drivers/net/ethernet/huawei/hinic/
A Dhinic_ethtool.c1704 struct ethtool_modinfo *modinfo) in hinic_get_module_info() argument
1717 modinfo->type = ETH_MODULE_SFF_8472; in hinic_get_module_info()
1718 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in hinic_get_module_info()
1721 modinfo->type = ETH_MODULE_SFF_8436; in hinic_get_module_info()
1722 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in hinic_get_module_info()
1726 modinfo->type = ETH_MODULE_SFF_8636; in hinic_get_module_info()
1727 modinfo->eeprom_len = ETH_MODULE_SFF_8636_MAX_LEN; in hinic_get_module_info()
1730 modinfo->type = ETH_MODULE_SFF_8436; in hinic_get_module_info()
1731 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in hinic_get_module_info()
1735 modinfo->type = ETH_MODULE_SFF_8636; in hinic_get_module_info()
[all …]
/linux/drivers/net/ethernet/sfc/falcon/
A 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()
/linux/drivers/net/ethernet/sfc/
A 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()
A Dethtool_common.h62 struct ethtool_modinfo *modinfo);
A Dmcdi_port_common.h59 int efx_mcdi_phy_get_module_info(struct efx_nic *efx, struct ethtool_modinfo *modinfo);
/linux/drivers/net/ethernet/hisilicon/hns3/
A Dhns3_ethtool.c1580 struct ethtool_modinfo *modinfo) in hns3_get_module_info() argument
1602 modinfo->type = ETH_MODULE_SFF_8472; in hns3_get_module_info()
1603 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in hns3_get_module_info()
1606 modinfo->type = ETH_MODULE_SFF_8436; in hns3_get_module_info()
1607 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in hns3_get_module_info()
1611 modinfo->type = ETH_MODULE_SFF_8436; in hns3_get_module_info()
1612 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in hns3_get_module_info()
1614 modinfo->type = ETH_MODULE_SFF_8636; in hns3_get_module_info()
1615 modinfo->eeprom_len = ETH_MODULE_SFF_8636_MAX_LEN; in hns3_get_module_info()
1619 modinfo->type = ETH_MODULE_SFF_8636; in hns3_get_module_info()
[all …]
/linux/tools/testing/selftests/fpu/
A Drun_test_fpu.sh17 if ! modinfo test_fpu > /dev/null 2>&1; then
/linux/drivers/net/phy/
A Dsfp.h14 int (*module_info)(struct sfp *sfp, struct ethtool_modinfo *modinfo);
/linux/drivers/net/ethernet/mellanox/mlx4/
A Den_ethtool.c2038 struct ethtool_modinfo *modinfo) in mlx4_en_get_module_info() argument
2053 modinfo->type = ETH_MODULE_SFF_8436; in mlx4_en_get_module_info()
2054 modinfo->eeprom_len = ETH_MODULE_SFF_8436_LEN; in mlx4_en_get_module_info()
2058 modinfo->type = ETH_MODULE_SFF_8636; in mlx4_en_get_module_info()
2059 modinfo->eeprom_len = ETH_MODULE_SFF_8636_LEN; in mlx4_en_get_module_info()
2061 modinfo->type = ETH_MODULE_SFF_8436; in mlx4_en_get_module_info()
2062 modinfo->eeprom_len = ETH_MODULE_SFF_8436_LEN; in mlx4_en_get_module_info()
2066 modinfo->type = ETH_MODULE_SFF_8636; in mlx4_en_get_module_info()
2067 modinfo->eeprom_len = ETH_MODULE_SFF_8636_LEN; in mlx4_en_get_module_info()
2070 modinfo->type = ETH_MODULE_SFF_8472; in mlx4_en_get_module_info()
[all …]
/linux/Documentation/core-api/
A 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
/linux/drivers/net/ethernet/chelsio/cxgb4/
A Dcxgb4_ethtool.c1993 struct ethtool_modinfo *modinfo) in cxgb4_get_module_info() argument
2019 modinfo->type = ETH_MODULE_SFF_8079; in cxgb4_get_module_info()
2020 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in cxgb4_get_module_info()
2022 modinfo->type = ETH_MODULE_SFF_8472; in cxgb4_get_module_info()
2024 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in cxgb4_get_module_info()
2026 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN / 2; in cxgb4_get_module_info()
2044 modinfo->type = ETH_MODULE_SFF_8636; in cxgb4_get_module_info()
2045 modinfo->eeprom_len = ETH_MODULE_SFF_8636_LEN; in cxgb4_get_module_info()
2047 modinfo->type = ETH_MODULE_SFF_8436; in cxgb4_get_module_info()
2048 modinfo->eeprom_len = ETH_MODULE_SFF_8436_LEN; in cxgb4_get_module_info()
/linux/Documentation/translations/it_IT/core-api/
A Dsymbol-namespaces.rst100 Questo creerà un'etichetta ``modinfo`` per ogni spazio dei nomi
103 modinfo::
105 $ modinfo drivers/usb/storage/ums-karma.ko
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Den_ethtool.c1688 struct ethtool_modinfo *modinfo) in mlx5e_get_module_info() argument
1702 modinfo->type = ETH_MODULE_SFF_8436; in mlx5e_get_module_info()
1703 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in mlx5e_get_module_info()
1709 modinfo->type = ETH_MODULE_SFF_8636; in mlx5e_get_module_info()
1710 modinfo->eeprom_len = ETH_MODULE_SFF_8636_MAX_LEN; in mlx5e_get_module_info()
1712 modinfo->type = ETH_MODULE_SFF_8436; in mlx5e_get_module_info()
1713 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in mlx5e_get_module_info()
1717 modinfo->type = ETH_MODULE_SFF_8472; in mlx5e_get_module_info()
1718 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in mlx5e_get_module_info()
/linux/Documentation/kbuild/
A 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.

Completed in 85 milliseconds

123