Home
last modified time | relevance | path

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

/linux-4.4.14/sound/ppc/
Dtumbler.c212 static int tumbler_set_master_volume(struct pmac_tumbler *mix) in tumbler_set_master_volume() argument
217 if (! mix->i2c.client) in tumbler_set_master_volume()
220 if (! mix->master_switch[0]) in tumbler_set_master_volume()
223 left_vol = mix->master_vol[0]; in tumbler_set_master_volume()
228 if (! mix->master_switch[1]) in tumbler_set_master_volume()
231 right_vol = mix->master_vol[1]; in tumbler_set_master_volume()
245 if (i2c_smbus_write_i2c_block_data(mix->i2c.client, TAS_REG_VOL, 6, in tumbler_set_master_volume()
270 struct pmac_tumbler *mix = chip->mixer_data; in tumbler_get_master_volume() local
272 ucontrol->value.integer.value[0] = mix->master_vol[0]; in tumbler_get_master_volume()
273 ucontrol->value.integer.value[1] = mix->master_vol[1]; in tumbler_get_master_volume()
[all …]
Ddaca.c67 static int daca_set_volume(struct pmac_daca *mix) in daca_set_volume() argument
71 if (! mix->i2c.client) in daca_set_volume()
74 if (mix->left_vol > DACA_VOL_MAX) in daca_set_volume()
77 data[0] = mix->left_vol; in daca_set_volume()
78 if (mix->right_vol > DACA_VOL_MAX) in daca_set_volume()
81 data[1] = mix->right_vol; in daca_set_volume()
82 data[1] |= mix->deemphasis ? 0x40 : 0; in daca_set_volume()
83 if (i2c_smbus_write_block_data(mix->i2c.client, DACA_REG_AVOL, in daca_set_volume()
99 struct pmac_daca *mix; in daca_get_deemphasis() local
100 if (! (mix = chip->mixer_data)) in daca_get_deemphasis()
[all …]
/linux-4.4.14/drivers/clk/mmp/
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 …]
DMakefile5 obj-y += clk-apbc.o clk-apmu.o clk-frac.o clk-mix.o clk-gate.o clk.o
/linux-4.4.14/sound/soc/sh/rcar/
Dmix.c24 ((pos) = (struct rsnd_mix *)(priv)->mix + i); \
102 return rsnd_mod_get((struct rsnd_mix *)(priv->mix) + id); in rsnd_mix_mod_get()
148 struct rsnd_mix *mix; in rsnd_mix_probe() local
163 mix = devm_kzalloc(dev, sizeof(*mix) * nr, GFP_KERNEL); in rsnd_mix_probe()
164 if (!mix) in rsnd_mix_probe()
168 priv->mix = mix; in rsnd_mix_probe()
170 for_each_rsnd_mix(mix, priv, i) { in rsnd_mix_probe()
178 mix->info = &info->mix_info[i]; in rsnd_mix_probe()
180 ret = rsnd_mod_init(priv, rsnd_mod_get(mix), &rsnd_mix_ops, in rsnd_mix_probe()
192 struct rsnd_mix *mix; in rsnd_mix_remove() local
[all …]
DMakefile1 snd-soc-rcar-objs := core.o gen.o dma.o adg.o ssi.o src.o ctu.o mix.o dvc.o
Dcore.c609 struct rsnd_mod *mix = rsnd_io_to_mod_mix(io); in rsnd_path_parse() local
619 if (!mix && !dvc) in rsnd_path_parse()
622 if (mix) { in rsnd_path_parse()
642 if (mix == rsnd_io_to_mod_mix(io)) in rsnd_path_parse()
646 if (mix == rsnd_io_to_mod_mix(io)) in rsnd_path_parse()
655 cmd = mix; in rsnd_path_parse()
711 ret = rsnd_path_add(priv, io, mix); in rsnd_path_init()
803 mod_parse(mix); in rsnd_of_parse_dai()
Drcar_snd.h79 struct rsnd_mix_platform_info *mix; member
Ddma.c510 struct rsnd_mod *mix = rsnd_io_to_mod_mix(io); in rsnd_dma_of_path() local
553 } else if (mix) { in rsnd_dma_of_path()
554 mod[i] = mix; in rsnd_dma_of_path()
555 mix = NULL; in rsnd_dma_of_path()
Drsnd.h491 void *mix; member
/linux-4.4.14/sound/pci/emu10k1/
Demumixer.c1246 struct snd_emu10k1_pcm_mixer *mix = in snd_emu10k1_send_routing_get() local
1256 mix->send_routing[voice][idx] & mask; in snd_emu10k1_send_routing_get()
1266 struct snd_emu10k1_pcm_mixer *mix = in snd_emu10k1_send_routing_put() local
1276 if (mix->send_routing[voice][idx] != val) { in snd_emu10k1_send_routing_put()
1277 mix->send_routing[voice][idx] = val; in snd_emu10k1_send_routing_put()
1281 if (change && mix->epcm) { in snd_emu10k1_send_routing_put()
1282 if (mix->epcm->voices[0] && mix->epcm->voices[1]) { in snd_emu10k1_send_routing_put()
1283 update_emu10k1_fxrt(emu, mix->epcm->voices[0]->number, in snd_emu10k1_send_routing_put()
1284 &mix->send_routing[1][0]); in snd_emu10k1_send_routing_put()
1285 update_emu10k1_fxrt(emu, mix->epcm->voices[1]->number, in snd_emu10k1_send_routing_put()
[all …]
Demupcm.c287 struct snd_emu10k1_pcm_mixer *mix) in snd_emu10k1_pcm_init_voice() argument
326 memcpy(send_routing, &mix->send_routing[tmp][0], 8); in snd_emu10k1_pcm_init_voice()
327 memcpy(send_amount, &mix->send_volume[tmp][0], 8); in snd_emu10k1_pcm_init_voice()
674 struct snd_emu10k1_pcm_mixer *mix) in snd_emu10k1_playback_prepare_voice() argument
689 vattn = mix != NULL ? (mix->attn[tmp] << 16) : 0; in snd_emu10k1_playback_prepare_voice()
761 struct snd_emu10k1_pcm_mixer *mix; in snd_emu10k1_playback_trigger() local
779 mix = &emu->pcm_mixer[substream->number]; in snd_emu10k1_playback_trigger()
780 snd_emu10k1_playback_prepare_voice(emu, epcm->voices[0], 1, 0, mix); in snd_emu10k1_playback_trigger()
781 snd_emu10k1_playback_prepare_voice(emu, epcm->voices[1], 0, 0, mix); in snd_emu10k1_playback_trigger()
1085 struct snd_emu10k1_pcm_mixer *mix; in snd_emu10k1_efx_playback_close() local
[all …]
/linux-4.4.14/sound/pci/au88x0/
Dau88x0_core.c102 vortex_mix_muteinputgain(vortex_t * vortex, unsigned char mix,
105 hwwrite(vortex->mmio, VORTEX_MIX_INVOL_A + ((mix << 5) + channel),
107 hwwrite(vortex->mmio, VORTEX_MIX_INVOL_B + ((mix << 5) + channel),
111 static int vortex_mix_getvolume(vortex_t * vortex, unsigned char mix)
114 a = hwread(vortex->mmio, VORTEX_MIX_VOL_A + (mix << 2)) & 0xff;
120 vortex_mix_getinputvolume(vortex_t * vortex, unsigned char mix,
124 if (!(mchannels[mix] & (1 << channel)))
127 VORTEX_MIX_INVOL_A + (((mix << 5) + channel) << 2));
143 static void vortex_mix_rampvolume(vortex_t * vortex, int mix)
149 if (((1 << ch) & rampchs[mix]) == 0)
[all …]
Dau88x0_synth.c32 unsigned char mix, int a);
118 int i, ii, mix; in vortex_wt_connect() local
129 mix = in vortex_wt_connect()
133 vortex->mixwt[(i * NR_WTROUTES) + ii] = mix; in vortex_wt_connect()
136 ADB_WTOUT(i, ii + 0x20), ADB_MIXIN(mix)); in vortex_wt_connect()
138 vortex_connection_mixin_mix(vortex, en, mix, in vortex_wt_connect()
142 mix, in vortex_wt_connect()
Dau88x0.h267 unsigned char mix, int a);
269 unsigned char mix, int mixin,
271 static void vortex_mix_setvolumebyte(vortex_t * vortex, unsigned char mix,
/linux-4.4.14/arch/x86/boot/
Dvideo-mode.c104 struct mode_info mix; in raw_set_mode() local
105 *real_mode = mix.mode = mode; in raw_set_mode()
106 mix.x = mix.y = 0; in raw_set_mode()
107 return card->set_mode(&mix); in raw_set_mode()
/linux-4.4.14/drivers/net/ethernet/octeon/
Docteon_mgmt.c120 u64 mix; member
165 mix_intena.u64 = cvmx_read_csr(p->mix + MIX_INTENA); in octeon_mgmt_set_rx_irq()
167 cvmx_write_csr(p->mix + MIX_INTENA, mix_intena.u64); in octeon_mgmt_set_rx_irq()
177 mix_intena.u64 = cvmx_read_csr(p->mix + MIX_INTENA); in octeon_mgmt_set_tx_irq()
179 cvmx_write_csr(p->mix + MIX_INTENA, mix_intena.u64); in octeon_mgmt_set_tx_irq()
246 cvmx_write_csr(p->mix + MIX_IRING2, 1); in octeon_mgmt_rx_fill_ring()
258 mix_orcnt.u64 = cvmx_read_csr(p->mix + MIX_ORCNT); in octeon_mgmt_clean_tx_buffers()
262 mix_orcnt.u64 = cvmx_read_csr(p->mix + MIX_ORCNT); in octeon_mgmt_clean_tx_buffers()
282 cvmx_write_csr(p->mix + MIX_ORCNT, mix_orcnt.u64); in octeon_mgmt_clean_tx_buffers()
308 mix_orcnt.u64 = cvmx_read_csr(p->mix + MIX_ORCNT); in octeon_mgmt_clean_tx_buffers()
[all …]
/linux-4.4.14/sound/oss/
Dwaveartist.c108 const struct waveartist_mixer_info *mix; member
952 const struct mix_ent *mix = mix_devs + whichDev; in waveartist_mixer_update() local
955 mask = mix->max << mix->shift; in waveartist_mixer_update()
956 lev_left = SCALE(lev_left, mix->max) << mix->shift; in waveartist_mixer_update()
957 lev_right = SCALE(lev_right, mix->max) << mix->shift; in waveartist_mixer_update()
961 mix->reg_l << 8); in waveartist_mixer_update()
965 mix->reg_r << 8); in waveartist_mixer_update()
1096 recmask &= devc->mix->recording_devs; in waveartist_set_recmask()
1109 devc->recmask = devc->mix->select_input(devc, recmask, in waveartist_set_recmask()
1130 if (!(devc->mix->stereo_devs & (1 << dev))) in waveartist_set_mixer()
[all …]
Dswarm_cs4297a.c298 } mix; member
1259 info.modify_counter = s->mix.modcnt; in mixer_ioctl()
1310 return put_user(s->mix.vol[vidx - 1], (int *) arg); in mixer_ioctl()
1319 s->mix.modcnt++; in mixer_ioctl()
1373 s->mix.vol[8] = ((unsigned int) r << 8) | l; in mixer_ioctl()
1375 s->mix.vol[8] = val; in mixer_ioctl()
1377 return put_user(s->mix.vol[8], (int *) arg); in mixer_ioctl()
1403 s->mix.vol[6] = l << 8; in mixer_ioctl()
1405 s->mix.vol[6] = val; in mixer_ioctl()
1407 return put_user(s->mix.vol[6], (int *) arg); in mixer_ioctl()
[all …]
/linux-4.4.14/net/ceph/
Dceph_hash.c10 #define mix(a, b, c) \ macro
43 mix(a, b, c); in ceph_str_hash_rjenkins()
76 mix(a, b, c); in ceph_str_hash_rjenkins()
/linux-4.4.14/sound/pci/trident/
Dtrident_main.c953 struct snd_trident_pcm_mixer *mix = &trident->pcm_mixer[substream->number]; in snd_trident_playback_prepare() local
975 voice->Vol = mix->vol; in snd_trident_playback_prepare()
976 voice->RVol = mix->rvol; in snd_trident_playback_prepare()
977 voice->CVol = mix->cvol; in snd_trident_playback_prepare()
978 voice->Pan = mix->pan; in snd_trident_playback_prepare()
1410 struct snd_trident_pcm_mixer *mix = &trident->pcm_mixer[substream->number]; in snd_trident_spdif_prepare() local
1486 voice->Vol = mix->vol; in snd_trident_spdif_prepare()
1487 voice->RVol = mix->rvol; in snd_trident_spdif_prepare()
1488 voice->CVol = mix->cvol; in snd_trident_spdif_prepare()
1489 voice->Pan = mix->pan; in snd_trident_spdif_prepare()
[all …]
/linux-4.4.14/scripts/
Drecordmcount.pl591 my $mix = $dirname . "/.tmp_mx_" . $filename;
596 `$ld -r $inputfile $mcount_o -o $mix`;
601 `$mv $mix $inputfile`;
/linux-4.4.14/Documentation/devicetree/bindings/net/
Dcavium-mix.txt4 - compatible: "cavium,octeon-5750-mix"
25 compatible = "cavium,octeon-5750-mix";
/linux-4.4.14/drivers/video/fbdev/aty/
Dmach64_accel.c286 u32 pix_width_save, pix_width, host_cntl, rotation = 0, src, mix; in atyfb_imageblit() local
366 mix = FRGD_MIX_S | BKGD_MIX_S; in atyfb_imageblit()
369 mix = FRGD_MIX_D_XOR_S | BKGD_MIX_D; in atyfb_imageblit()
375 aty_st_le32(DP_MIX, mix, par); in atyfb_imageblit()
/linux-4.4.14/drivers/staging/rdma/hfi1/
Dpio.h76 union mix { union
94 union mix carry; /* pending unwritten bytes */
Dpio_copy.c148 union mix val; in pio_copy()
303 static inline void carry8_write8(union mix carry, void __iomem *dest) in carry8_write8()
419 static inline void carry8_write8(union mix carry, void *dest) in carry8_write8()
/linux-4.4.14/Documentation/devicetree/bindings/sound/
Drenesas,rsnd.txt26 - rcar_sound,mix : Should contain MIX feature.
106 rcar_sound,mix {
107 mix0: mix@0 { };
108 mix1: mix@1 { };
/linux-4.4.14/security/selinux/ss/
Davtab.c43 #define mix(input) { \ 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-4.4.14/Documentation/devicetree/bindings/mfd/
Dmfd.txt16 mix of unrelated hardware devices.
/linux-4.4.14/sound/pci/lola/
Dlola.h133 #define LOLA_BAR1_MIX_GAIN(dest, mix) \ argument
134 (LOLA_BAR1_DEST00_MIX00_01_GAIN + (dest) * 0x40 + (mix) * 2)
/linux-4.4.14/Documentation/sound/alsa/
DAudigy-mixer.txt146 DAC PCM slots of the Philips DAC. This contains mix from analog sources
171 this mix.
177 this mix.
182 This control is used to attenuate sample for center speaker of this mix.
187 This control is used to attenuate sample for LFE speaker of this mix.
DHD-Audio.txt464 - add_stereo_mix_input (bool): add the stereo mix (analog-loopback
465 mix) to the input mux if available
/linux-4.4.14/Documentation/power/
Dapm-acpi.txt19 simply cannot mix and match the two. Only one power management
Dpower_supply_class.txt62 ~ of battery, this class distinguish these terms. Don't mix them! ~
/linux-4.4.14/arch/alpha/lib/
Dstrrchr.S79 addq t6, t0, v0 # .. e1 : add our aligned base ptr to the mix
/linux-4.4.14/Documentation/usb/
Danchors.txt77 and returned with a reference. As you may mix URBs to several
Dhotplug.txt19 This involves a mix of kernel mode and user mode actions. Making devices
/linux-4.4.14/arch/arm/boot/dts/
Dkirkwood-b3.dts128 * mix together giving some interesting combinations.
Dr8a7791.dtsi1677 "mix.0", "mix.1",
1695 rcar_sound,mix {
1696 mix0: mix@0 { };
1697 mix1: mix@1 { };
Dr8a7790.dtsi1627 "mix.0", "mix.1",
1645 rcar_sound,mix {
1646 mix0: mix@0 { };
1647 mix1: mix@1 { };
/linux-4.4.14/net/ipv6/
Dudp.c111 unsigned int hash, mix = net_hash_mix(net); in udp6_portaddr_hash() local
114 hash = jhash_1word(0, mix); in udp6_portaddr_hash()
116 hash = jhash_1word((__force u32)addr6->s6_addr32[3], mix); in udp6_portaddr_hash()
118 hash = jhash2((__force u32 *)addr6->s6_addr32, 4, mix); in udp6_portaddr_hash()
/linux-4.4.14/Documentation/devicetree/bindings/gpio/
Dgpio-mcp23s08.txt35 possible to mix mcp23s08 and mcp23s17 on the same chipselect. Set at
/linux-4.4.14/arch/mips/boot/dts/cavium-octeon/
Docteon_3xxx.dts199 compatible = "cavium,octeon-5750-mix";
211 compatible = "cavium,octeon-5750-mix";
Docteon_68xx.dts243 compatible = "cavium,octeon-5750-mix";
/linux-4.4.14/arch/x86/entry/
Dentry_32.S256 movl PT_EFLAGS(%esp), %eax # mix EFLAGS and CS
362 movl PT_EFLAGS(%esp), %eax # mix EFLAGS, SS and CS
/linux-4.4.14/Documentation/hwmon/
Dsubmitting-patches45 * Never mix bug fixes, cleanup, and functional enhancements in a single patch.
Dpc87360128 the same time. Although it should be possible to mix the two sensor types,
/linux-4.4.14/arch/sparc/kernel/
Dentry.S724 or %l4, %l0, %l4 ! or them in... mix mix mix
/linux-4.4.14/Documentation/
Dpi-futex.txt47 display-colory-stuff threads. Add video and decoding to the mix and
Dprintk-formats.txt247 a mix of old and new ones, but it won't oops. %pd dentry is a safer
Dcrc32.txt105 You can also mix and match the two loop styles, for example doing the
Dassoc_array.txt457 A node can contain a heterogeneous mix of leaves and metadata pointers.
DCodingStyle268 If you are afraid to mix up your local variable names, you have another
/linux-4.4.14/Documentation/driver-model/
Ddevres.txt42 adds more to this mix. So do msi and msix.
/linux-4.4.14/Documentation/fmc/
Didentifiers.txt73 them. The script uses a mix of environment variables and command line
/linux-4.4.14/sound/core/oss/
Dmixer_oss.c1260 #define snd_mixer_oss_proc_init(mix) argument
1261 #define snd_mixer_oss_proc_done(mix) argument
/linux-4.4.14/drivers/net/wireless/ath/ath5k/
Dphy.c485 u32 mix, step; in ath5k_hw_rf_gainf_corr() local
516 mix = g_step->gos_param[0]; in ath5k_hw_rf_gainf_corr()
518 switch (mix) { in ath5k_hw_rf_gainf_corr()
/linux-4.4.14/Documentation/networking/
Dpktgen.txt190 can have any mix of random and fixed
Dixgbe.txt38 the same Speed setting via ethtool. Results may vary if you mix speed settings.
Daltera_tse.txt123 The controller and driver support a mix of IEEE standard defined statistics,
Dbonding.txt2630 Depending upon the mix of ESMs and PMs, the network will
2646 either switch modules or passthrough modules (or a mix). The only
2693 Any Ethernet type cards (you can even mix cards - a Intel
/linux-4.4.14/sound/pci/hda/
Dhda_generic.c3001 static int add_loopback_list(struct hda_gen_spec *spec, hda_nid_t mix, int idx) in add_loopback_list() argument
3008 list->nid = mix; in add_loopback_list()
4776 static void mute_all_mixer_nid(struct hda_codec *codec, hda_nid_t mix) in mute_all_mixer_nid() argument
4782 nums = snd_hda_get_conn_list(codec, mix, &conn); in mute_all_mixer_nid()
4783 has_amp = nid_has_mute(codec, mix, HDA_INPUT); in mute_all_mixer_nid()
4786 update_amp(codec, mix, HDA_INPUT, i, in mute_all_mixer_nid()
Dpatch_realtek.c215 static void add_mixer(struct alc_spec *spec, const struct snd_kcontrol_new *mix) in add_mixer() argument
219 spec->mixers[spec->num_mixers++] = mix; in add_mixer()
/linux-4.4.14/Documentation/ide/
Dide.txt46 - If you mix devices on the same cable, please consider using similar devices
DChangeLog.ide-tape.1995-2002109 * continuous view of the media - any mix of block sizes
/linux-4.4.14/Documentation/nvdimm/
Dbtt.txt15 progress, and we experience a power failure, the block will contain a mix of old
/linux-4.4.14/drivers/media/dvb-frontends/
Ddib0090.c119 u16 mix; member
2496 dib0090_write_reg(state, 0x0d, tune->mix); in dib0090_tune()
/linux-4.4.14/Documentation/nfc/
Dnfc-hci.txt173 easy to mix any physical link with any llc for a given chip driver.
/linux-4.4.14/Documentation/input/
Devent-codes.txt300 accelerometer data. All other axes retain their meaning. A device must not mix
/linux-4.4.14/Documentation/devicetree/bindings/thermal/
Dthermal.txt603 The above example is a mix of previous examples, a sensor IP with several internal
/linux-4.4.14/Documentation/filesystems/
Dhpfs.txt121 modification saved me. Never mix different language versions of OS/2 on one
/linux-4.4.14/arch/x86/math-emu/
DREADME165 upon instruction mix. Relative performance is best for the instructions
/linux-4.4.14/Documentation/development-process/
D5.Posting93 - As a way of restating the guideline above: do not mix different types of
/linux-4.4.14/Documentation/cgroups/
Dcpusets.txt96 adjusted, as the job mix changes, without impacting other concurrently
257 This is useful both on tightly managed systems running a wide mix of
/linux-4.4.14/Documentation/filesystems/configfs/
Dconfigfs.txt56 apply. Don't mix more than one attribute in one attribute file.
/linux-4.4.14/Documentation/isdn/
DREADME.HiSax448 Emil Stephan for the name HiSax which is a mix of HSCX and ISAC.
/linux-4.4.14/Documentation/virtual/kvm/
Dmmu.txt107 shadow page may contain a mix of leaf and nonleaf sptes.
/linux-4.4.14/arch/arm/mm/
DKconfig121 The ARM925T is a mix between the ARM920T and ARM926T, but with
/linux-4.4.14/drivers/ide/
DKconfig615 The nice thing about it is that you can mix Ultra/DMA/PIO devices
/linux-4.4.14/Documentation/filesystems/caching/
Dnetfs-api.txt97 the tree. The netfs can even mix indices and data files at the same level, but