Home
last modified time | relevance | path

Searched refs:module (Results 1 – 25 of 2349) sorted by relevance

12345678910>>...94

/linux-6.6.21/drivers/greybus/
Dmodule.c16 struct gb_module *module = to_gb_module(dev); in eject_store() local
29 for (i = 0; i < module->num_interfaces; ++i) { in eject_store()
30 intf = module->interfaces[i]; in eject_store()
41 ret = gb_svc_intf_eject(module->hd->svc, module->module_id); in eject_store()
52 struct gb_module *module = to_gb_module(dev); in module_id_show() local
54 return sprintf(buf, "%u\n", module->module_id); in module_id_show()
61 struct gb_module *module = to_gb_module(dev); in num_interfaces_show() local
63 return sprintf(buf, "%zu\n", module->num_interfaces); in num_interfaces_show()
73 ATTRIBUTE_GROUPS(module);
77 struct gb_module *module = to_gb_module(dev); in gb_module_release() local
[all …]
/linux-6.6.21/drivers/staging/greybus/
Daudio_manager.c27 struct gb_audio_manager_module *module; in gb_audio_manager_get_locked() local
32 list_for_each_entry(module, &modules_list, list) { in gb_audio_manager_get_locked()
33 if (module->id == id) in gb_audio_manager_get_locked()
34 return module; in gb_audio_manager_get_locked()
43 struct gb_audio_manager_module *module; in gb_audio_manager_add() local
51 err = gb_audio_manager_module_create(&module, manager_kset, in gb_audio_manager_add()
60 list_add_tail(&module->list, &modules_list); in gb_audio_manager_add()
63 return module->id; in gb_audio_manager_add()
69 struct gb_audio_manager_module *module; in gb_audio_manager_remove() local
73 module = gb_audio_manager_get_locked(id); in gb_audio_manager_remove()
[all …]
Daudio_manager_module.c23 ssize_t (*show)(struct gb_audio_manager_module *module,
26 ssize_t (*store)(struct gb_audio_manager_module *module,
35 struct gb_audio_manager_module *module; in gb_audio_module_attr_show() local
38 module = to_gb_audio_module(kobj); in gb_audio_module_attr_show()
43 return attribute->show(module, attribute, buf); in gb_audio_module_attr_show()
51 struct gb_audio_manager_module *module; in gb_audio_module_attr_store() local
54 module = to_gb_audio_module(kobj); in gb_audio_module_attr_store()
59 return attribute->store(module, attribute, buf, len); in gb_audio_module_attr_store()
69 struct gb_audio_manager_module *module = to_gb_audio_module(kobj); in gb_audio_module_release() local
71 pr_info("Destroying audio module #%d\n", module->id); in gb_audio_module_release()
[all …]
Daudio_codec.c22 find_data(struct gbaudio_module_info *module, int id) in find_data() argument
26 list_for_each_entry(data, &module->data_list, list) { in find_data()
46 struct gbaudio_module_info *module, int id) in gbaudio_module_enable_tx() argument
56 data = find_data(module, id); in gbaudio_module_enable_tx()
58 dev_err(module->dev, "%d:DATA connection missing\n", id); in gbaudio_module_enable_tx()
77 dev_err_ratelimited(module->dev, "reg_cport failed:%d\n", ret); in gbaudio_module_enable_tx()
81 dev_dbg(module->dev, "Dynamic Register %d DAI\n", cportid); in gbaudio_module_enable_tx()
91 ret = gb_audio_gb_set_pcm(module->mgmt_connection, data_cport, in gbaudio_module_enable_tx()
94 dev_err_ratelimited(module->dev, "set_pcm failed:%d\n", ret); in gbaudio_module_enable_tx()
98 dev_dbg(module->dev, "Dynamic hw_params %d DAI\n", data_cport); in gbaudio_module_enable_tx()
[all …]
Daudio_topology.c32 struct gbaudio_module_info *module; in find_gb_module() local
43 list_for_each_entry(module, &codec->module_list, list) { in find_gb_module()
44 if (module->dev_id == dev_id) { in find_gb_module()
46 return module; in find_gb_module()
55 static const char *gbaudio_map_controlid(struct gbaudio_module_info *module, in gbaudio_map_controlid() argument
63 list_for_each_entry(control, &module->ctl_list, list) { in gbaudio_map_controlid()
72 list_for_each_entry(control, &module->widget_ctl_list, list) { in gbaudio_map_controlid()
84 static int gbaudio_map_controlname(struct gbaudio_module_info *module, in gbaudio_map_controlname() argument
89 list_for_each_entry(control, &module->ctl_list, list) { in gbaudio_map_controlname()
94 dev_warn(module->dev, "%s: missing in modules controls list\n", name); in gbaudio_map_controlname()
[all …]
Daudio_module.c20 static int gbaudio_request_jack(struct gbaudio_module_info *module, in gbaudio_request_jack() argument
24 struct snd_jack *jack = module->headset.jack.jack; in gbaudio_request_jack()
25 struct snd_jack *btn_jack = module->button.jack.jack; in gbaudio_request_jack()
28 dev_err_ratelimited(module->dev, in gbaudio_request_jack()
34 dev_warn_ratelimited(module->dev, in gbaudio_request_jack()
39 module->jack_type = 0; in gbaudio_request_jack()
40 if (btn_jack && module->button_status) { in gbaudio_request_jack()
41 snd_soc_jack_report(&module->button.jack, 0, in gbaudio_request_jack()
42 module->button_mask); in gbaudio_request_jack()
43 module->button_status = 0; in gbaudio_request_jack()
[all …]
DKconfig11 To compile this code as a module, chose M here: the module
22 To compile this code as a module, chose M here: the module
32 To compile this code as a module, chose M here: the module
42 To compile this code as a module, chose M here: the module
52 To compile this code as a module, chose M here: the module
62 To compile this code as a module, chose M here: the module
72 To compile this code as a module, chose M here: the module
81 To compile this code as a module, chose M here: the module
90 To compile this code as a module, chose M here: the module
100 To compile this code as a module, chose M here: the module
[all …]
/linux-6.6.21/kernel/module/
Dinternal.h64 struct module *mod;
99 struct module *owner;
106 int try_to_force_load(struct module *mod, const char *reason);
108 struct module *find_module_all(const char *name, size_t len, bool even_unformed);
110 long module_get_offset_and_type(struct module *mod, enum mod_mem_type type,
112 char *module_flags(struct module *mod, char *buf, bool show_state);
141 int copy_module_elf(struct module *mod, struct load_info *info);
142 void free_module_elf(struct module *mod);
144 static inline int copy_module_elf(struct module *mod, struct load_info *info) in copy_module_elf()
149 static inline void free_module_elf(struct module *mod) { } in free_module_elf()
[all …]
/linux-6.6.21/include/linux/
Dmodule.h42 struct module;
47 struct module *mod;
59 void (*setup)(struct module *, const char *);
60 int (*test)(struct module *);
61 void (*free)(struct module *);
309 struct module *source, *target;
320 struct module *mod;
402 struct module { struct
601 static inline bool module_is_live(struct module *mod) in module_is_live()
606 struct module *__module_text_address(unsigned long addr);
[all …]
/linux-6.6.21/sound/soc/intel/skylake/
Dskl-sst-utils.c90 static int skl_get_pvtid_map(struct uuid_module *module, int instance_id) in skl_get_pvtid_map() argument
94 for (pvt_id = 0; pvt_id < module->max_instance; pvt_id++) { in skl_get_pvtid_map()
95 if (module->instance_id[pvt_id] == instance_id) in skl_get_pvtid_map()
104 struct uuid_module *module; in skl_get_pvt_instance_id_map() local
106 list_for_each_entry(module, &skl->uuid_list, list) { in skl_get_pvt_instance_id_map()
107 if (module->id == module_id) in skl_get_pvt_instance_id_map()
108 return skl_get_pvtid_map(module, instance_id); in skl_get_pvt_instance_id_map()
115 static inline int skl_getid_32(struct uuid_module *module, u64 *val, in skl_getid_32() argument
121 max_inst = module->max_instance; in skl_getid_32()
136 static inline int skl_pvtid_128(struct uuid_module *module) in skl_pvtid_128() argument
[all …]
/linux-6.6.21/drivers/comedi/
DKconfig54 To compile this driver as a module, choose M here: the module will be
65 To compile this driver as a module, choose M here: the module will be
76 To compile this driver as a module, choose M here: the module will be
85 To compile this driver as a module, choose M here: the module will be
107 To compile this driver as a module, choose M here: the module will be
128 To compile this driver as a module, choose M here: the module will be
136 To compile this driver as a module, choose M here: the module will be
159 To compile this driver as a module, choose M here: the module will be
171 To compile this driver as a module, choose M here: the module will be
181 To compile this driver as a module, choose M here: the module will be
[all …]
/linux-6.6.21/drivers/hwmon/pmbus/
DKconfig12 This driver can also be built as a module. If so, the module will
27 This driver can also be built as a module. If so, the module will
36 This driver can also be built as a module. If so, the module will
47 This driver can also be built as a module. If so, the module will
57 This driver can also be built as a module. If so, the module will
66 This driver can also be built as a module. If so, the module will
75 This driver can also be built as a module. If so, the module will
79 tristate "Delta AHE-50DC fan control module"
82 the integrated fan control module of the Delta AHE-50DC
85 This driver can also be built as a module. If so, the module
[all …]
/linux-6.6.21/scripts/
Ddecode_stacktrace.sh126 if [[ $module == "" ]] ; then
128 elif [[ $aarray_support == true && "${modcache[$module]+isset}" == "isset" ]]; then
129 local objfile=${modcache[$module]}
137 modcache[$module]=$objfile
158 if [[ $aarray_support == true && "${cache[$module,$name]+isset}" == "isset" ]]; then
159 local base_addr=${cache[$module,$name]}
167 cache[$module,$name]="$base_addr"
184 if [[ $aarray_support == true && "${cache[$module,$address]+isset}" == "isset" ]]; then
185 local code=${cache[$module,$address]}
189 cache[$module,$address]=$code
[all …]
/linux-6.6.21/drivers/media/usb/gspca/
DKconfig17 module will be called gspca_main.
27 To compile this driver as a module, choose M here: the
28 module will be called gspca_benq.
36 To compile this driver as a module, choose M here: the
37 module will be called gspca_conex.
47 To compile this driver as a module, choose M here: the
48 module will be called gspca_cpia1.
57 To compile this driver as a module, choose M here: the
58 module will be called gspca_dtcs033.
66 To compile this driver as a module, choose M here: the
[all …]
/linux-6.6.21/drivers/media/i2c/
DKconfig12 tristate "I2C module for IR" if !MEDIA_SUBDRV_AUTOSELECT || EXPERT
50 To compile this driver as a module, choose M here: the
51 module will be called ar0521.
59 To compile this driver as a module, choose M here: the
60 module will be called hi556.
68 To compile this driver as a module, choose M here: the
69 module will be called hi846.
77 To compile this driver as a module, choose M here: the
78 module will be called hi847.
86 To compile this driver as a module, choose M here: the
[all …]
/linux-6.6.21/drivers/input/touchscreen/
DKconfig24 To compile this driver as a module, choose M here: the
25 module will be called 88pm860x-ts.
43 To compile this driver as a module, choose M here: the
44 module will be called ads7846.
56 To compile this driver as a module, choose M here: the
57 module will be called ad7877.
67 To compile this driver as a module, choose M here: the
68 module will be called ad7879.
77 To compile this driver as a module, choose M here: the
78 module will be called ad7879-i2c.
[all …]
/linux-6.6.21/drivers/pwm/
DKconfig51 To compile this driver as a module, choose M here: the module
63 To compile this driver as a module, choose M here: the module
73 To compile this driver as a module, choose M here: the module
85 To compile this driver as a module, choose M here: the module
98 To compile this driver as a module, choose M here: the module
110 To compile this driver as a module, choose M here: the module
121 To compile this driver as a module, choose M here: the module
131 To compile this driver as a module, choose M here: the module
141 To compile this driver as a module, choose M here: the module
152 To compile this driver as a module, choose M Here: the module
[all …]
/linux-6.6.21/drivers/input/misc/
DKconfig23 To compile this driver as a module, choose M here: the module
33 To compile this driver as a module, choose M here: the module
43 To compile this driver as a module, choose M here: the module
53 To compile this driver as a module, choose M here: the
54 module will be called ad714x.
63 To compile this driver as a module, choose M here: the
64 module will be called ad714x-i2c.
73 To compile this driver as a module, choose M here: the
74 module will be called ad714x-spi.
84 To compile this driver as a module, choose M here: the module
[all …]
/linux-6.6.21/drivers/iio/adc/
DKconfig36 To compile this driver as a module, choose M here: the module will be
54 To compile this driver as a module, choose M here: the module will be
66 To compile this driver as a module, choose M here: the
67 module will be called ad7192.
79 To compile this driver as a module, choose M here: the module will be
90 To compile this driver as a module, choose M here: the
91 module will be called ad7280a
100 To compile this driver as a module, choose M here: the
101 module will be called ad7291.
110 To compile this driver as a module, choose M here: the
[all …]
/linux-6.6.21/drivers/iio/accel/
DKconfig18 To compile this driver as a module, say M here: the module will
30 To compile this driver as a module, say M here: the module will be
45 To compile this driver as a module, choose M here: the module
47 for the core module.
58 To compile this driver as a module, choose M here: the module
60 for the core module.
75 To compile this driver as a module, choose M here: the module
77 for the core module.
89 To compile this driver as a module, choose M here: the module
91 for the core module.
[all …]
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dcore_env.h13 u8 slot_index, int module, int off,
18 int module, struct ethtool_modinfo *modinfo);
22 int module, struct ethtool_eeprom *ee,
27 u8 slot_index, u8 module,
33 u8 module, u32 *flags);
37 u8 module,
43 u8 module,
49 u8 module, u64 *p_counter);
52 u8 module);
55 u8 module);
[all …]
/linux-6.6.21/Documentation/ABI/stable/
Dsysfs-module1 The /sys/module tree consists of the following structure:
3 What: /sys/module/<MODULENAME>
5 The name of the module that is in the kernel. This
6 module name will always show up if the module is loaded as a
7 dynamic module. If it is built directly into the kernel, it
14 What: /sys/module/<MODULENAME>/parameters
17 individual parameters of the module that are able to be
18 changed at runtime. See the individual module
28 What: /sys/module/<MODULENAME>/refcnt
30 If the module is able to be unloaded from the kernel, this file
[all …]
/linux-6.6.21/drivers/hwmon/
DKconfig23 This support can also be built as a module. If so, the module
53 This driver can also be built as a module. If so, the module
67 This driver can also be built as a module. If so, the module
85 This driver can also be built as a module. If so, the module
95 This driver can also be built as a module. If so, the module
105 This driver can also be built as a module. If so, the module
117 This driver can also be built as a module. If so, the module
128 This driver can also be built as a module. If so, the module
139 This driver can also be built as a module. If so, the module
150 This driver can also be built as a module. If so, the module
[all …]
/linux-6.6.21/drivers/input/keyboard/
DKconfig27 To compile this driver as a module, choose M here: the
28 module will be called adc_keys.
37 To compile this driver as a module, choose M here: the module will
50 To compile this driver as a module, choose M here: the
51 module will be called adp5588-keys.
60 To compile this driver as a module, choose M here: the
61 module will be called adp5589-keys.
70 To compile this driver as a module, choose M here: the
71 module will be called amikbd.
88 To compile this driver as a module, choose M here: the
[all …]
/linux-6.6.21/drivers/iio/dac/
DKconfig16 To compile this driver as a module, choose M here: the
17 module will be called ad3552r.
30 To compile this driver as a module, choose M here: the
31 module will be called ad5064.
41 To compile this driver as module choose M here: the module will be called
54 To compile this driver as module choose M here: the module will be called
64 To compile this driver as module choose M here: the module will be called
77 To compile this driver as a module, choose M here: the
78 module will be called ad5446.
87 To compile this driver as a module, choose M here: the
[all …]

12345678910>>...94