Home
last modified time | relevance | path

Searched refs:ref_reg (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/drivers/iio/adc/
Dad7476.c42 struct regulator *ref_reg; member
153 if (st->ref_reg) { in ad7476_read_raw()
154 scale_uv = regulator_get_voltage(st->ref_reg); in ad7476_read_raw()
332 st->ref_reg = reg; in ad7476_probe()
357 st->ref_reg = reg; in ad7476_probe()
366 st->ref_reg = NULL; in ad7476_probe()
/linux-5.19.10/drivers/staging/media/rkvdec/
Drkvdec-vp9.c414 struct rkvdec_vp9_ref_reg *ref_reg) in config_ref_registers() argument
422 rkvdec->regs + ref_reg->reg_frm_size); in config_ref_registers()
425 rkvdec->regs + ref_reg->reg_ref_base); in config_ref_registers()
436 rkvdec->regs + ref_reg->reg_hor_stride); in config_ref_registers()
438 rkvdec->regs + ref_reg->reg_y_stride); in config_ref_registers()
440 if (!ref_reg->reg_yuv_stride) in config_ref_registers()
444 rkvdec->regs + ref_reg->reg_yuv_stride); in config_ref_registers()
/linux-5.19.10/drivers/staging/media/hantro/
Dhantro_g2_vp9_dec.c177 const struct hantro_vp9_ref_reg *ref_reg, in config_ref() argument
189 hantro_reg_write(ctx->dev, &ref_reg->width, refw); in config_ref()
190 hantro_reg_write(ctx->dev, &ref_reg->height, refh); in config_ref()
192 hantro_reg_write(ctx->dev, &ref_reg->hor_scale, (refw << 14) / dst->vp9.width); in config_ref()
193 hantro_reg_write(ctx->dev, &ref_reg->ver_scale, (refh << 14) / dst->vp9.height); in config_ref()
196 hantro_write_addr(ctx->dev, ref_reg->y_base, luma_addr); in config_ref()
199 hantro_write_addr(ctx->dev, ref_reg->c_base, chroma_addr); in config_ref()
/linux-5.19.10/kernel/bpf/
Dhashtab.c724 const int ref_reg = BPF_REG_1; in htab_lru_map_gen_lookup() local
730 *insn++ = BPF_LDX_MEM(BPF_B, ref_reg, ret, in htab_lru_map_gen_lookup()
733 *insn++ = BPF_JMP_IMM(BPF_JNE, ref_reg, 0, 1); in htab_lru_map_gen_lookup()