Home
last modified time | relevance | path

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

12

/linux/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()
H A Dhw.h482 u8 rshift; member
H A 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/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()
H A Dtrace_probe.h129 unsigned char rshift; member
/linux/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()
/linux/arch/s390/include/uapi/asm/
H A Dsie.h230 #define INSN_DECODE_IPA0(ipa0, insn, rshift, mask) \ argument
232 ((ipa0 << 8) | ((insn >> rshift) & mask)) :
/linux/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)) :
/linux/net/sched/
H A Dcls_flow.c52 u32 rshift; member
329 classid = (classid >> f->rshift) + f->addend; in flow_classify()
467 fnew->rshift = fold->rshift; in flow_change()
535 fnew->rshift = nla_get_u32(tb[TCA_FLOW_RSHIFT]); in flow_change()
645 if (f->rshift && in flow_dump()
646 nla_put_u32(skb, TCA_FLOW_RSHIFT, f->rshift)) in flow_dump()
/linux/net/netfilter/ipvs/
H A Dip_vs_mh.c45 int turns; /* weight / gcd() and rshift */
66 int rshift;
151 ds->turns = ((lw / s->gcd) >> s->rshift) ? : (lw != 0); in ip_vs_mh_permutate()
399 s->rshift = ip_vs_mh_shift_weight(svc, s->gcd); in ip_vs_mh_init_svc()
436 s->rshift = ip_vs_mh_shift_weight(svc, s->gcd); in ip_vs_mh_dest_changed()
67 int rshift; global() member
/linux/lib/crypto/mpi/
H A DMakefile13 generic_mpih-rshift.o \
/linux/sound/soc/codecs/
H A Dtwl4030.c836 unsigned int rshift = mc->rshift; in snd_soc_get_volsw_twl4030() local
846 if (shift != rshift) { in snd_soc_get_volsw_twl4030()
848 (twl4030_read(component, reg) >> rshift) & mask; in snd_soc_get_volsw_twl4030()
865 unsigned int rshift = mc->rshift; in snd_soc_put_volsw_twl4030() local
876 if (shift != rshift) { in snd_soc_put_volsw_twl4030()
878 val_mask |= mask << rshift; in snd_soc_put_volsw_twl4030()
881 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
[all...]
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()
/linux/sound/hda/codecs/side-codecs/
H A Dtas2781_hda.h34 .shift = xshift, .rshift = xshift,\
/linux/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()
/linux/tools/lib/bpf/
H A Dbpf_core_read.h125 unsigned int rshift = __CORE_RELO(s, field, RSHIFT_U64); \
127 unsigned int rpad = rshift - lshift; \
138 mask = (~0ULL << rshift) >> lshift; \
/linux/sound/soc/
H A Dsoc-ops.c265 val1 |= ctl_to_reg(mc, ucontrol->value.integer.value[1], mask, mc->rshift, max); in soc_put_volsw()
266 val_mask |= mask << mc->rshift; in soc_put_volsw()
310 val = reg_to_ctl(mc, reg_val, mask, mc->rshift, max, sx); in soc_get_volsw()
H A Dsoc-ops-test.c26 .rshift = SOC_OPS_TEST_##clayout == SOC_OPS_TEST_DOUBLE ? 16 : 0, \
/linux/arch/powerpc/include/asm/
H A Dpmac_pfunc.h65 int (*read_gpio)(PMF_STD_ARGS, u8 mask, int rshift, u8 xor);
/linux/drivers/iio/adc/
H A Dstm32-dfsdm-adc.c282 flo->rshift = 0; in stm32_dfsdm_compute_osrs()
295 flo->rshift = 1 - shift; in stm32_dfsdm_compute_osrs()
297 max >>= flo->rshift; in stm32_dfsdm_compute_osrs()
304 flo->res, bits, flo->rshift, in stm32_dfsdm_compute_osrs()
493 DFSDM_CHCFGR2_DTRBS(flo->rshift)); in stm32_dfsdm_channels_configure()
H A Dstm32-dfsdm.h280 unsigned int rshift; member
/linux/drivers/media/i2c/
H A Dov2640.c29 #define VAL_SET(x, mask, rshift, lshift) \ argument
30 ((((x) >> rshift) & mask) << lshift)

12