Home
last modified time | relevance | path

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

1234

/linux-6.6.21/rust/macros/
Dmodule.rs176 let mut modinfo = ModInfoBuilder::new(info.name.as_ref()); in module() localVariable
178 modinfo.emit("author", &author); in module()
181 modinfo.emit("description", &description); in module()
183 modinfo.emit("license", &info.license); in module()
186 modinfo.emit("alias", &alias); in module()
193 modinfo.emit_only_builtin("file", &file); in module()
297 modinfo = modinfo.buffer, in module()
/linux-6.6.21/scripts/
DMakefile.vmlinux_o4 __default: vmlinux.o modules.builtin.modinfo modules.builtin
69 OBJCOPYFLAGS_modules.builtin.modinfo := -j .modinfo -O binary
71 targets += modules.builtin.modinfo
72 modules.builtin.modinfo: vmlinux.o FORCE
87 modules.builtin: modules.builtin.modinfo FORCE
DMakefile.modinst34 install-y += $(addprefix $(MODLIB)/, modules.builtin modules.builtin.modinfo)
36 $(addprefix $(MODLIB)/, modules.builtin modules.builtin.modinfo): $(MODLIB)/%: % FORCE
/linux-6.6.21/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()
57 struct ethtool_modinfo modinfo = {0}; in eeprom_fallback() local
62 modinfo.cmd = ETHTOOL_GMODULEINFO; in eeprom_fallback()
63 err = ethtool_get_module_info_call(dev, &modinfo); in eeprom_fallback()
67 err = fallback_set_params(request, &modinfo, &eeprom); in eeprom_fallback()
Dcommon.h53 struct ethtool_modinfo *modinfo);
/linux-6.6.21/tools/testing/selftests/mm/
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.6.21/Documentation/translations/zh_CN/core-api/
Dsymbol-namespaces.rst93 这将在模块中为每个导入的命名空间创建一个 ``modinfo`` 标签。这也顺带
94 使得可以用modinfo检查模块已导入的命名空间::
96 $ modinfo drivers/usb/storage/ums-karma.ko
/linux-6.6.21/drivers/firmware/efi/libstub/
Dzboot.lds44 *(.modinfo .init.modinfo)
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dcore_env.c291 int module, struct ethtool_modinfo *modinfo) in mlxsw_env_get_module_info() argument
326 modinfo->type = ETH_MODULE_SFF_8436; in mlxsw_env_get_module_info()
327 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in mlxsw_env_get_module_info()
334 modinfo->type = ETH_MODULE_SFF_8636; in mlxsw_env_get_module_info()
335 modinfo->eeprom_len = ETH_MODULE_SFF_8636_MAX_LEN; in mlxsw_env_get_module_info()
337 modinfo->type = ETH_MODULE_SFF_8436; in mlxsw_env_get_module_info()
338 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in mlxsw_env_get_module_info()
353 modinfo->type = ETH_MODULE_SFF_8472; in mlxsw_env_get_module_info()
355 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in mlxsw_env_get_module_info()
357 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.6.21/tools/testing/selftests/fpu/
Drun_test_fpu.sh17 if ! modinfo test_fpu > /dev/null 2>&1; then
/linux-6.6.21/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.6.21/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.6.21/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.6.21/drivers/net/ethernet/sfc/
Dmcdi_port_common.c1051 int efx_mcdi_phy_get_module_info(struct efx_nic *efx, struct ethtool_modinfo *modinfo) in efx_mcdi_phy_get_module_info() argument
1071 modinfo->type = ETH_MODULE_SFF_8079; in efx_mcdi_phy_get_module_info()
1072 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in efx_mcdi_phy_get_module_info()
1074 modinfo->type = ETH_MODULE_SFF_8472; in efx_mcdi_phy_get_module_info()
1075 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in efx_mcdi_phy_get_module_info()
1080 modinfo->type = ETH_MODULE_SFF_8436; in efx_mcdi_phy_get_module_info()
1081 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in efx_mcdi_phy_get_module_info()
Dethtool_common.h62 struct ethtool_modinfo *modinfo);
/linux-6.6.21/drivers/net/ethernet/pensando/ionic/
Dionic_ethtool.c892 struct ethtool_modinfo *modinfo) in ionic_get_module_info() argument
906 modinfo->type = ETH_MODULE_SFF_8079; in ionic_get_module_info()
907 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in ionic_get_module_info()
911 modinfo->type = ETH_MODULE_SFF_8436; in ionic_get_module_info()
912 modinfo->eeprom_len = ETH_MODULE_SFF_8436_LEN; in ionic_get_module_info()
917 modinfo->type = 0; in ionic_get_module_info()
918 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in ionic_get_module_info()
/linux-6.6.21/drivers/net/phy/
Dsfp.h23 int (*module_info)(struct sfp *sfp, struct ethtool_modinfo *modinfo);
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/
Dnfp_net_ethtool.c1624 struct ethtool_modinfo *modinfo) in nfp_port_get_module_info() argument
1666 modinfo->type = ETH_MODULE_SFF_8079; in nfp_port_get_module_info()
1667 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in nfp_port_get_module_info()
1669 modinfo->type = ETH_MODULE_SFF_8472; in nfp_port_get_module_info()
1670 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in nfp_port_get_module_info()
1681 modinfo->type = ETH_MODULE_SFF_8436; in nfp_port_get_module_info()
1682 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in nfp_port_get_module_info()
1684 modinfo->type = ETH_MODULE_SFF_8636; in nfp_port_get_module_info()
1685 modinfo->eeprom_len = ETH_MODULE_SFF_8636_MAX_LEN; in nfp_port_get_module_info()
1689 modinfo->type = ETH_MODULE_SFF_8636; in nfp_port_get_module_info()
[all …]
/linux-6.6.21/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.6.21/drivers/net/ethernet/hisilicon/hns3/
Dhns3_ethtool.c1744 struct ethtool_modinfo *modinfo) in hns3_get_module_info() argument
1766 modinfo->type = ETH_MODULE_SFF_8472; in hns3_get_module_info()
1767 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in hns3_get_module_info()
1770 modinfo->type = ETH_MODULE_SFF_8436; in hns3_get_module_info()
1771 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in hns3_get_module_info()
1775 modinfo->type = ETH_MODULE_SFF_8436; in hns3_get_module_info()
1776 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in hns3_get_module_info()
1778 modinfo->type = ETH_MODULE_SFF_8636; in hns3_get_module_info()
1779 modinfo->eeprom_len = ETH_MODULE_SFF_8636_MAX_LEN; in hns3_get_module_info()
1783 modinfo->type = ETH_MODULE_SFF_8636; in hns3_get_module_info()
[all …]
/linux-6.6.21/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