Home
last modified time | relevance | path

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

12

/Linux-v6.6/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-v6.6/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-v6.6/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
Dhw.c1381 cur.rshift = limits[i].rshift; in get_pll_config()
1383 cur.multiplier = clk / ((f0 / cur.divisor)>>cur.rshift); in get_pll_config()
/Linux-v6.6/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()
/Linux-v6.6/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-v6.6/arch/s390/include/uapi/asm/
Dsie.h230 #define INSN_DECODE_IPA0(ipa0, insn, rshift, mask) \ argument
232 ((ipa0 << 8) | ((insn >> rshift) & mask)) :
/Linux-v6.6/tools/arch/s390/include/uapi/asm/
Dsie.h230 #define INSN_DECODE_IPA0(ipa0, insn, rshift, mask) \ argument
232 ((ipa0 << 8) | ((insn >> rshift) & mask)) :
/Linux-v6.6/net/sched/
Dcls_flow.c52 u32 rshift; member
329 classid = (classid >> f->rshift) + f->addend; in flow_classify()
466 fnew->rshift = fold->rshift; in flow_change()
534 fnew->rshift = nla_get_u32(tb[TCA_FLOW_RSHIFT]); in flow_change()
644 if (f->rshift && in flow_dump()
645 nla_put_u32(skb, TCA_FLOW_RSHIFT, f->rshift)) in flow_dump()
/Linux-v6.6/sound/pci/ac97/
Dac97_codec.c524 int rshift = (kcontrol->private_value >> 12) & 0x0f; in snd_ac97_info_volsw() local
527 uinfo->count = shift == rshift ? 1 : 2; in snd_ac97_info_volsw()
539 int rshift = (kcontrol->private_value >> 12) & 0x0f; in snd_ac97_get_volsw() local
546 if (shift != rshift) in snd_ac97_get_volsw()
547 ucontrol->value.integer.value[1] = (snd_ac97_read_cache(ac97, reg) >> rshift) & mask; in snd_ac97_get_volsw()
550 if (shift != rshift) in snd_ac97_get_volsw()
563 int rshift = (kcontrol->private_value >> 12) & 0x0f; in snd_ac97_put_volsw() local
575 if (shift != rshift) { in snd_ac97_put_volsw()
579 val_mask |= mask << rshift; in snd_ac97_put_volsw()
580 val |= val2 << rshift; in snd_ac97_put_volsw()
[all …]
/Linux-v6.6/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 …]
/Linux-v6.6/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-v6.6/lib/crypto/mpi/
DMakefile13 generic_mpih-rshift.o \
/Linux-v6.6/sound/soc/codecs/
Dtwl4030.c842 unsigned int rshift = mc->rshift; in snd_soc_get_volsw_twl4030() local
852 if (shift != rshift) { in snd_soc_get_volsw_twl4030()
854 (twl4030_read(component, reg) >> rshift) & mask; in snd_soc_get_volsw_twl4030()
871 unsigned int rshift = mc->rshift; in snd_soc_put_volsw_twl4030() local
882 if (shift != rshift) { in snd_soc_put_volsw_twl4030()
884 val_mask |= mask << rshift; in snd_soc_put_volsw_twl4030()
887 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-v6.6/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-v6.6/drivers/iio/adc/
Dstm32-dfsdm-adc.c279 flo->rshift = 0; in stm32_dfsdm_compute_osrs()
292 flo->rshift = 1 - shift; in stm32_dfsdm_compute_osrs()
294 max >>= flo->rshift; in stm32_dfsdm_compute_osrs()
301 flo->res, bits, flo->rshift, in stm32_dfsdm_compute_osrs()
490 DFSDM_CHCFGR2_DTRBS(flo->rshift)); in stm32_dfsdm_channels_configure()
Dstm32-dfsdm.h280 unsigned int rshift; member
/Linux-v6.6/arch/powerpc/include/asm/
Dpmac_pfunc.h65 int (*read_gpio)(PMF_STD_ARGS, u8 mask, int rshift, u8 xor);
/Linux-v6.6/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), \
/Linux-v6.6/drivers/media/i2c/
Dov2640.c29 #define VAL_SET(x, mask, rshift, lshift) \ argument
30 ((((x) >> rshift) & mask) << lshift)

12