Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/arch/ia64/lib/
H A Dcopy_user.S56 #define rshift r14 // right shift in bits macro
163 shl rshift=t2,3
166 sub lshift=64,rshift
185 (p15) shl rshift=t1,3 // in bits
186 (p14) shl rshift=t2,3
191 sub lshift=64,rshift
235 #define SWITCH(pred, shift) cmp.eq pred,p0=shift,rshift
238 #define BODY(rshift) \ argument
239 .copy_user_bit##rshift: \
242 (EPI_1) shrp tmp=val1[PIPE_DEPTH-2],val1[PIPE_DEPTH-1],rshift; \
[all …]
/OK3568_Linux_fs/kernel/sound/soc/
H A Dsoc-ops.c245 unsigned int rshift = mc->rshift; in snd_soc_get_volsw() local
268 ret = snd_soc_read_signed(component, reg, mask, rshift, in snd_soc_get_volsw()
305 unsigned int rshift = mc->rshift; in snd_soc_put_volsw() local
343 val_mask |= mask << rshift; in snd_soc_put_volsw()
344 val |= val2 << rshift; in snd_soc_put_volsw()
387 unsigned int rshift = mc->rshift; in snd_soc_get_volsw_sx() local
398 val = ((val >> rshift) - min) & mask; in snd_soc_get_volsw_sx()
425 unsigned int rshift = mc->rshift; in snd_soc_put_volsw_sx() local
455 val_mask = mask << rshift; in snd_soc_put_volsw_sx()
457 val2 = val2 << rshift; in snd_soc_put_volsw_sx()
/OK3568_Linux_fs/kernel/kernel/trace/
H A Dtrace_probe_tmpl.h34 *(u8 *)buf >>= code->rshift; in fetch_apply_bitfield()
38 *(u16 *)buf >>= code->rshift; in fetch_apply_bitfield()
42 *(u32 *)buf >>= code->rshift; in fetch_apply_bitfield()
46 *(u64 *)buf >>= code->rshift; in fetch_apply_bitfield()
/OK3568_Linux_fs/kernel/drivers/video/fbdev/via/
H A Dvia_clock.h28 u8 rshift; member
56 return get_pll_internal_frequency(ref_freq, pll) >> pll.rshift; in get_pll_output_frequency()
H A Dvia_clock.c24 | (pll.rshift << 6) in cle266_encode_pll()
31 | (pll.rshift << 10) in k800_encode_pll()
38 | (pll.rshift << 10) in vx855_encode_pll()
/OK3568_Linux_fs/kernel/include/sound/
H A Dsoc.h35 .rshift = shift_right, .max = xmax, .platform_max = xmax, \
40 .rshift = shift_right, .min = xmin, .max = xmax, .platform_max = xmax, \
49 {.reg = xlreg, .rreg = xrreg, .shift = xshift, .rshift = xshift, \
53 {.reg = xlreg, .rreg = xrreg, .shift = xshift, .rshift = xshift, \
58 {.reg = xlreg, .rreg = xrreg, .shift = xshift, .rshift = xshift, \
71 .rshift = xshift, .min = xmin, .max = xmax, \
91 .shift = xshift, .rshift = xshift, \
102 .rshift = xshift, .min = xmin, .max = xmax, \
169 .shift = xshift, .rshift = xshift, \
249 {.reg = xreg, .shift = xshift, .rshift = xshift, .max = xmax, \
[all …]
/OK3568_Linux_fs/external/xserver/glamor/
H A Dglamor_utils.h590 int rshift, bshift, gshift, ashift; in glamor_get_rgba_from_pixel() local
598 rshift = gshift = bshift = ashift = 0; in glamor_get_rgba_from_pixel()
603 rshift = gshift + gbits; in glamor_get_rgba_from_pixel()
604 ashift = rshift + rbits; in glamor_get_rgba_from_pixel()
607 rshift = 0; in glamor_get_rgba_from_pixel()
614 rshift = abits; in glamor_get_rgba_from_pixel()
616 rshift = PICT_FORMAT_BPP(format) - (rbits + gbits + bbits); in glamor_get_rgba_from_pixel()
617 gshift = rshift + rbits; in glamor_get_rgba_from_pixel()
628 COLOR_INT_TO_FLOAT(red, pixel, rshift, rbits); in glamor_get_rgba_from_pixel()
/OK3568_Linux_fs/kernel/net/sched/
H A Dcls_flow.c51 u32 rshift; member
327 classid = (classid >> f->rshift) + f->addend; in flow_classify()
464 fnew->rshift = fold->rshift; in flow_change()
532 fnew->rshift = nla_get_u32(tb[TCA_FLOW_RSHIFT]); in flow_change()
642 if (f->rshift && in flow_dump()
643 nla_put_u32(skb, TCA_FLOW_RSHIFT, f->rshift)) in flow_dump()
/OK3568_Linux_fs/kernel/sound/pci/ac97/
H A Dac97_codec.c525 int rshift = (kcontrol->private_value >> 12) & 0x0f; in snd_ac97_info_volsw() local
528 uinfo->count = shift == rshift ? 1 : 2; in snd_ac97_info_volsw()
540 int rshift = (kcontrol->private_value >> 12) & 0x0f; in snd_ac97_get_volsw() local
547 if (shift != rshift) in snd_ac97_get_volsw()
548 ucontrol->value.integer.value[1] = (snd_ac97_read_cache(ac97, reg) >> rshift) & mask; in snd_ac97_get_volsw()
551 if (shift != rshift) in snd_ac97_get_volsw()
564 int rshift = (kcontrol->private_value >> 12) & 0x0f; in snd_ac97_put_volsw() local
576 if (shift != rshift) { in snd_ac97_put_volsw()
580 val_mask |= mask << rshift; in snd_ac97_put_volsw()
581 val |= val2 << rshift; in snd_ac97_put_volsw()
[all …]
/OK3568_Linux_fs/kernel/arch/mips/pic32/pic32mzda/
H A Dconfig.c26 static u32 pic32_conf_get_reg_field(u32 offset, u32 rshift, u32 mask) in pic32_conf_get_reg_field() argument
31 v >>= rshift; in pic32_conf_get_reg_field()
/OK3568_Linux_fs/kernel/tools/arch/s390/include/uapi/asm/
H A Dsie.h230 #define INSN_DECODE_IPA0(ipa0, insn, rshift, mask) \ argument
232 ((ipa0 << 8) | ((insn >> rshift) & mask)) :
/OK3568_Linux_fs/kernel/arch/s390/include/uapi/asm/
H A Dsie.h230 #define INSN_DECODE_IPA0(ipa0, insn, rshift, mask) \ argument
232 ((ipa0 << 8) | ((insn >> rshift) & mask)) :
/OK3568_Linux_fs/kernel/net/netfilter/ipvs/
H A Dip_vs_mh.c67 int rshift; member
152 ds->turns = ((lw / s->gcd) >> s->rshift) ? : (lw != 0); in ip_vs_mh_permutate()
401 s->rshift = ip_vs_mh_shift_weight(svc, s->gcd); in ip_vs_mh_init_svc()
438 s->rshift = ip_vs_mh_shift_weight(svc, s->gcd); in ip_vs_mh_dest_changed()
/OK3568_Linux_fs/kernel/sound/soc/codecs/
H A Dtwl4030.c834 unsigned int rshift = mc->rshift; in snd_soc_get_volsw_twl4030() local
844 if (shift != rshift) { in snd_soc_get_volsw_twl4030()
846 (twl4030_read(component, reg) >> rshift) & mask; in snd_soc_get_volsw_twl4030()
863 unsigned int rshift = mc->rshift; in snd_soc_put_volsw_twl4030() local
874 if (shift != rshift) { in snd_soc_put_volsw_twl4030()
876 val_mask |= mask << rshift; in snd_soc_put_volsw_twl4030()
879 val |= val2 << rshift; in snd_soc_put_volsw_twl4030()
H A Dda7218.c454 unsigned int rshift = mc->rshift; in da7218_alc_sw_put() local
455 unsigned int mask = (mc->max << lshift) | (mc->max << rshift); in da7218_alc_sw_put()
463 da7218->alc_en |= (lvalue << lshift) | (rvalue << rshift); in da7218_alc_sw_put()
523 unsigned int rshift = mixer_ctrl->rshift; in da7218_mic_lvl_det_sw_put() local
525 (mixer_ctrl->max << rshift); in da7218_mic_lvl_det_sw_put()
527 da7218->mic_lvl_det_en |= (lvalue << lshift) | (rvalue << rshift); in da7218_mic_lvl_det_sw_put()
548 unsigned int rshift = mixer_ctrl->rshift; in da7218_mic_lvl_det_sw_get() local
550 unsigned int rmask = (mixer_ctrl->max << rshift); in da7218_mic_lvl_det_sw_get()
555 (da7218->mic_lvl_det_en & rmask) >> rshift; in da7218_mic_lvl_det_sw_get()
H A Dwm5110.c411 unsigned int mask = (0x1 << mc->shift) | (0x1 << mc->rshift); in wm5110_put_dre()
413 unsigned int rnew = (!!ucontrol->value.integer.value[1]) << mc->rshift; in wm5110_put_dre()
433 rold = dre & (1 << mc->rshift); in wm5110_put_dre()
435 lena = ena & (1 << mc->rshift); in wm5110_put_dre()
456 wm5110_clear_pga_volume(arizona, mc->rshift); in wm5110_put_dre()
/OK3568_Linux_fs/external/xserver/exa/
H A Dexa_render.c149 int rshift, bshift, gshift, ashift; in exaGetPixelFromRGBA() local
162 rshift = pFormat->direct.red; in exaGetPixelFromRGBA()
168 *pixel |= (red >> (16 - rbits)) << rshift; in exaGetPixelFromRGBA()
184 int rshift, bshift, gshift, ashift; in exaGetRGBAFromPixel() local
195 rshift = pFormat->direct.red; in exaGetRGBAFromPixel()
201 rshift = 16; in exaGetRGBAFromPixel()
211 *red = ((pixel >> rshift) & ((1 << rbits) - 1)) << (16 - rbits); in exaGetRGBAFromPixel()
/OK3568_Linux_fs/kernel/lib/mpi/
H A DMakefile13 generic_mpih-rshift.o \
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/
H A Ddouble-int.h133 double_int rshift (HOST_WIDE_INT count) const;
134 double_int rshift (HOST_WIDE_INT count, unsigned int prec, bool arith) const;
/OK3568_Linux_fs/external/xserver/hw/xwin/
H A Dwinkeybd.c274 BOOL rshift = (GetAsyncKeyState(VK_RSHIFT) < 0); in winRestoreModeKeyStates() local
294 if (rshift) in winRestoreModeKeyStates()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/
H A Ddouble-int.h133 double_int rshift (HOST_WIDE_INT count) const;
134 double_int rshift (HOST_WIDE_INT count, unsigned int prec, bool arith) const;
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/powermac/
H A Dpfunc_base.c66 static int macio_do_gpio_read(PMF_STD_ARGS, u8 mask, int rshift, u8 xor) in macio_do_gpio_read() argument
76 *args->u[0].p = ((value & mask) >> rshift) ^ xor; in macio_do_gpio_read()
H A Dpfunc_core.c150 int rshift = (int)pmf_next32(cmd); in pmf_parser_read_gpio() local
154 mask, rshift, xor); in pmf_parser_read_gpio()
156 PMF_PARSE_CALL(read_gpio, cmd, h, mask, rshift, xor); in pmf_parser_read_gpio()
/OK3568_Linux_fs/kernel/drivers/iio/adc/
H A Dstm32-dfsdm-adc.c278 flo->rshift = 0; in stm32_dfsdm_compute_osrs()
291 flo->rshift = 1 - shift; in stm32_dfsdm_compute_osrs()
293 max >>= flo->rshift; in stm32_dfsdm_compute_osrs()
300 flo->res, bits, flo->rshift, in stm32_dfsdm_compute_osrs()
490 DFSDM_CHCFGR2_DTRBS(flo->rshift)); in stm32_dfsdm_channels_configure()
/OK3568_Linux_fs/kernel/arch/powerpc/include/asm/
H A Dpmac_pfunc.h65 int (*read_gpio)(PMF_STD_ARGS, u8 mask, int rshift, u8 xor);

12