Home
last modified time | relevance | path

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

1234

/sound/soc/intel/skylake/
Dskl-sst-utils.c105 static int skl_get_pvtid_map(struct uuid_module *module, int instance_id) in skl_get_pvtid_map() argument
109 for (pvt_id = 0; pvt_id < module->max_instance; pvt_id++) { in skl_get_pvtid_map()
110 if (module->instance_id[pvt_id] == instance_id) in skl_get_pvtid_map()
119 struct uuid_module *module; in skl_get_pvt_instance_id_map() local
121 list_for_each_entry(module, &ctx->uuid_list, list) { in skl_get_pvt_instance_id_map()
122 if (module->id == module_id) in skl_get_pvt_instance_id_map()
123 return skl_get_pvtid_map(module, instance_id); in skl_get_pvt_instance_id_map()
130 static inline int skl_getid_32(struct uuid_module *module, u64 *val, in skl_getid_32() argument
136 max_inst = module->max_instance; in skl_getid_32()
151 static inline int skl_pvtid_128(struct uuid_module *module) in skl_pvtid_128() argument
[all …]
Dskl-sst.c263 struct skl_module_table *module; in skl_get_module() local
265 list_for_each_entry(module, &ctx->module_list, list) { in skl_get_module()
266 if (module->mod_info->mod_id == mod_id) in skl_get_module()
267 return ++module->usage_cnt; in skl_get_module()
275 struct skl_module_table *module; in skl_put_module() local
277 list_for_each_entry(module, &ctx->module_list, list) { in skl_put_module()
278 if (module->mod_info->mod_id == mod_id) in skl_put_module()
279 return --module->usage_cnt; in skl_put_module()
324 struct skl_module_table *module; in skl_module_get_from_id() local
331 list_for_each_entry(module, &ctx->module_list, list) { in skl_module_get_from_id()
[all …]
Dskl-messages.c450 struct skl_module *module = mconfig->module; in skl_set_base_module_format() local
451 struct skl_module_res *res = &module->resources[mconfig->res_idx]; in skl_set_base_module_format()
452 struct skl_module_iface *fmt = &module->formats[mconfig->fmt_idx]; in skl_set_base_module_format()
573 res = &mconfig->module->resources[mconfig->res_idx]; in skl_setup_cpr_gateway_cfg()
577 res = &mconfig->module->resources[res_idx]; in skl_setup_cpr_gateway_cfg()
660 struct skl_module *module = mconfig->module; in skl_setup_out_format() local
661 struct skl_module_iface *fmt = &module->formats[mconfig->fmt_idx]; in skl_setup_out_format()
687 struct skl_module *module = mconfig->module; in skl_set_src_format() local
688 struct skl_module_iface *iface = &module->formats[mconfig->fmt_idx]; in skl_set_src_format()
706 struct skl_module *module = mconfig->module; in skl_set_updown_mixer_format() local
[all …]
/sound/pci/
DKconfig20 To compile this as a module, choose M here: the module
32 To compile this driver as a module, choose M here: the module
46 To compile this driver as a module, choose M here: the module
60 To compile this driver as a module, choose M here: the module
72 To compile this driver as a module, choose M here: the module
83 To compile this driver as a module, choose M here: the module
93 To compile this driver as a module, choose M here: the module
107 To compile this driver as a module, choose M here: the module
120 To compile this driver as a module, choose M here: the module
134 To compile this driver as a module, choose M here: the module
[all …]
/sound/isa/
DKconfig36 To compile this driver as a module, choose M here: the module
51 To compile this driver as a module, choose M here: the module
64 To compile this driver as a module, choose M here: the module
79 To compile this driver as a module, choose M here: the module
92 To compile this driver as a module, choose M here: the module
105 To compile this driver as a module, choose M here: the module
119 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
144 To compile this driver as a module, choose M here: the module
155 To compile this driver as a module, choose M here: the module
[all …]
/sound/soc/intel/common/
Dsst-firmware.c423 struct sst_module *module, *mtmp; in sst_fw_unload() local
431 list_for_each_entry_safe(module, mtmp, &dsp->module_list, list) { in sst_fw_unload()
432 if (module->sst_fw == sst_fw) { in sst_fw_unload()
435 list_for_each_entry_safe(runtime, rtmp, &module->runtime_list, list) { in sst_fw_unload()
443 block_list_remove(dsp, &module->block_list); in sst_fw_unload()
444 list_del(&module->list); in sst_fw_unload()
445 kfree(module); in sst_fw_unload()
532 struct sst_module_runtime *sst_module_runtime_new(struct sst_module *module, in sst_module_runtime_new() argument
535 struct sst_dsp *dsp = module->dsp; in sst_module_runtime_new()
544 runtime->module = module; in sst_module_runtime_new()
[all …]
Dsst-dsp-priv.h162 struct sst_module *module; /* parent module we belong too */ member
243 struct sst_module *module; /* module that uses this block */ member
356 void sst_module_free(struct sst_module *module);
358 int sst_module_alloc_blocks(struct sst_module *module);
359 int sst_module_free_blocks(struct sst_module *module);
362 struct sst_module_runtime *sst_module_runtime_new(struct sst_module *module,
366 struct sst_module *module, u32 id);
/sound/soc/intel/haswell/
Dsst-haswell-dsp.c89 struct fw_module_header *module) in hsw_parse_module() argument
98 if (module->type != SST_HSW_MODULE_BASE_FW in hsw_parse_module()
99 && module->type != SST_HSW_MODULE_PCM_SYSTEM in hsw_parse_module()
100 && module->type != SST_HSW_MODULE_PCM in hsw_parse_module()
101 && module->type != SST_HSW_MODULE_PCM_REFERENCE in hsw_parse_module()
102 && module->type != SST_HSW_MODULE_PCM_CAPTURE in hsw_parse_module()
103 && module->type != SST_HSW_MODULE_WAVES in hsw_parse_module()
104 && module->type != SST_HSW_MODULE_LPAL) in hsw_parse_module()
108 module->signature, module->mod_size, in hsw_parse_module()
109 module->blocks, module->type); in hsw_parse_module()
[all …]
Dsst-haswell-ipc.c1159 struct sst_module *module = runtime->module; in sst_hsw_stream_set_module_info() local
1168 map->module_entries[0].module_id = module->id; in sst_hsw_stream_set_module_info()
1169 map->module_entries[0].entry_point = module->entry; in sst_hsw_stream_set_module_info()
1173 stream->request.persistent_mem.size = module->persistent_size; in sst_hsw_stream_set_module_info()
1179 dev_dbg(hsw->dev, "module %d runtime %d using:\n", module->id, in sst_hsw_stream_set_module_info()
1459 struct sst_module *module; in sst_hsw_runtime_module_create() local
1463 module = sst_module_get_from_id(dsp, mod_id); in sst_hsw_runtime_module_create()
1464 if (module == NULL) { in sst_hsw_runtime_module_create()
1470 runtime = sst_module_runtime_new(module, mod_id, NULL); in sst_hsw_runtime_module_create()
1723 struct sst_module *module; in sst_hsw_init_module_state() local
[all …]
/sound/soc/intel/atom/sst/
Dsst_loader.c116 struct fw_module_header **module, u32 *num_modules) in sst_validate_fw_image() argument
138 *module = (void *)sst_fw_in_mem + sizeof(*header); in sst_validate_fw_image()
181 struct fw_module_header *module, struct list_head *memcpy_list) in sst_parse_module_memcpy() argument
189 module->signature, module->mod_size, in sst_parse_module_memcpy()
190 module->blocks, module->type); in sst_parse_module_memcpy()
191 dev_dbg(sst_drv_ctx->dev, "module entrypoint 0x%x\n", module->entry_point); in sst_parse_module_memcpy()
193 block = (void *)module + sizeof(*module); in sst_parse_module_memcpy()
195 for (count = 0; count < module->blocks; count++) { in sst_parse_module_memcpy()
242 struct fw_module_header *module; in sst_parse_fw_memcpy() local
246 ret_val = sst_validate_fw_image(ctx, size, &module, &num_modules); in sst_parse_fw_memcpy()
[all …]
/sound/firewire/
DKconfig23 To compile this driver as a module, choose M here: the module
46 To compile this driver as a module, choose M here: the module
56 To compile this driver as a module, choose M here: the module
60 tristate "Echo Fireworks board module support"
72 To compile this driver as a module, choose M here: the module
113 To compile this driver as a module, choose M here: the module
128 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
153 To compile this driver as a module, choose M here: the module
/sound/drivers/
DKconfig59 You can compile this as a module which will be called snd-pcsp.
88 To compile this driver as a module, choose M here: the module
96 This module returns played samples back to the user space using
100 configured number of substreams (see the pcm_substreams module
107 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
135 To compile this driver as a module, choose M here: the module
148 To compile this driver as a module, chose 'M' here: the module
163 To compile this driver as a module, choose M here: the module
173 To compile this driver as a module, choose M here: the module
[all …]
/sound/soc/intel/baytrail/
Dsst-baytrail-dsp.c66 struct sst_byt_fw_module_header *module) in sst_byt_parse_module() argument
74 template.id = module->type; in sst_byt_parse_module()
75 template.entry = module->entry_point; in sst_byt_parse_module()
81 block = (void *)module + sizeof(*module); in sst_byt_parse_module()
83 for (count = 0; count < module->blocks; count++) { in sst_byt_parse_module()
125 struct sst_byt_fw_module_header *module; in sst_byt_parse_fw_image() local
145 module = (void *)sst_fw->dma_buf + sizeof(*header); in sst_byt_parse_fw_image()
148 ret = sst_byt_parse_module(dsp, sst_fw, module); in sst_byt_parse_fw_image()
153 module = (void *)module + sizeof(*module) + module->mod_size; in sst_byt_parse_fw_image()
/sound/usb/
DKconfig22 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
46 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
101 To compile this driver as a module, choose M here: the module
147 To compile this driver as a module, choose M here: the module
160 To compile this driver as a module, choose M here: the module
/sound/sparc/
DKconfig19 To compile this driver as a module, choose M here: the module
29 To compile this driver as a module, choose M here: the module
39 To compile this driver as a module, choose M here: the module
/sound/pcmcia/
DKconfig19 To compile this driver as a module, choose M here: the module
29 To compile this driver as a module, choose M here: the module
/sound/pci/cs46xx/
Ddsp_spos.c126 static struct dsp_segment_desc * get_segment_desc (struct dsp_module_desc * module, int seg_type) in get_segment_desc() argument
129 for (i = 0;i < module->nsegments; ++i) { in get_segment_desc()
130 if (module->segments[i].segment_type == seg_type) { in get_segment_desc()
131 return (module->segments + i); in get_segment_desc()
152 static int add_symbols (struct snd_cs46xx * chip, struct dsp_module_desc * module) in add_symbols() argument
157 if (module->symbol_table.nsymbols > 0) { in add_symbols()
158 if (!strcmp(module->symbol_table.symbols[0].symbol_name, "OVERLAYBEGINADDRESS") && in add_symbols()
159 module->symbol_table.symbols[0].symbol_type == SYMBOL_CONSTANT ) { in add_symbols()
160 module->overlay_begin_address = module->symbol_table.symbols[0].address; in add_symbols()
164 for (i = 0;i < module->symbol_table.nsymbols; ++i) { in add_symbols()
[all …]
/sound/core/
Dinit.c64 static int module_slot_match(struct module *module, int idx) in module_slot_match() argument
70 if (!module || !*module->name || !slots[idx]) in module_slot_match()
73 s1 = module->name; in module_slot_match()
128 static int check_empty_slot(struct module *module, int slot) in check_empty_slot() argument
137 static int get_slot_from_bitmask(int mask, int (*check)(struct module *, int), in get_slot_from_bitmask() argument
138 struct module *module) in get_slot_from_bitmask() argument
146 if (check(module, slot)) in get_slot_from_bitmask()
202 struct module *module, int extra_size, in snd_card_new() argument
224 idx = get_slot_from_bitmask(idx, module_slot_match, module); in snd_card_new()
226 idx = get_slot_from_bitmask(idx, check_empty_slot, module); in snd_card_new()
[all …]
Dinfo.c96 if (!try_module_get(entry->module)) in alloc_info_private()
100 module_put(entry->module); in alloc_info_private()
281 module_put(entry->module); in snd_info_entry_open()
295 module_put(entry->module); in snd_info_entry_release()
412 module_put(entry->module); in snd_info_text_entry_open()
434 module_put(entry->module); in snd_info_text_entry_release()
449 static struct snd_info_entry *create_subdir(struct module *mod, in create_subdir()
519 entry = create_subdir(card->module, str); in snd_info_card_create()
743 struct snd_info_entry *snd_info_create_module_entry(struct module * module, in snd_info_create_module_entry() argument
749 entry->module = module; in snd_info_create_module_entry()
[all …]
/sound/oss/dmasound/
DKconfig10 This driver is also available as a module ( = code which can be
12 want). If you want to compile it as a module, say M here and read
24 This driver is also available as a module ( = code which can be
26 want). If you want to compile it as a module, say M here and read
38 This driver is also available as a module ( = code which can be
40 want). If you want to compile it as a module, say M here and read
/sound/
DKconfig21 compile the sound card support as a module and load that module
23 and read <file:Documentation/sound/oss/README.modules>; the module
39 whether the respective module is loaded or not and try to load the
40 appropriate module using sound-slot/service-* and char-major-*
41 module aliases when one of the device numbers is opened. With
46 The only visible difference is use of additional module aliases
48 /proc/devices. sound-slot/service-* module aliases are scheduled
/sound/oss/
Dsb.h165 int sb_dsp_init (struct address_info *hw_config, struct module *owner);
167 int sb_mixer_init(sb_devc *devc, struct module *owner);
171 void sb_dsp_midi_init (sb_devc *devc, struct module *owner);
172 void sb_audio_init (sb_devc *devc, char *name, struct module *owner);
182 int probe_sbmpu (struct address_info *hw_config, struct module *owner);
Ddev_table.h156 struct module *owner;
167 struct module *owner;
247 struct module *owner;
258 struct module *owner;
311 struct module *owner;
343 struct module *owner;
/sound/ppc/
DKconfig20 To compile this driver as a module, choose M here: the module
44 To compile this driver as a module, choose M here: the module
/sound/core/seq/
DKconfig25 To compile this driver as a module, choose M here: the module
38 To compile this driver as a module, choose M here: the module

1234