Home
last modified time | relevance | path

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

12345678910>>...122

/linux/drivers/greybus/
H A 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/drivers/staging/greybus/
H A 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 …]
H A Daudio_topology.c26 struct gbaudio_module_info *module; in find_gb_module() local
37 list_for_each_entry(module, &codec->module_list, list) { in find_gb_module()
38 if (module->dev_id == dev_id) { in find_gb_module()
40 return module; in find_gb_module()
49 static const char *gbaudio_map_controlid(struct gbaudio_module_info *module, in gbaudio_map_controlid() argument
57 list_for_each_entry(control, &module->ctl_list, list) { in gbaudio_map_controlid()
66 list_for_each_entry(control, &module->widget_ctl_list, list) { in gbaudio_map_controlid()
78 static int gbaudio_map_controlname(struct gbaudio_module_info *module, in gbaudio_map_controlname() argument
83 list_for_each_entry(control, &module->ctl_list, list) { in gbaudio_map_controlname()
88 dev_warn(module->dev, "%s: missing in modules controls list\n", name); in gbaudio_map_controlname()
[all …]
H A 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 …]
H A 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 …]
H A 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 …]
H A 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/include/linux/
H A Dmodule.h43 struct module;
48 struct module *mod;
60 void (*setup)(struct module *, const char *);
61 int (*test)(struct module *);
62 void (*free)(struct module *);
314 struct module *mod;
397 struct module { struct
610 static inline bool module_is_live(struct module *mod) in module_is_live()
615 static inline bool module_is_coming(struct module *mod) in module_is_coming()
620 struct module *__module_text_address(unsigned long addr);
[all …]
H A Dcodetag.h14 struct module;
42 int (*module_load)(struct module *mod,
44 void (*module_unload)(struct module *mod,
47 void (*module_replaced)(struct module *mod, struct module *new_mod);
48 bool (*needs_section_mem)(struct module *mod, unsigned long size);
49 void *(*alloc_section_mem)(struct module *mod, unsigned long size,
51 void (*free_section_mem)(struct module *mod, bool used);
89 bool codetag_needs_module_section(struct module *mod, const char *name,
91 void *codetag_alloc_module_section(struct module *mod, const char *name,
94 void codetag_free_module_sections(struct module *mod);
[all …]
/linux/kernel/module/
H A Dinternal.h67 struct module *mod;
109 struct module *owner;
119 struct module *source, *target;
123 int try_to_force_load(struct module *mod, const char *reason);
125 struct module *find_module_all(const char *name, size_t len, bool even_unformed);
127 long module_get_offset_and_type(struct module *mod, enum mod_mem_type type,
129 char *module_flags(struct module *mod, char *buf, bool show_state);
147 int copy_module_elf(struct module *mod, struct load_info *info);
148 void free_module_elf(struct module *mod);
150 static inline int copy_module_elf(struct module *mod, struct load_info *info) in copy_module_elf()
[all …]
/linux/drivers/comedi/
H A 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
77 To compile this driver as a module, choose M here: the module will be
87 To compile this driver as a module, choose M here: the module will be
111 To compile this driver as a module, choose M here: the module will be
132 To compile this driver as a module, choose M here: the module will be
140 To compile this driver as a module, choose M here: the module will be
163 To compile this driver as a module, choose M here: the module will be
175 To compile this driver as a module, choose M here: the module will be
185 To compile this driver as a module, choose M here: the module will be
[all …]
/linux/scripts/
H A Ddecode_stacktrace.sh118 …echo "WARNING! No debugging info in module ${module}, rebuild with DEBUG_KERNEL and DEBUG_INFO" >&2
120 echo "WARNING! Cannot find .ko for module ${module}, please pass a valid module path" >&2
133 if [[ $module == "" ]] ; then
135 elif [[ $aarray_support == true && "${modcache[$module]+isset}" == "isset" ]]; then
136 local objfile=${modcache[$module]}
143 modcache[$module]=$objfile
164 if [[ $aarray_support == true && "${cache[$module,$name]+isset}" == "isset" ]]; then
165 local base_addr=${cache[$module,$name]}
173 cache[$module,$name]="$base_addr"
190 if [[ $aarray_support == true && "${cache[$module,$address]+isset}" == "isset" ]]; then
[all …]
/linux/drivers/input/misc/
H A 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
50 To compile this driver as a module, choose M here: the module
60 To compile this driver as a module, choose M here: the
61 module will be called ad714x.
70 To compile this driver as a module, choose M here: the
71 module will be called ad714x-i2c.
80 To compile this driver as a module, choose M here: the
81 module will be called ad714x-spi.
91 To compile this driver as a module, choose M here: the module
[all …]
/linux/samples/rust/
H A DKconfig19 To compile this as a module, choose M here:
20 the module will be called rust_configfs.
27 This option builds the Rust minimal module sample.
29 To compile this as a module, choose M here:
30 the module will be called rust_minimal.
39 To compile this as a module, choose M here:
40 the module will be called rust_misc_device.
49 To compile this as a module, choose M here:
50 the module will be called rust_print.
60 To compile this as a module, choose M here:
[all …]
/linux/drivers/media/usb/gspca/
H A 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/drivers/input/touchscreen/
H A 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/drivers/pwm/
H A DKconfig56 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
94 To compile this driver as a module, choose M here: the module
104 To compile this driver as a module, choose M here: the module
116 To compile this driver as a module, choose M here: the module
129 To compile this driver as a module, choose M here: the module
142 To compile this driver as a module, choose M here: the module will be
152 To compile this driver as a module, choose M here: the module
164 To compile this driver as a module, choose M here: the module
[all …]
/linux/drivers/iio/adc/
H A DKconfig22 To compile this driver as a module, choose M here: the module will be
56 To compile this driver as a module, choose M here: the module will be
70 To compile this driver as a module, choose M here: the module will be
83 To compile this driver as a module, choose M here: the module will be
97 To compile this driver as a module, choose M here: the module will be
112 To compile this driver as a module, choose M here: the module will be
124 To compile this driver as a module, choose M here: the module will be
139 To compile this driver as a module, choose M here: the module will be
154 To compile this driver as a module, choose M here: the module will be
168 To compile this driver as a module, choose M here: the module will be
[all …]
/linux/drivers/input/keyboard/
H A 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
48 To compile this driver as a module, choose M here: the
49 module will be called adp5585-keys.
61 To compile this driver as a module, choose M here: the
62 module will be called adp5588-keys.
71 To compile this driver as a module, choose M here: the
72 module will be called amikbd.
89 To compile this driver as a module, choose M here: the
[all …]
/linux/drivers/hwmon/
H A 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
116 This driver can also be built as a module. If so, the module
127 This driver can also be built as a module. If so, the module
138 This driver can also be built as a module. If so, the module
148 This driver can also be built as a module. If so, the module
[all …]
/linux/drivers/iio/pressure/
H A DKconfig16 To compile this driver as a module, choose M here: the module
32 To compile this driver as a module, choose M here: the module
34 for the core module.
44 To compile this driver as a module, choose M here: the module
46 for the core module.
73 To compile this driver as a module, choose M here: the core module
96 To compile this driver as a module, choose M here: the module
108 To compile this driver as a module, choose M here: the module
119 This driver can also be built as a module. If so, the module will be
132 To compile this driver as a module, choose M here: the module
[all …]
/linux/drivers/rtc/
H A DKconfig158 This driver can also be built as a module. If so, the module
172 This driver can also be built as a module. If so, the module
182 This driver can also be built as a module. If so, the module
192 This driver can also be built as a module. If so, the module
202 This driver can also be built as a module. If so, the module
212 This driver can also be built as a module. If so, the module
223 This driver can also be built as a module. If so, the module
233 This driver can also be built as a module. If so, the module
244 This driver can also be built as a module. If so, the module will
254 This driver can also be built as a module. If so, the module
[all …]
/linux/drivers/iio/accel/
H A 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. INPUT_ADXL34X share compatibles with this
90 To compile this driver as a module, choose M here: the module
92 for the core module. INPUT_ADXL34X share compatibles with this
[all …]
/linux/sound/pci/
H A DKconfig21 To compile this as a module, choose M here: the module
33 To compile this driver as a module, choose M here: the module
48 To compile this driver as a module, choose M here: the module
62 To compile this driver as a module, choose M here: the module
74 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
95 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
124 To compile this driver as a module, choose M here: the module
139 To compile this driver as a module, choose M here: the module
[all …]
/linux/drivers/char/hw_random/
H A DKconfig12 To compile this driver as a module, choose M here: the
13 module will be called rng-core. This provides a device
33 To compile this driver as a module, choose M here: the
34 module will be called timeriomem-rng.
46 To compile this driver as a module, choose M here: the
47 module will be called intel-rng.
60 To compile this driver as a module, choose M here: the
61 module will be called amd-rng.
73 To compile this driver as a module, choose M here: the
74 module will be called airoha-rng.
[all …]

12345678910>>...122