Lines Matching defs:module
12 /* create a define that has an extra module that doesn't really exist. this
13 * is so we can add a module 'all' to easily enable/disable all the modules
76 * ice_fwlog_print_module_cfg - print current FW logging module configuration
78 * @module: module to print
82 ice_fwlog_print_module_cfg(struct ice_hw *hw, int module, struct seq_file *s)
87 if (module != ICE_AQC_FW_LOG_ID_MAX) {
88 entry = &cfg->module_entries[module];
108 int i, module;
110 module = -1;
111 /* find the module based on the dentry */
114 module = i;
119 return module;
123 * ice_debugfs_module_show - read from 'module' file
132 int module;
137 module = ice_find_module_by_dentry(pf, dentry);
138 if (module < 0) {
139 dev_info(ice_pf_to_dev(pf), "unknown module\n");
143 ice_fwlog_print_module_cfg(&pf->hw, module, s);
154 * ice_debugfs_module_write - write into 'module' file
168 int module, log_level, cnt;
178 module = ice_find_module_by_dentry(pf, dentry);
179 if (module < 0) {
180 dev_info(dev, "unknown module\n");
194 if (module != ICE_AQC_FW_LOG_ID_MAX) {
195 ice_pf_fwlog_update_module(pf, log_level, module);
197 /* the module 'all' is a shortcut so that we can set