/openbmc/linux/drivers/video/fbdev/riva/ |
H A D | fbdev.c | 1300 if (regno >= riva_get_cmap_len(&info->var)) in rivafb_setcolreg() 1310 ((u32 *) info->pseudo_palette)[regno] = in rivafb_setcolreg() 1311 (regno << info->var.red.offset) | in rivafb_setcolreg() 1312 (regno << info->var.green.offset) | in rivafb_setcolreg() 1313 (regno << info->var.blue.offset); in rivafb_setcolreg() 1321 par->palette[regno] = ((red & 0xf800) >> 1) | in rivafb_setcolreg() 1342 riva_wclut(chip, regno*8+i, red >> 8, in rivafb_setcolreg() 1348 if (regno < 32) { in rivafb_setcolreg() 1350 riva_wclut(chip, regno*8+i, in rivafb_setcolreg() 1355 riva_rclut(chip, regno*4, &r, &g, &b); in rivafb_setcolreg() [all …]
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | vt8500lcdfb.c | 139 static int vt8500lcd_setcolreg(unsigned regno, unsigned red, unsigned green, in vt8500lcd_setcolreg() argument 145 if (regno >= 256) in vt8500lcd_setcolreg() 154 if (regno < 16) { in vt8500lcd_setcolreg() 161 pal[regno] = val; in vt8500lcd_setcolreg() 171 fbi->palette_cpu + sizeof(u16) * regno); in vt8500lcd_setcolreg()
|
H A D | atafb.c | 774 regno += 254; in tt_setcolreg() 775 if (regno > 255) in tt_setcolreg() 780 TT_SHIFTER_STHIGH && regno == 254) in tt_setcolreg() 1668 if (regno > 255) in falcon_setcolreg() 1673 if (regno < 16) { in falcon_setcolreg() 1674 shifter_tt.color_reg[regno] = in falcon_setcolreg() 1956 if (regno > 15) in stste_setcolreg() 1962 shifter_tt.color_reg[regno] = in stste_setcolreg() 1967 shifter_tt.color_reg[regno] = in stste_setcolreg() 2199 if (regno > 255) in ext_setcolreg() [all …]
|
H A D | wm8505fb.c | 192 static int wm8505fb_setcolreg(unsigned regno, unsigned red, unsigned green, in wm8505fb_setcolreg() argument 198 if (regno >= 256) in wm8505fb_setcolreg() 207 if (regno < 16) { in wm8505fb_setcolreg() 214 pal[regno] = val; in wm8505fb_setcolreg()
|
H A D | p9100.c | 150 static int p9100_setcolreg(unsigned regno, in p9100_setcolreg() argument 158 if (regno >= 256) in p9100_setcolreg() 167 sbus_writel((regno << 16), ®s->ramdac_cmap_wridx); in p9100_setcolreg()
|
H A D | sa1100fb.c | 268 sa1100fb_setpalettereg(u_int regno, u_int red, u_int green, u_int blue, in sa1100fb_setpalettereg() argument 275 if (regno < fbi->palette_size) { in sa1100fb_setpalettereg() 280 if (regno == 0) in sa1100fb_setpalettereg() 283 fbi->palette_cpu[regno] = val; in sa1100fb_setpalettereg() 290 sa1100fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, in sa1100fb_setcolreg() argument 324 if (regno < 16) { in sa1100fb_setcolreg() 329 fbi->pseudo_palette[regno] = val; in sa1100fb_setcolreg() 336 ret = sa1100fb_setpalettereg(regno, red, green, blue, trans, info); in sa1100fb_setcolreg()
|
H A D | amba-clcd.c | 335 clcdfb_setcolreg(unsigned int regno, unsigned int red, unsigned int green, in clcdfb_setcolreg() argument 340 if (regno < 16) in clcdfb_setcolreg() 341 fb->cmap[regno] = convert_bitfield(transp, &fb->fb.var.transp) | in clcdfb_setcolreg() 346 if (fb->fb.fix.visual == FB_VISUAL_PSEUDOCOLOR && regno < 256) { in clcdfb_setcolreg() 347 int hw_reg = CLCD_PALETTE + ((regno * 2) & ~3); in clcdfb_setcolreg() 359 regno ^= 1; in clcdfb_setcolreg() 361 if (regno & 1) { in clcdfb_setcolreg() 372 return regno > 255; in clcdfb_setcolreg()
|
H A D | gbefb.c | 848 static int gbefb_setcolreg(unsigned regno, unsigned red, unsigned green, in gbefb_setcolreg() argument 854 if (regno > 255) in gbefb_setcolreg() 861 gbe_cmap[regno] = (red << 24) | (green << 16) | (blue << 8); in gbefb_setcolreg() 870 gbe->cmap[regno] = gbe_cmap[regno]; in gbefb_setcolreg() 872 } else if (regno < 16) { in gbefb_setcolreg() 879 pseudo_palette[regno] = in gbefb_setcolreg() 885 pseudo_palette[regno] = in gbefb_setcolreg()
|
H A D | da8xx-fb.c | 592 static int fb_setcolreg(unsigned regno, unsigned red, unsigned green, in fb_setcolreg() argument 601 if (regno > 255) in fb_setcolreg() 619 if (regno > 15) in fb_setcolreg() 623 pal = regno; in fb_setcolreg() 633 if (regno == 0) in fb_setcolreg() 635 palette[regno] = pal; in fb_setcolreg() 647 if (palette[regno] != pal) { in fb_setcolreg() 649 palette[regno] = pal; in fb_setcolreg() 660 if (regno > 15) in fb_setcolreg() 667 ((u32 *) (info->pseudo_palette))[regno] = v; in fb_setcolreg()
|
H A D | s3fb.c | 921 static int s3fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, in s3fb_setcolreg() argument 927 if (regno >= 16) in s3fb_setcolreg() 933 outb(regno*16, VGA_PEL_IW); in s3fb_setcolreg() 936 outb(regno, VGA_PEL_IW); in s3fb_setcolreg() 943 if (regno >= 256) in s3fb_setcolreg() 947 outb(regno, VGA_PEL_IW); in s3fb_setcolreg() 953 if (regno >= 16) in s3fb_setcolreg() 957 ((u32*)fb->pseudo_palette)[regno] = ((red & 0xF800) >> 1) | in s3fb_setcolreg() 960 ((u32*)fb->pseudo_palette)[regno] = (red & 0xF800) | in s3fb_setcolreg() 966 if (regno >= 16) in s3fb_setcolreg() [all …]
|
H A D | au1100fb.c | 235 int au1100fb_fb_setcolreg(unsigned regno, unsigned red, unsigned green, unsigned blue, unsigned tra… in au1100fb_fb_setcolreg() argument 244 if (regno > (AU1100_LCD_NBR_PALETTE_ENTRIES - 1)) in au1100fb_fb_setcolreg() 255 if (regno > 16) in au1100fb_fb_setcolreg() 286 palette[regno] = value; in au1100fb_fb_setcolreg()
|
H A D | hpfb.c | 76 static int hpfb_setcolreg(unsigned regno, unsigned red, unsigned green, in hpfb_setcolreg() argument 84 unsigned char _regno=regno; in hpfb_setcolreg() 93 if (regno >= info->cmap.len) in hpfb_setcolreg()
|
H A D | xilinxfb.c | 197 xilinx_fb_setcolreg(unsigned int regno, unsigned int red, unsigned int green, in xilinx_fb_setcolreg() argument 202 if (regno >= PALETTE_ENTRIES_NO) in xilinx_fb_setcolreg() 220 palette[regno] = (red << RED_SHIFT) | (green << GREEN_SHIFT) | in xilinx_fb_setcolreg()
|
H A D | imxfb.c | 278 static int imxfb_setpalettereg(u_int regno, u_int red, u_int green, u_int blue, in imxfb_setpalettereg() argument 285 if (regno < fbi->palette_size) { in imxfb_setpalettereg() 290 writel(val, fbi->regs + 0x800 + (regno << 2)); in imxfb_setpalettereg() 296 static int imxfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, in imxfb_setcolreg() argument 329 if (regno < 16) { in imxfb_setcolreg() 336 pal[regno] = val; in imxfb_setcolreg() 343 ret = imxfb_setpalettereg(regno, red, green, blue, trans, info); in imxfb_setcolreg()
|
/openbmc/qemu/target/hexagon/ |
H A D | README | 84 const int RdN = insn->regno[0]; 85 TCGv RsV = hex_gpr[insn->regno[1]]; 86 TCGv RtV = hex_gpr[insn->regno[2]]; 140 const int VdN = insn->regno[0]; 145 const int VuN = insn->regno[1]; 149 const int VvN = insn->regno[2]; 171 const int VdN = insn->regno[0]; 174 const int VuN = insn->regno[1]; 177 const int VvN = insn->regno[2];
|
H A D | gen_printinsn.py | 134 regno = seenregs[b] 136 regno = ri
|
H A D | decode.c | 53 insn->regno[OPNUM] = DECODE_REGISTER_##NAME[insn->regno[OPNUM]]; 131 offset = packet->insn[i].regno[use_regidx] >> 1; in decode_fill_newvalue_regno() 148 packet->insn[i].regno[use_regidx] = in decode_fill_newvalue_regno() 149 packet->insn[def_idx].regno[dst_idx]; in decode_fill_newvalue_regno()
|
H A D | insn.h | 35 uint8_t regno[REG_OPERANDS_MAX]; /* reg operands including predicates */ member
|
/openbmc/qemu/hw/pci-host/ |
H A D | bonito.c | 199 #define PCI_ADDR(busno , devno , funno , regno) \ argument 200 ((PCI_BUILD_BDF(busno, PCI_DEVFN(devno , funno)) << 8) + (regno)) 451 uint32_t regno; in bonito_sbridge_pciaddr() local 466 regno = (cfgaddr & BONITO_PCICONF_REG_MASK_HW) >> BONITO_PCICONF_REG_OFFSET; in bonito_sbridge_pciaddr() 473 pciaddr = PCI_ADDR(pci_bus_num(phb->bus), devno, funno, regno); in bonito_sbridge_pciaddr() 475 cfgaddr, pciaddr, pci_bus_num(phb->bus), devno, funno, regno); in bonito_sbridge_pciaddr()
|
/openbmc/qemu/tests/qtest/ |
H A D | npcm7xx_emc-test.c | 243 NPCM7xxPWMRegister regno) in emc_read() argument 245 return qtest_readl(qts, mod->base_addr + regno * sizeof(uint32_t)); in emc_read() 250 NPCM7xxPWMRegister regno, uint32_t value) in emc_write() argument 252 qtest_writel(qts, mod->base_addr + regno * sizeof(uint32_t), value); in emc_write() 348 #define CHECK_REG(regno, value) \ in test_init() argument 350 g_assert_cmphex(emc_read(qts, mod, (regno)), ==, (value)); \ in test_init()
|
H A D | i440fx-test.c | 147 int regno = 0x59 + (index / 2); in pam_set() local 150 reg = qpci_config_readb(dev, regno); in pam_set() 156 qpci_config_writeb(dev, regno, reg); in pam_set()
|
/openbmc/u-boot/drivers/video/ |
H A D | atmel_lcdfb.c | 92 void lcd_setcolreg(ushort regno, ushort red, ushort green, ushort blue) in lcd_setcolreg() argument 95 lcdc_writel(panel_info.mmio, ATMEL_LCDC_LUT(regno), in lcd_setcolreg() 98 lcdc_writel(panel_info.mmio, ATMEL_LCDC_LUT(regno), in lcd_setcolreg()
|
/openbmc/linux/drivers/video/fbdev/kyro/ |
H A D | fbdev.c | 537 static int kyrofb_setcolreg(u_int regno, u_int red, u_int green, in kyrofb_setcolreg() argument 542 if (regno > 255) in kyrofb_setcolreg() 545 if (regno < 16) { in kyrofb_setcolreg() 548 par->palette[regno] = in kyrofb_setcolreg() 555 par->palette[regno] = in kyrofb_setcolreg()
|
/openbmc/linux/arch/powerpc/kernel/ptrace/ |
H A D | ptrace-decl.h | 168 int ptrace_get_reg(struct task_struct *task, int regno, unsigned long *data); 169 int ptrace_put_reg(struct task_struct *task, int regno, unsigned long data);
|
/openbmc/linux/drivers/video/fbdev/geode/ |
H A D | display_gx1.c | 192 static void gx1_set_hw_palette_reg(struct fb_info *info, unsigned regno, in gx1_set_hw_palette_reg() argument 203 writel(regno, par->dc_regs + DC_PAL_ADDRESS); in gx1_set_hw_palette_reg()
|