Searched refs:ref_reg (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/media/platform/verisilicon/ |
| H A D | hantro_g2_vp9_dec.c | 161 const struct hantro_vp9_ref_reg *ref_reg, in config_ref() argument 173 hantro_reg_write(ctx->dev, &ref_reg->width, refw); in config_ref() 174 hantro_reg_write(ctx->dev, &ref_reg->height, refh); in config_ref() 176 hantro_reg_write(ctx->dev, &ref_reg->hor_scale, (refw << 14) / dst->vp9.width); in config_ref() 177 hantro_reg_write(ctx->dev, &ref_reg->ver_scale, (refh << 14) / dst->vp9.height); in config_ref() 180 hantro_write_addr(ctx->dev, ref_reg->y_base, luma_addr); in config_ref() 183 hantro_write_addr(ctx->dev, ref_reg->c_base, chroma_addr); in config_ref()
|
| /linux/kernel/bpf/ |
| H A D | hashtab.c | 817 const int ref_reg = BPF_REG_1; in htab_lru_map_gen_lookup() local 823 *insn++ = BPF_LDX_MEM(BPF_B, ref_reg, ret, in htab_lru_map_gen_lookup() 826 *insn++ = BPF_JMP_IMM(BPF_JNE, ref_reg, 0, 1); in htab_lru_map_gen_lookup()
|