Home
last modified time | relevance | path

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

123456

/linux-6.6.21/sound/ppc/
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 …]
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 mix = chip->mixer_data; in daca_get_deemphasis()
[all …]
/linux-6.6.21/drivers/clk/mmp/
Dclk-mix.c24 static unsigned int _get_maxdiv(struct mmp_clk_mix *mix) in _get_maxdiv() argument
26 unsigned int div_mask = (1 << mix->reg_info.width_div) - 1; in _get_maxdiv()
30 if (mix->div_flags & CLK_DIVIDER_ONE_BASED) in _get_maxdiv()
32 if (mix->div_flags & CLK_DIVIDER_POWER_OF_TWO) in _get_maxdiv()
34 if (mix->div_table) { in _get_maxdiv()
35 for (clkt = mix->div_table; clkt->div; clkt++) in _get_maxdiv()
43 static unsigned int _get_div(struct mmp_clk_mix *mix, unsigned int val) in _get_div() argument
47 if (mix->div_flags & CLK_DIVIDER_ONE_BASED) in _get_div()
49 if (mix->div_flags & CLK_DIVIDER_POWER_OF_TWO) in _get_div()
51 if (mix->div_table) { in _get_div()
[all …]
DMakefile6 obj-y += clk-apbc.o clk-apmu.o clk-frac.o clk-mix.o clk-gate.o clk.o
/linux-6.6.21/sound/soc/sh/rcar/
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 …]
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()
58 if (mix == rsnd_io_to_mod_mix(tio)) in rsnd_cmd_init()
63 if (mix == rsnd_io_to_mod_mix(tio)) in rsnd_cmd_init()
DMakefile2 snd-soc-rcar-objs := core.o gen.o dma.o adg.o ssi.o ssiu.o src.o ctu.o mix.o dvc.o cmd.o debugfs.o
/linux-6.6.21/sound/pci/au88x0/
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 …]
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()
Dau88x0.h255 unsigned char mix, int a);
257 unsigned char mix, int mixin,
259 static void vortex_mix_setvolumebyte(vortex_t * vortex, unsigned char mix,
/linux-6.6.21/sound/pci/emu10k1/
Demumixer.c1482 struct snd_emu10k1_pcm_mixer *mix = in snd_emu10k1_send_routing_get() local
1491 mix->send_routing[voice][idx] & mask; in snd_emu10k1_send_routing_get()
1499 struct snd_emu10k1_pcm_mixer *mix = in snd_emu10k1_send_routing_put() local
1509 if (mix->send_routing[voice][idx] != val) { in snd_emu10k1_send_routing_put()
1510 mix->send_routing[voice][idx] = val; in snd_emu10k1_send_routing_put()
1514 if (change && mix->epcm && mix->epcm->voices[0]) { in snd_emu10k1_send_routing_put()
1515 if (!mix->epcm->voices[0]->last) { in snd_emu10k1_send_routing_put()
1516 update_emu10k1_fxrt(emu, mix->epcm->voices[0]->number, in snd_emu10k1_send_routing_put()
1517 &mix->send_routing[1][0]); in snd_emu10k1_send_routing_put()
1518 update_emu10k1_fxrt(emu, mix->epcm->voices[0]->number + 1, in snd_emu10k1_send_routing_put()
[all …]
Demupcm.c341 struct snd_emu10k1_pcm_mixer *mix) in snd_emu10k1_pcm_init_voices() argument
346 &mix->send_routing[stereo][0], in snd_emu10k1_pcm_init_voices()
347 &mix->send_volume[stereo][0]); in snd_emu10k1_pcm_init_voices()
351 &mix->send_routing[2][0], in snd_emu10k1_pcm_init_voices()
352 &mix->send_volume[2][0]); in snd_emu10k1_pcm_init_voices()
663 struct snd_emu10k1_pcm_mixer *mix) in snd_emu10k1_playback_unmute_voice() argument
669 vattn = mix->attn[tmp] << 16; in snd_emu10k1_playback_unmute_voice()
676 struct snd_emu10k1_pcm_mixer *mix) in snd_emu10k1_playback_unmute_voices() argument
678 snd_emu10k1_playback_unmute_voice(emu, evoice, stereo, true, mix); in snd_emu10k1_playback_unmute_voices()
680 snd_emu10k1_playback_unmute_voice(emu, evoice + 1, true, false, mix); in snd_emu10k1_playback_unmute_voices()
[all …]
/linux-6.6.21/drivers/net/ethernet/cavium/octeon/
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 …]
/linux-6.6.21/arch/x86/boot/
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()
/linux-6.6.21/sound/pci/trident/
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 …]
/linux-6.6.21/net/ceph/
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()
/linux-6.6.21/drivers/staging/media/av7110/
Daudio-set-mixer.rst22 ``int ioctl(int fd, AUDIO_SET_MIXER, struct audio_mixer *mix)``
39 - audio_mixer_t \*mix
/linux-6.6.21/Documentation/devicetree/bindings/sound/
Drenesas,rsnd.yaml148 rcar_sound,mix:
152 "^mix-[0-1]$":
368 - pattern: '^mix\.[0-1]$'
418 "mix.1", "mix.0",
446 rcar_sound,mix {
447 mix0: mix-0 { };
448 mix1: mix-1 { };
/linux-6.6.21/scripts/
Drecordmcount.pl585 my $mix = $dirname . "/.tmp_mx_" . $filename;
590 `$ld -r $inputfile $mcount_o -o $mix`;
595 `$mv $mix $inputfile`;
/linux-6.6.21/Documentation/devicetree/bindings/net/
Dcavium-mix.txt4 - compatible: "cavium,octeon-5750-mix"
25 compatible = "cavium,octeon-5750-mix";
/linux-6.6.21/drivers/video/fbdev/aty/
Dmach64_accel.c291 u32 pix_width, rotation = 0, src, mix; in atyfb_imageblit() local
370 mix = FRGD_MIX_S | BKGD_MIX_S; in atyfb_imageblit()
373 mix = FRGD_MIX_D_XOR_S | BKGD_MIX_D; in atyfb_imageblit()
378 aty_st_le32(DP_MIX, mix, par); in atyfb_imageblit()
/linux-6.6.21/drivers/infiniband/hw/hfi1/
Dpio.h31 union mix { union
45 union mix carry; /* pending unwritten bytes */
/linux-6.6.21/security/selinux/ss/
Davtab.c43 #define mix(input) do { \ in avtab_hash() macro
53 mix(keyp->target_class); in avtab_hash()
54 mix(keyp->target_type); in avtab_hash()
55 mix(keyp->source_type); in avtab_hash()
57 #undef mix in avtab_hash()
/linux-6.6.21/Documentation/userspace-api/media/mediactl/
Dmedia-request-ioc-queue.rst47 It is not allowed to mix queuing requests with queuing buffers directly
64 to mix the two APIs.
/linux-6.6.21/arch/arm64/boot/dts/renesas/
Dulcb-kf.dtsi464 * #include "ulcb-kf-simple-audio-card-mix+split.dtsi"
466 * #include "ulcb-kf-audio-graph-card-mix+split.dtsi"
467 * #include "ulcb-kf-audio-graph-card2-mix+split.dtsi"

123456