mix 102 arch/x86/boot/video-mode.c struct mode_info mix; mix 103 arch/x86/boot/video-mode.c *real_mode = mix.mode = mode; mix 104 arch/x86/boot/video-mode.c mix.x = mix.y = 0; mix 105 arch/x86/boot/video-mode.c return card->set_mode(&mix); mix 27 drivers/clk/mmp/clk-mix.c static unsigned int _get_maxdiv(struct mmp_clk_mix *mix) mix 29 drivers/clk/mmp/clk-mix.c unsigned int div_mask = (1 << mix->reg_info.width_div) - 1; mix 33 drivers/clk/mmp/clk-mix.c if (mix->div_flags & CLK_DIVIDER_ONE_BASED) mix 35 drivers/clk/mmp/clk-mix.c if (mix->div_flags & CLK_DIVIDER_POWER_OF_TWO) mix 37 drivers/clk/mmp/clk-mix.c if (mix->div_table) { mix 38 drivers/clk/mmp/clk-mix.c for (clkt = mix->div_table; clkt->div; clkt++) mix 46 drivers/clk/mmp/clk-mix.c static unsigned int _get_div(struct mmp_clk_mix *mix, unsigned int val) mix 50 drivers/clk/mmp/clk-mix.c if (mix->div_flags & CLK_DIVIDER_ONE_BASED) mix 52 drivers/clk/mmp/clk-mix.c if (mix->div_flags & CLK_DIVIDER_POWER_OF_TWO) mix 54 drivers/clk/mmp/clk-mix.c if (mix->div_table) { mix 55 drivers/clk/mmp/clk-mix.c for (clkt = mix->div_table; clkt->div; clkt++) mix 64 drivers/clk/mmp/clk-mix.c static unsigned int _get_mux(struct mmp_clk_mix *mix, unsigned int val) mix 66 drivers/clk/mmp/clk-mix.c int num_parents = clk_hw_get_num_parents(&mix->hw); mix 69 drivers/clk/mmp/clk-mix.c if (mix->mux_flags & CLK_MUX_INDEX_BIT) mix 71 drivers/clk/mmp/clk-mix.c if (mix->mux_flags & CLK_MUX_INDEX_ONE) mix 73 drivers/clk/mmp/clk-mix.c if (mix->mux_table) { mix 75 drivers/clk/mmp/clk-mix.c if (mix->mux_table[i] == val) mix 83 drivers/clk/mmp/clk-mix.c static unsigned int _get_div_val(struct mmp_clk_mix *mix, unsigned int div) mix 87 drivers/clk/mmp/clk-mix.c if (mix->div_flags & CLK_DIVIDER_ONE_BASED) mix 89 drivers/clk/mmp/clk-mix.c if (mix->div_flags & CLK_DIVIDER_POWER_OF_TWO) mix 91 drivers/clk/mmp/clk-mix.c if (mix->div_table) { mix 92 drivers/clk/mmp/clk-mix.c for (clkt = mix->div_table; clkt->div; clkt++) mix 102 drivers/clk/mmp/clk-mix.c static unsigned int _get_mux_val(struct mmp_clk_mix *mix, unsigned int mux) mix 104 drivers/clk/mmp/clk-mix.c if (mix->mux_table) mix 105 drivers/clk/mmp/clk-mix.c return mix->mux_table[mux]; mix 110 drivers/clk/mmp/clk-mix.c static void _filter_clk_table(struct mmp_clk_mix *mix, mix 119 drivers/clk/mmp/clk-mix.c hw = &mix->hw; mix 134 drivers/clk/mmp/clk-mix.c static int _set_rate(struct mmp_clk_mix *mix, u32 mux_val, u32 div_val, mix 137 drivers/clk/mmp/clk-mix.c struct mmp_clk_mix_reg_info *ri = &mix->reg_info; mix 146 drivers/clk/mmp/clk-mix.c if (mix->lock) mix 147 drivers/clk/mmp/clk-mix.c spin_lock_irqsave(mix->lock, flags); mix 149 drivers/clk/mmp/clk-mix.c if (mix->type == MMP_CLK_MIX_TYPE_V1 mix 150 drivers/clk/mmp/clk-mix.c || mix->type == MMP_CLK_MIX_TYPE_V2) mix 169 drivers/clk/mmp/clk-mix.c if (mix->type == MMP_CLK_MIX_TYPE_V1) { mix 171 drivers/clk/mmp/clk-mix.c } else if (mix->type == MMP_CLK_MIX_TYPE_V2) { mix 184 drivers/clk/mmp/clk-mix.c __func__, clk_hw_get_name(&mix->hw)); mix 198 drivers/clk/mmp/clk-mix.c if (mix->lock) mix 199 drivers/clk/mmp/clk-mix.c spin_unlock_irqrestore(mix->lock, flags); mix 207 drivers/clk/mmp/clk-mix.c struct mmp_clk_mix *mix = to_clk_mix(hw); mix 222 drivers/clk/mmp/clk-mix.c if (mix->table) { mix 223 drivers/clk/mmp/clk-mix.c for (i = 0; i < mix->table_size; i++) { mix 224 drivers/clk/mmp/clk-mix.c item = &mix->table[i]; mix 245 drivers/clk/mmp/clk-mix.c div_val_max = _get_maxdiv(mix); mix 247 drivers/clk/mmp/clk-mix.c div = _get_div(mix, j); mix 278 drivers/clk/mmp/clk-mix.c struct mmp_clk_mix *mix = to_clk_mix(hw); mix 283 drivers/clk/mmp/clk-mix.c div_val = _get_div_val(mix, div); mix 284 drivers/clk/mmp/clk-mix.c mux_val = _get_mux_val(mix, index); mix 286 drivers/clk/mmp/clk-mix.c return _set_rate(mix, mux_val, div_val, 1, 1); mix 291 drivers/clk/mmp/clk-mix.c struct mmp_clk_mix *mix = to_clk_mix(hw); mix 292 drivers/clk/mmp/clk-mix.c struct mmp_clk_mix_reg_info *ri = &mix->reg_info; mix 298 drivers/clk/mmp/clk-mix.c if (mix->lock) mix 299 drivers/clk/mmp/clk-mix.c spin_lock_irqsave(mix->lock, flags); mix 301 drivers/clk/mmp/clk-mix.c if (mix->type == MMP_CLK_MIX_TYPE_V1 mix 302 drivers/clk/mmp/clk-mix.c || mix->type == MMP_CLK_MIX_TYPE_V2) mix 307 drivers/clk/mmp/clk-mix.c if (mix->lock) mix 308 drivers/clk/mmp/clk-mix.c spin_unlock_irqrestore(mix->lock, flags); mix 310 drivers/clk/mmp/clk-mix.c width = mix->reg_info.width_mux; mix 311 drivers/clk/mmp/clk-mix.c shift = mix->reg_info.shift_mux; mix 315 drivers/clk/mmp/clk-mix.c return _get_mux(mix, mux_val); mix 321 drivers/clk/mmp/clk-mix.c struct mmp_clk_mix *mix = to_clk_mix(hw); mix 322 drivers/clk/mmp/clk-mix.c struct mmp_clk_mix_reg_info *ri = &mix->reg_info; mix 328 drivers/clk/mmp/clk-mix.c if (mix->lock) mix 329 drivers/clk/mmp/clk-mix.c spin_lock_irqsave(mix->lock, flags); mix 331 drivers/clk/mmp/clk-mix.c if (mix->type == MMP_CLK_MIX_TYPE_V1 mix 332 drivers/clk/mmp/clk-mix.c || mix->type == MMP_CLK_MIX_TYPE_V2) mix 337 drivers/clk/mmp/clk-mix.c if (mix->lock) mix 338 drivers/clk/mmp/clk-mix.c spin_unlock_irqrestore(mix->lock, flags); mix 340 drivers/clk/mmp/clk-mix.c width = mix->reg_info.width_div; mix 341 drivers/clk/mmp/clk-mix.c shift = mix->reg_info.shift_div; mix 343 drivers/clk/mmp/clk-mix.c div = _get_div(mix, MMP_CLK_BITS_GET_VAL(mux_div, width, shift)); mix 350 drivers/clk/mmp/clk-mix.c struct mmp_clk_mix *mix = to_clk_mix(hw); mix 355 drivers/clk/mmp/clk-mix.c if (mix->table) { mix 356 drivers/clk/mmp/clk-mix.c for (i = 0; i < mix->table_size; i++) { mix 357 drivers/clk/mmp/clk-mix.c item = &mix->table[i]; mix 363 drivers/clk/mmp/clk-mix.c if (i < mix->table_size) { mix 364 drivers/clk/mmp/clk-mix.c div_val = _get_div_val(mix, item->divisor); mix 365 drivers/clk/mmp/clk-mix.c mux_val = _get_mux_val(mix, item->parent_index); mix 369 drivers/clk/mmp/clk-mix.c mux_val = _get_mux_val(mix, index); mix 373 drivers/clk/mmp/clk-mix.c return _set_rate(mix, mux_val, div_val, 1, div_val ? 1 : 0); mix 379 drivers/clk/mmp/clk-mix.c struct mmp_clk_mix *mix = to_clk_mix(hw); mix 388 drivers/clk/mmp/clk-mix.c if (mix->table) { mix 389 drivers/clk/mmp/clk-mix.c for (i = 0; i < mix->table_size; i++) { mix 390 drivers/clk/mmp/clk-mix.c item = &mix->table[i]; mix 400 drivers/clk/mmp/clk-mix.c if (i < mix->table_size) mix 401 drivers/clk/mmp/clk-mix.c return _set_rate(mix, mix 402 drivers/clk/mmp/clk-mix.c _get_mux_val(mix, item->parent_index), mix 403 drivers/clk/mmp/clk-mix.c _get_div_val(mix, item->divisor), mix 415 drivers/clk/mmp/clk-mix.c return _set_rate(mix, _get_mux_val(mix, i), mix 416 drivers/clk/mmp/clk-mix.c _get_div_val(mix, best_divisor), 1, 1); mix 424 drivers/clk/mmp/clk-mix.c struct mmp_clk_mix *mix = to_clk_mix(hw); mix 426 drivers/clk/mmp/clk-mix.c if (mix->table) mix 427 drivers/clk/mmp/clk-mix.c _filter_clk_table(mix, mix->table, mix->table_size); mix 448 drivers/clk/mmp/clk-mix.c struct mmp_clk_mix *mix; mix 453 drivers/clk/mmp/clk-mix.c mix = kzalloc(sizeof(*mix), GFP_KERNEL); mix 454 drivers/clk/mmp/clk-mix.c if (!mix) mix 463 drivers/clk/mmp/clk-mix.c memcpy(&mix->reg_info, &config->reg_info, sizeof(config->reg_info)); mix 466 drivers/clk/mmp/clk-mix.c mix->table = kmemdup(config->table, table_bytes, GFP_KERNEL); mix 467 drivers/clk/mmp/clk-mix.c if (!mix->table) mix 470 drivers/clk/mmp/clk-mix.c mix->table_size = config->table_size; mix 475 drivers/clk/mmp/clk-mix.c mix->mux_table = kmemdup(config->mux_table, table_bytes, mix 477 drivers/clk/mmp/clk-mix.c if (!mix->mux_table) { mix 478 drivers/clk/mmp/clk-mix.c kfree(mix->table); mix 483 drivers/clk/mmp/clk-mix.c mix->div_flags = config->div_flags; mix 484 drivers/clk/mmp/clk-mix.c mix->mux_flags = config->mux_flags; mix 485 drivers/clk/mmp/clk-mix.c mix->lock = lock; mix 486 drivers/clk/mmp/clk-mix.c mix->hw.init = &init; mix 489 drivers/clk/mmp/clk-mix.c mix->type = MMP_CLK_MIX_TYPE_V1; mix 491 drivers/clk/mmp/clk-mix.c mix->type = MMP_CLK_MIX_TYPE_V3; mix 493 drivers/clk/mmp/clk-mix.c mix->type = MMP_CLK_MIX_TYPE_V2; mix 494 drivers/clk/mmp/clk-mix.c clk = clk_register(dev, &mix->hw); mix 497 drivers/clk/mmp/clk-mix.c kfree(mix->mux_table); mix 498 drivers/clk/mmp/clk-mix.c kfree(mix->table); mix 499 drivers/clk/mmp/clk-mix.c kfree(mix); mix 505 drivers/clk/mmp/clk-mix.c kfree(mix); mix 295 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c u32 mixercfg = 0, mixercfg_ext = 0, mix, ext; mix 318 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c mix = (i + 1) & 0x7; mix 330 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c mixercfg |= mix << 0; mix 338 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c mixercfg |= mix << 3; mix 346 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c mixercfg |= mix << 6; mix 354 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c mixercfg |= mix << 26; mix 359 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c mixercfg |= mix << 9; mix 363 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c mixercfg |= mix << 12; mix 367 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c mixercfg |= mix << 15; mix 371 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c mixercfg |= mix << 29; mix 378 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c mixercfg |= mix << 18; mix 386 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c mixercfg |= mix << 21; mix 394 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c mix |= (i + 1) & 0xF; mix 395 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c mixercfg_ext2 |= mix << 0; mix 402 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c mix |= (i + 1) & 0xF; mix 403 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c mixercfg_ext2 |= mix << 4; mix 87 drivers/infiniband/hw/hfi1/pio.h union mix carry; /* pending unwritten bytes */ mix 147 drivers/infiniband/hw/hfi1/pio_copy.c union mix val; mix 273 drivers/infiniband/hw/hfi1/pio_copy.c static inline void carry8_write8(union mix carry, void __iomem *dest) mix 103 drivers/media/dvb-frontends/dib0090.c u16 mix; mix 2487 drivers/media/dvb-frontends/dib0090.c dib0090_write_reg(state, 0x0d, tune->mix); mix 120 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c u64 mix; mix 164 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c mix_intena.u64 = cvmx_read_csr(p->mix + MIX_INTENA); mix 166 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c cvmx_write_csr(p->mix + MIX_INTENA, mix_intena.u64); mix 176 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c mix_intena.u64 = cvmx_read_csr(p->mix + MIX_INTENA); mix 178 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c cvmx_write_csr(p->mix + MIX_INTENA, mix_intena.u64); mix 245 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c cvmx_write_csr(p->mix + MIX_IRING2, 1); mix 257 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c mix_orcnt.u64 = cvmx_read_csr(p->mix + MIX_ORCNT); mix 261 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c mix_orcnt.u64 = cvmx_read_csr(p->mix + MIX_ORCNT); mix 281 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c cvmx_write_csr(p->mix + MIX_ORCNT, mix_orcnt.u64); mix 307 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c mix_orcnt.u64 = cvmx_read_csr(p->mix + MIX_ORCNT); mix 468 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c cvmx_write_csr(p->mix + MIX_IRCNT, mix_ircnt.u64); mix 478 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c mix_ircnt.u64 = cvmx_read_csr(p->mix + MIX_IRCNT); mix 486 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c mix_ircnt.u64 = cvmx_read_csr(p->mix + MIX_IRCNT); mix 520 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c cvmx_write_csr(p->mix + MIX_CTL, mix_ctl.u64); mix 522 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c mix_ctl.u64 = cvmx_read_csr(p->mix + MIX_CTL); mix 525 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c cvmx_write_csr(p->mix + MIX_CTL, mix_ctl.u64); mix 526 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c cvmx_read_csr(p->mix + MIX_CTL); mix 529 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c mix_bist.u64 = cvmx_read_csr(p->mix + MIX_BIST); mix 671 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c mixx_isr.u64 = cvmx_read_csr(p->mix + MIX_ISR); mix 674 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c cvmx_write_csr(p->mix + MIX_ISR, mixx_isr.u64); mix 675 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c cvmx_read_csr(p->mix + MIX_ISR); mix 1009 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c mix_ctl.u64 = cvmx_read_csr(p->mix + MIX_CTL); mix 1014 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c cvmx_write_csr(p->mix + MIX_CTL, mix_ctl.u64); mix 1016 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c mix_ctl.u64 = cvmx_read_csr(p->mix + MIX_CTL); mix 1048 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c cvmx_write_csr(p->mix + MIX_ORING1, oring1.u64); mix 1053 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c cvmx_write_csr(p->mix + MIX_IRING1, iring1.u64); mix 1072 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c cvmx_write_csr(p->mix + MIX_CTL, mix_ctl.u64); mix 1154 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c cvmx_write_csr(p->mix + MIX_ISR, cvmx_read_csr(p->mix + MIX_ISR)); mix 1165 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c cvmx_write_csr(p->mix + MIX_IRHWM, mix_irhwm.u64); mix 1170 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c cvmx_write_csr(p->mix + MIX_ORHWM, mix_orhwm.u64); mix 1176 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c cvmx_write_csr(p->mix + MIX_INTENA, mix_intena.u64); mix 1322 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c cvmx_write_csr(p->mix + MIX_ORING2, 1); mix 1479 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c p->mix = (u64)devm_ioremap(&pdev->dev, p->mix_phys, p->mix_size); mix 1483 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c if (!p->mix || !p->agl || !p->agl_prt_ctl) { mix 485 drivers/net/wireless/ath/ath5k/phy.c u32 mix, step; mix 514 drivers/net/wireless/ath/ath5k/phy.c mix = g_step->gos_param[0]; mix 516 drivers/net/wireless/ath/ath5k/phy.c switch (mix) { mix 291 drivers/video/fbdev/aty/mach64_accel.c u32 pix_width, rotation = 0, src, mix; mix 370 drivers/video/fbdev/aty/mach64_accel.c mix = FRGD_MIX_S | BKGD_MIX_S; mix 373 drivers/video/fbdev/aty/mach64_accel.c mix = FRGD_MIX_D_XOR_S | BKGD_MIX_D; mix 378 drivers/video/fbdev/aty/mach64_accel.c aty_st_le32(DP_MIX, mix, par); mix 703 include/net/ipv6.h unsigned int hash, mix = net_hash_mix(net); mix 706 include/net/ipv6.h hash = jhash_1word(0, mix); mix 708 include/net/ipv6.h hash = jhash_1word((__force u32)addr6->s6_addr32[3], mix); mix 710 include/net/ipv6.h hash = jhash2((__force u32 *)addr6->s6_addr32, 4, mix); mix 43 net/ceph/ceph_hash.c mix(a, b, c); mix 86 net/ceph/ceph_hash.c mix(a, b, c); mix 53 security/selinux/ss/avtab.c mix(keyp->target_class); mix 54 security/selinux/ss/avtab.c mix(keyp->target_type); mix 55 security/selinux/ss/avtab.c mix(keyp->source_type); mix 1252 sound/core/oss/mixer_oss.c #define snd_mixer_oss_proc_init(mix) mix 1253 sound/core/oss/mixer_oss.c #define snd_mixer_oss_proc_done(mix) mix 255 sound/pci/au88x0/au88x0.h unsigned char mix, int a); mix 257 sound/pci/au88x0/au88x0.h unsigned char mix, int mixin, mix 259 sound/pci/au88x0/au88x0.h static void vortex_mix_setvolumebyte(vortex_t * vortex, unsigned char mix, mix 90 sound/pci/au88x0/au88x0_core.c vortex_mix_muteinputgain(vortex_t * vortex, unsigned char mix, mix 93 sound/pci/au88x0/au88x0_core.c hwwrite(vortex->mmio, VORTEX_MIX_INVOL_A + ((mix << 5) + channel), mix 95 sound/pci/au88x0/au88x0_core.c hwwrite(vortex->mmio, VORTEX_MIX_INVOL_B + ((mix << 5) + channel), mix 99 sound/pci/au88x0/au88x0_core.c static int vortex_mix_getvolume(vortex_t * vortex, unsigned char mix) mix 102 sound/pci/au88x0/au88x0_core.c a = hwread(vortex->mmio, VORTEX_MIX_VOL_A + (mix << 2)) & 0xff; mix 108 sound/pci/au88x0/au88x0_core.c vortex_mix_getinputvolume(vortex_t * vortex, unsigned char mix, mix 112 sound/pci/au88x0/au88x0_core.c if (!(mchannels[mix] & (1 << channel))) mix 115 sound/pci/au88x0/au88x0_core.c VORTEX_MIX_INVOL_A + (((mix << 5) + channel) << 2)); mix 131 sound/pci/au88x0/au88x0_core.c static void vortex_mix_rampvolume(vortex_t * vortex, int mix) mix 137 sound/pci/au88x0/au88x0_core.c if (((1 << ch) & rampchs[mix]) == 0) mix 140 sound/pci/au88x0/au88x0_core.c VORTEX_MIX_INVOL_B + (((mix << 5) + ch) << 2)); mix 145 sound/pci/au88x0/au88x0_core.c (((mix << 5) + ch) << 2), a); mix 148 sound/pci/au88x0/au88x0_core.c (((mix << 5) + ch) << 2), a); mix 150 sound/pci/au88x0/au88x0_core.c vortex_mix_killinput(vortex, mix, ch); mix 155 sound/pci/au88x0/au88x0_core.c vortex_mix_getenablebit(vortex_t * vortex, unsigned char mix, int mixin) mix 162 sound/pci/au88x0/au88x0_core.c addr = ((mix << 3) + (addr >> 2)) << 2; mix 168 sound/pci/au88x0/au88x0_core.c vortex_mix_setvolumebyte(vortex_t * vortex, unsigned char mix, mix 172 sound/pci/au88x0/au88x0_core.c hwwrite(vortex->mmio, VORTEX_MIX_VOL_A + (mix << 2), vol); mix 174 sound/pci/au88x0/au88x0_core.c temp = hwread(vortex->mmio, VORTEX_MIX_VOL_B + (mix << 2)); mix 178 sound/pci/au88x0/au88x0_core.c hwwrite(vortex->mmio, VORTEX_MIX_VOL_B + (mix << 2), vol); mix 182 sound/pci/au88x0/au88x0_core.c vortex_mix_setinputvolumebyte(vortex_t * vortex, unsigned char mix, mix 188 sound/pci/au88x0/au88x0_core.c VORTEX_MIX_INVOL_A + (((mix << 5) + mixin) << 2), vol); mix 192 sound/pci/au88x0/au88x0_core.c VORTEX_MIX_INVOL_B + (((mix << 5) + mixin) << 2)); mix 197 sound/pci/au88x0/au88x0_core.c VORTEX_MIX_INVOL_B + (((mix << 5) + mixin) << 2), vol); mix 201 sound/pci/au88x0/au88x0_core.c vortex_mix_setenablebit(vortex_t * vortex, unsigned char mix, int mixin, int en) mix 209 sound/pci/au88x0/au88x0_core.c addr = ((mix << 3) + (addr >> 2)) << 2; mix 217 sound/pci/au88x0/au88x0_core.c VORTEX_MIX_INVOL_B + (((mix << 5) + mixin) << 2), 0x80); mix 226 sound/pci/au88x0/au88x0_core.c vortex_mix_killinput(vortex_t * vortex, unsigned char mix, int mixin) mix 228 sound/pci/au88x0/au88x0_core.c rampchs[mix] &= ~(1 << mixin); mix 229 sound/pci/au88x0/au88x0_core.c vortex_mix_setinputvolumebyte(vortex, mix, mixin, 0x80); mix 230 sound/pci/au88x0/au88x0_core.c mchannels[mix] &= ~(1 << mixin); mix 231 sound/pci/au88x0/au88x0_core.c vortex_mix_setenablebit(vortex, mix, mixin, 0); mix 235 sound/pci/au88x0/au88x0_core.c vortex_mix_enableinput(vortex_t * vortex, unsigned char mix, int mixin) mix 237 sound/pci/au88x0/au88x0_core.c vortex_mix_killinput(vortex, mix, mixin); mix 238 sound/pci/au88x0/au88x0_core.c if ((mchannels[mix] & (1 << mixin)) == 0) { mix 239 sound/pci/au88x0/au88x0_core.c vortex_mix_setinputvolumebyte(vortex, mix, mixin, 0x80); /*0x80 : mute */ mix 240 sound/pci/au88x0/au88x0_core.c mchannels[mix] |= (1 << mixin); mix 242 sound/pci/au88x0/au88x0_core.c vortex_mix_setenablebit(vortex, mix, mixin, 1); mix 246 sound/pci/au88x0/au88x0_core.c vortex_mix_disableinput(vortex_t * vortex, unsigned char mix, int channel, mix 250 sound/pci/au88x0/au88x0_core.c rampchs[mix] |= (1 << channel); mix 253 sound/pci/au88x0/au88x0_core.c vortex_mix_killinput(vortex, mix, channel); mix 255 sound/pci/au88x0/au88x0_core.c vortex_mix_killinput(vortex, mix, channel); mix 259 sound/pci/au88x0/au88x0_core.c vortex_mixer_addWTD(vortex_t * vortex, unsigned char mix, unsigned char ch) mix 265 sound/pci/au88x0/au88x0_core.c hwwrite(vortex->mmio, VORTEX_MIXER_CHNBASE + (ch << 2), mix); mix 281 sound/pci/au88x0/au88x0_core.c hwwrite(vortex->mmio, VORTEX_MIXER_RTBASE + ((temp & 0xf) << 2), mix); mix 287 sound/pci/au88x0/au88x0_core.c vortex_mixer_delWTD(vortex_t * vortex, unsigned char mix, unsigned char ch) mix 301 sound/pci/au88x0/au88x0_core.c if (mix == ebx) { mix 302 sound/pci/au88x0/au88x0_core.c ebx = VORTEX_MIXER_RTBASE + (mix << 2); mix 313 sound/pci/au88x0/au88x0_core.c while ((edx & 0xf) != mix) { mix 1848 sound/pci/au88x0/au88x0_core.c unsigned char mix, int a) mix 1851 sound/pci/au88x0/au88x0_core.c vortex_mix_enableinput(vortex, mix, mixin); mix 1852 sound/pci/au88x0/au88x0_core.c vortex_mix_setinputvolumebyte(vortex, mix, mixin, MIX_DEFIGAIN); // added to original code. mix 1854 sound/pci/au88x0/au88x0_core.c vortex_mix_disableinput(vortex, mix, mixin, a); mix 1886 sound/pci/au88x0/au88x0_core.c unsigned char mix, unsigned char dest) mix 1888 sound/pci/au88x0/au88x0_core.c vortex_route(vortex, en, ch, ADB_MIXOUT(mix), dest); mix 1889 sound/pci/au88x0/au88x0_core.c vortex_mix_setvolumebyte(vortex, mix, MIX_DEFOGAIN); // added to original code. mix 1895 sound/pci/au88x0/au88x0_core.c unsigned char mix, unsigned char src) mix 1897 sound/pci/au88x0/au88x0_core.c vortex_route(vortex, en, ch, ADB_MIXOUT(mix), ADB_SRCIN(src)); mix 1898 sound/pci/au88x0/au88x0_core.c vortex_mix_setvolumebyte(vortex, mix, MIX_DEFOGAIN); // added to original code. mix 2136 sound/pci/au88x0/au88x0_core.c int src[4], mix[4], ch_top; mix 2151 sound/pci/au88x0/au88x0_core.c if ((mix[i] = vortex_adb_checkinout(vortex, mix 2198 sound/pci/au88x0/au88x0_core.c mix[i]); mix 2200 sound/pci/au88x0/au88x0_core.c mix[i], mix 2204 sound/pci/au88x0/au88x0_core.c mix[i], mix 2208 sound/pci/au88x0/au88x0_core.c mix[i], mix 2233 sound/pci/au88x0/au88x0_core.c mix[i % nr_ch], mix 2237 sound/pci/au88x0/au88x0_core.c mix[i % nr_ch], mix 2242 sound/pci/au88x0/au88x0_core.c mix[i % nr_ch], mix 2250 sound/pci/au88x0/au88x0_core.c p->mixin[i] = mix[i]; mix 2274 sound/pci/au88x0/au88x0_core.c int src[2], mix[2]; mix 2281 sound/pci/au88x0/au88x0_core.c if ((mix[i] = mix 2301 sound/pci/au88x0/au88x0_core.c vortex_connection_mixin_mix(vortex, en, MIX_CAPT(0), mix[0], 0); mix 2302 sound/pci/au88x0/au88x0_core.c vortex_connection_mix_src(vortex, en, 0x11, mix[0], src[0]); mix 2305 sound/pci/au88x0/au88x0_core.c MIX_CAPT(1), mix[0], 0); mix 2311 sound/pci/au88x0/au88x0_core.c MIX_CAPT(1), mix[1], 0); mix 2312 sound/pci/au88x0/au88x0_core.c vortex_connection_mix_src(vortex, en, 0x11, mix[1], mix 20 sound/pci/au88x0/au88x0_synth.c unsigned char mix, int a); mix 106 sound/pci/au88x0/au88x0_synth.c int i, ii, mix; mix 117 sound/pci/au88x0/au88x0_synth.c mix = mix 121 sound/pci/au88x0/au88x0_synth.c vortex->mixwt[(i * NR_WTROUTES) + ii] = mix; mix 124 sound/pci/au88x0/au88x0_synth.c ADB_WTOUT(i, ii + 0x20), ADB_MIXIN(mix)); mix 126 sound/pci/au88x0/au88x0_synth.c vortex_connection_mixin_mix(vortex, en, mix, mix 130 sound/pci/au88x0/au88x0_synth.c mix, mix 1232 sound/pci/emu10k1/emumixer.c struct snd_emu10k1_pcm_mixer *mix = mix 1242 sound/pci/emu10k1/emumixer.c mix->send_routing[voice][idx] & mask; mix 1252 sound/pci/emu10k1/emumixer.c struct snd_emu10k1_pcm_mixer *mix = mix 1262 sound/pci/emu10k1/emumixer.c if (mix->send_routing[voice][idx] != val) { mix 1263 sound/pci/emu10k1/emumixer.c mix->send_routing[voice][idx] = val; mix 1267 sound/pci/emu10k1/emumixer.c if (change && mix->epcm) { mix 1268 sound/pci/emu10k1/emumixer.c if (mix->epcm->voices[0] && mix->epcm->voices[1]) { mix 1269 sound/pci/emu10k1/emumixer.c update_emu10k1_fxrt(emu, mix->epcm->voices[0]->number, mix 1270 sound/pci/emu10k1/emumixer.c &mix->send_routing[1][0]); mix 1271 sound/pci/emu10k1/emumixer.c update_emu10k1_fxrt(emu, mix->epcm->voices[1]->number, mix 1272 sound/pci/emu10k1/emumixer.c &mix->send_routing[2][0]); mix 1273 sound/pci/emu10k1/emumixer.c } else if (mix->epcm->voices[0]) { mix 1274 sound/pci/emu10k1/emumixer.c update_emu10k1_fxrt(emu, mix->epcm->voices[0]->number, mix 1275 sound/pci/emu10k1/emumixer.c &mix->send_routing[0][0]); mix 1308 sound/pci/emu10k1/emumixer.c struct snd_emu10k1_pcm_mixer *mix = mix 1315 sound/pci/emu10k1/emumixer.c ucontrol->value.integer.value[idx] = mix->send_volume[idx/num_efx][idx%num_efx]; mix 1325 sound/pci/emu10k1/emumixer.c struct snd_emu10k1_pcm_mixer *mix = mix 1333 sound/pci/emu10k1/emumixer.c if (mix->send_volume[idx/num_efx][idx%num_efx] != val) { mix 1334 sound/pci/emu10k1/emumixer.c mix->send_volume[idx/num_efx][idx%num_efx] = val; mix 1338 sound/pci/emu10k1/emumixer.c if (change && mix->epcm) { mix 1339 sound/pci/emu10k1/emumixer.c if (mix->epcm->voices[0] && mix->epcm->voices[1]) { mix 1340 sound/pci/emu10k1/emumixer.c update_emu10k1_send_volume(emu, mix->epcm->voices[0]->number, mix 1341 sound/pci/emu10k1/emumixer.c &mix->send_volume[1][0]); mix 1342 sound/pci/emu10k1/emumixer.c update_emu10k1_send_volume(emu, mix->epcm->voices[1]->number, mix 1343 sound/pci/emu10k1/emumixer.c &mix->send_volume[2][0]); mix 1344 sound/pci/emu10k1/emumixer.c } else if (mix->epcm->voices[0]) { mix 1345 sound/pci/emu10k1/emumixer.c update_emu10k1_send_volume(emu, mix->epcm->voices[0]->number, mix 1346 sound/pci/emu10k1/emumixer.c &mix->send_volume[0][0]); mix 1377 sound/pci/emu10k1/emumixer.c struct snd_emu10k1_pcm_mixer *mix = mix 1384 sound/pci/emu10k1/emumixer.c ucontrol->value.integer.value[idx] = mix->attn[idx]; mix 1394 sound/pci/emu10k1/emumixer.c struct snd_emu10k1_pcm_mixer *mix = mix 1401 sound/pci/emu10k1/emumixer.c if (mix->attn[idx] != val) { mix 1402 sound/pci/emu10k1/emumixer.c mix->attn[idx] = val; mix 1406 sound/pci/emu10k1/emumixer.c if (change && mix->epcm) { mix 1407 sound/pci/emu10k1/emumixer.c if (mix->epcm->voices[0] && mix->epcm->voices[1]) { mix 1408 sound/pci/emu10k1/emumixer.c snd_emu10k1_ptr_write(emu, VTFT_VOLUMETARGET, mix->epcm->voices[0]->number, mix->attn[1]); mix 1409 sound/pci/emu10k1/emumixer.c snd_emu10k1_ptr_write(emu, VTFT_VOLUMETARGET, mix->epcm->voices[1]->number, mix->attn[2]); mix 1410 sound/pci/emu10k1/emumixer.c } else if (mix->epcm->voices[0]) { mix 1411 sound/pci/emu10k1/emumixer.c snd_emu10k1_ptr_write(emu, VTFT_VOLUMETARGET, mix->epcm->voices[0]->number, mix->attn[0]); mix 1446 sound/pci/emu10k1/emumixer.c struct snd_emu10k1_pcm_mixer *mix = mix 1455 sound/pci/emu10k1/emumixer.c mix->send_routing[0][idx] & mask; mix 1466 sound/pci/emu10k1/emumixer.c struct snd_emu10k1_pcm_mixer *mix = &emu->efx_pcm_mixer[ch]; mix 1474 sound/pci/emu10k1/emumixer.c if (mix->send_routing[0][idx] != val) { mix 1475 sound/pci/emu10k1/emumixer.c mix->send_routing[0][idx] = val; mix 1480 sound/pci/emu10k1/emumixer.c if (change && mix->epcm) { mix 1481 sound/pci/emu10k1/emumixer.c if (mix->epcm->voices[ch]) { mix 1482 sound/pci/emu10k1/emumixer.c update_emu10k1_fxrt(emu, mix->epcm->voices[ch]->number, mix 1483 sound/pci/emu10k1/emumixer.c &mix->send_routing[0][0]); mix 1516 sound/pci/emu10k1/emumixer.c struct snd_emu10k1_pcm_mixer *mix = mix 1523 sound/pci/emu10k1/emumixer.c ucontrol->value.integer.value[idx] = mix->send_volume[0][idx]; mix 1534 sound/pci/emu10k1/emumixer.c struct snd_emu10k1_pcm_mixer *mix = &emu->efx_pcm_mixer[ch]; mix 1541 sound/pci/emu10k1/emumixer.c if (mix->send_volume[0][idx] != val) { mix 1542 sound/pci/emu10k1/emumixer.c mix->send_volume[0][idx] = val; mix 1546 sound/pci/emu10k1/emumixer.c if (change && mix->epcm) { mix 1547 sound/pci/emu10k1/emumixer.c if (mix->epcm->voices[ch]) { mix 1548 sound/pci/emu10k1/emumixer.c update_emu10k1_send_volume(emu, mix->epcm->voices[ch]->number, mix 1549 sound/pci/emu10k1/emumixer.c &mix->send_volume[0][0]); mix 1581 sound/pci/emu10k1/emumixer.c struct snd_emu10k1_pcm_mixer *mix = mix 1586 sound/pci/emu10k1/emumixer.c ucontrol->value.integer.value[0] = mix->attn[0]; mix 1597 sound/pci/emu10k1/emumixer.c struct snd_emu10k1_pcm_mixer *mix = &emu->efx_pcm_mixer[ch]; mix 1602 sound/pci/emu10k1/emumixer.c if (mix->attn[0] != val) { mix 1603 sound/pci/emu10k1/emumixer.c mix->attn[0] = val; mix 1606 sound/pci/emu10k1/emumixer.c if (change && mix->epcm) { mix 1607 sound/pci/emu10k1/emumixer.c if (mix->epcm->voices[ch]) { mix 1608 sound/pci/emu10k1/emumixer.c snd_emu10k1_ptr_write(emu, VTFT_VOLUMETARGET, mix->epcm->voices[ch]->number, mix->attn[0]); mix 2030 sound/pci/emu10k1/emumixer.c struct snd_emu10k1_pcm_mixer *mix; mix 2033 sound/pci/emu10k1/emumixer.c mix = &emu->pcm_mixer[pcm]; mix 2034 sound/pci/emu10k1/emumixer.c mix->epcm = NULL; mix 2037 sound/pci/emu10k1/emumixer.c mix->send_routing[0][v] = mix 2038 sound/pci/emu10k1/emumixer.c mix->send_routing[1][v] = mix 2039 sound/pci/emu10k1/emumixer.c mix->send_routing[2][v] = v; mix 2041 sound/pci/emu10k1/emumixer.c memset(&mix->send_volume, 0, sizeof(mix->send_volume)); mix 2042 sound/pci/emu10k1/emumixer.c mix->send_volume[0][0] = mix->send_volume[0][1] = mix 2043 sound/pci/emu10k1/emumixer.c mix->send_volume[1][0] = mix->send_volume[2][1] = 255; mix 2045 sound/pci/emu10k1/emumixer.c mix->attn[0] = mix->attn[1] = mix->attn[2] = 0xffff; mix 2050 sound/pci/emu10k1/emumixer.c struct snd_emu10k1_pcm_mixer *mix; mix 2053 sound/pci/emu10k1/emumixer.c mix = &emu->efx_pcm_mixer[pcm]; mix 2054 sound/pci/emu10k1/emumixer.c mix->epcm = NULL; mix 2056 sound/pci/emu10k1/emumixer.c mix->send_routing[0][0] = pcm; mix 2057 sound/pci/emu10k1/emumixer.c mix->send_routing[0][1] = (pcm == 0) ? 1 : 0; mix 2059 sound/pci/emu10k1/emumixer.c mix->send_routing[0][2+v] = 13+v; mix 2062 sound/pci/emu10k1/emumixer.c mix->send_routing[0][4+v] = 60+v; mix 2064 sound/pci/emu10k1/emumixer.c memset(&mix->send_volume, 0, sizeof(mix->send_volume)); mix 2065 sound/pci/emu10k1/emumixer.c mix->send_volume[0][0] = 255; mix 2067 sound/pci/emu10k1/emumixer.c mix->attn[0] = 0xffff; mix 273 sound/pci/emu10k1/emupcm.c struct snd_emu10k1_pcm_mixer *mix) mix 311 sound/pci/emu10k1/emupcm.c memcpy(send_routing, &mix->send_routing[tmp][0], 8); mix 312 sound/pci/emu10k1/emupcm.c memcpy(send_amount, &mix->send_volume[tmp][0], 8); mix 667 sound/pci/emu10k1/emupcm.c struct snd_emu10k1_pcm_mixer *mix) mix 682 sound/pci/emu10k1/emupcm.c vattn = mix != NULL ? (mix->attn[tmp] << 16) : 0; mix 754 sound/pci/emu10k1/emupcm.c struct snd_emu10k1_pcm_mixer *mix; mix 772 sound/pci/emu10k1/emupcm.c mix = &emu->pcm_mixer[substream->number]; mix 773 sound/pci/emu10k1/emupcm.c snd_emu10k1_playback_prepare_voice(emu, epcm->voices[0], 1, 0, mix); mix 774 sound/pci/emu10k1/emupcm.c snd_emu10k1_playback_prepare_voice(emu, epcm->voices[1], 0, 0, mix); mix 1078 sound/pci/emu10k1/emupcm.c struct snd_emu10k1_pcm_mixer *mix; mix 1082 sound/pci/emu10k1/emupcm.c mix = &emu->efx_pcm_mixer[i]; mix 1083 sound/pci/emu10k1/emupcm.c mix->epcm = NULL; mix 1093 sound/pci/emu10k1/emupcm.c struct snd_emu10k1_pcm_mixer *mix; mix 1111 sound/pci/emu10k1/emupcm.c mix = &emu->efx_pcm_mixer[i]; mix 1112 sound/pci/emu10k1/emupcm.c mix->send_routing[0][0] = i; mix 1113 sound/pci/emu10k1/emupcm.c memset(&mix->send_volume, 0, sizeof(mix->send_volume)); mix 1114 sound/pci/emu10k1/emupcm.c mix->send_volume[0][0] = 255; mix 1115 sound/pci/emu10k1/emupcm.c mix->attn[0] = 0xffff; mix 1116 sound/pci/emu10k1/emupcm.c mix->epcm = epcm; mix 1126 sound/pci/emu10k1/emupcm.c struct snd_emu10k1_pcm_mixer *mix; mix 1156 sound/pci/emu10k1/emupcm.c mix = &emu->pcm_mixer[substream->number]; mix 1158 sound/pci/emu10k1/emupcm.c mix->send_routing[0][i] = mix->send_routing[1][i] = mix->send_routing[2][i] = i; mix 1159 sound/pci/emu10k1/emupcm.c memset(&mix->send_volume, 0, sizeof(mix->send_volume)); mix 1160 sound/pci/emu10k1/emupcm.c mix->send_volume[0][0] = mix->send_volume[0][1] = mix 1161 sound/pci/emu10k1/emupcm.c mix->send_volume[1][0] = mix->send_volume[2][1] = 255; mix 1162 sound/pci/emu10k1/emupcm.c mix->attn[0] = mix->attn[1] = mix->attn[2] = 0xffff; mix 1163 sound/pci/emu10k1/emupcm.c mix->epcm = epcm; mix 1171 sound/pci/emu10k1/emupcm.c struct snd_emu10k1_pcm_mixer *mix = &emu->pcm_mixer[substream->number]; mix 1173 sound/pci/emu10k1/emupcm.c mix->epcm = NULL; mix 3017 sound/pci/hda/hda_generic.c static int add_loopback_list(struct hda_gen_spec *spec, hda_nid_t mix, int idx) mix 3024 sound/pci/hda/hda_generic.c list->nid = mix; mix 4960 sound/pci/hda/hda_generic.c static void mute_all_mixer_nid(struct hda_codec *codec, hda_nid_t mix) mix 4966 sound/pci/hda/hda_generic.c nums = snd_hda_get_conn_list(codec, mix, &conn); mix 4967 sound/pci/hda/hda_generic.c has_amp = nid_has_mute(codec, mix, HDA_INPUT); mix 4970 sound/pci/hda/hda_generic.c update_amp(codec, mix, HDA_INPUT, i, mix 120 sound/pci/lola/lola.h #define LOLA_BAR1_MIX_GAIN(dest, mix) \ mix 121 sound/pci/lola/lola.h (LOLA_BAR1_DEST00_MIX00_01_GAIN + (dest) * 0x40 + (mix) * 2) mix 939 sound/pci/trident/trident_main.c struct snd_trident_pcm_mixer *mix = &trident->pcm_mixer[substream->number]; mix 961 sound/pci/trident/trident_main.c voice->Vol = mix->vol; mix 962 sound/pci/trident/trident_main.c voice->RVol = mix->rvol; mix 963 sound/pci/trident/trident_main.c voice->CVol = mix->cvol; mix 964 sound/pci/trident/trident_main.c voice->Pan = mix->pan; mix 1396 sound/pci/trident/trident_main.c struct snd_trident_pcm_mixer *mix = &trident->pcm_mixer[substream->number]; mix 1472 sound/pci/trident/trident_main.c voice->Vol = mix->vol; mix 1473 sound/pci/trident/trident_main.c voice->RVol = mix->rvol; mix 1474 sound/pci/trident/trident_main.c voice->CVol = mix->cvol; mix 1475 sound/pci/trident/trident_main.c voice->Pan = mix->pan; mix 2657 sound/pci/trident/trident_main.c struct snd_trident_pcm_mixer *mix = &trident->pcm_mixer[snd_ctl_get_ioffnum(kcontrol, &ucontrol->id)]; mix 2660 sound/pci/trident/trident_main.c ucontrol->value.integer.value[0] = 1023 - mix->vol; mix 2662 sound/pci/trident/trident_main.c ucontrol->value.integer.value[0] = 255 - (mix->vol>>2); mix 2671 sound/pci/trident/trident_main.c struct snd_trident_pcm_mixer *mix = &trident->pcm_mixer[snd_ctl_get_ioffnum(kcontrol, &ucontrol->id)]; mix 2681 sound/pci/trident/trident_main.c change = val != mix->vol; mix 2682 sound/pci/trident/trident_main.c mix->vol = val; mix 2683 sound/pci/trident/trident_main.c if (mix->voice != NULL) mix 2684 sound/pci/trident/trident_main.c snd_trident_write_vol_reg(trident, mix->voice, val); mix 2721 sound/pci/trident/trident_main.c struct snd_trident_pcm_mixer *mix = &trident->pcm_mixer[snd_ctl_get_ioffnum(kcontrol, &ucontrol->id)]; mix 2723 sound/pci/trident/trident_main.c ucontrol->value.integer.value[0] = mix->pan; mix 2736 sound/pci/trident/trident_main.c struct snd_trident_pcm_mixer *mix = &trident->pcm_mixer[snd_ctl_get_ioffnum(kcontrol, &ucontrol->id)]; mix 2745 sound/pci/trident/trident_main.c change = val != mix->pan; mix 2746 sound/pci/trident/trident_main.c mix->pan = val; mix 2747 sound/pci/trident/trident_main.c if (mix->voice != NULL) mix 2748 sound/pci/trident/trident_main.c snd_trident_write_pan_reg(trident, mix->voice, val); mix 2784 sound/pci/trident/trident_main.c struct snd_trident_pcm_mixer *mix = &trident->pcm_mixer[snd_ctl_get_ioffnum(kcontrol, &ucontrol->id)]; mix 2786 sound/pci/trident/trident_main.c ucontrol->value.integer.value[0] = 127 - mix->rvol; mix 2794 sound/pci/trident/trident_main.c struct snd_trident_pcm_mixer *mix = &trident->pcm_mixer[snd_ctl_get_ioffnum(kcontrol, &ucontrol->id)]; mix 2800 sound/pci/trident/trident_main.c change = val != mix->rvol; mix 2801 sound/pci/trident/trident_main.c mix->rvol = val; mix 2802 sound/pci/trident/trident_main.c if (mix->voice != NULL) mix 2803 sound/pci/trident/trident_main.c snd_trident_write_rvol_reg(trident, mix->voice, val); mix 2842 sound/pci/trident/trident_main.c struct snd_trident_pcm_mixer *mix = &trident->pcm_mixer[snd_ctl_get_ioffnum(kcontrol, &ucontrol->id)]; mix 2844 sound/pci/trident/trident_main.c ucontrol->value.integer.value[0] = 127 - mix->cvol; mix 2852 sound/pci/trident/trident_main.c struct snd_trident_pcm_mixer *mix = &trident->pcm_mixer[snd_ctl_get_ioffnum(kcontrol, &ucontrol->id)]; mix 2858 sound/pci/trident/trident_main.c change = val != mix->cvol; mix 2859 sound/pci/trident/trident_main.c mix->cvol = val; mix 2860 sound/pci/trident/trident_main.c if (mix->voice != NULL) mix 2861 sound/pci/trident/trident_main.c snd_trident_write_cvol_reg(trident, mix->voice, val); mix 54 sound/ppc/daca.c static int daca_set_volume(struct pmac_daca *mix) mix 58 sound/ppc/daca.c if (! mix->i2c.client) mix 61 sound/ppc/daca.c if (mix->left_vol > DACA_VOL_MAX) mix 64 sound/ppc/daca.c data[0] = mix->left_vol; mix 65 sound/ppc/daca.c if (mix->right_vol > DACA_VOL_MAX) mix 68 sound/ppc/daca.c data[1] = mix->right_vol; mix 69 sound/ppc/daca.c data[1] |= mix->deemphasis ? 0x40 : 0; mix 70 sound/ppc/daca.c if (i2c_smbus_write_block_data(mix->i2c.client, DACA_REG_AVOL, mix 86 sound/ppc/daca.c struct pmac_daca *mix; mix 87 sound/ppc/daca.c if (! (mix = chip->mixer_data)) mix 89 sound/ppc/daca.c ucontrol->value.integer.value[0] = mix->deemphasis ? 1 : 0; mix 97 sound/ppc/daca.c struct pmac_daca *mix; mix 100 sound/ppc/daca.c if (! (mix = chip->mixer_data)) mix 102 sound/ppc/daca.c change = mix->deemphasis != ucontrol->value.integer.value[0]; mix 104 sound/ppc/daca.c mix->deemphasis = !!ucontrol->value.integer.value[0]; mix 105 sound/ppc/daca.c daca_set_volume(mix); mix 125 sound/ppc/daca.c struct pmac_daca *mix; mix 126 sound/ppc/daca.c if (! (mix = chip->mixer_data)) mix 128 sound/ppc/daca.c ucontrol->value.integer.value[0] = mix->left_vol; mix 129 sound/ppc/daca.c ucontrol->value.integer.value[1] = mix->right_vol; mix 137 sound/ppc/daca.c struct pmac_daca *mix; mix 141 sound/ppc/daca.c if (! (mix = chip->mixer_data)) mix 147 sound/ppc/daca.c change = mix->left_vol != vol[0] || mix 148 sound/ppc/daca.c mix->right_vol != vol[1]; mix 150 sound/ppc/daca.c mix->left_vol = vol[0]; mix 151 sound/ppc/daca.c mix->right_vol = vol[1]; mix 152 sound/ppc/daca.c daca_set_volume(mix); mix 164 sound/ppc/daca.c struct pmac_daca *mix; mix 165 sound/ppc/daca.c if (! (mix = chip->mixer_data)) mix 167 sound/ppc/daca.c ucontrol->value.integer.value[0] = mix->amp_on ? 1 : 0; mix 175 sound/ppc/daca.c struct pmac_daca *mix; mix 178 sound/ppc/daca.c if (! (mix = chip->mixer_data)) mix 180 sound/ppc/daca.c change = mix->amp_on != ucontrol->value.integer.value[0]; mix 182 sound/ppc/daca.c mix->amp_on = !!ucontrol->value.integer.value[0]; mix 183 sound/ppc/daca.c i2c_smbus_write_byte_data(mix->i2c.client, DACA_REG_GCFG, mix 184 sound/ppc/daca.c mix->amp_on ? 0x05 : 0x04); mix 214 sound/ppc/daca.c struct pmac_daca *mix = chip->mixer_data; mix 215 sound/ppc/daca.c i2c_smbus_write_byte_data(mix->i2c.client, DACA_REG_SR, 0x08); mix 216 sound/ppc/daca.c i2c_smbus_write_byte_data(mix->i2c.client, DACA_REG_GCFG, mix 217 sound/ppc/daca.c mix->amp_on ? 0x05 : 0x04); mix 218 sound/ppc/daca.c daca_set_volume(mix); mix 225 sound/ppc/daca.c struct pmac_daca *mix = chip->mixer_data; mix 226 sound/ppc/daca.c if (! mix) mix 228 sound/ppc/daca.c snd_pmac_keywest_cleanup(&mix->i2c); mix 229 sound/ppc/daca.c kfree(mix); mix 237 sound/ppc/daca.c struct pmac_daca *mix; mix 241 sound/ppc/daca.c mix = kzalloc(sizeof(*mix), GFP_KERNEL); mix 242 sound/ppc/daca.c if (! mix) mix 244 sound/ppc/daca.c chip->mixer_data = mix; mix 246 sound/ppc/daca.c mix->amp_on = 1; /* default on */ mix 248 sound/ppc/daca.c mix->i2c.addr = DACA_I2C_ADDR; mix 249 sound/ppc/daca.c mix->i2c.init_client = daca_init_client; mix 250 sound/ppc/daca.c mix->i2c.name = "DACA"; mix 251 sound/ppc/daca.c if ((err = snd_pmac_keywest_init(&mix->i2c)) < 0) mix 198 sound/ppc/tumbler.c static int tumbler_set_master_volume(struct pmac_tumbler *mix) mix 203 sound/ppc/tumbler.c if (! mix->i2c.client) mix 206 sound/ppc/tumbler.c if (! mix->master_switch[0]) mix 209 sound/ppc/tumbler.c left_vol = mix->master_vol[0]; mix 214 sound/ppc/tumbler.c if (! mix->master_switch[1]) mix 217 sound/ppc/tumbler.c right_vol = mix->master_vol[1]; mix 231 sound/ppc/tumbler.c if (i2c_smbus_write_i2c_block_data(mix->i2c.client, TAS_REG_VOL, 6, mix 256 sound/ppc/tumbler.c struct pmac_tumbler *mix = chip->mixer_data; mix 258 sound/ppc/tumbler.c ucontrol->value.integer.value[0] = mix->master_vol[0]; mix 259 sound/ppc/tumbler.c ucontrol->value.integer.value[1] = mix->master_vol[1]; mix 267 sound/ppc/tumbler.c struct pmac_tumbler *mix = chip->mixer_data; mix 276 sound/ppc/tumbler.c change = mix->master_vol[0] != vol[0] || mix 277 sound/ppc/tumbler.c mix->master_vol[1] != vol[1]; mix 279 sound/ppc/tumbler.c mix->master_vol[0] = vol[0]; mix 280 sound/ppc/tumbler.c mix->master_vol[1] = vol[1]; mix 281 sound/ppc/tumbler.c tumbler_set_master_volume(mix); mix 291 sound/ppc/tumbler.c struct pmac_tumbler *mix = chip->mixer_data; mix 293 sound/ppc/tumbler.c ucontrol->value.integer.value[0] = mix->master_switch[0]; mix 294 sound/ppc/tumbler.c ucontrol->value.integer.value[1] = mix->master_switch[1]; mix 302 sound/ppc/tumbler.c struct pmac_tumbler *mix = chip->mixer_data; mix 305 sound/ppc/tumbler.c change = mix->master_switch[0] != ucontrol->value.integer.value[0] || mix 306 sound/ppc/tumbler.c mix->master_switch[1] != ucontrol->value.integer.value[1]; mix 308 sound/ppc/tumbler.c mix->master_switch[0] = !!ucontrol->value.integer.value[0]; mix 309 sound/ppc/tumbler.c mix->master_switch[1] = !!ucontrol->value.integer.value[1]; mix 310 sound/ppc/tumbler.c tumbler_set_master_volume(mix); mix 322 sound/ppc/tumbler.c static int tumbler_set_drc(struct pmac_tumbler *mix) mix 326 sound/ppc/tumbler.c if (! mix->i2c.client) mix 329 sound/ppc/tumbler.c if (mix->drc_enable) { mix 331 sound/ppc/tumbler.c if (mix->drc_range > TAS3001_DRC_MAX) mix 333 sound/ppc/tumbler.c else if (mix->drc_range < 0) mix 336 sound/ppc/tumbler.c val[1] = mix->drc_range + 0x91; mix 342 sound/ppc/tumbler.c if (i2c_smbus_write_i2c_block_data(mix->i2c.client, TAS_REG_DRC, mix 357 sound/ppc/tumbler.c static int snapper_set_drc(struct pmac_tumbler *mix) mix 361 sound/ppc/tumbler.c if (! mix->i2c.client) mix 364 sound/ppc/tumbler.c if (mix->drc_enable) mix 369 sound/ppc/tumbler.c if (mix->drc_range > 0xef) mix 371 sound/ppc/tumbler.c else if (mix->drc_range < 0) mix 374 sound/ppc/tumbler.c val[2] = mix->drc_range; mix 379 sound/ppc/tumbler.c if (i2c_smbus_write_i2c_block_data(mix->i2c.client, TAS_REG_DRC, mix 404 sound/ppc/tumbler.c struct pmac_tumbler *mix; mix 405 sound/ppc/tumbler.c if (! (mix = chip->mixer_data)) mix 407 sound/ppc/tumbler.c ucontrol->value.integer.value[0] = mix->drc_range; mix 415 sound/ppc/tumbler.c struct pmac_tumbler *mix; mix 419 sound/ppc/tumbler.c if (! (mix = chip->mixer_data)) mix 429 sound/ppc/tumbler.c change = mix->drc_range != val; mix 431 sound/ppc/tumbler.c mix->drc_range = val; mix 433 sound/ppc/tumbler.c tumbler_set_drc(mix); mix 435 sound/ppc/tumbler.c snapper_set_drc(mix); mix 444 sound/ppc/tumbler.c struct pmac_tumbler *mix; mix 445 sound/ppc/tumbler.c if (! (mix = chip->mixer_data)) mix 447 sound/ppc/tumbler.c ucontrol->value.integer.value[0] = mix->drc_enable; mix 455 sound/ppc/tumbler.c struct pmac_tumbler *mix; mix 458 sound/ppc/tumbler.c if (! (mix = chip->mixer_data)) mix 460 sound/ppc/tumbler.c change = mix->drc_enable != ucontrol->value.integer.value[0]; mix 462 sound/ppc/tumbler.c mix->drc_enable = !!ucontrol->value.integer.value[0]; mix 464 sound/ppc/tumbler.c tumbler_set_drc(mix); mix 466 sound/ppc/tumbler.c snapper_set_drc(mix); mix 484 sound/ppc/tumbler.c static int tumbler_set_mono_volume(struct pmac_tumbler *mix, mix 491 sound/ppc/tumbler.c if (! mix->i2c.client) mix 494 sound/ppc/tumbler.c vol = mix->mono_vol[info->index]; mix 500 sound/ppc/tumbler.c if (i2c_smbus_write_i2c_block_data(mix->i2c.client, info->reg, mix 526 sound/ppc/tumbler.c struct pmac_tumbler *mix; mix 527 sound/ppc/tumbler.c if (! (mix = chip->mixer_data)) mix 529 sound/ppc/tumbler.c ucontrol->value.integer.value[0] = mix->mono_vol[info->index]; mix 538 sound/ppc/tumbler.c struct pmac_tumbler *mix; mix 542 sound/ppc/tumbler.c if (! (mix = chip->mixer_data)) mix 547 sound/ppc/tumbler.c change = mix->mono_vol[info->index] != vol; mix 549 sound/ppc/tumbler.c mix->mono_vol[info->index] = vol; mix 550 sound/ppc/tumbler.c tumbler_set_mono_volume(mix, info); mix 621 sound/ppc/tumbler.c static int snapper_set_mix_vol1(struct pmac_tumbler *mix, int idx, int ch, int reg) mix 626 sound/ppc/tumbler.c vol = mix->mix_vol[idx][ch]; mix 629 sound/ppc/tumbler.c mix->mix_vol[idx][ch] = vol; mix 633 sound/ppc/tumbler.c vol = mix->mix_vol[i][ch]; mix 638 sound/ppc/tumbler.c if (i2c_smbus_write_i2c_block_data(mix->i2c.client, reg, mix 646 sound/ppc/tumbler.c static int snapper_set_mix_vol(struct pmac_tumbler *mix, int idx) mix 648 sound/ppc/tumbler.c if (! mix->i2c.client) mix 650 sound/ppc/tumbler.c if (snapper_set_mix_vol1(mix, idx, 0, TAS_REG_LMIX) < 0 || mix 651 sound/ppc/tumbler.c snapper_set_mix_vol1(mix, idx, 1, TAS_REG_RMIX) < 0) mix 671 sound/ppc/tumbler.c struct pmac_tumbler *mix; mix 672 sound/ppc/tumbler.c if (! (mix = chip->mixer_data)) mix 674 sound/ppc/tumbler.c ucontrol->value.integer.value[0] = mix->mix_vol[idx][0]; mix 675 sound/ppc/tumbler.c ucontrol->value.integer.value[1] = mix->mix_vol[idx][1]; mix 684 sound/ppc/tumbler.c struct pmac_tumbler *mix; mix 688 sound/ppc/tumbler.c if (! (mix = chip->mixer_data)) mix 695 sound/ppc/tumbler.c change = mix->mix_vol[idx][0] != vol[0] || mix 696 sound/ppc/tumbler.c mix->mix_vol[idx][1] != vol[1]; mix 698 sound/ppc/tumbler.c mix->mix_vol[idx][0] = vol[0]; mix 699 sound/ppc/tumbler.c mix->mix_vol[idx][1] = vol[1]; mix 700 sound/ppc/tumbler.c snapper_set_mix_vol(mix, idx); mix 717 sound/ppc/tumbler.c struct pmac_tumbler *mix; mix 719 sound/ppc/tumbler.c if (! (mix = chip->mixer_data)) mix 723 sound/ppc/tumbler.c gp = &mix->hp_mute; break; mix 725 sound/ppc/tumbler.c gp = &mix->amp_mute; break; mix 727 sound/ppc/tumbler.c gp = &mix->line_mute; break; mix 741 sound/ppc/tumbler.c struct pmac_tumbler *mix; mix 748 sound/ppc/tumbler.c if (! (mix = chip->mixer_data)) mix 752 sound/ppc/tumbler.c gp = &mix->hp_mute; break; mix 754 sound/ppc/tumbler.c gp = &mix->amp_mute; break; mix 756 sound/ppc/tumbler.c gp = &mix->line_mute; break; mix 770 sound/ppc/tumbler.c static int snapper_set_capture_source(struct pmac_tumbler *mix) mix 772 sound/ppc/tumbler.c if (! mix->i2c.client) mix 774 sound/ppc/tumbler.c if (mix->capture_source) mix 775 sound/ppc/tumbler.c mix->acs |= 2; mix 777 sound/ppc/tumbler.c mix->acs &= ~2; mix 778 sound/ppc/tumbler.c return i2c_smbus_write_byte_data(mix->i2c.client, TAS_REG_ACS, mix->acs); mix 795 sound/ppc/tumbler.c struct pmac_tumbler *mix = chip->mixer_data; mix 797 sound/ppc/tumbler.c ucontrol->value.enumerated.item[0] = mix->capture_source; mix 805 sound/ppc/tumbler.c struct pmac_tumbler *mix = chip->mixer_data; mix 808 sound/ppc/tumbler.c change = ucontrol->value.enumerated.item[0] != mix->capture_source; mix 810 sound/ppc/tumbler.c mix->capture_source = !!ucontrol->value.enumerated.item[0]; mix 811 sound/ppc/tumbler.c snapper_set_capture_source(mix); mix 925 sound/ppc/tumbler.c struct pmac_tumbler *mix = chip->mixer_data; mix 928 sound/ppc/tumbler.c if (mix->hp_detect.addr) mix 929 sound/ppc/tumbler.c detect |= read_audio_gpio(&mix->hp_detect); mix 935 sound/ppc/tumbler.c struct pmac_tumbler *mix = chip->mixer_data; mix 938 sound/ppc/tumbler.c if (mix->line_detect.addr) mix 939 sound/ppc/tumbler.c detect |= read_audio_gpio(&mix->line_detect); mix 960 sound/ppc/tumbler.c struct pmac_tumbler *mix; mix 966 sound/ppc/tumbler.c mix = chip->mixer_data; mix 967 sound/ppc/tumbler.c if (snd_BUG_ON(!mix)) mix 978 sound/ppc/tumbler.c check_mute(chip, &mix->hp_mute, 0, mix->auto_mute_notify, mix 980 sound/ppc/tumbler.c if (lineout && mix->line_mute.addr != 0) mix 981 sound/ppc/tumbler.c check_mute(chip, &mix->line_mute, 0, mix->auto_mute_notify, mix 983 sound/ppc/tumbler.c if (mix->anded_reset) mix 985 sound/ppc/tumbler.c check_mute(chip, &mix->amp_mute, !IS_G4DA, mix->auto_mute_notify, mix 989 sound/ppc/tumbler.c check_mute(chip, &mix->amp_mute, 0, mix->auto_mute_notify, mix 991 sound/ppc/tumbler.c if (mix->anded_reset) mix 993 sound/ppc/tumbler.c check_mute(chip, &mix->hp_mute, 1, mix->auto_mute_notify, mix 995 sound/ppc/tumbler.c if (mix->line_mute.addr != 0) mix 996 sound/ppc/tumbler.c check_mute(chip, &mix->line_mute, 1, mix->auto_mute_notify, mix 999 sound/ppc/tumbler.c if (mix->auto_mute_notify) mix 1004 sound/ppc/tumbler.c mix->drc_enable = ! (headphone || lineout); mix 1005 sound/ppc/tumbler.c if (mix->auto_mute_notify) mix 1009 sound/ppc/tumbler.c tumbler_set_drc(mix); mix 1011 sound/ppc/tumbler.c snapper_set_drc(mix); mix 1015 sound/ppc/tumbler.c tumbler_set_master_volume(mix); mix 1021 sound/ppc/tumbler.c struct pmac_tumbler *mix; mix 1022 sound/ppc/tumbler.c mix = chip->mixer_data; mix 1023 sound/ppc/tumbler.c if (snd_BUG_ON(!mix)) mix 1025 sound/ppc/tumbler.c mix->auto_mute_notify = do_notify; mix 1158 sound/ppc/tumbler.c struct pmac_tumbler *mix = chip->mixer_data; mix 1160 sound/ppc/tumbler.c if (mix->anded_reset) { mix 1162 sound/ppc/tumbler.c write_audio_gpio(&mix->hp_mute, 0); mix 1163 sound/ppc/tumbler.c write_audio_gpio(&mix->amp_mute, 0); mix 1165 sound/ppc/tumbler.c write_audio_gpio(&mix->hp_mute, 1); mix 1166 sound/ppc/tumbler.c write_audio_gpio(&mix->amp_mute, 1); mix 1168 sound/ppc/tumbler.c write_audio_gpio(&mix->hp_mute, 0); mix 1169 sound/ppc/tumbler.c write_audio_gpio(&mix->amp_mute, 0); mix 1174 sound/ppc/tumbler.c write_audio_gpio(&mix->audio_reset, 0); mix 1176 sound/ppc/tumbler.c write_audio_gpio(&mix->audio_reset, 1); mix 1178 sound/ppc/tumbler.c write_audio_gpio(&mix->audio_reset, 0); mix 1187 sound/ppc/tumbler.c struct pmac_tumbler *mix = chip->mixer_data; mix 1189 sound/ppc/tumbler.c if (mix->headphone_irq >= 0) mix 1190 sound/ppc/tumbler.c disable_irq(mix->headphone_irq); mix 1191 sound/ppc/tumbler.c if (mix->lineout_irq >= 0) mix 1192 sound/ppc/tumbler.c disable_irq(mix->lineout_irq); mix 1193 sound/ppc/tumbler.c mix->save_master_switch[0] = mix->master_switch[0]; mix 1194 sound/ppc/tumbler.c mix->save_master_switch[1] = mix->master_switch[1]; mix 1195 sound/ppc/tumbler.c mix->save_master_vol[0] = mix->master_vol[0]; mix 1196 sound/ppc/tumbler.c mix->save_master_vol[1] = mix->master_vol[1]; mix 1197 sound/ppc/tumbler.c mix->master_switch[0] = mix->master_switch[1] = 0; mix 1198 sound/ppc/tumbler.c tumbler_set_master_volume(mix); mix 1199 sound/ppc/tumbler.c if (!mix->anded_reset) { mix 1200 sound/ppc/tumbler.c write_audio_gpio(&mix->amp_mute, 1); mix 1201 sound/ppc/tumbler.c write_audio_gpio(&mix->hp_mute, 1); mix 1204 sound/ppc/tumbler.c mix->acs |= 1; mix 1205 sound/ppc/tumbler.c i2c_smbus_write_byte_data(mix->i2c.client, TAS_REG_ACS, mix->acs); mix 1207 sound/ppc/tumbler.c if (mix->anded_reset) { mix 1208 sound/ppc/tumbler.c write_audio_gpio(&mix->amp_mute, 1); mix 1209 sound/ppc/tumbler.c write_audio_gpio(&mix->hp_mute, 1); mix 1211 sound/ppc/tumbler.c write_audio_gpio(&mix->audio_reset, 1); mix 1217 sound/ppc/tumbler.c struct pmac_tumbler *mix = chip->mixer_data; mix 1219 sound/ppc/tumbler.c mix->acs &= ~1; mix 1220 sound/ppc/tumbler.c mix->master_switch[0] = mix->save_master_switch[0]; mix 1221 sound/ppc/tumbler.c mix->master_switch[1] = mix->save_master_switch[1]; mix 1222 sound/ppc/tumbler.c mix->master_vol[0] = mix->save_master_vol[0]; mix 1223 sound/ppc/tumbler.c mix->master_vol[1] = mix->save_master_vol[1]; mix 1225 sound/ppc/tumbler.c if (mix->i2c.client && mix->i2c.init_client) { mix 1226 sound/ppc/tumbler.c if (mix->i2c.init_client(&mix->i2c) < 0) mix 1231 sound/ppc/tumbler.c tumbler_set_mono_volume(mix, &tumbler_pcm_vol_info); mix 1232 sound/ppc/tumbler.c tumbler_set_mono_volume(mix, &tumbler_bass_vol_info); mix 1233 sound/ppc/tumbler.c tumbler_set_mono_volume(mix, &tumbler_treble_vol_info); mix 1234 sound/ppc/tumbler.c tumbler_set_drc(mix); mix 1236 sound/ppc/tumbler.c snapper_set_mix_vol(mix, VOL_IDX_PCM); mix 1237 sound/ppc/tumbler.c snapper_set_mix_vol(mix, VOL_IDX_PCM2); mix 1238 sound/ppc/tumbler.c snapper_set_mix_vol(mix, VOL_IDX_ADC); mix 1239 sound/ppc/tumbler.c tumbler_set_mono_volume(mix, &snapper_bass_vol_info); mix 1240 sound/ppc/tumbler.c tumbler_set_mono_volume(mix, &snapper_treble_vol_info); mix 1241 sound/ppc/tumbler.c snapper_set_drc(mix); mix 1242 sound/ppc/tumbler.c snapper_set_capture_source(mix); mix 1244 sound/ppc/tumbler.c tumbler_set_master_volume(mix); mix 1247 sound/ppc/tumbler.c if (mix->headphone_irq >= 0) { mix 1250 sound/ppc/tumbler.c enable_irq(mix->headphone_irq); mix 1252 sound/ppc/tumbler.c val = do_gpio_read(&mix->hp_detect); mix 1253 sound/ppc/tumbler.c do_gpio_write(&mix->hp_detect, val | 0x80); mix 1255 sound/ppc/tumbler.c if (mix->lineout_irq >= 0) mix 1256 sound/ppc/tumbler.c enable_irq(mix->lineout_irq); mix 1264 sound/ppc/tumbler.c struct pmac_tumbler *mix = chip->mixer_data; mix 1268 sound/ppc/tumbler.c &mix->audio_reset, 0) < 0) mix 1271 sound/ppc/tumbler.c &mix->audio_reset, 1); mix 1274 sound/ppc/tumbler.c &mix->amp_mute, 0) < 0) mix 1277 sound/ppc/tumbler.c &mix->amp_mute, 1); mix 1280 sound/ppc/tumbler.c &mix->hp_mute, 0) < 0) mix 1283 sound/ppc/tumbler.c &mix->hp_mute, 1); mix 1286 sound/ppc/tumbler.c &mix->line_mute, 0) < 0) mix 1289 sound/ppc/tumbler.c &mix->line_mute, 1); mix 1291 sound/ppc/tumbler.c NULL, &mix->hp_detect, 0); mix 1294 sound/ppc/tumbler.c NULL, &mix->hp_detect, 1); mix 1297 sound/ppc/tumbler.c NULL, &mix->hp_detect, 1); mix 1298 sound/ppc/tumbler.c mix->headphone_irq = irq; mix 1300 sound/ppc/tumbler.c NULL, &mix->line_detect, 0); mix 1303 sound/ppc/tumbler.c NULL, &mix->line_detect, 1); mix 1306 sound/ppc/tumbler.c NULL, &mix->line_detect, 1); mix 1307 sound/ppc/tumbler.c mix->lineout_irq = irq; mix 1316 sound/ppc/tumbler.c struct pmac_tumbler *mix = chip->mixer_data; mix 1317 sound/ppc/tumbler.c if (! mix) mix 1320 sound/ppc/tumbler.c if (mix->headphone_irq >= 0) mix 1321 sound/ppc/tumbler.c free_irq(mix->headphone_irq, chip); mix 1322 sound/ppc/tumbler.c if (mix->lineout_irq >= 0) mix 1323 sound/ppc/tumbler.c free_irq(mix->lineout_irq, chip); mix 1324 sound/ppc/tumbler.c tumbler_gpio_free(&mix->audio_reset); mix 1325 sound/ppc/tumbler.c tumbler_gpio_free(&mix->amp_mute); mix 1326 sound/ppc/tumbler.c tumbler_gpio_free(&mix->hp_mute); mix 1327 sound/ppc/tumbler.c tumbler_gpio_free(&mix->hp_detect); mix 1328 sound/ppc/tumbler.c snd_pmac_keywest_cleanup(&mix->i2c); mix 1329 sound/ppc/tumbler.c kfree(mix); mix 1337 sound/ppc/tumbler.c struct pmac_tumbler *mix; mix 1344 sound/ppc/tumbler.c mix = kzalloc(sizeof(*mix), GFP_KERNEL); mix 1345 sound/ppc/tumbler.c if (! mix) mix 1347 sound/ppc/tumbler.c mix->headphone_irq = -1; mix 1349 sound/ppc/tumbler.c chip->mixer_data = mix; mix 1351 sound/ppc/tumbler.c mix->anded_reset = 0; mix 1352 sound/ppc/tumbler.c mix->reset_on_sleep = 1; mix 1357 sound/ppc/tumbler.c mix->anded_reset = 1; mix 1359 sound/ppc/tumbler.c mix->reset_on_sleep = 0; mix 1378 sound/ppc/tumbler.c mix->i2c.addr = (*paddr) >> 1; mix 1380 sound/ppc/tumbler.c mix->i2c.addr = TAS_I2C_ADDR; mix 1383 sound/ppc/tumbler.c DBG("(I) TAS i2c address is: %x\n", mix->i2c.addr); mix 1386 sound/ppc/tumbler.c mix->i2c.init_client = tumbler_init_client; mix 1387 sound/ppc/tumbler.c mix->i2c.name = "TAS3001c"; mix 1390 sound/ppc/tumbler.c mix->i2c.init_client = snapper_init_client; mix 1391 sound/ppc/tumbler.c mix->i2c.name = "TAS3004"; mix 1395 sound/ppc/tumbler.c if ((err = snd_pmac_keywest_init(&mix->i2c)) < 0) mix 1420 sound/ppc/tumbler.c if (mix->line_mute.addr != 0) { mix 1431 sound/ppc/tumbler.c mix->drc_range = (TAS3001_DRC_MAX * 6) / 10; mix 1433 sound/ppc/tumbler.c mix->drc_range = (TAS3004_DRC_MAX * 6) / 10; mix 1434 sound/ppc/tumbler.c mix->drc_enable = 1; /* will be changed later if AUTO_DRC is set */ mix 1436 sound/ppc/tumbler.c tumbler_set_drc(mix); mix 1438 sound/ppc/tumbler.c snapper_set_drc(mix); mix 1449 sound/ppc/tumbler.c if ((mix->headphone_irq >=0 || mix->lineout_irq >= 0) mix 1457 sound/ppc/tumbler.c if (mix->headphone_irq >= 0) { mix 1459 sound/ppc/tumbler.c if ((err = request_irq(mix->headphone_irq, headphone_intr, 0, mix 1463 sound/ppc/tumbler.c val = do_gpio_read(&mix->hp_detect); mix 1464 sound/ppc/tumbler.c do_gpio_write(&mix->hp_detect, val | 0x80); mix 1466 sound/ppc/tumbler.c if (mix->lineout_irq >= 0) { mix 1468 sound/ppc/tumbler.c if ((err = request_irq(mix->lineout_irq, headphone_intr, 0, mix 1472 sound/ppc/tumbler.c val = do_gpio_read(&mix->line_detect); mix 1473 sound/ppc/tumbler.c do_gpio_write(&mix->line_detect, val | 0x80); mix 239 sound/soc/atmel/tse850-pcm5142.c static const struct snd_kcontrol_new mix[] = { mix 262 sound/soc/atmel/tse850-pcm5142.c SOC_MIXER_ARRAY("MIX", SND_SOC_NOPM, 0, 0, mix), mix 28 sound/soc/sh/rcar/cmd.c struct rsnd_mod *mix = rsnd_io_to_mod_mix(io); mix 38 sound/soc/sh/rcar/cmd.c if (!mix && !dvc) mix 44 sound/soc/sh/rcar/cmd.c if (mix) { mix 59 sound/soc/sh/rcar/cmd.c if (mix == rsnd_io_to_mod_mix(tio)) mix 64 sound/soc/sh/rcar/cmd.c if (mix == rsnd_io_to_mod_mix(tio)) mix 629 sound/soc/sh/rcar/dma.c struct rsnd_mod *mix = rsnd_io_to_mod_mix(io); mix 695 sound/soc/sh/rcar/dma.c } else if (mix) { mix 696 sound/soc/sh/rcar/dma.c mod[idx++] = mix; mix 697 sound/soc/sh/rcar/dma.c mix = NULL; mix 61 sound/soc/sh/rcar/mix.c #define rsnd_mix_get(priv, id) ((struct rsnd_mix *)(priv->mix) + id) mix 66 sound/soc/sh/rcar/mix.c ((pos) = (struct rsnd_mix *)(priv)->mix + i); \ mix 81 sound/soc/sh/rcar/mix.c #define rsnd_mix_get_vol(mix, X) \ mix 82 sound/soc/sh/rcar/mix.c rsnd_flags_has(mix, HAS_VOL##X) ? \ mix 83 sound/soc/sh/rcar/mix.c (VOL_MAX - rsnd_kctrl_vals(mix->volume##X)) : 0 mix 89 sound/soc/sh/rcar/mix.c struct rsnd_mix *mix = rsnd_mod_to_mix(mod); mix 90 sound/soc/sh/rcar/mix.c u32 volA = rsnd_mix_get_vol(mix, A); mix 91 sound/soc/sh/rcar/mix.c u32 volB = rsnd_mix_get_vol(mix, B); mix 92 sound/soc/sh/rcar/mix.c u32 volC = rsnd_mix_get_vol(mix, C); mix 93 sound/soc/sh/rcar/mix.c u32 volD = rsnd_mix_get_vol(mix, D); mix 107 sound/soc/sh/rcar/mix.c struct rsnd_mix *mix = rsnd_mod_to_mix(mod); mix 115 sound/soc/sh/rcar/mix.c rsnd_mod_write(mod, MIX_MIXMR, rsnd_kctrl_vals(mix->ren)); mix 116 sound/soc/sh/rcar/mix.c rsnd_mod_write(mod, MIX_MVPDR, rsnd_kctrl_vals(mix->rup) << 8 | mix 117 sound/soc/sh/rcar/mix.c rsnd_kctrl_vals(mix->rdw)); mix 177 sound/soc/sh/rcar/mix.c struct rsnd_mix *mix = rsnd_mod_to_mix(mod); mix 185 sound/soc/sh/rcar/mix.c volume = &mix->volumeA; mix 186 sound/soc/sh/rcar/mix.c rsnd_flags_set(mix, HAS_VOLA); mix 190 sound/soc/sh/rcar/mix.c volume = &mix->volumeB; mix 191 sound/soc/sh/rcar/mix.c rsnd_flags_set(mix, HAS_VOLB); mix 195 sound/soc/sh/rcar/mix.c volume = &mix->volumeC; mix 196 sound/soc/sh/rcar/mix.c rsnd_flags_set(mix, HAS_VOLC); mix 200 sound/soc/sh/rcar/mix.c volume = &mix->volumeD; mix 201 sound/soc/sh/rcar/mix.c rsnd_flags_set(mix, HAS_VOLD); mix 218 sound/soc/sh/rcar/mix.c if (rsnd_flags_has(mix, ONCE_KCTRL_INITIALIZED)) mix 226 sound/soc/sh/rcar/mix.c &mix->ren, 1); mix 234 sound/soc/sh/rcar/mix.c &mix->rup, mix 244 sound/soc/sh/rcar/mix.c &mix->rdw, mix 248 sound/soc/sh/rcar/mix.c rsnd_flags_set(mix, ONCE_KCTRL_INITIALIZED); mix 275 sound/soc/sh/rcar/mix.c struct rsnd_mix *mix; mix 294 sound/soc/sh/rcar/mix.c mix = devm_kcalloc(dev, nr, sizeof(*mix), GFP_KERNEL); mix 295 sound/soc/sh/rcar/mix.c if (!mix) { mix 301 sound/soc/sh/rcar/mix.c priv->mix = mix; mix 306 sound/soc/sh/rcar/mix.c mix = rsnd_mix_get(priv, i); mix 318 sound/soc/sh/rcar/mix.c ret = rsnd_mod_init(priv, rsnd_mod_get(mix), &rsnd_mix_ops, mix 336 sound/soc/sh/rcar/mix.c struct rsnd_mix *mix; mix 339 sound/soc/sh/rcar/mix.c for_each_rsnd_mix(mix, priv, i) { mix 340 sound/soc/sh/rcar/mix.c rsnd_mod_quit(rsnd_mod_get(mix)); mix 662 sound/soc/sh/rcar/rsnd.h void *mix; mix 242 sound/usb/mixer_scarlett_gen2.c u8 mix[SCARLETT2_INPUT_MIX_MAX * SCARLETT2_OUTPUT_MIX_MAX]; mix 809 sound/usb/mixer_scarlett_gen2.c scarlett2_mixer_values[private->mix[j]] mix 1485 sound/usb/mixer_scarlett_gen2.c ucontrol->value.integer.value[0] = private->mix[elem->control]; mix 1501 sound/usb/mixer_scarlett_gen2.c oval = private->mix[elem->control]; mix 1509 sound/usb/mixer_scarlett_gen2.c private->mix[elem->control] = val;