Home
last modified time | relevance | path

Searched refs:regno (Results 201 – 225 of 229) sorted by relevance

12345678910

/openbmc/qemu/target/hexagon/
H A Dop_helper.c1332 unsigned char regno = value >> 3; in HELPER() local
1335 env->VRegs[regno].uh[(sizeof(MMVector) / 16) * lane + element]++; in HELPER()
1347 unsigned char regno = value >> 3; in HELPER() local
1351 env->VRegs[regno].uh[ in HELPER()
/openbmc/linux/drivers/video/fbdev/intelfb/
H A Dintelfbhw.h571 extern void intelfbhw_setcolreg(struct intelfb_info *dinfo, unsigned regno,
H A Dintelfbhw.c497 void intelfbhw_setcolreg(struct intelfb_info *dinfo, unsigned regno, in intelfbhw_setcolreg() argument
506 regno, red, green, blue); in intelfbhw_setcolreg()
509 OUTREG(palette_reg + (regno << 2), in intelfbhw_setcolreg()
/openbmc/linux/drivers/video/fbdev/omap2/omapfb/
H A Domapfb-main.c1131 static int _setcolreg(struct fb_info *fbi, u_int regno, u_int red, u_int green, in _setcolreg() argument
1163 if (regno < 16) { in _setcolreg()
1170 ((u32 *)(fbi->pseudo_palette))[regno] = pal; in _setcolreg()
1179 static int omapfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, in omapfb_setcolreg() argument
1184 return _setcolreg(info, regno, red, green, blue, transp, 1); in omapfb_setcolreg()
/openbmc/linux/drivers/video/fbdev/
H A Dfsl-diu-fb.c1195 static int fsl_diu_setcolreg(unsigned int regno, unsigned int red, in fsl_diu_setcolreg() argument
1214 if (regno < 16) { in fsl_diu_setcolreg()
1228 pal[regno] = v; in fsl_diu_setcolreg()
H A Dsh_mobile_lcdcfb.c1622 static int sh_mobile_lcdc_setcolreg(u_int regno, in sh_mobile_lcdc_setcolreg() argument
1628 if (regno >= PALETTE_NR) in sh_mobile_lcdc_setcolreg()
1638 palette[regno] = (red << info->var.red.offset) | in sh_mobile_lcdc_setcolreg()
/openbmc/linux/drivers/net/dsa/
H A Dlan9303-core.c552 static int lan9303_csr_reg_wait(struct lan9303 *chip, int regno, u32 mask) in lan9303_csr_reg_wait() argument
559 lan9303_read_switch_reg(chip, regno, &reg); in lan9303_csr_reg_wait()
/openbmc/linux/drivers/video/fbdev/sis/
H A Dsis_main.c80 static int sisfb_setcolreg(unsigned regno, unsigned red, unsigned green,
1406 sisfb_setcolreg(unsigned regno, unsigned red, unsigned green, unsigned blue, in sisfb_setcolreg() argument
1411 if(regno >= sisfb_get_cmap_len(&info->var)) in sisfb_setcolreg()
1416 SiS_SetRegByte(SISDACA, regno); in sisfb_setcolreg()
1421 SiS_SetRegByte(SISDAC2A, regno); in sisfb_setcolreg()
1428 if (regno >= 16) in sisfb_setcolreg()
1431 ((u32 *)(info->pseudo_palette))[regno] = in sisfb_setcolreg()
1437 if (regno >= 16) in sisfb_setcolreg()
1443 ((u32 *)(info->pseudo_palette))[regno] = in sisfb_setcolreg()
/openbmc/qemu/target/ppc/translate/
H A Dvmx-impl.c.inc17 static inline void get_avr64(TCGv_i64 dst, int regno, bool high)
19 tcg_gen_ld_i64(dst, tcg_env, avr64_offset(regno, high));
22 static inline void set_avr64(int regno, TCGv_i64 src, bool high)
24 tcg_gen_st_i64(src, tcg_env, avr64_offset(regno, high));
27 static inline void get_avr_full(TCGv_i128 dst, int regno)
29 tcg_gen_ld_i128(dst, tcg_env, avr_full_offset(regno));
32 static inline void set_avr_full(int regno, TCGv_i128 src)
34 tcg_gen_st_i128(src, tcg_env, avr_full_offset(regno));
/openbmc/linux/include/linux/
H A Dfb.h260 int (*fb_setcolreg)(unsigned regno, unsigned red, unsigned green,
/openbmc/qemu/target/ppc/
H A Dtranslate.c5543 static inline void get_fpr(TCGv_i64 dst, int regno) in get_fpr() argument
5545 tcg_gen_ld_i64(dst, tcg_env, fpr_offset(regno)); in get_fpr()
5548 static inline void set_fpr(int regno, TCGv_i64 src) in set_fpr() argument
5550 tcg_gen_st_i64(src, tcg_env, fpr_offset(regno)); in set_fpr()
5558 tcg_gen_st_i64(tcg_constant_i64(0), tcg_env, vsr64_offset(regno, false)); in set_fpr()
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dchip.c8573 u32 regno; in read_lcb_via_8051() local
8586 regno = (addr - DC_LCB_CFG_RUN) >> 3; in read_lcb_via_8051()
8587 ret = do_8051_command(dd, HCMD_READ_LCB_CSR, regno, data); in read_lcb_via_8051()
8667 u32 regno; in write_lcb_via_8051() local
8681 regno = (addr - DC_LCB_CFG_RUN) >> 3; in write_lcb_via_8051()
8682 ret = do_8051_command(dd, HCMD_WRITE_LCB_CSR, regno, &data); in write_lcb_via_8051()
14193 u64 regno = RCV_QP_MAP_TABLE; in init_qpmap_table() local
14203 write_csr(dd, regno, reg); in init_qpmap_table()
14205 regno += 8; in init_qpmap_table()
/openbmc/qemu/hw/net/
H A Dtrace-events467 npcm7xx_emc_reg_read(int emc_num, uint32_t result, const char *name, int regno) "emc%d: 0x%x = reg[…
468 npcm7xx_emc_reg_write(int emc_num, const char *name, int regno, uint32_t value) "emc%d: reg[%s/%d] …
/openbmc/linux/kernel/bpf/
H A Dbtf.c6804 u32 regno = i + 1; in btf_check_func_arg_match() local
6805 struct bpf_reg_state *reg = &regs[regno]; in btf_check_func_arg_match()
6811 bpf_log(log, "R%d is not a scalar\n", regno); in btf_check_func_arg_match()
6824 ret = check_func_arg_reg_off(env, reg, regno, arg_type); in btf_check_func_arg_match()
6851 if (check_mem_reg(env, reg, regno, type_size)) in btf_check_func_arg_match()
/openbmc/qemu/target/hexagon/imported/mmvec/
H A Dext.idef2157 unsigned char regno = value>>3; \
2159 READ_EXT_VREG(regno,tmp,0); \
2161 WRITE_EXT_VREG(regno,tmp,EXT_NEW); \
2172 unsigned char regno = value>>3; \
2174 READ_EXT_VREG(regno,tmp,0); \
2176 WRITE_EXT_VREG(regno,tmp,EXT_NEW); \
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Dgfx_v6_0.c2958 uint32_t regno, uint32_t num, uint32_t *out) in wave_read_regs() argument
2963 (regno << SQ_IND_INDEX__INDEX__SHIFT) | in wave_read_regs()
H A Dgfx_v7_0.c4099 uint32_t regno, uint32_t num, uint32_t *out) in wave_read_regs() argument
4104 (regno << SQ_IND_INDEX__INDEX__SHIFT) | in wave_read_regs()
H A Dgfx_v9_4_3.c562 uint32_t regno, uint32_t num, uint32_t *out) in wave_read_regs() argument
567 (regno << SQ_IND_INDEX__INDEX__SHIFT) | in wave_read_regs()
H A Dgfx_v11_0.c768 uint32_t thread, uint32_t regno, in wave_read_regs() argument
773 (regno << SQ_IND_INDEX__INDEX__SHIFT) | in wave_read_regs()
H A Dgfx_v8_0.c5205 uint32_t regno, uint32_t num, uint32_t *out) in wave_read_regs() argument
5210 (regno << SQ_IND_INDEX__INDEX__SHIFT) | in wave_read_regs()
H A Dgfx_v9_0.c1754 uint32_t regno, uint32_t num, uint32_t *out) in wave_read_regs() argument
1759 (regno << SQ_IND_INDEX__INDEX__SHIFT) | in wave_read_regs()
/openbmc/qemu/target/xtensa/
H A Dtranslate.c1249 int regno = xtensa_sysreg_number(isa, i); in xtensa_cpu_dump_state() local
1251 if (regno >= 0) { in xtensa_cpu_dump_state()
1254 reg[regno], in xtensa_cpu_dump_state()
/openbmc/linux/arch/m68k/ifpsp060/src/
H A Dpfpsp.S2567 bfextu EXC_CMDREG(%a6){&6:&3},%d0 # fetch dst regno
4960 andi.w &0xf,%d1 # extract index regno
/openbmc/qemu/tcg/arm/
H A Dtcg-target.c.inc1282 * Q-regno = 2 * D-regno, so shift left by 1 while inserting.
/openbmc/qemu/target/arm/tcg/
H A Dtranslate-a64.c590 static inline int fp_reg_offset(DisasContext *s, int regno, MemOp size) in fp_reg_offset() argument
592 return vec_reg_offset(s, regno, 0, size); in fp_reg_offset()
596 static inline int fp_reg_hi_offset(DisasContext *s, int regno) in fp_reg_hi_offset() argument
598 return vec_reg_offset(s, regno, 1, MO_64); in fp_reg_hi_offset()

12345678910