Home
last modified time | relevance | path

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

12

/linux-6.1.9/arch/ia64/lib/
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 …]
/linux-6.1.9/sound/soc/
Dsoc-ops.c262 unsigned int rshift = mc->rshift; in snd_soc_get_volsw() local
285 ret = snd_soc_read_signed(component, reg, mask, rshift, in snd_soc_get_volsw()
322 unsigned int rshift = mc->rshift; in snd_soc_put_volsw() local
360 val_mask |= mask << rshift; in snd_soc_put_volsw()
361 val |= val2 << rshift; in snd_soc_put_volsw()
404 unsigned int rshift = mc->rshift; in snd_soc_get_volsw_sx() local
415 val = ((val >> rshift) - min) & mask; in snd_soc_get_volsw_sx()
442 unsigned int rshift = mc->rshift; in snd_soc_put_volsw_sx() local
474 val_mask = mask << rshift; in snd_soc_put_volsw_sx()
476 val2 = val2 << rshift; in snd_soc_put_volsw_sx()
/linux-6.1.9/drivers/video/fbdev/via/
Dvia_clock.h28 u8 rshift; member
56 return get_pll_internal_frequency(ref_freq, pll) >> pll.rshift; in get_pll_output_frequency()
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()
Dhw.h482 u8 rshift; member
/linux-6.1.9/kernel/trace/
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()
Dtrace_probe.h121 unsigned char rshift; member
/linux-6.1.9/arch/mips/pic32/pic32mzda/
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()
/linux-6.1.9/tools/arch/s390/include/uapi/asm/
Dsie.h230 #define INSN_DECODE_IPA0(ipa0, insn, rshift, mask) \ argument
232 ((ipa0 << 8) | ((insn >> rshift) & mask)) :
/linux-6.1.9/arch/s390/include/uapi/asm/
Dsie.h230 #define INSN_DECODE_IPA0(ipa0, insn, rshift, mask) \ argument
232 ((ipa0 << 8) | ((insn >> rshift) & mask)) :
/linux-6.1.9/net/sched/
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()
/linux-6.1.9/sound/pci/ac97/
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 …]
/linux-6.1.9/include/sound/
Dsoc.h34 .rshift = shift_right, .max = xmax, \
39 .rshift = shift_right, .min = xmin, .max = xmax, \
48 {.reg = xlreg, .rreg = xrreg, .shift = xshift, .rshift = xshift, \
52 {.reg = xlreg, .rreg = xrreg, .shift = xshift, .rshift = xshift, \
57 {.reg = xlreg, .rreg = xrreg, .shift = xshift, .rshift = xshift, \
70 .rshift = xshift, .min = xmin, .max = xmax, \
90 .shift = xshift, .rshift = xshift, \
101 .rshift = xshift, .min = xmin, .max = xmax, \
149 .shift = shift_left, .rshift = shift_right, \
180 .shift = xshift, .rshift = xshift, \
[all …]
Dsoc-dapm.h281 #define SOC_DAPM_DOUBLE(xname, reg, lshift, rshift, max, invert) \ argument
285 .private_value = SOC_DOUBLE_VALUE(reg, lshift, rshift, max, invert, 0) }
/linux-6.1.9/net/netfilter/ipvs/
Dip_vs_mh.c67 int rshift; member
152 ds->turns = ((lw / s->gcd) >> s->rshift) ? : (lw != 0); in ip_vs_mh_permutate()
400 s->rshift = ip_vs_mh_shift_weight(svc, s->gcd); in ip_vs_mh_init_svc()
437 s->rshift = ip_vs_mh_shift_weight(svc, s->gcd); in ip_vs_mh_dest_changed()
/linux-6.1.9/lib/mpi/
DMakefile13 generic_mpih-rshift.o \
/linux-6.1.9/sound/soc/codecs/
Dtwl4030.c840 unsigned int rshift = mc->rshift; in snd_soc_get_volsw_twl4030() local
850 if (shift != rshift) { in snd_soc_get_volsw_twl4030()
852 (twl4030_read(component, reg) >> rshift) & mask; in snd_soc_get_volsw_twl4030()
869 unsigned int rshift = mc->rshift; in snd_soc_put_volsw_twl4030() local
880 if (shift != rshift) { in snd_soc_put_volsw_twl4030()
882 val_mask |= mask << rshift; in snd_soc_put_volsw_twl4030()
885 val |= val2 << rshift; in snd_soc_put_volsw_twl4030()
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()
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()
/linux-6.1.9/arch/powerpc/platforms/powermac/
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()
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()
/linux-6.1.9/drivers/iio/adc/
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()
489 DFSDM_CHCFGR2_DTRBS(flo->rshift)); in stm32_dfsdm_channels_configure()
Dstm32-dfsdm.h258 unsigned int rshift; member
/linux-6.1.9/arch/powerpc/include/asm/
Dpmac_pfunc.h65 int (*read_gpio)(PMF_STD_ARGS, u8 mask, int rshift, u8 xor);
/linux-6.1.9/sound/pci/
Dcmipci.c1982 #define COMPOSE_SB_REG(lreg,rreg,lshift,rshift,mask,invert,stereo) \ argument
1983 …((lreg) | ((rreg) << 8) | (lshift << 16) | (rshift << 19) | (mask << 24) | (invert << 22) | (stere…
1994 …ne CMIPCI_SB_SW_STEREO(xname,lshift,rshift) CMIPCI_DOUBLE(xname, SB_DSP4_OUTPUT_SW, SB_DSP4_OUTPUT… argument
2151 #define CMIPCI_MIXER_SW_STEREO(xname, reg, lshift, rshift, invert) \ argument
2155 .private_value = COMPOSE_SB_REG(reg, reg, lshift, rshift, 1, invert, 1), \
2165 #define CMIPCI_MIXER_VOL_STEREO(xname, reg, lshift, rshift, mask) \ argument
2169 .private_value = COMPOSE_SB_REG(reg, reg, lshift, rshift, mask, 0, 1), \

12