Searched refs:mask (Results 26 - 50 of 6712) sorted by last modified time

1234567891011>>

/linux-master/sound/soc/sof/
H A Dsof-priv.h65 bool sof_debug_check_flag(int mask);
H A Dops.h77 * snd_sof_dsp_run returns the core mask of the cores that are available
372 u32 offset, u8 mask, u8 value)
377 reg &= ~mask;
641 u32 mask, u32 value);
644 u32 offset, u32 mask, u32 value);
647 u32 offset, u64 mask, u64 value);
650 u32 mask, u32 value);
653 u32 offset, u64 mask, u64 value);
656 u32 offset, u32 mask, u32 value);
659 u32 mask, u3
371 snd_sof_dsp_update8(struct snd_sof_dev *sdev, u32 bar, u32 offset, u8 mask, u8 value) argument
[all...]
H A Dops.c16 u32 mask, u32 value)
24 dev_dbg(sdev->dev, "Debug PCIR: %8.8x at %8.8x\n", old & mask, offset);
26 new = (old & ~mask) | (value & mask);
39 u32 mask, u32 value)
45 change = snd_sof_pci_update_bits_unlocked(sdev, offset, mask, value);
52 u32 offset, u32 mask, u32 value)
60 new = (old & ~mask) | (value & mask);
72 u32 offset, u64 mask, u6
15 snd_sof_pci_update_bits_unlocked(struct snd_sof_dev *sdev, u32 offset, u32 mask, u32 value) argument
38 snd_sof_pci_update_bits(struct snd_sof_dev *sdev, u32 offset, u32 mask, u32 value) argument
51 snd_sof_dsp_update_bits_unlocked(struct snd_sof_dev *sdev, u32 bar, u32 offset, u32 mask, u32 value) argument
71 snd_sof_dsp_update_bits64_unlocked(struct snd_sof_dev *sdev, u32 bar, u32 offset, u64 mask, u64 value) argument
90 snd_sof_dsp_update_bits(struct snd_sof_dev *sdev, u32 bar, u32 offset, u32 mask, u32 value) argument
104 snd_sof_dsp_update_bits64(struct snd_sof_dev *sdev, u32 bar, u32 offset, u64 mask, u64 value) argument
119 snd_sof_dsp_update_bits_forced_unlocked(struct snd_sof_dev *sdev, u32 bar, u32 offset, u32 mask, u32 value) argument
134 snd_sof_dsp_update_bits_forced(struct snd_sof_dev *sdev, u32 bar, u32 offset, u32 mask, u32 value) argument
[all...]
H A Dipc4-topology.c1026 /* set pipeline core mask to keep track of the core the module is scheduled to run on */
1879 u32 mask; local
1896 mask = GENMASK(step - 1, 0);
1929 * Set the same channel mask for playback as the audio data is
1942 blob->alh_cfg.mapping[i].channel_mask = mask << (step * i);
H A Dipc4-mtrace.c338 u32 mask; local
342 * To update Nth mask entry, write:
344 * The mask will be interpreted as hexadecimal number
350 ret = sscanf(buf, "%u,0x%x", &id, &mask);
352 ret = sscanf(buf, "%u,%x", &id, &mask);
364 priv->state_info.logs_priorities_mask[id] = mask;
H A Dcore.c33 * @mask: Flag or combination of flags to check
35 * Returns true if all bits set in mask is also set in sof_core_debug, otherwise
38 bool sof_debug_check_flag(int mask) argument
40 if ((sof_core_debug & mask) == mask)
317 "ipc_type %d is not supported on this platform, mask is %#x\n",
/linux-master/sound/soc/sof/intel/
H A Dmtl.c157 u32 mask; local
165 mask = MTL_DSP_REG_HfSNDWIE_IE_MASK;
167 val = mask;
171 snd_sof_dsp_update_bits(sdev, HDA_DSP_BAR, MTL_DSP_REG_HfSNDWIE, mask, val);
175 (hipcie & mask) == val,
187 u32 mask; local
198 mask = MTL_IRQ_INTEN_L_HOST_IPC_MASK | MTL_IRQ_INTEN_L_SOUNDWIRE_MASK;
200 val = mask;
204 snd_sof_dsp_update_bits(sdev, HDA_DSP_BAR, hfintipptr, mask, val);
208 (irqinten & mask)
[all...]
H A Dhda-stream.c166 u32 mask; local
173 mask = (1 << hstream->index);
177 SOF_HDA_ADSP_REG_CL_SPBFIFO_SPBFCCTL, mask,
427 u32 mask = 0x1 << hstream->index; local
478 mask, mask);
505 u32 mask; local
520 mask = BIT(hstream->index);
525 mask, mask);
701 u32 mask = BIT(hstream->index); local
[all...]
H A Dhda-loader.c111 unsigned long mask; local
194 /* set enabled cores mask and increment ref count for cores in init_core_mask */
196 mask = sdev->enabled_cores_mask;
197 for_each_set_bit(j, &mask, SOF_MAX_DSP_NUM_CORES)
H A Dhda-mlink.c193 int mask = BIT(sublink) << AZX_ML_LCTL_CPA_SHIFT; local
202 if (val & mask)
205 if (!(val & mask))
219 u32 mask = BIT(sublink) << AZX_ML_LCTL_SPA_SHIFT; local
222 val |= mask;
232 u32 mask; local
235 mask = BIT(sublink) << AZX_ML_LCTL_SPA_SHIFT;
236 val &= ~mask;
265 static int hdaml_wait_bit(void __iomem *base, int offset, u32 mask, u32 target) argument
272 if ((reg_read & mask)
[all...]
H A Dhda-codec.c26 MODULE_PARM_DESC(codec_mask, "SOF HDA codec mask for probing");
81 unsigned int mask = 0; local
91 mask |= BIT(codec->core.addr);
98 mask |= BIT(codec->core.addr);
102 snd_hdac_chip_updatew(bus, WAKEEN, mask & STATESTS_INT_MASK, val);
H A Dhda-bus.c24 unsigned int mask = snd_hdac_chip_readw(bus, WAKEEN); local
27 mask &= ~BIT(addr);
29 mask |= BIT(addr);
31 snd_hdac_chip_updatew(bus, WAKEEN, STATESTS_INT_MASK, mask);
/linux-master/sound/soc/
H A Dsoc-topology.c898 se->mask = le32_to_cpu(ec->mask);
1207 se->mask = le32_to_cpu(ec->mask);
1343 template.mask = le32_to_cpu(w->mask);
H A Dsoc-pcm.c789 dev_dbg(dev, "ASoC: rate mask 0x%x\n", hw->rates);
939 unsigned int mask)
942 int channels = hweight_long(mask);
1082 * construct cpu channel mask by combining ch_mask of each
938 soc_pcm_codec_params_fixup(struct snd_pcm_hw_params *params, unsigned int mask) argument
H A Dsoc-jack.c24 * @mask: a bitmask of enum snd_jack_type values that being reported.
33 void snd_soc_jack_report(struct snd_soc_jack *jack, int status, int mask) argument
41 trace_snd_soc_jack_report(jack, mask, status);
47 jack->status &= ~mask;
48 jack->status |= status & mask;
53 int enable = pin->mask & jack->status;
147 if (!pins[i].mask) {
148 dev_err(jack->card->dev, "ASoC: No mask for pin %d"
155 snd_jack_add_new_kctl(jack->jack, pins[i].pin, pins[i].mask);
H A Dsoc-dapm.c397 template.mask = (1 << fls(mc->max)) - 1;
435 template.mask = e->mask;
456 (e->mask << e->shift_l);
566 data->widget->on_val = value & data->widget->mask;
639 int reg, unsigned int mask, unsigned int value)
644 mask, value);
648 int reg, unsigned int mask, unsigned int value)
652 return snd_soc_component_test_bits(dapm->component, reg, mask, value);
760 val = (val >> e->shift_l) & e->mask;
638 soc_dapm_update_bits(struct snd_soc_dapm_context *dapm, int reg, unsigned int mask, unsigned int value) argument
647 soc_dapm_test_bits(struct snd_soc_dapm_context *dapm, int reg, unsigned int mask, unsigned int value) argument
794 unsigned int mask = (1 << fls(max)) - 1; local
1595 unsigned int mask = 0; local
3388 unsigned int mask = (1 << fls(max)) - 1; local
3447 unsigned int mask = (1 << width) - 1; local
3571 unsigned int mask; local
[all...]
H A Dsoc-core.c1261 unsigned int mask = 0, dai_fmt = 0; local
1402 mask |= SND_SOC_DAIFMT_FORMAT_MASK;
1404 mask |= SND_SOC_DAIFMT_CLOCK_MASK;
1406 mask |= SND_SOC_DAIFMT_INV_MASK;
1408 mask |= SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK;
1410 dai_link->dai_fmt |= (dai_fmt & mask);
3104 unsigned int *mask)
3115 *mask |= (1 << i);
3131 snd_soc_of_get_slot_mask(np, "dai-tdm-slot-tx-mask", tx_mask);
3133 snd_soc_of_get_slot_mask(np, "dai-tdm-slot-rx-mask", rx_mas
3102 snd_soc_of_get_slot_mask(struct device_node *np, const char *prop_name, unsigned int *mask) argument
[all...]
/linux-master/sound/soc/sh/rcar/
H A Dssi.c38 #define DWL_MASK (7u << 19) /* Data Word Length mask */
175 int i, mask; local
177 mask = 0;
184 mask |= 1 << rsnd_mod_id(mod);
187 return mask;
H A Drsnd.h255 void rsnd_mod_bset(struct rsnd_mod *mod, enum rsnd_reg reg, u32 mask, u32 data);
H A Dgen.c119 enum rsnd_reg reg, u32 mask, u32 data)
129 rsnd_mod_id_cmd(mod), mask, data);
133 rsnd_reg_name(gen, reg), reg, data, mask);
118 rsnd_mod_bset(struct rsnd_mod *mod, enum rsnd_reg reg, u32 mask, u32 data) argument
H A Ddma.c451 static void rsnd_dmapp_bset(struct rsnd_dma *dma, u32 data, u32 mask, u32 reg) argument
459 val &= ~mask;
460 val |= (data & mask);
H A Dcore.c536 u32 mask = 0xF << shift; local
548 *status = (*status & ~mask) + (next_val << shift);
1003 constraint->mask = 0;
/linux-master/sound/soc/samsung/
H A Dmidas_wm1811.c42 .mask = SND_JACK_HEADPHONE,
46 .mask = SND_JACK_MICROPHONE,
H A Di2s.c512 u32 mod, mask, val = 0; local
524 mask = MOD_OPCLK_MASK;
528 mask = 1 << i2s_regs->cdclkcon_off;
553 mask = 1 << i2s_regs->rclksrc_off;
617 mod = (mod & ~mask) | val;
730 u32 mod, mask = 0, val = 0; local
737 mask |= (MOD_DC2_EN | MOD_DC1_EN);
766 mask |= MOD_BLCS_MASK;
768 mask |= MOD_BLCP_MASK;
771 mask |
[all...]
/linux-master/sound/soc/qcom/
H A Dsc7280.c51 .mask = SND_JACK_HEADPHONE,
55 .mask = SND_JACK_MICROPHONE,

Completed in 357 milliseconds

1234567891011>>