/linux/sound/soc/ |
H A D | soc-ops.c | 263 unsigned int rshift = mc->rshift; in snd_soc_get_volsw() local 286 ret = snd_soc_read_signed(component, reg, mask, rshift, in snd_soc_get_volsw() 323 unsigned int rshift = mc->rshift; in snd_soc_put_volsw() local 361 val_mask |= mask << rshift; in snd_soc_put_volsw() 362 val |= val2 << rshift; in snd_soc_put_volsw() 405 unsigned int rshift = mc->rshift; in snd_soc_get_volsw_sx() local 416 val = ((val >> rshift) - min) & mask; in snd_soc_get_volsw_sx() 443 unsigned int rshift = mc->rshift; in snd_soc_put_volsw_sx() local 475 val_mask = mask << rshift; in snd_soc_put_volsw_sx() 477 val2 = val2 << rshift; in snd_soc_put_volsw_sx()
|
/linux/drivers/video/fbdev/via/ |
H A D | via_clock.h | 28 u8 rshift; member 56 return get_pll_internal_frequency(ref_freq, pll) >> pll.rshift; in get_pll_output_frequency()
|
H A D | via_clock.c | 24 | (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 D | hw.h | 482 u8 rshift; member
|
H A D | hw.c | 1381 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 D | trace_probe_tmpl.h | 34 *(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/arch/mips/pic32/pic32mzda/ |
H A D | config.c | 26 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/net/sched/ |
H A D | cls_flow.c | 52 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/arch/s390/include/uapi/asm/ |
H A D | sie.h | 230 #define INSN_DECODE_IPA0(ipa0, insn, rshift, mask) \ argument 232 ((ipa0 << 8) | ((insn >> rshift) & mask)) :
|
/linux/tools/arch/s390/include/uapi/asm/ |
H A D | sie.h | 230 #define INSN_DECODE_IPA0(ipa0, insn, rshift, mask) \ argument 232 ((ipa0 << 8) | ((insn >> rshift) & mask)) :
|
/linux/sound/pci/ac97/ |
H A D | ac97_codec.c | 524 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/include/sound/ |
H A D | soc.h | 45 .rshift = shift_right, .max = xmax, \ 50 .rshift = shift_right, .min = xmin, .max = xmax, \ 59 {.reg = xlreg, .rreg = xrreg, .shift = xshift, .rshift = xshift, \ 63 {.reg = xlreg, .rreg = xrreg, .shift = xshift, .rshift = xshift, \ 68 {.reg = xlreg, .rreg = xrreg, .shift = xshift, .rshift = xshift, \ 81 .rshift = xshift, .min = xmin, .max = xmax, \ 101 .shift = xshift, .rshift = xshift, \ 112 .rshift = xshift, .min = xmin, .max = xmax, \ 160 .shift = shift_left, .rshift = shift_right, \ 172 .shift = xshift_left, .rshift = xshift_right, \ [all …]
|
H A D | soc-dapm.h | 328 #define SOC_DAPM_DOUBLE(xname, reg, lshift, rshift, max, invert) \ argument 332 .private_value = SOC_DOUBLE_VALUE(reg, lshift, rshift, max, invert, 0) }
|
/linux/net/netfilter/ipvs/ |
H A D | ip_vs_mh.c | 67 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/lib/crypto/mpi/ |
H A D | Makefile | 13 generic_mpih-rshift.o \
|
/linux/sound/soc/codecs/ |
H A D | da7218.c | 454 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 D | wm5110.c | 411 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/arch/powerpc/platforms/powermac/ |
H A D | pfunc_base.c | 66 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 D | pfunc_core.c | 150 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 D | bpf_core_read.h | 125 unsigned int rshift = __CORE_RELO(s, field, RSHIFT_U64); \ 127 unsigned int rpad = rshift - lshift; \ 138 mask = (~0ULL << rshift) >> lshift; \
|
/linux/drivers/iio/adc/ |
H A D | stm32-dfsdm-adc.c | 281 flo->rshift = 0; in stm32_dfsdm_compute_osrs() 294 flo->rshift = 1 - shift; in stm32_dfsdm_compute_osrs() 296 max >>= flo->rshift; in stm32_dfsdm_compute_osrs() 303 flo->res, bits, flo->rshift, in stm32_dfsdm_compute_osrs() 492 DFSDM_CHCFGR2_DTRBS(flo->rshift)); in stm32_dfsdm_channels_configure()
|
H A D | stm32-dfsdm.h | 280 unsigned int rshift; member
|
/linux/arch/powerpc/include/asm/ |
H A D | pmac_pfunc.h | 65 int (*read_gpio)(PMF_STD_ARGS, u8 mask, int rshift, u8 xor);
|
/linux/sound/pci/ |
H A D | cmipci.c | 1966 #define COMPOSE_SB_REG(lreg,rreg,lshift,rshift,mask,invert,stereo) \ argument 1967 …((lreg) | ((rreg) << 8) | (lshift << 16) | (rshift << 19) | (mask << 24) | (invert << 22) | (stere… 1978 …ne CMIPCI_SB_SW_STEREO(xname,lshift,rshift) CMIPCI_DOUBLE(xname, SB_DSP4_OUTPUT_SW, SB_DSP4_OUTPUT… argument 2135 #define CMIPCI_MIXER_SW_STEREO(xname, reg, lshift, rshift, invert) \ argument 2139 .private_value = COMPOSE_SB_REG(reg, reg, lshift, rshift, 1, invert, 1), \ 2149 #define CMIPCI_MIXER_VOL_STEREO(xname, reg, lshift, rshift, mask) \ argument 2153 .private_value = COMPOSE_SB_REG(reg, reg, lshift, rshift, mask, 0, 1), \
|
/linux/drivers/media/i2c/ |
H A D | ov2640.c | 29 #define VAL_SET(x, mask, rshift, lshift) \ argument 30 ((((x) >> rshift) & mask) << lshift)
|