Home
last modified time | relevance | path

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

1234

/linux-6.1.9/rust/macros/
Dmodule.rs158 let mut modinfo = ModInfoBuilder::new(info.name.as_ref()); in module() localVariable
160 modinfo.emit("author", &author); in module()
163 modinfo.emit("description", &description); in module()
165 modinfo.emit("license", &info.license); in module()
167 modinfo.emit("alias", &alias); in module()
173 modinfo.emit_only_builtin("file", &file); in module()
277 modinfo = modinfo.buffer, in module()
/linux-6.1.9/scripts/
DMakefile.vmlinux_o4 __default: vmlinux.o modules.builtin.modinfo modules.builtin
68 OBJCOPYFLAGS_modules.builtin.modinfo := -j .modinfo -O binary
70 targets += modules.builtin.modinfo
71 modules.builtin.modinfo: vmlinux.o FORCE
86 modules.builtin: modules.builtin.modinfo FORCE
/linux-6.1.9/net/ethtool/
Deeprom.c30 struct ethtool_modinfo *modinfo, in fallback_set_params() argument
39 if (modinfo->type == ETH_MODULE_SFF_8472 && 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()
Dcommon.h52 struct ethtool_modinfo *modinfo);
/linux-6.1.9/tools/testing/selftests/vm/
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/:.*//'`
Dtest_hmm.sh34 if ! modinfo $DRIVER > /dev/null 2>&1; then
/linux-6.1.9/Documentation/translations/zh_CN/core-api/
Dsymbol-namespaces.rst93 这将在模块中为每个导入的命名空间创建一个 ``modinfo`` 标签。这也顺带
94 使得可以用modinfo检查模块已导入的命名空间::
96 $ modinfo drivers/usb/storage/ums-karma.ko
/linux-6.1.9/drivers/firmware/efi/libstub/
Dzboot.lds37 *(.modinfo .init.modinfo)
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dcore_env.c293 int module, struct ethtool_modinfo *modinfo) in mlxsw_env_get_module_info() argument
328 modinfo->type = ETH_MODULE_SFF_8436; in mlxsw_env_get_module_info()
329 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in mlxsw_env_get_module_info()
336 modinfo->type = ETH_MODULE_SFF_8636; in mlxsw_env_get_module_info()
337 modinfo->eeprom_len = ETH_MODULE_SFF_8636_MAX_LEN; in mlxsw_env_get_module_info()
339 modinfo->type = ETH_MODULE_SFF_8436; in mlxsw_env_get_module_info()
340 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in mlxsw_env_get_module_info()
355 modinfo->type = ETH_MODULE_SFF_8472; in mlxsw_env_get_module_info()
357 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in mlxsw_env_get_module_info()
359 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN / 2; in mlxsw_env_get_module_info()
[all …]
Dcore_env.h18 int module, struct ethtool_modinfo *modinfo);
/linux-6.1.9/tools/testing/selftests/fpu/
Drun_test_fpu.sh17 if ! modinfo test_fpu > /dev/null 2>&1; then
/linux-6.1.9/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()
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/
Dnfp_net_ethtool.c1425 struct ethtool_modinfo *modinfo) in nfp_port_get_module_info() argument
1467 modinfo->type = ETH_MODULE_SFF_8079; in nfp_port_get_module_info()
1468 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in nfp_port_get_module_info()
1470 modinfo->type = ETH_MODULE_SFF_8472; in nfp_port_get_module_info()
1471 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in nfp_port_get_module_info()
1482 modinfo->type = ETH_MODULE_SFF_8436; in nfp_port_get_module_info()
1483 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in nfp_port_get_module_info()
1485 modinfo->type = ETH_MODULE_SFF_8636; in nfp_port_get_module_info()
1486 modinfo->eeprom_len = ETH_MODULE_SFF_8636_MAX_LEN; in nfp_port_get_module_info()
1490 modinfo->type = ETH_MODULE_SFF_8636; in nfp_port_get_module_info()
[all …]
/linux-6.1.9/drivers/net/ethernet/huawei/hinic/
Dhinic_ethtool.c1705 struct ethtool_modinfo *modinfo) in hinic_get_module_info() argument
1718 modinfo->type = ETH_MODULE_SFF_8472; in hinic_get_module_info()
1719 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in hinic_get_module_info()
1722 modinfo->type = ETH_MODULE_SFF_8436; in hinic_get_module_info()
1723 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in hinic_get_module_info()
1727 modinfo->type = ETH_MODULE_SFF_8636; in hinic_get_module_info()
1728 modinfo->eeprom_len = ETH_MODULE_SFF_8636_MAX_LEN; in hinic_get_module_info()
1731 modinfo->type = ETH_MODULE_SFF_8436; in hinic_get_module_info()
1732 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in hinic_get_module_info()
1736 modinfo->type = ETH_MODULE_SFF_8636; in hinic_get_module_info()
[all …]
/linux-6.1.9/drivers/net/ethernet/pensando/ionic/
Dionic_ethtool.c780 struct ethtool_modinfo *modinfo) in ionic_get_module_info() argument
794 modinfo->type = ETH_MODULE_SFF_8079; in ionic_get_module_info()
795 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in ionic_get_module_info()
799 modinfo->type = ETH_MODULE_SFF_8436; in ionic_get_module_info()
800 modinfo->eeprom_len = ETH_MODULE_SFF_8436_LEN; in ionic_get_module_info()
805 modinfo->type = 0; in ionic_get_module_info()
806 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in ionic_get_module_info()
/linux-6.1.9/drivers/net/ethernet/sfc/
Dmcdi_port_common.c1048 int efx_mcdi_phy_get_module_info(struct efx_nic *efx, struct ethtool_modinfo *modinfo) in efx_mcdi_phy_get_module_info() argument
1068 modinfo->type = ETH_MODULE_SFF_8079; in efx_mcdi_phy_get_module_info()
1069 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in efx_mcdi_phy_get_module_info()
1071 modinfo->type = ETH_MODULE_SFF_8472; in efx_mcdi_phy_get_module_info()
1072 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in efx_mcdi_phy_get_module_info()
1077 modinfo->type = ETH_MODULE_SFF_8436; in efx_mcdi_phy_get_module_info()
1078 modinfo->eeprom_len = ETH_MODULE_SFF_8436_LEN; in efx_mcdi_phy_get_module_info()
Dmcdi_port_common.h59 int efx_mcdi_phy_get_module_info(struct efx_nic *efx, struct ethtool_modinfo *modinfo);
Dethtool_common.h64 struct ethtool_modinfo *modinfo);
/linux-6.1.9/drivers/net/ethernet/sfc/siena/
Dmcdi_port_common.c1057 int efx_siena_mcdi_phy_get_module_info(struct efx_nic *efx, struct ethtool_modinfo *modinfo) in efx_siena_mcdi_phy_get_module_info() argument
1077 modinfo->type = ETH_MODULE_SFF_8079; in efx_siena_mcdi_phy_get_module_info()
1078 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in efx_siena_mcdi_phy_get_module_info()
1080 modinfo->type = ETH_MODULE_SFF_8472; in efx_siena_mcdi_phy_get_module_info()
1081 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in efx_siena_mcdi_phy_get_module_info()
1086 modinfo->type = ETH_MODULE_SFF_8436; in efx_siena_mcdi_phy_get_module_info()
1087 modinfo->eeprom_len = ETH_MODULE_SFF_8436_LEN; in efx_siena_mcdi_phy_get_module_info()
Dmcdi_port_common.h53 struct ethtool_modinfo *modinfo);
Dethtool_common.h59 struct ethtool_modinfo *modinfo);
/linux-6.1.9/drivers/net/phy/
Dsfp.h22 int (*module_info)(struct sfp *sfp, struct ethtool_modinfo *modinfo);
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/
Dhns3_ethtool.c1745 struct ethtool_modinfo *modinfo) in hns3_get_module_info() argument
1767 modinfo->type = ETH_MODULE_SFF_8472; in hns3_get_module_info()
1768 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in hns3_get_module_info()
1771 modinfo->type = ETH_MODULE_SFF_8436; in hns3_get_module_info()
1772 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in hns3_get_module_info()
1776 modinfo->type = ETH_MODULE_SFF_8436; in hns3_get_module_info()
1777 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in hns3_get_module_info()
1779 modinfo->type = ETH_MODULE_SFF_8636; in hns3_get_module_info()
1780 modinfo->eeprom_len = ETH_MODULE_SFF_8636_MAX_LEN; in hns3_get_module_info()
1784 modinfo->type = ETH_MODULE_SFF_8636; in hns3_get_module_info()
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c2042 struct ethtool_modinfo *modinfo) in mlx4_en_get_module_info() argument
2057 modinfo->type = ETH_MODULE_SFF_8436; in mlx4_en_get_module_info()
2058 modinfo->eeprom_len = ETH_MODULE_SFF_8436_LEN; in mlx4_en_get_module_info()
2062 modinfo->type = ETH_MODULE_SFF_8636; in mlx4_en_get_module_info()
2063 modinfo->eeprom_len = ETH_MODULE_SFF_8636_LEN; in mlx4_en_get_module_info()
2065 modinfo->type = ETH_MODULE_SFF_8436; in mlx4_en_get_module_info()
2066 modinfo->eeprom_len = ETH_MODULE_SFF_8436_LEN; in mlx4_en_get_module_info()
2070 modinfo->type = ETH_MODULE_SFF_8636; in mlx4_en_get_module_info()
2071 modinfo->eeprom_len = ETH_MODULE_SFF_8636_LEN; in mlx4_en_get_module_info()
2074 modinfo->type = ETH_MODULE_SFF_8472; in mlx4_en_get_module_info()
[all …]
/linux-6.1.9/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

1234