Home
last modified time | relevance | path

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

/linux-6.6.21/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-6.6.21/drivers/staging/media/rkvdec/
Drkvdec-vp9.c415 struct rkvdec_vp9_ref_reg *ref_reg) in config_ref_registers() argument
423 rkvdec->regs + ref_reg->reg_frm_size); in config_ref_registers()
426 rkvdec->regs + ref_reg->reg_ref_base); in config_ref_registers()
437 rkvdec->regs + ref_reg->reg_hor_stride); in config_ref_registers()
439 rkvdec->regs + ref_reg->reg_y_stride); in config_ref_registers()
441 if (!ref_reg->reg_yuv_stride) in config_ref_registers()
445 rkvdec->regs + ref_reg->reg_yuv_stride); in config_ref_registers()
/linux-6.6.21/drivers/media/platform/verisilicon/
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-6.6.21/kernel/bpf/
Dhashtab.c756 const int ref_reg = BPF_REG_1; in htab_lru_map_gen_lookup() local
762 *insn++ = BPF_LDX_MEM(BPF_B, ref_reg, ret, in htab_lru_map_gen_lookup()
765 *insn++ = BPF_JMP_IMM(BPF_JNE, ref_reg, 0, 1); in htab_lru_map_gen_lookup()