Home
last modified time | relevance | path

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

1234

/linux-6.3-rc2/rust/macros/
A Dmodule.rs158 let mut modinfo = ModInfoBuilder::new(info.name.as_ref()); in module() variables
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.3-rc2/scripts/
A 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.3-rc2/net/ethtool/
A 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()
A Dcommon.h53 struct ethtool_modinfo *modinfo);
/linux-6.3-rc2/tools/testing/selftests/mm/
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-6.3-rc2/Documentation/translations/zh_CN/core-api/
A Dsymbol-namespaces.rst93 这将在模块中为每个导入的命名空间创建一个 ``modinfo`` 标签。这也顺带
94 使得可以用modinfo检查模块已导入的命名空间::
96 $ modinfo drivers/usb/storage/ums-karma.ko
/linux-6.3-rc2/drivers/firmware/efi/libstub/
A Dzboot.lds37 *(.modinfo .init.modinfo)
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/
A 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()
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()
366 modinfo->type = ETH_MODULE_SFF_8636; in mlxsw_env_get_module_info()
374 modinfo->eeprom_len = ETH_MODULE_SFF_8636_LEN; in mlxsw_env_get_module_info()
[all …]
A Dcore_env.h18 int module, struct ethtool_modinfo *modinfo);
/linux-6.3-rc2/tools/testing/selftests/fpu/
A Drun_test_fpu.sh17 if ! modinfo test_fpu > /dev/null 2>&1; then
/linux-6.3-rc2/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-6.3-rc2/drivers/net/ethernet/huawei/hinic/
A 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.3-rc2/drivers/net/ethernet/sfc/siena/
A 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()
A Dmcdi_port_common.h53 struct ethtool_modinfo *modinfo);
A Dethtool_common.h59 struct ethtool_modinfo *modinfo);
/linux-6.3-rc2/drivers/net/ethernet/pensando/ionic/
A Dionic_ethtool.c883 struct ethtool_modinfo *modinfo) in ionic_get_module_info() argument
897 modinfo->type = ETH_MODULE_SFF_8079; in ionic_get_module_info()
898 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in ionic_get_module_info()
902 modinfo->type = ETH_MODULE_SFF_8436; in ionic_get_module_info()
903 modinfo->eeprom_len = ETH_MODULE_SFF_8436_LEN; in ionic_get_module_info()
908 modinfo->type = 0; in ionic_get_module_info()
909 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in ionic_get_module_info()
/linux-6.3-rc2/drivers/net/ethernet/sfc/
A 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()
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-6.3-rc2/drivers/net/phy/
A Dsfp.h22 int (*module_info)(struct sfp *sfp, struct ethtool_modinfo *modinfo);
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/
A Dnfp_net_ethtool.c1632 struct ethtool_modinfo *modinfo) in nfp_port_get_module_info() argument
1674 modinfo->type = ETH_MODULE_SFF_8079; in nfp_port_get_module_info()
1675 modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN; in nfp_port_get_module_info()
1677 modinfo->type = ETH_MODULE_SFF_8472; in nfp_port_get_module_info()
1678 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in nfp_port_get_module_info()
1689 modinfo->type = ETH_MODULE_SFF_8436; in nfp_port_get_module_info()
1690 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in nfp_port_get_module_info()
1692 modinfo->type = ETH_MODULE_SFF_8636; in nfp_port_get_module_info()
1693 modinfo->eeprom_len = ETH_MODULE_SFF_8636_MAX_LEN; in nfp_port_get_module_info()
1697 modinfo->type = ETH_MODULE_SFF_8636; in nfp_port_get_module_info()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns3/
A Dhns3_ethtool.c1743 struct ethtool_modinfo *modinfo) in hns3_get_module_info() argument
1765 modinfo->type = ETH_MODULE_SFF_8472; in hns3_get_module_info()
1766 modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; in hns3_get_module_info()
1769 modinfo->type = ETH_MODULE_SFF_8436; in hns3_get_module_info()
1770 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in hns3_get_module_info()
1774 modinfo->type = ETH_MODULE_SFF_8436; in hns3_get_module_info()
1775 modinfo->eeprom_len = ETH_MODULE_SFF_8436_MAX_LEN; in hns3_get_module_info()
1777 modinfo->type = ETH_MODULE_SFF_8636; in hns3_get_module_info()
1778 modinfo->eeprom_len = ETH_MODULE_SFF_8636_MAX_LEN; in hns3_get_module_info()
1782 modinfo->type = ETH_MODULE_SFF_8636; in hns3_get_module_info()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx4/
A 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.3-rc2/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

Completed in 273 milliseconds

1234