Home
last modified time | relevance | path

Searched refs:regno (Results 126 – 150 of 229) sorted by relevance

12345678910

/openbmc/linux/arch/x86/include/asm/
H A Dinsn-eval.h18 int pt_regs_offset(struct pt_regs *regs, int regno);
/openbmc/linux/drivers/video/fbdev/
H A Dtgafb.c525 tgafb_setcolreg(unsigned regno, unsigned red, unsigned green, unsigned blue, argument
532 if (regno > 255)
539 BT485_WRITE(par, regno, BT485_ADDR_PAL_WRITE);
545 BT459_LOAD_ADDR(par, regno);
551 if (regno < 16) {
552 u32 value = (regno << 16) | (regno << 8) | regno;
553 ((u32 *)info->pseudo_palette)[regno] = value;
555 BT463_LOAD_ADDR(par, regno);
H A Dvga16fb.c653 static void ega16_setpalette(int regno, unsigned red, unsigned green, unsigned blue) in ega16_setpalette() argument
658 if (regno >= 16) in ega16_setpalette()
662 vga_io_wattr(regno, val); in ega16_setpalette()
667 static void vga16_setpalette(int regno, unsigned red, unsigned green, unsigned blue) in vga16_setpalette() argument
669 outb(regno, VGA_PEL_IW); in vga16_setpalette()
675 static int vga16fb_setcolreg(unsigned regno, unsigned red, unsigned green, in vga16fb_setcolreg() argument
689 if (regno >= 256) in vga16fb_setcolreg()
699 vga16_setpalette(regno,red,green,blue); in vga16fb_setcolreg()
701 ega16_setpalette(regno,red,green,blue); in vga16fb_setcolreg()
H A Datmel_lcdfb.c703 static int atmel_lcdfb_setcolreg(unsigned int regno, unsigned int red, in atmel_lcdfb_setcolreg() argument
719 if (regno < 16) { in atmel_lcdfb_setcolreg()
726 pal[regno] = val; in atmel_lcdfb_setcolreg()
732 if (regno < 256) { in atmel_lcdfb_setcolreg()
756 lcdc_writel(sinfo, ATMEL_LCDC_LUT(regno), val); in atmel_lcdfb_setcolreg()
762 if (regno < 2) { in atmel_lcdfb_setcolreg()
763 val = (regno == 0) ? 0x00 : 0x1F; in atmel_lcdfb_setcolreg()
764 lcdc_writel(sinfo, ATMEL_LCDC_LUT(regno), val); in atmel_lcdfb_setcolreg()
H A Dstifb.c947 stifb_setcolreg(u_int regno, u_int red, u_int green, in stifb_setcolreg() argument
953 if (regno >= NR_PALETTE) in stifb_setcolreg()
977 if (regno < 16) in stifb_setcolreg()
978 ((u32 *)fb->info.pseudo_palette)[regno] = in stifb_setcolreg()
979 regno << var->red.offset | in stifb_setcolreg()
980 regno << var->green.offset | in stifb_setcolreg()
981 regno << var->blue.offset; in stifb_setcolreg()
984 WRITE_IMAGE_COLOR(fb, regno, color); in stifb_setcolreg()
H A Dpmagb-b-fb.c98 static int pmagbbfb_setcolreg(unsigned int regno, unsigned int red, in pmagbbfb_setcolreg() argument
104 if (regno >= info->cmap.len) in pmagbbfb_setcolreg()
112 dac_write(par, BT459_ADDR_LO, regno); in pmagbbfb_setcolreg()
H A Dgoldfishfb.c72 goldfish_fb_setcolreg(unsigned int regno, unsigned int red, unsigned int green, in goldfish_fb_setcolreg() argument
77 if (regno < 16) { in goldfish_fb_setcolreg()
78 fb->cmap[regno] = convert_bitfield(transp, &fb->fb.var.transp) | in goldfish_fb_setcolreg()
H A Defifb.c77 static int efifb_setcolreg(unsigned regno, unsigned red, unsigned green, in efifb_setcolreg() argument
88 if (regno >= info->cmap.len) in efifb_setcolreg()
91 if (regno < 16) { in efifb_setcolreg()
95 ((u32 *)(info->pseudo_palette))[regno] = in efifb_setcolreg()
H A Dtcx.c171 static int tcx_setcolreg(unsigned regno, in tcx_setcolreg() argument
179 if (regno >= 256) in tcx_setcolreg()
188 sbus_writel(regno << 24, &bt->addr); in tcx_setcolreg()
H A Damifb.c2457 if (regno > 255) in amifb_setcolreg()
2460 if (regno > 3) in amifb_setcolreg()
2463 if (regno > 31) in amifb_setcolreg()
2469 if (!regno) { in amifb_setcolreg()
2483 if (regno || !is_blanked) { in amifb_setcolreg()
2488 custom.bplcon3 = bplcon3 | (regno << 8 & 0xe000); in amifb_setcolreg()
2491 custom.bplcon3 = bplcon3 | (regno << 8 & 0xe000) | in amifb_setcolreg()
2507 for (i = regno + 12; i >= (int)regno; i -= 4) in amifb_setcolreg()
2510 regno = down16(regno) + mul4(mod4(regno)); in amifb_setcolreg()
2511 for (i = regno + 3; i >= (int)regno; i--) in amifb_setcolreg()
[all …]
H A Dpxa168fb.c485 pxa168fb_setcolreg(unsigned int regno, unsigned int red, unsigned int green, in pxa168fb_setcolreg() argument
495 if (info->fix.visual == FB_VISUAL_TRUECOLOR && regno < 16) { in pxa168fb_setcolreg()
499 fbi->pseudo_palette[regno] = val; in pxa168fb_setcolreg()
502 if (info->fix.visual == FB_VISUAL_PSEUDOCOLOR && regno < 256) { in pxa168fb_setcolreg()
505 writel(0x8300 | regno, fbi->reg_base + LCD_SPU_SRAM_CTRL); in pxa168fb_setcolreg()
H A Dcg14.c244 static int cg14_setcolreg(unsigned regno, in cg14_setcolreg() argument
253 if (regno >= 256) in cg14_setcolreg()
262 sbus_writel(val, &clut->c_clut[regno]); in cg14_setcolreg()
H A Dsimplefb.c45 static int simplefb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, in simplefb_setcolreg() argument
54 if (regno >= PSEUDO_PALETTE_SIZE) in simplefb_setcolreg()
65 pal[regno] = value; in simplefb_setcolreg()
H A Dpm3fb.c121 static inline void pm3fb_set_color(struct pm3_par *par, unsigned char regno, in pm3fb_set_color() argument
125 PM3_WRITE_REG(par, PM3RD_PaletteWriteAddress, regno); in pm3fb_set_color()
1069 static int pm3fb_setcolreg(unsigned regno, unsigned red, unsigned green, in pm3fb_setcolreg() argument
1075 if (regno >= 256) /* no. of hw registers */ in pm3fb_setcolreg()
1117 if (regno >= 16) in pm3fb_setcolreg()
1130 ((u32 *)(info->pseudo_palette))[regno] = v; in pm3fb_setcolreg()
1135 pm3fb_set_color(par, regno, red, green, blue); in pm3fb_setcolreg()
/openbmc/linux/drivers/infiniband/hw/qib/
H A Dqib_iba6120.c307 enum qib_ureg regno, int ctxt) in qib_read_ureg32() argument
313 return readl(regno + (u64 __iomem *) in qib_read_ureg32()
317 return readl(regno + (u64 __iomem *) in qib_read_ureg32()
348 writeq(value, &ubase[regno]); in qib_write_ureg()
352 const u16 regno) in qib_read_kreg32() argument
360 const u16 regno) in qib_read_kreg64() argument
365 return readq(&dd->kregbase[regno]); in qib_read_kreg64()
369 const u16 regno, u64 value) in qib_write_kreg() argument
372 writeq(value, &dd->kregbase[regno]); in qib_write_kreg()
386 qib_write_kreg(dd, regno + ctxt, value); in qib_write_kreg_ctxt()
[all …]
H A Dqib_iba7322.c703 u16 regno; member
818 writeq(value, &ubase[regno]); in qib_write_ureg()
822 const u32 regno) in qib_read_kreg32() argument
830 const u32 regno) in qib_read_kreg64() argument
849 const u16 regno) in qib_read_kreg_port() argument
897 u16 regno, u64 value) in write_7322_creg_port() argument
905 u16 regno) in read_7322_creg_port() argument
914 u16 regno) in read_7322_creg32_port() argument
6269 unsigned n, regno; in write_7322_initregs() local
6284 regno = krp_rcvqpmaptable; in write_7322_initregs()
[all …]
/openbmc/linux/drivers/video/fbdev/omap/
H A Dlcdc.c413 static int omap_lcdc_setcolreg(u_int regno, u16 red, u16 green, u16 blue, in omap_lcdc_setcolreg() argument
418 if (lcdc.color_mode != OMAPFB_COLOR_CLUT_8BPP || regno > 255) in omap_lcdc_setcolreg()
423 palette[regno] &= ~0x0fff; in omap_lcdc_setcolreg()
424 palette[regno] |= ((red >> 12) << 8) | ((green >> 12) << 4 ) | in omap_lcdc_setcolreg()
/openbmc/qemu/target/alpha/
H A Dtranslate.c1206 static DisasJumpType gen_mfpr(DisasContext *ctx, TCGv va, int regno) in gen_mfpr() argument
1211 switch (regno) { in gen_mfpr()
1214 regno = regno == 39 ? 25 : regno - 32 + 8; in gen_mfpr()
1215 tcg_gen_mov_i64(va, cpu_std_ir[regno]); in gen_mfpr()
1242 data = cpu_pr_data(regno); in gen_mfpr()
1256 static DisasJumpType gen_mtpr(DisasContext *ctx, TCGv vb, int regno) in gen_mtpr() argument
1261 switch (regno) { in gen_mtpr()
1302 regno = regno == 39 ? 25 : regno - 32 + 8; in gen_mtpr()
1303 tcg_gen_mov_i64(cpu_std_ir[regno], vb); in gen_mtpr()
1316 data = cpu_pr_data(regno); in gen_mtpr()
/openbmc/linux/drivers/video/fbdev/intelfb/
H A Dintelfbdrv.c140 static int intelfb_setcolreg(unsigned regno, unsigned red, unsigned green,
1387 static int intelfb_setcolreg(unsigned regno, unsigned red, unsigned green, in intelfb_setcolreg() argument
1394 DBG_MSG("intelfb_setcolreg: regno %d, depth %d\n", regno, dinfo->depth); in intelfb_setcolreg()
1397 if (regno > 255) in intelfb_setcolreg()
1405 intelfbhw_setcolreg(dinfo, regno, red, green, blue, in intelfb_setcolreg()
1409 if (regno < 16) { in intelfb_setcolreg()
1412 dinfo->pseudo_palette[regno] = ((red & 0xf800) >> 1) | in intelfb_setcolreg()
1417 dinfo->pseudo_palette[regno] = (red & 0xf800) | in intelfb_setcolreg()
1422 dinfo->pseudo_palette[regno] = ((red & 0xff00) << 8) | in intelfb_setcolreg()
/openbmc/linux/arch/x86/um/
H A Dsignal.c167 #define GETREG(regno, regname) regs->regs.gp[HOST_##regno] = sc.regname in copy_sc_from_user() argument
246 #define PUTREG(regno, regname) sc.regname = regs->regs.gp[HOST_##regno] in copy_sc_to_user() argument
/openbmc/linux/drivers/video/fbdev/savage/
H A Dsavagefb_driver.c1212 if (regno >= NR_PALETTE) in savagefb_setcolreg()
1215 par->palette[regno].red = red; in savagefb_setcolreg()
1216 par->palette[regno].green = green; in savagefb_setcolreg()
1217 par->palette[regno].blue = blue; in savagefb_setcolreg()
1218 par->palette[regno].transp = transp; in savagefb_setcolreg()
1222 vga_out8(0x3c8, regno, par); in savagefb_setcolreg()
1230 if (regno < 16) in savagefb_setcolreg()
1231 ((u32 *)info->pseudo_palette)[regno] = in savagefb_setcolreg()
1238 if (regno < 16) in savagefb_setcolreg()
1239 ((u32 *)info->pseudo_palette)[regno] = in savagefb_setcolreg()
[all …]
/openbmc/linux/drivers/staging/sm750fb/
H A Dsm750.c520 static int lynxfb_ops_setcolreg(unsigned int regno, in lynxfb_ops_setcolreg() argument
537 if (regno > 256) { in lynxfb_ops_setcolreg()
538 pr_err("regno = %d\n", regno); in lynxfb_ops_setcolreg()
550 ret = hw_sm750_setColReg(crtc, regno, red, green, blue); in lynxfb_ops_setcolreg()
554 if (info->fix.visual == FB_VISUAL_TRUECOLOR && regno < 256) { in lynxfb_ops_setcolreg()
563 par->pseudo_palette[regno] = val; in lynxfb_ops_setcolreg()
/openbmc/linux/drivers/media/pci/ivtv/
H A Divtvfb.c857 static int ivtvfb_setcolreg(unsigned regno, unsigned red, unsigned green, in ivtvfb_setcolreg() argument
864 if (regno >= info->cmap.len) in ivtvfb_setcolreg()
869 write_reg(regno, 0x02a30); in ivtvfb_setcolreg()
871 itv->osd_info->palette_cur[regno] = color; in ivtvfb_setcolreg()
874 if (regno >= 16) in ivtvfb_setcolreg()
897 palette[regno] = color; in ivtvfb_setcolreg()
/openbmc/qemu/hw/intc/
H A Dtrace-events117 gicv3_icc_ap_read(int grp, int regno, uint32_t cpu, uint64_t val) "GICv3 ICC_AP%dR%d read cpu 0x%x …
118 gicv3_icc_ap_write(int grp, int regno, uint32_t cpu, uint64_t val) "GICv3 ICC_AP%dR%d write cpu 0x%…
138 gicv3_ich_ap_read(int grp, int regno, uint32_t cpu, uint64_t val) "GICv3 ICH_AP%dR%d read cpu 0x%x …
139 gicv3_ich_ap_write(int grp, int regno, uint32_t cpu, uint64_t val) "GICv3 ICH_AP%dR%d write cpu 0x%…
144 gicv3_ich_lr_read(int regno, uint32_t cpu, uint64_t val) "GICv3 ICH_LR%d_EL2 read cpu 0x%x value 0x…
145 gicv3_ich_lr32_read(int regno, uint32_t cpu, uint32_t val) "GICv3 ICH_LR%d read cpu 0x%x value 0x%"…
146 gicv3_ich_lrc_read(int regno, uint32_t cpu, uint32_t val) "GICv3 ICH_LRC%d read cpu 0x%x value 0x%"…
147 gicv3_ich_lr_write(int regno, uint32_t cpu, uint64_t val) "GICv3 ICH_LR%d_EL2 write cpu 0x%x value …
148 gicv3_ich_lr32_write(int regno, uint32_t cpu, uint32_t val) "GICv3 ICH_LR%d write cpu 0x%x value 0x…
149 gicv3_ich_lrc_write(int regno, uint32_t cpu, uint32_t val) "GICv3 ICH_LRC%d write cpu 0x%x value 0x…
[all …]
/openbmc/u-boot/include/
H A Dlcd.h32 void lcd_setcolreg(ushort regno, ushort red, ushort green, ushort blue);

12345678910