/linux-6.1.9/sound/ppc/ |
D | tumbler.c | 198 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 …]
|
D | daca.c | 54 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.1.9/drivers/clk/mmp/ |
D | clk-mix.c | 24 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 …]
|
D | Makefile | 6 obj-y += clk-apbc.o clk-apmu.o clk-frac.o clk-mix.o clk-gate.o clk.o
|
/linux-6.1.9/sound/soc/sh/rcar/ |
D | mix.c | 61 #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 …]
|
D | cmd.c | 28 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()
|
D | Makefile | 2 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.1.9/sound/pci/emu10k1/ |
D | emumixer.c | 1233 struct snd_emu10k1_pcm_mixer *mix = in snd_emu10k1_send_routing_get() local 1243 mix->send_routing[voice][idx] & mask; in snd_emu10k1_send_routing_get() 1253 struct snd_emu10k1_pcm_mixer *mix = in snd_emu10k1_send_routing_put() local 1263 if (mix->send_routing[voice][idx] != val) { in snd_emu10k1_send_routing_put() 1264 mix->send_routing[voice][idx] = val; in snd_emu10k1_send_routing_put() 1268 if (change && mix->epcm) { in snd_emu10k1_send_routing_put() 1269 if (mix->epcm->voices[0] && mix->epcm->voices[1]) { in snd_emu10k1_send_routing_put() 1270 update_emu10k1_fxrt(emu, mix->epcm->voices[0]->number, in snd_emu10k1_send_routing_put() 1271 &mix->send_routing[1][0]); in snd_emu10k1_send_routing_put() 1272 update_emu10k1_fxrt(emu, mix->epcm->voices[1]->number, in snd_emu10k1_send_routing_put() [all …]
|
D | emupcm.c | 274 struct snd_emu10k1_pcm_mixer *mix) in snd_emu10k1_pcm_init_voice() argument 312 memcpy(send_routing, &mix->send_routing[tmp][0], 8); in snd_emu10k1_pcm_init_voice() 313 memcpy(send_amount, &mix->send_volume[tmp][0], 8); in snd_emu10k1_pcm_init_voice() 658 struct snd_emu10k1_pcm_mixer *mix) in snd_emu10k1_playback_prepare_voice() argument 673 vattn = mix != NULL ? (mix->attn[tmp] << 16) : 0; in snd_emu10k1_playback_prepare_voice() 745 struct snd_emu10k1_pcm_mixer *mix; in snd_emu10k1_playback_trigger() local 763 mix = &emu->pcm_mixer[substream->number]; in snd_emu10k1_playback_trigger() 764 snd_emu10k1_playback_prepare_voice(emu, epcm->voices[0], 1, 0, mix); in snd_emu10k1_playback_trigger() 765 snd_emu10k1_playback_prepare_voice(emu, epcm->voices[1], 0, 0, mix); in snd_emu10k1_playback_trigger() 1068 struct snd_emu10k1_pcm_mixer *mix; in snd_emu10k1_efx_playback_close() local [all …]
|
/linux-6.1.9/sound/pci/au88x0/ |
D | au88x0_core.c | 90 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 …]
|
D | au88x0_synth.c | 20 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()
|
D | au88x0.h | 255 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.1.9/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_hw_ctl.c | 384 u32 mixercfg = 0, mixercfg_ext = 0, mix, ext; in dpu_hw_ctl_setup_blendstage() local 407 mix = (i + 1) & 0x7; in dpu_hw_ctl_setup_blendstage() 419 mixercfg |= mix << 0; in dpu_hw_ctl_setup_blendstage() 427 mixercfg |= mix << 3; in dpu_hw_ctl_setup_blendstage() 435 mixercfg |= mix << 6; in dpu_hw_ctl_setup_blendstage() 443 mixercfg |= mix << 26; in dpu_hw_ctl_setup_blendstage() 448 mixercfg |= mix << 9; in dpu_hw_ctl_setup_blendstage() 452 mixercfg |= mix << 12; in dpu_hw_ctl_setup_blendstage() 456 mixercfg |= mix << 15; in dpu_hw_ctl_setup_blendstage() 460 mixercfg |= mix << 29; in dpu_hw_ctl_setup_blendstage() [all …]
|
/linux-6.1.9/drivers/net/ethernet/cavium/octeon/ |
D | octeon_mgmt.c | 119 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.1.9/arch/x86/boot/ |
D | video-mode.c | 102 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.1.9/Documentation/devicetree/bindings/sound/ |
D | renesas,rsnd.yaml | 110 - pattern: '^mix\.[0-1]$' 144 rcar_sound,mix: 148 "^mix-[0-1]$": 349 "mix.1", "mix.0", 366 rcar_sound,mix { 367 mix0: mix-0 { }; 368 mix1: mix-1 { };
|
/linux-6.1.9/sound/pci/trident/ |
D | trident_main.c | 912 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.1.9/net/ceph/ |
D | ceph_hash.c | 10 #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.1.9/drivers/staging/media/deprecated/saa7146/av7110/ |
D | audio-set-mixer.rst | 22 ``int ioctl(int fd, AUDIO_SET_MIXER, struct audio_mixer *mix)`` 39 - audio_mixer_t \*mix
|
/linux-6.1.9/scripts/ |
D | recordmcount.pl | 585 my $mix = $dirname . "/.tmp_mx_" . $filename; 590 `$ld -r $inputfile $mcount_o -o $mix`; 595 `$mv $mix $inputfile`;
|
/linux-6.1.9/Documentation/devicetree/bindings/net/ |
D | cavium-mix.txt | 4 - compatible: "cavium,octeon-5750-mix" 25 compatible = "cavium,octeon-5750-mix";
|
/linux-6.1.9/drivers/video/fbdev/aty/ |
D | mach64_accel.c | 291 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.1.9/drivers/infiniband/hw/hfi1/ |
D | pio.h | 31 union mix { union 45 union mix carry; /* pending unwritten bytes */
|
/linux-6.1.9/Documentation/userspace-api/media/mediactl/ |
D | media-request-ioc-queue.rst | 47 It is not allowed to mix queuing requests with queuing buffers directly 64 to mix the two APIs.
|
/linux-6.1.9/security/selinux/ss/ |
D | avtab.c | 43 #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()
|