Home
last modified time | relevance | path

Searched refs:mix (Results 1 – 25 of 192) sorted by relevance

12345678

/OK3568_Linux_fs/kernel/sound/ppc/
H A Dtumbler.c198 static int tumbler_set_master_volume(struct pmac_tumbler *mix) in tumbler_set_master_volume() argument
203 if (! mix->i2c.client) in tumbler_set_master_volume()
206 if (! mix->master_switch[0]) in tumbler_set_master_volume()
209 left_vol = mix->master_vol[0]; in tumbler_set_master_volume()
214 if (! mix->master_switch[1]) in tumbler_set_master_volume()
217 right_vol = mix->master_vol[1]; in tumbler_set_master_volume()
231 if (i2c_smbus_write_i2c_block_data(mix->i2c.client, TAS_REG_VOL, 6, in tumbler_set_master_volume()
256 struct pmac_tumbler *mix = chip->mixer_data; in tumbler_get_master_volume() local
258 ucontrol->value.integer.value[0] = mix->master_vol[0]; in tumbler_get_master_volume()
259 ucontrol->value.integer.value[1] = mix->master_vol[1]; in tumbler_get_master_volume()
[all …]
H A Ddaca.c54 static int daca_set_volume(struct pmac_daca *mix) in daca_set_volume() argument
58 if (! mix->i2c.client) in daca_set_volume()
61 if (mix->left_vol > DACA_VOL_MAX) in daca_set_volume()
64 data[0] = mix->left_vol; in daca_set_volume()
65 if (mix->right_vol > DACA_VOL_MAX) in daca_set_volume()
68 data[1] = mix->right_vol; in daca_set_volume()
69 data[1] |= mix->deemphasis ? 0x40 : 0; in daca_set_volume()
70 if (i2c_smbus_write_block_data(mix->i2c.client, DACA_REG_AVOL, in daca_set_volume()
86 struct pmac_daca *mix; in daca_get_deemphasis() local
87 if (! (mix = chip->mixer_data)) in daca_get_deemphasis()
[all …]
/OK3568_Linux_fs/kernel/drivers/clk/mmp/
H A Dclk-mix.c27 static unsigned int _get_maxdiv(struct mmp_clk_mix *mix) in _get_maxdiv() argument
29 unsigned int div_mask = (1 << mix->reg_info.width_div) - 1; in _get_maxdiv()
33 if (mix->div_flags & CLK_DIVIDER_ONE_BASED) in _get_maxdiv()
35 if (mix->div_flags & CLK_DIVIDER_POWER_OF_TWO) in _get_maxdiv()
37 if (mix->div_table) { in _get_maxdiv()
38 for (clkt = mix->div_table; clkt->div; clkt++) in _get_maxdiv()
46 static unsigned int _get_div(struct mmp_clk_mix *mix, unsigned int val) in _get_div() argument
50 if (mix->div_flags & CLK_DIVIDER_ONE_BASED) in _get_div()
52 if (mix->div_flags & CLK_DIVIDER_POWER_OF_TWO) in _get_div()
54 if (mix->div_table) { in _get_div()
[all …]
/OK3568_Linux_fs/kernel/sound/soc/sh/rcar/
H A Dmix.c61 #define rsnd_mix_get(priv, id) ((struct rsnd_mix *)(priv->mix) + id)
66 ((pos) = (struct rsnd_mix *)(priv)->mix + i); \
81 #define rsnd_mix_get_vol(mix, X) \ argument
82 rsnd_flags_has(mix, HAS_VOL##X) ? \
83 (VOL_MAX - rsnd_kctrl_vals(mix->volume##X)) : 0
89 struct rsnd_mix *mix = rsnd_mod_to_mix(mod); in rsnd_mix_volume_parameter() local
90 u32 volA = rsnd_mix_get_vol(mix, A); in rsnd_mix_volume_parameter()
91 u32 volB = rsnd_mix_get_vol(mix, B); in rsnd_mix_volume_parameter()
92 u32 volC = rsnd_mix_get_vol(mix, C); in rsnd_mix_volume_parameter()
93 u32 volD = rsnd_mix_get_vol(mix, D); in rsnd_mix_volume_parameter()
[all …]
H A Dcmd.c28 struct rsnd_mod *mix = rsnd_io_to_mod_mix(io); in rsnd_cmd_init() local
38 if (!mix && !dvc) in rsnd_cmd_init()
44 if (mix) { in rsnd_cmd_init()
59 if (mix == rsnd_io_to_mod_mix(tio)) in rsnd_cmd_init()
64 if (mix == rsnd_io_to_mod_mix(tio)) in rsnd_cmd_init()
/OK3568_Linux_fs/kernel/sound/pci/emu10k1/
H A Demumixer.c1232 struct snd_emu10k1_pcm_mixer *mix = in snd_emu10k1_send_routing_get() local
1242 mix->send_routing[voice][idx] & mask; in snd_emu10k1_send_routing_get()
1252 struct snd_emu10k1_pcm_mixer *mix = in snd_emu10k1_send_routing_put() local
1262 if (mix->send_routing[voice][idx] != val) { in snd_emu10k1_send_routing_put()
1263 mix->send_routing[voice][idx] = val; in snd_emu10k1_send_routing_put()
1267 if (change && mix->epcm) { in snd_emu10k1_send_routing_put()
1268 if (mix->epcm->voices[0] && mix->epcm->voices[1]) { in snd_emu10k1_send_routing_put()
1269 update_emu10k1_fxrt(emu, mix->epcm->voices[0]->number, in snd_emu10k1_send_routing_put()
1270 &mix->send_routing[1][0]); in snd_emu10k1_send_routing_put()
1271 update_emu10k1_fxrt(emu, mix->epcm->voices[1]->number, in snd_emu10k1_send_routing_put()
[all …]
H A Demupcm.c273 struct snd_emu10k1_pcm_mixer *mix) in snd_emu10k1_pcm_init_voice() argument
311 memcpy(send_routing, &mix->send_routing[tmp][0], 8); in snd_emu10k1_pcm_init_voice()
312 memcpy(send_amount, &mix->send_volume[tmp][0], 8); in snd_emu10k1_pcm_init_voice()
656 struct snd_emu10k1_pcm_mixer *mix) in snd_emu10k1_playback_prepare_voice() argument
671 vattn = mix != NULL ? (mix->attn[tmp] << 16) : 0; in snd_emu10k1_playback_prepare_voice()
743 struct snd_emu10k1_pcm_mixer *mix; in snd_emu10k1_playback_trigger() local
761 mix = &emu->pcm_mixer[substream->number]; in snd_emu10k1_playback_trigger()
762 snd_emu10k1_playback_prepare_voice(emu, epcm->voices[0], 1, 0, mix); in snd_emu10k1_playback_trigger()
763 snd_emu10k1_playback_prepare_voice(emu, epcm->voices[1], 0, 0, mix); in snd_emu10k1_playback_trigger()
1066 struct snd_emu10k1_pcm_mixer *mix; in snd_emu10k1_efx_playback_close() local
[all …]
/OK3568_Linux_fs/kernel/sound/pci/au88x0/
H A Dau88x0_core.c90 vortex_mix_muteinputgain(vortex_t * vortex, unsigned char mix,
93 hwwrite(vortex->mmio, VORTEX_MIX_INVOL_A + ((mix << 5) + channel),
95 hwwrite(vortex->mmio, VORTEX_MIX_INVOL_B + ((mix << 5) + channel),
99 static int vortex_mix_getvolume(vortex_t * vortex, unsigned char mix)
102 a = hwread(vortex->mmio, VORTEX_MIX_VOL_A + (mix << 2)) & 0xff;
108 vortex_mix_getinputvolume(vortex_t * vortex, unsigned char mix,
112 if (!(mchannels[mix] & (1 << channel)))
115 VORTEX_MIX_INVOL_A + (((mix << 5) + channel) << 2));
131 static void vortex_mix_rampvolume(vortex_t * vortex, int mix)
137 if (((1 << ch) & rampchs[mix]) == 0)
[all …]
H A Dau88x0_synth.c20 unsigned char mix, int a);
106 int i, ii, mix; in vortex_wt_connect() local
117 mix = in vortex_wt_connect()
121 vortex->mixwt[(i * NR_WTROUTES) + ii] = mix; in vortex_wt_connect()
124 ADB_WTOUT(i, ii + 0x20), ADB_MIXIN(mix)); in vortex_wt_connect()
126 vortex_connection_mixin_mix(vortex, en, mix, in vortex_wt_connect()
130 mix, in vortex_wt_connect()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_ctl.c356 u32 mixercfg = 0, mixercfg_ext = 0, mix, ext; in dpu_hw_ctl_setup_blendstage() local
379 mix = (i + 1) & 0x7; in dpu_hw_ctl_setup_blendstage()
391 mixercfg |= mix << 0; in dpu_hw_ctl_setup_blendstage()
399 mixercfg |= mix << 3; in dpu_hw_ctl_setup_blendstage()
407 mixercfg |= mix << 6; in dpu_hw_ctl_setup_blendstage()
415 mixercfg |= mix << 26; in dpu_hw_ctl_setup_blendstage()
420 mixercfg |= mix << 9; in dpu_hw_ctl_setup_blendstage()
424 mixercfg |= mix << 12; in dpu_hw_ctl_setup_blendstage()
428 mixercfg |= mix << 15; in dpu_hw_ctl_setup_blendstage()
432 mixercfg |= mix << 29; in dpu_hw_ctl_setup_blendstage()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/cavium/octeon/
H A Docteon_mgmt.c119 u64 mix; member
163 mix_intena.u64 = cvmx_read_csr(p->mix + MIX_INTENA); in octeon_mgmt_set_rx_irq()
165 cvmx_write_csr(p->mix + MIX_INTENA, mix_intena.u64); in octeon_mgmt_set_rx_irq()
175 mix_intena.u64 = cvmx_read_csr(p->mix + MIX_INTENA); in octeon_mgmt_set_tx_irq()
177 cvmx_write_csr(p->mix + MIX_INTENA, mix_intena.u64); in octeon_mgmt_set_tx_irq()
249 cvmx_write_csr(p->mix + MIX_IRING2, 1); in octeon_mgmt_rx_fill_ring()
261 mix_orcnt.u64 = cvmx_read_csr(p->mix + MIX_ORCNT); in octeon_mgmt_clean_tx_buffers()
265 mix_orcnt.u64 = cvmx_read_csr(p->mix + MIX_ORCNT); in octeon_mgmt_clean_tx_buffers()
285 cvmx_write_csr(p->mix + MIX_ORCNT, mix_orcnt.u64); in octeon_mgmt_clean_tx_buffers()
311 mix_orcnt.u64 = cvmx_read_csr(p->mix + MIX_ORCNT); in octeon_mgmt_clean_tx_buffers()
[all …]
/OK3568_Linux_fs/kernel/arch/x86/boot/
H A Dvideo-mode.c102 struct mode_info mix; in raw_set_mode() local
103 *real_mode = mix.mode = mode; in raw_set_mode()
104 mix.x = mix.y = 0; in raw_set_mode()
105 return card->set_mode(&mix); in raw_set_mode()
/OK3568_Linux_fs/kernel/sound/soc/rockchip/
H A Drockchip_dlp.c215 enum dlp_mode mode, int *ofs, int *size, bool *mix) in dlp_get_offset_size() argument
233 if (mix) in dlp_get_offset_size()
234 *mix = true; in dlp_get_offset_size()
257 if (mix) in dlp_get_offset_size()
258 *mix = true; in dlp_get_offset_size()
281 if (mix) in dlp_get_offset_size()
282 *mix = true; in dlp_get_offset_size()
305 if (mix) in dlp_get_offset_size()
306 *mix = true; in dlp_get_offset_size()
329 if (mix) in dlp_get_offset_size()
[all …]
/OK3568_Linux_fs/buildroot/dl/sox/git/scripts/
H A Dtestcd.sh113 …E synth $LEN sine $MARKFREQ synth square amod 0.1 0 97 94 vol -3 db synth $LEN sine mix $FREQ $VOL
118 …E synth $LEN sine $MARKFREQ synth square amod 0.1 0 97 94 vol -3 db synth $LEN sine mix $FREQ $VOL
136 $SOX $SOXOPT $NAME synth $LEN sine $FREQ1 synth sine mix $FREQ2 $FADE $VOL
140 $SOX $SOXOPT $NAME synth $LEN sine $FREQ1 synth sine mix $FREQ2 $FADE $VOL
206 $SOX $SOXOPT $NAME synth $LEN square 1 vol 0.1 synth sine mix 1000 $FADE $VOL
H A Dtesttones.sh166 synth $length sine mix $freq gain -h 3 $gain
176 $input $output synth $length sine 9k synth sine mix 10k $fade $gain
178 $input $output synth $length sine 440 synth sine mix 445 $fade $gain
222 $input $output synth $length sine 1 synth sine mix 1000 $fade $gain
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/
H A Dinchash.h159 #define mix(a,b,c) \ macro
181 mix (a, val, val2); in iterative_hash_hashval_t()
200 mix (a, b, val2); in iterative_hash_host_wide_int()
205 mix (a, b, val2); in iterative_hash_host_wide_int()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/
H A Dinchash.h159 #define mix(a,b,c) \ macro
181 mix (a, val, val2); in iterative_hash_hashval_t()
200 mix (a, b, val2); in iterative_hash_host_wide_int()
205 mix (a, b, val2); in iterative_hash_host_wide_int()
/OK3568_Linux_fs/kernel/sound/pci/trident/
H A Dtrident_main.c912 struct snd_trident_pcm_mixer *mix = &trident->pcm_mixer[substream->number]; in snd_trident_playback_prepare() local
934 voice->Vol = mix->vol; in snd_trident_playback_prepare()
935 voice->RVol = mix->rvol; in snd_trident_playback_prepare()
936 voice->CVol = mix->cvol; in snd_trident_playback_prepare()
937 voice->Pan = mix->pan; in snd_trident_playback_prepare()
1363 struct snd_trident_pcm_mixer *mix = &trident->pcm_mixer[substream->number]; in snd_trident_spdif_prepare() local
1439 voice->Vol = mix->vol; in snd_trident_spdif_prepare()
1440 voice->RVol = mix->rvol; in snd_trident_spdif_prepare()
1441 voice->CVol = mix->cvol; in snd_trident_spdif_prepare()
1442 voice->Pan = mix->pan; in snd_trident_spdif_prepare()
[all …]
/OK3568_Linux_fs/kernel/net/ceph/
H A Dceph_hash.c10 #define mix(a, b, c) \ macro
43 mix(a, b, c); in ceph_str_hash_rjenkins()
86 mix(a, b, c); in ceph_str_hash_rjenkins()
/OK3568_Linux_fs/app/forlinx/forlinx_cmd/fltest_canfdtest/
H A Dcanfdtest.c151 unsigned char mix = 0; in main() local
178 mix = 1; in main()
261 if (mix) { in main()
/OK3568_Linux_fs/kernel/Documentation/userspace-api/media/dvb/
H A Daudio-set-mixer.rst22 ``int ioctl(int fd, AUDIO_SET_MIXER, struct audio_mixer *mix)``
39 - audio_mixer_t \*mix
/OK3568_Linux_fs/device/rockchip/common/linux-kbuild/armhf/linux-kbuild-4.4/scripts/
H A Drecordmcount.pl591 my $mix = $dirname . "/.tmp_mx_" . $filename;
596 `$ld -r $inputfile $mcount_o -o $mix`;
601 `$mv $mix $inputfile`;
/OK3568_Linux_fs/device/rockchip/common/linux-kbuild/aarch64/linux-kbuild-4.4/scripts/
H A Drecordmcount.pl591 my $mix = $dirname . "/.tmp_mx_" . $filename;
596 `$ld -r $inputfile $mcount_o -o $mix`;
601 `$mv $mix $inputfile`;
/OK3568_Linux_fs/kernel/scripts/
H A Drecordmcount.pl631 my $mix = $dirname . "/.tmp_mx_" . $filename;
636 `$ld -r $inputfile $mcount_o -o $mix`;
641 `$mv $mix $inputfile`;
/OK3568_Linux_fs/device/rockchip/common/linux-kbuild/aarch64/linux-kbuild-4.19/scripts/
H A Drecordmcount.pl628 my $mix = $dirname . "/.tmp_mx_" . $filename;
633 `$ld -r $inputfile $mcount_o -o $mix`;
638 `$mv $mix $inputfile`;

12345678