/openbmc/linux/drivers/phy/socionext/ |
H A D | phy-uniphier-usb3ss.c | 32 #define PHY_F(regno, msb, lsb) { (regno), (msb), (lsb) } argument
|
H A D | phy-uniphier-usb3hs.c | 42 #define PHY_F(regno, msb, lsb) { (regno), (msb), (lsb) } argument
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | sh7760fb.c | 97 static int sh7760_setcolreg (u_int regno, in sh7760_setcolreg() argument 103 if (regno >= 16) in sh7760_setcolreg() 113 palette[regno] = (red << info->var.red.offset) | in sh7760_setcolreg()
|
H A D | neofb.c | 1206 static int neofb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, in neofb_setcolreg() argument 1209 if (regno >= fb->cmap.len || regno > 255) in neofb_setcolreg() 1213 outb(regno, 0x3c8); in neofb_setcolreg() 1218 } else if (regno < 16) { in neofb_setcolreg() 1221 ((u32 *) fb->pseudo_palette)[regno] = in neofb_setcolreg() 1226 ((u32 *) fb->pseudo_palette)[regno] = in neofb_setcolreg() 1232 ((u32 *) fb->pseudo_palette)[regno] = in neofb_setcolreg()
|
H A D | tdfxfb.c | 279 static inline void do_setpalentry(struct tdfx_par *par, unsigned regno, u32 c) in do_setpalentry() argument 282 tdfx_outl(par, DACADDR, regno); in do_setpalentry() 739 static int tdfxfb_setcolreg(unsigned regno, unsigned red, unsigned green, in tdfxfb_setcolreg() argument 746 if (regno >= info->cmap.len || regno > 255) in tdfxfb_setcolreg() 762 do_setpalentry(par, regno, rgbcol); in tdfxfb_setcolreg() 766 if (regno < 16) { in tdfxfb_setcolreg() 775 par->palette[regno] = rgbcol; in tdfxfb_setcolreg()
|
H A D | pxafb.c | 142 pxafb_setpalettereg(u_int regno, u_int red, u_int green, u_int blue, in pxafb_setpalettereg() argument 148 if (regno >= fbi->palette_size) in pxafb_setpalettereg() 152 fbi->palette_cpu[regno] = ((blue >> 8) & 0x00ff); in pxafb_setpalettereg() 161 fbi->palette_cpu[regno] = val; in pxafb_setpalettereg() 167 ((u32 *)(fbi->palette_cpu))[regno] = val; in pxafb_setpalettereg() 173 ((u32 *)(fbi->palette_cpu))[regno] = val; in pxafb_setpalettereg() 179 ((u32 *)(fbi->palette_cpu))[regno] = val; in pxafb_setpalettereg() 187 pxafb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, in pxafb_setcolreg() argument 220 if (regno < 16) { in pxafb_setcolreg() 227 pal[regno] = val; in pxafb_setcolreg() [all …]
|
H A D | leo.c | 273 static int leo_setcolreg(unsigned regno, in leo_setcolreg() argument 283 if (regno >= 256) in leo_setcolreg() 290 par->clut_data[regno] = red | (green << 8) | (blue << 16); in leo_setcolreg()
|
H A D | i740fb.c | 869 static int i740fb_setcolreg(unsigned regno, unsigned red, unsigned green, in i740fb_setcolreg() argument 876 regno, red, green, blue, transp, info->var.bits_per_pixel); in i740fb_setcolreg() 880 if (regno >= 256) in i740fb_setcolreg() 882 i740outb(info->par, VGA_PEL_IW, regno); in i740fb_setcolreg() 888 if (regno >= 16) in i740fb_setcolreg() 896 ((u32 *) info->pseudo_palette)[regno] = r | g | b; in i740fb_setcolreg()
|
H A D | xen-fbfront.c | 213 static int xenfb_setcolreg(unsigned regno, unsigned red, unsigned green, in xenfb_setcolreg() argument 219 if (regno > info->cmap.len) in xenfb_setcolreg() 236 ((u32 *)info->pseudo_palette)[regno] = v; in xenfb_setcolreg()
|
H A D | hgafb.c | 404 static int hgafb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, in hgafb_setcolreg() argument 407 if (regno > 1) in hgafb_setcolreg()
|
H A D | s3c-fb.c | 740 static int s3c_fb_setcolreg(unsigned regno, in s3c_fb_setcolreg() argument 749 __func__, win->index, regno, red, green, blue); in s3c_fb_setcolreg() 757 if (regno < 16) { in s3c_fb_setcolreg() 764 pal[regno] = val; in s3c_fb_setcolreg() 769 if (regno < win->variant.palette_sz) { in s3c_fb_setcolreg() 774 s3c_fb_update_palette(sfb, win, regno, val); in s3c_fb_setcolreg()
|
H A D | pm2fb.c | 435 static void set_color(struct pm2fb_par *p, unsigned char regno, in set_color() argument 439 pm2_WR(p, PM2R_RD_PALETTE_WRITE_ADDRESS, regno); in set_color() 873 static int pm2fb_setcolreg(unsigned regno, unsigned red, unsigned green, in pm2fb_setcolreg() argument 879 if (regno >= info->cmap.len) /* no. of hw registers */ in pm2fb_setcolreg() 937 if (regno >= 16) in pm2fb_setcolreg() 951 par->palette[regno] = v; in pm2fb_setcolreg() 956 set_color(par, regno, red, green, blue); in pm2fb_setcolreg()
|
H A D | carminefb.c | 164 static int carmine_setcolreg(unsigned regno, unsigned red, unsigned green, in carmine_setcolreg() argument 167 if (regno >= 16) in carmine_setcolreg() 175 ((__be32 *)info->pseudo_palette)[regno] = cpu_to_be32(transp << 24 | in carmine_setcolreg()
|
/openbmc/linux/drivers/video/fbdev/matrox/ |
H A D | matroxfb_crtc2.c | 31 static int matroxfb_dh_setcolreg(unsigned regno, unsigned red, unsigned green, in matroxfb_dh_setcolreg() argument 36 if (regno >= 16) in matroxfb_dh_setcolreg() 54 m2info->cmap[regno] = col | (col << 16); in matroxfb_dh_setcolreg() 57 m2info->cmap[regno] = col; in matroxfb_dh_setcolreg()
|
/openbmc/linux/drivers/video/fbdev/mmp/fb/ |
H A D | mmpfb.c | 311 static int mmpfb_setcolreg(unsigned int regno, unsigned int red, in mmpfb_setcolreg() argument 318 if (info->fix.visual == FB_VISUAL_TRUECOLOR && regno < 16) { in mmpfb_setcolreg() 322 fbi->pseudo_palette[regno] = val; in mmpfb_setcolreg() 325 if (info->fix.visual == FB_VISUAL_PSEUDOCOLOR && regno < 256) { in mmpfb_setcolreg()
|
/openbmc/qemu/target/hexagon/ |
H A D | gen_decodetree.py | 122 for regno, reg in enumerate(regs):
|
/openbmc/linux/drivers/video/fbdev/mb862xx/ |
H A D | mb862xxfbdrv.c | 80 static int mb862xxfb_setcolreg(unsigned regno, in mb862xxfb_setcolreg() argument 89 if (regno < 16) { in mb862xxfb_setcolreg() 93 par->pseudo_palette[regno] = val; in mb862xxfb_setcolreg() 97 if (regno < 256) { in mb862xxfb_setcolreg() 101 outreg(disp, GC_L0PAL0 + (regno * 4), val); in mb862xxfb_setcolreg()
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | paravirt_types.h | 65 unsigned long (*get_debugreg)(int regno); 66 void (*set_debugreg)(int regno, unsigned long value);
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | ptrace.c | 2148 int regno; in report_syscall() local 2167 regno = (is_compat_task() ? 12 : 7); in report_syscall() 2168 saved_reg = regs->regs[regno]; in report_syscall() 2169 regs->regs[regno] = dir; in report_syscall() 2174 regs->regs[regno] = saved_reg; in report_syscall() 2177 regs->regs[regno] = saved_reg; in report_syscall() 2179 regs->regs[regno] = saved_reg; in report_syscall()
|
/openbmc/linux/drivers/video/fbdev/omap/ |
H A D | omapfb.h | 175 int (*setcolreg) (u_int regno, u16 red, u16 green,
|
/openbmc/qemu/hw/net/ |
H A D | npcm7xx_emc.c | 58 static const char *emc_reg_name(int regno) in emc_reg_name() argument 61 switch (regno) { in emc_reg_name() 89 if (regno & 1) { in emc_reg_name()
|
/openbmc/linux/drivers/video/fbdev/vermilion/ |
H A D | vermilion.c | 957 static int vmlfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, in vmlfb_setcolreg() argument 962 if (regno >= 16) in vmlfb_setcolreg() 984 ((u32 *) info->pseudo_palette)[regno] = v; in vmlfb_setcolreg() 988 ((u32 *) info->pseudo_palette)[regno] = v; in vmlfb_setcolreg()
|
/openbmc/linux/arch/ia64/kernel/ |
H A D | unaligned.c | 246 invala_gr (int regno) in invala_gr() argument 250 switch (regno) { in invala_gr() 273 invala_fr (int regno) in invala_fr() argument 277 switch (regno) { in invala_fr()
|
/openbmc/qemu/disas/ |
H A D | cris.c | 1746 int regno, in format_reg() argument 1755 switch (regno) in format_reg() 1770 sprintf (outbuffer, "r%d", regno); in format_reg() 1780 format_sup_reg (unsigned int regno, in format_sup_reg() argument 1791 if (cris_support_regs[i].number == regno) in format_sup_reg()
|
/openbmc/linux/drivers/video/fbdev/geode/ |
H A D | gxfb.h | 43 void gx_set_hw_palette_reg(struct fb_info *info, unsigned regno,
|