Home
last modified time | relevance | path

Searched refs:rshift (Results 1 – 18 of 18) sorted by relevance

/linux-4.1.27/arch/ia64/lib/
Dcopy_user.S54 #define rshift r14 // right shift in bits macro
161 shl rshift=t2,3
164 sub lshift=64,rshift
183 (p15) shl rshift=t1,3 // in bits
184 (p14) shl rshift=t2,3
189 sub lshift=64,rshift
233 #define SWITCH(pred, shift) cmp.eq pred,p0=shift,rshift
236 #define BODY(rshift) \ argument
237 .copy_user_bit##rshift: \
240 (EPI_1) shrp tmp=val1[PIPE_DEPTH-2],val1[PIPE_DEPTH-1],rshift; \
[all …]
/linux-4.1.27/sound/soc/
Dsoc-ops.c256 unsigned int rshift = mc->rshift; in snd_soc_get_volsw() local
279 ret = snd_soc_read_signed(component, reg, mask, rshift, in snd_soc_get_volsw()
316 unsigned int rshift = mc->rshift; in snd_soc_put_volsw() local
340 val_mask |= mask << rshift; in snd_soc_put_volsw()
341 val |= val2 << rshift; in snd_soc_put_volsw()
378 unsigned int rshift = mc->rshift; in snd_soc_get_volsw_sx() local
396 val = ((val >> rshift) - min) & mask; in snd_soc_get_volsw_sx()
423 unsigned int rshift = mc->rshift; in snd_soc_put_volsw_sx() local
439 val_mask = mask << rshift; in snd_soc_put_volsw_sx()
441 val2 = val2 << rshift; in snd_soc_put_volsw_sx()
/linux-4.1.27/drivers/video/fbdev/via/
Dvia_clock.h43 u8 rshift; member
71 return get_pll_internal_frequency(ref_freq, pll) >> pll.rshift; in get_pll_output_frequency()
Dvia_clock.c39 | (pll.rshift << 6) in cle266_encode_pll()
46 | (pll.rshift << 10) in k800_encode_pll()
53 | (pll.rshift << 10) in vx855_encode_pll()
Dhw.h496 u8 rshift; member
Dhw.c1396 cur.rshift = limits[i].rshift; in get_pll_config()
1398 cur.multiplier = clk / ((f0 / cur.divisor)>>cur.rshift); in get_pll_config()
/linux-4.1.27/arch/s390/include/uapi/asm/
Dsie.h222 #define INSN_DECODE_IPA0(ipa0, insn, rshift, mask) \ argument
224 ((ipa0 << 8) | ((insn >> rshift) & mask)) :
/linux-4.1.27/net/sched/
Dcls_flow.c54 u32 rshift; member
311 classid = (classid >> f->rshift) + f->addend; in flow_classify()
438 fnew->rshift = fold->rshift; in flow_change()
508 fnew->rshift = nla_get_u32(tb[TCA_FLOW_RSHIFT]); in flow_change()
613 if (f->rshift && in flow_dump()
614 nla_put_u32(skb, TCA_FLOW_RSHIFT, f->rshift)) in flow_dump()
/linux-4.1.27/sound/pci/ac97/
Dac97_codec.c540 int rshift = (kcontrol->private_value >> 12) & 0x0f; in snd_ac97_info_volsw() local
543 uinfo->count = shift == rshift ? 1 : 2; in snd_ac97_info_volsw()
555 int rshift = (kcontrol->private_value >> 12) & 0x0f; in snd_ac97_get_volsw() local
562 if (shift != rshift) in snd_ac97_get_volsw()
563 ucontrol->value.integer.value[1] = (snd_ac97_read_cache(ac97, reg) >> rshift) & mask; in snd_ac97_get_volsw()
566 if (shift != rshift) in snd_ac97_get_volsw()
579 int rshift = (kcontrol->private_value >> 12) & 0x0f; in snd_ac97_put_volsw() local
591 if (shift != rshift) { in snd_ac97_put_volsw()
595 val_mask |= mask << rshift; in snd_ac97_put_volsw()
596 val |= val2 << rshift; in snd_ac97_put_volsw()
[all …]
/linux-4.1.27/include/sound/
Dsoc.h37 .rshift = shift_right, .max = xmax, .platform_max = xmax, \
42 .rshift = shift_right, .min = xmin, .max = xmax, .platform_max = xmax, \
51 {.reg = xlreg, .rreg = xrreg, .shift = xshift, .rshift = xshift, \
55 {.reg = xlreg, .rreg = xrreg, .shift = xshift, .rshift = xshift, \
60 {.reg = xlreg, .rreg = xrreg, .shift = xshift, .rshift = xshift, \
73 .rshift = xshift, .min = xmin, .max = xmax, \
93 .shift = xshift, .rshift = xshift, \
104 .rshift = xshift, .min = xmin, .max = xmax, \
163 .shift = xshift, .rshift = xshift, \
1171 unsigned int shift, rshift; member
[all …]
/linux-4.1.27/lib/mpi/
DMakefile12 generic_mpih-rshift.o \
/linux-4.1.27/sound/soc/codecs/
Dtwl4030.c848 unsigned int rshift = mc->rshift; in snd_soc_get_volsw_twl4030() local
858 if (shift != rshift) { in snd_soc_get_volsw_twl4030()
860 (snd_soc_read(codec, reg) >> rshift) & mask; in snd_soc_get_volsw_twl4030()
877 unsigned int rshift = mc->rshift; in snd_soc_put_volsw_twl4030() local
888 if (shift != rshift) { in snd_soc_put_volsw_twl4030()
890 val_mask |= mask << rshift; in snd_soc_put_volsw_twl4030()
893 val |= val2 << rshift; in snd_soc_put_volsw_twl4030()
/linux-4.1.27/arch/powerpc/platforms/powermac/
Dpfunc_base.c65 static int macio_do_gpio_read(PMF_STD_ARGS, u8 mask, int rshift, u8 xor) in macio_do_gpio_read() argument
75 *args->u[0].p = ((value & mask) >> rshift) ^ xor; in macio_do_gpio_read()
Dpfunc_core.c149 int rshift = (int)pmf_next32(cmd); in pmf_parser_read_gpio() local
153 mask, rshift, xor); in pmf_parser_read_gpio()
155 PMF_PARSE_CALL(read_gpio, cmd, h, mask, rshift, xor); in pmf_parser_read_gpio()
/linux-4.1.27/arch/powerpc/include/asm/
Dpmac_pfunc.h64 int (*read_gpio)(PMF_STD_ARGS, u8 mask, int rshift, u8 xor);
/linux-4.1.27/sound/pci/
Dcmipci.c2009 #define COMPOSE_SB_REG(lreg,rreg,lshift,rshift,mask,invert,stereo) \ argument
2010 …((lreg) | ((rreg) << 8) | (lshift << 16) | (rshift << 19) | (mask << 24) | (invert << 22) | (stere…
2021 …ne CMIPCI_SB_SW_STEREO(xname,lshift,rshift) CMIPCI_DOUBLE(xname, SB_DSP4_OUTPUT_SW, SB_DSP4_OUTPUT… argument
2178 #define CMIPCI_MIXER_SW_STEREO(xname, reg, lshift, rshift, invert) \ argument
2182 .private_value = COMPOSE_SB_REG(reg, reg, lshift, rshift, 1, invert, 1), \
2192 #define CMIPCI_MIXER_VOL_STEREO(xname, reg, lshift, rshift, mask) \ argument
2196 .private_value = COMPOSE_SB_REG(reg, reg, lshift, rshift, mask, 0, 1), \
/linux-4.1.27/drivers/media/i2c/soc_camera/
Dov2640.c33 #define VAL_SET(x, mask, rshift, lshift) \ argument
34 ((((x) >> rshift) & mask) << lshift)
/linux-4.1.27/fs/xfs/libxfs/
Dxfs_btree.c2206 XFS_BTREE_STATS_INC(cur, rshift); in xfs_btree_rshift()