Searched refs:mod (Results 76 - 100 of 451) sorted by last modified time

1234567891011>>

/linux-master/sound/soc/sh/rcar/
H A Ddvc.c37 struct rsnd_mod mod; member in struct:rsnd_dvc
49 container_of((_mod), struct rsnd_dvc, mod)
57 static void rsnd_dvc_activation(struct rsnd_mod *mod) argument
59 rsnd_mod_write(mod, DVC_SWRSR, 0);
60 rsnd_mod_write(mod, DVC_SWRSR, 1);
63 static void rsnd_dvc_halt(struct rsnd_mod *mod) argument
65 rsnd_mod_write(mod, DVC_DVUIR, 1);
66 rsnd_mod_write(mod, DVC_SWRSR, 0);
74 struct rsnd_mod *mod)
76 struct rsnd_dvc *dvc = rsnd_mod_to_dvc(mod);
73 rsnd_dvc_volume_parameter(struct rsnd_dai_stream *io, struct rsnd_mod *mod) argument
93 rsnd_dvc_volume_init(struct rsnd_dai_stream *io, struct rsnd_mod *mod) argument
143 rsnd_dvc_volume_update(struct rsnd_dai_stream *io, struct rsnd_mod *mod) argument
178 rsnd_dvc_probe_(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) argument
185 rsnd_dvc_init(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) argument
204 rsnd_dvc_quit(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) argument
215 rsnd_dvc_pcm_new(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct snd_soc_pcm_runtime *rtd) argument
283 rsnd_dvc_dma_req(struct rsnd_dai_stream *io, struct rsnd_mod *mod) argument
293 rsnd_dvc_debug_info(struct seq_file *m, struct rsnd_dai_stream *io, struct rsnd_mod *mod) argument
[all...]
H A Ddma.c35 struct rsnd_mod mod; member in struct:rsnd_dma
54 #define rsnd_mod_to_dma(_mod) container_of((_mod), struct rsnd_dma, mod)
69 static void __rsnd_dmaen_complete(struct rsnd_mod *mod, argument
78 struct rsnd_mod *mod = data; local
80 rsnd_mod_interrupt(mod, __rsnd_dmaen_complete);
97 static int rsnd_dmaen_stop(struct rsnd_mod *mod, argument
101 struct rsnd_dma *dma = rsnd_mod_to_dma(mod);
110 static int rsnd_dmaen_cleanup(struct rsnd_mod *mod, argument
114 struct rsnd_dma *dma = rsnd_mod_to_dma(mod);
130 static int rsnd_dmaen_prepare(struct rsnd_mod *mod, argument
159 rsnd_dmaen_start(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) argument
240 rsnd_dma_request_channel(struct device_node *of_node, char *name, struct rsnd_mod *mod, char *x) argument
306 rsnd_dmaen_pointer(struct rsnd_mod *mod, struct rsnd_dai_stream *io, snd_pcm_uframes_t *pointer) argument
379 rsnd_dmapp_get_id(struct rsnd_dai_stream *io, struct rsnd_mod *mod) argument
432 struct rsnd_mod *mod = rsnd_mod_get(dma); local
444 struct rsnd_mod *mod = rsnd_mod_get(dma); local
453 struct rsnd_mod *mod = rsnd_mod_get(dma); local
465 rsnd_dmapp_stop(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) argument
483 rsnd_dmapp_start(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) argument
518 rsnd_dmapp_debug_info(struct seq_file *m, struct rsnd_dai_stream *io, struct rsnd_mod *mod) argument
582 rsnd_gen2_dma_addr(struct rsnd_dai_stream *io, struct rsnd_mod *mod, int is_play, int is_from) argument
665 rsnd_gen4_dma_addr(struct rsnd_dai_stream *io, struct rsnd_mod *mod, int is_play, int is_from) argument
686 rsnd_dma_addr(struct rsnd_dai_stream *io, struct rsnd_mod *mod, int is_play, int is_from) argument
718 struct rsnd_mod *mod[MOD_MAX]; local
815 rsnd_dma_alloc(struct rsnd_dai_stream *io, struct rsnd_mod *mod, struct rsnd_mod **dma_mod) argument
891 rsnd_dma_attach(struct rsnd_dai_stream *io, struct rsnd_mod *mod, struct rsnd_mod **dma_mod) argument
[all...]
H A Dctu.c73 struct rsnd_mod mod; member in struct:rsnd_ctu
91 container_of((_mod), struct rsnd_ctu, mod)
95 static void rsnd_ctu_activation(struct rsnd_mod *mod) argument
97 rsnd_mod_write(mod, CTU_SWRSR, 0);
98 rsnd_mod_write(mod, CTU_SWRSR, 1);
101 static void rsnd_ctu_halt(struct rsnd_mod *mod) argument
103 rsnd_mod_write(mod, CTU_CTUIR, 1);
104 rsnd_mod_write(mod, CTU_SWRSR, 0);
107 static int rsnd_ctu_probe_(struct rsnd_mod *mod, argument
111 return rsnd_cmd_attach(io, rsnd_mod_id(mod));
114 rsnd_ctu_value_init(struct rsnd_dai_stream *io, struct rsnd_mod *mod) argument
151 rsnd_ctu_value_reset(struct rsnd_dai_stream *io, struct rsnd_mod *mod) argument
170 rsnd_ctu_init(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) argument
187 rsnd_ctu_quit(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) argument
198 rsnd_ctu_pcm_new(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct snd_soc_pcm_runtime *rtd) argument
264 rsnd_ctu_id(struct rsnd_mod *mod) argument
273 rsnd_ctu_id_sub(struct rsnd_mod *mod) argument
283 rsnd_ctu_debug_info(struct seq_file *m, struct rsnd_dai_stream *io, struct rsnd_mod *mod) argument
[all...]
H A Dcore.c50 * | +- playback -> [mod] -> [mod] -> [mod] -> ...
53 * | +- capture -> [mod] -> [mod] -> [mod] -> ...
57 * | +- playback -> [mod] -> [mod] -> [mod] -> ...
60 * | +- capture -> [mod]
116 rsnd_mod_make_sure(struct rsnd_mod *mod, enum rsnd_mod_type type) argument
127 rsnd_mod_dma_req(struct rsnd_dai_stream *io, struct rsnd_mod *mod) argument
138 rsnd_mod_name(struct rsnd_mod *mod) argument
167 rsnd_mod_get_status(struct rsnd_mod *mod, struct rsnd_dai_stream *io, enum rsnd_mod_type type) argument
174 rsnd_mod_id_raw(struct rsnd_mod *mod) argument
179 rsnd_mod_id(struct rsnd_mod *mod) argument
187 rsnd_mod_id_sub(struct rsnd_mod *mod) argument
195 rsnd_mod_init(struct rsnd_priv *priv, struct rsnd_mod *mod, struct rsnd_mod_ops *ops, struct clk *clk, enum rsnd_mod_type type, int id) argument
216 rsnd_mod_quit(struct rsnd_mod *mod) argument
222 rsnd_mod_interrupt(struct rsnd_mod *mod, void (*callback)(struct rsnd_mod *mod, struct rsnd_dai_stream *io)) argument
349 rsnd_get_adinr_bit(struct rsnd_mod *mod, struct rsnd_dai_stream *io) argument
372 rsnd_get_dalign(struct rsnd_mod *mod, struct rsnd_dai_stream *io) argument
429 rsnd_get_busif_shift(struct rsnd_dai_stream *io, struct rsnd_mod *mod) argument
488 struct rsnd_mod *mod = rsnd_io_to_mod(io, type); local
531 rsnd_status_update(struct rsnd_dai_stream *io, struct rsnd_mod *mod, enum rsnd_mod_type type, int shift, int add, int timing) argument
577 rsnd_dai_connect(struct rsnd_mod *mod, struct rsnd_dai_stream *io, enum rsnd_mod_type type) argument
605 rsnd_dai_disconnect(struct rsnd_mod *mod, struct rsnd_dai_stream *io, enum rsnd_mod_type type) argument
1182 struct rsnd_mod *mod; local
1830 rsnd_kctrl_new(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct snd_soc_pcm_runtime *rtd, const unsigned char *name, int (*accept)(struct rsnd_dai_stream *io), void (*update)(struct rsnd_dai_stream *io, struct rsnd_mod *mod), struct rsnd_kctrl_cfg *cfg, const char * const *texts, int size, u32 max) argument
1910 struct rsnd_mod *mod; local
[all...]
H A Dcmd.c11 struct rsnd_mod mod; member in struct:rsnd_cmd
23 static int rsnd_cmd_init(struct rsnd_mod *mod, argument
41 if (ARRAY_SIZE(path) < rsnd_mod_id(mod) + 1)
90 rsnd_mod_write(mod, CMD_ROUTE_SLCT, data);
91 rsnd_mod_write(mod, CMD_BUSIF_MODE, rsnd_get_busif_shift(io, mod) | 1);
92 rsnd_mod_write(mod, CMD_BUSIF_DALIGN, rsnd_get_dalign(mod, io));
94 rsnd_adg_set_cmd_timsel_gen2(mod, io);
99 static int rsnd_cmd_start(struct rsnd_mod *mod, argument
108 rsnd_cmd_stop(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct rsnd_priv *priv) argument
118 rsnd_cmd_debug_info(struct seq_file *m, struct rsnd_dai_stream *io, struct rsnd_mod *mod) argument
149 struct rsnd_mod *mod = rsnd_cmd_mod_get(priv, id); local
[all...]
/linux-master/sound/soc/samsung/
H A Di2s.c273 u32 mod = readl(priv->addr + I2SMOD); local
276 mod &= ~(priv->variant_regs->rfs_mask << rfs_shift);
280 mod |= (EXYNOS7_MOD_RCLK_192FS << rfs_shift);
283 mod |= (EXYNOS7_MOD_RCLK_96FS << rfs_shift);
286 mod |= (EXYNOS7_MOD_RCLK_128FS << rfs_shift);
289 mod |= (EXYNOS7_MOD_RCLK_64FS << rfs_shift);
292 mod |= (MOD_RCLK_768FS << rfs_shift);
295 mod |= (MOD_RCLK_512FS << rfs_shift);
298 mod |= (MOD_RCLK_384FS << rfs_shift);
301 mod |
334 u32 mod = readl(priv->addr + I2SMOD); local
403 u32 mod = readl(addr + I2SMOD) & ~(3 << txr_off); local
454 u32 mod = readl(addr + I2SMOD) & ~(3 << txr_off); local
512 u32 mod, mask, val = 0; local
634 u32 mod, tmp = 0; local
730 u32 mod, mask = 0, val = 0; local
[all...]
/linux-master/sound/soc/intel/skylake/
H A Dskl-topology.c3075 struct skl_module *mod)
3078 if (!mod)
3083 mod->input_pin_type = tkn_elem->value;
3087 mod->output_pin_type = tkn_elem->value;
3091 mod->max_input_pins = tkn_elem->value;
3095 mod->max_output_pins = tkn_elem->value;
3099 mod->nr_resources = tkn_elem->value;
3103 mod->nr_interfaces = tkn_elem->value;
3107 dev_err(dev, "Invalid mod info token %d", tkn_elem->token);
3123 struct skl_module *mod local
3073 skl_tplg_fill_mod_info(struct device *dev, struct snd_soc_tplg_vendor_value_elem *tkn_elem, struct skl_module *mod) argument
[all...]
/linux-master/sound/soc/intel/catpt/
H A Dloader.c129 dev_dbg(cdev->dev, "storing mod %d state: off 0x%08x size %d\n",
373 struct catpt_fw_mod_hdr *mod)
375 u32 offset = sizeof(*mod);
379 mod, sizeof(*mod), false);
381 for (i = 0; i < mod->blocks; i++) {
385 blk = (struct catpt_fw_block_hdr *)((u8 *)mod + offset);
414 struct catpt_fw_mod_hdr *mod)
417 u32 offset = sizeof(*mod);
421 mod, sizeo
371 catpt_restore_module(struct catpt_dev *cdev, struct dma_chan *chan, dma_addr_t paddr, struct catpt_fw_mod_hdr *mod) argument
412 catpt_load_module(struct catpt_dev *cdev, struct dma_chan *chan, dma_addr_t paddr, struct catpt_fw_mod_hdr *mod) argument
470 struct catpt_fw_mod_hdr *mod; local
516 struct catpt_fw_mod_hdr *mod; local
[all...]
/linux-master/sound/soc/intel/avs/
H A Dpath.c33 struct avs_path_module *mod; local
35 list_for_each_entry(mod, &ppl->mod_list, node)
36 if (mod->template->id == template_id)
37 return mod;
145 static int avs_copier_create(struct avs_dev *adev, struct avs_path_module *mod) argument
147 struct avs_tplg_module *t = mod->template;
222 node_id.vindex = mod->owner->owner->dma_id;
228 mod->owner->owner->dma_id;
257 mod->gtw_attrs = cfg->gtw_cfg.config.attrs;
259 ret = avs_dsp_init_module(adev, mod
265 avs_get_module_control(struct avs_path_module *mod) argument
288 avs_peakvol_create(struct avs_dev *adev, struct avs_path_module *mod) argument
324 avs_updown_mix_create(struct avs_dev *adev, struct avs_path_module *mod) argument
346 avs_src_create(struct avs_dev *adev, struct avs_path_module *mod) argument
363 avs_asrc_create(struct avs_dev *adev, struct avs_path_module *mod) argument
383 avs_aec_create(struct avs_dev *adev, struct avs_path_module *mod) argument
402 avs_mux_create(struct avs_dev *adev, struct avs_path_module *mod) argument
420 avs_wov_create(struct avs_dev *adev, struct avs_path_module *mod) argument
437 avs_micsel_create(struct avs_dev *adev, struct avs_path_module *mod) argument
454 avs_modbase_create(struct avs_dev *adev, struct avs_path_module *mod) argument
470 avs_modext_create(struct avs_dev *adev, struct avs_path_module *mod) argument
510 avs_probe_create(struct avs_dev *adev, struct avs_path_module *mod) argument
538 avs_path_module_type_create(struct avs_dev *adev, struct avs_path_module *mod) argument
549 avs_path_module_send_init_configs(struct avs_dev *adev, struct avs_path_module *mod) argument
576 avs_path_module_free(struct avs_dev *adev, struct avs_path_module *mod) argument
586 struct avs_path_module *mod; local
695 struct avs_path_module *mod; local
726 struct avs_path_module *mod, *save; local
776 struct avs_path_module *mod; local
[all...]
H A Dloader.c215 const struct firmware *mod; local
224 ret = avs_request_firmware(adev, &mod, mod_name);
233 hda_cldma_set_data(cl, (void *)mod->data, mod->size);
H A Dcontrol.c28 struct avs_path_module *mod; local
33 list_for_each_entry(mod, &ppl->mod_list, node) {
34 if (guid_equal(&mod->template->cfg_ext->type, &AVS_PEAKVOL_MOD_UUID)
35 && mod->template->ctl_id == id) {
37 return mod;
H A Dapl.c197 struct avs_path_module *mod; local
199 list_for_each_entry(mod, &ppl->mod_list, node) {
202 cfg = mod->template->cfg_ext;
211 if (!mod->gtw_attrs.lp_buffer_alloc) {
/linux-master/sound/soc/codecs/
H A Dcx2072x.c689 unsigned int mod; local
837 mod = do_div(div, bclk_rate);
838 if (mod) {
/linux-master/kernel/module/
H A Dkallsyms.c25 const struct module *mod)
29 if (!mod)
32 ks = lookup_exported_symbol(name, mod->syms, mod->syms + mod->num_syms);
113 void layout_symtab(struct module *mod, struct load_info *info) argument
119 struct module_memory *mod_mem_data = &mod->mem[MOD_DATA];
120 struct module_memory *mod_mem_init_data = &mod->mem[MOD_INIT_DATA];
124 symsect->sh_entsize = module_get_offset_and_type(mod, MOD_INIT_DATA,
133 if (i == 0 || is_livepatch_module(mod) ||
24 is_exported(const char *name, unsigned long value, const struct module *mod) argument
170 add_kallsyms(struct module *mod, const struct load_info *info) argument
228 init_build_id(struct module *mod, const struct load_info *info) argument
242 init_build_id(struct module *mod, const struct load_info *info) argument
256 find_kallsyms_symbol(struct module *mod, unsigned long addr, unsigned long *size, unsigned long *offset) argument
314 dereference_module_function_descriptor(struct module *mod, void *ptr) argument
332 struct module *mod; local
361 struct module *mod; local
387 struct module *mod; local
414 __find_kallsyms_symbol_value(struct module *mod, const char *name) argument
431 struct module *mod; local
466 find_kallsyms_symbol_value(struct module *mod, const char *name) argument
480 struct module *mod; local
[all...]
/linux-master/kernel/livepatch/
H A Dtransition.c98 klp_transition_patch->mod->name,
152 pr_notice("'%s': %s complete\n", klp_transition_patch->mod->name,
171 klp_transition_patch->mod->name);
538 klp_transition_patch->mod->name,
591 pr_debug("'%s': initializing %s transition\n", patch->mod->name,
654 klp_transition_patch->mod->name,
H A Dcore.c54 /* sets obj->mod if object is not vmlinux and module is found */
57 struct module *mod; local
68 mod = find_module(obj->name);
73 * until mod->exit() finishes. This is especially important for
76 if (mod && mod->klp_alive)
77 obj->mod = mod;
654 obj->mod = NULL;
725 module_put(patch->mod);
1188 klp_cleanup_module_patches_limited(struct module *mod, struct klp_patch *limit) argument
1217 klp_module_coming(struct module *mod) argument
1298 klp_module_going(struct module *mod) argument
[all...]
/linux-master/include/linux/
H A Dmodule.h47 struct module *mod; member in struct:module_kobject
320 struct module *mod; member in struct:mod_tree_node
603 static inline bool module_is_live(struct module *mod) argument
605 return mod->state != MODULE_STATE_GOING;
608 static inline bool module_is_coming(struct module *mod) argument
610 return mod->state == MODULE_STATE_COMING;
621 const struct module *mod,
626 base = (unsigned long)mod->mem[type].base;
627 size = mod->mem[type].size;
632 const struct module *mod)
620 within_module_mem_type(unsigned long addr, const struct module *mod, enum mod_mem_type type) argument
631 within_module_core(unsigned long addr, const struct module *mod) argument
641 within_module_init(unsigned long addr, const struct module *mod) argument
651 within_module(unsigned long addr, const struct module *mod) argument
751 is_livepatch_module(struct module *mod) argument
794 within_module_core(unsigned long addr, const struct module *mod) argument
800 within_module_init(unsigned long addr, const struct module *mod) argument
806 within_module(unsigned long addr, const struct module *mod) argument
860 dereference_module_function_descriptor(struct module *mod, void *ptr) argument
865 module_is_coming(struct module *mod) argument
889 module_bug_finalize(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs, struct module *mod) argument
894 module_bug_cleanup(struct module *mod) argument
994 find_kallsyms_symbol_value(struct module *mod, const char *name) argument
[all...]
H A Dmoduleloader.h23 struct module *mod);
26 unsigned int arch_mod_section_prepend(struct module *mod, unsigned int section);
52 struct module *mod);
75 struct module *mod);
109 struct module *mod);
120 void module_arch_cleanup(struct module *mod);
122 /* Any cleanup before freeing mod->module_init */
123 void module_arch_freeing_init(struct module *mod);
H A Dlivepatch.h112 * @mod: kernel module associated with the patched object
127 struct module *mod; member in struct:klp_object
146 * @mod: reference to the live patch module
160 struct module *mod; member in struct:klp_patch
198 int klp_module_coming(struct module *mod);
199 void klp_module_going(struct module *mod);
240 static inline int klp_module_coming(struct module *mod) { return 0; } argument
241 static inline void klp_module_going(struct module *mod) {} argument
H A Ddynamic_debug.h87 struct module *mod; member in struct:ddebug_class_map
106 .mod = THIS_MODULE, \
/linux-master/drivers/video/fbdev/omap2/omapfb/dss/
H A Ddsi.c45 #define DSI_REG(mod, idx) ((const struct dsi_reg) { mod, idx })
/linux-master/drivers/gpu/drm/tilcdc/
H A Dtilcdc_panel.c40 struct panel_module *mod; member in struct:panel_encoder
47 struct backlight_device *backlight = panel_encoder->mod->backlight;
48 struct gpio_desc *gpio = panel_encoder->mod->enable_gpio;
86 struct panel_module *mod)
97 panel_encoder->mod = mod;
123 struct panel_module *mod; member in struct:panel_connector
138 struct display_timings *timings = panel_connector->mod->timings;
187 struct panel_module *mod, struct drm_encoder *encoder)
199 panel_connector->mod
85 panel_encoder_create(struct drm_device *dev, struct panel_module *mod) argument
186 panel_connector_create(struct drm_device *dev, struct panel_module *mod, struct drm_encoder *encoder) argument
225 panel_modeset_init(struct tilcdc_module *mod, struct drm_device *dev) argument
309 struct tilcdc_module *mod; local
373 struct tilcdc_module *mod = dev_get_platdata(&pdev->dev); local
[all...]
/linux-master/drivers/gpu/drm/nouveau/
H A Dnouveau_display.c196 int mod; local
204 for (mod = 0;
205 (disp->format_modifiers[mod] != DRM_FORMAT_MOD_INVALID) &&
206 (disp->format_modifiers[mod] != modifier);
207 mod++);
209 if (disp->format_modifiers[mod] == DRM_FORMAT_MOD_INVALID) {
210 for (mod = 0;
211 (legacy_modifiers[mod] != DRM_FORMAT_MOD_INVALID) &&
212 (legacy_modifiers[mod] != modifier);
213 mod
[all...]
/linux-master/drivers/gpu/drm/
H A Ddrm_plane.c192 struct drm_format_modifier *mod; local
229 mod = modifiers_ptr(blob_data);
236 mod->formats |= 1ULL << j;
240 mod->modifier = plane->modifiers[i];
241 mod->offset = 0;
242 mod->pad = 0;
243 mod++;
/linux-master/arch/x86/kernel/
H A Dmodule.c318 void module_arch_cleanup(struct module *mod) argument
320 alternatives_smp_module_del(mod);

Completed in 324 milliseconds

1234567891011>>