Home
last modified time | relevance | path

Searched refs:regno (Results 1 – 11 of 11) sorted by relevance

/u-boot/arch/powerpc/lib/
A Dkgdb.c184 kgdb_putreg(struct pt_regs *regs, int regno, char *buf, int length) in kgdb_putreg() argument
188 if (regno < 0 || regno >= 70) in kgdb_putreg()
190 else if (regno >= 32 && regno < 64) { in kgdb_putreg()
202 if (regno >= 0 && regno < 32) in kgdb_putreg()
203 regs->gpr[regno] = *ptr; in kgdb_putreg()
204 else switch (regno) { in kgdb_putreg()
/u-boot/cmd/
A Dmii.c118 ushort regno; member
147 static bool special_field(ushort regno, const MII_field_desc_t *pdesc,
155 const uchar reg = mii_reg_desc_tbl[i].regno; in MII_dump()
183 prd->regno, regval, prd->name); in dump_reg()
193 prd->regno); in dump_reg()
195 if (!special_field(prd->regno, pdesc, regval)) in dump_reg()
212 static bool special_field(ushort regno, const MII_field_desc_t *pdesc, in special_field() argument
217 if ((regno == MII_BMCR) && (pdesc->lo == 6)) { in special_field()
229 else if ((regno == MII_BMCR) && (pdesc->lo == 8)) { in special_field()
235 else if ((regno == MII_ADVERTISE) && (pdesc->lo == 0)) { in special_field()
[all …]
/u-boot/arch/x86/include/asm/
A Dcontrol_regs.h59 static inline unsigned long get_debugreg(int regno) in get_debugreg() argument
63 switch (regno) { in get_debugreg()
/u-boot/drivers/net/
A Dcs8900.c52 static u16 get_reg_init_bus(struct eth_device *dev, int regno) in get_reg_init_bus() argument
64 REG_WRITE(regno, &priv->regs->pptr); in get_reg_init_bus()
69 static u16 get_reg(struct eth_device *dev, int regno) in get_reg() argument
72 REG_WRITE(regno, &priv->regs->pptr); in get_reg()
77 static void put_reg(struct eth_device *dev, int regno, u16 val) in put_reg() argument
80 REG_WRITE(regno, &priv->regs->pptr); in put_reg()
/u-boot/drivers/video/
A Dpxa_lcd.c361 lcd_setcolreg (ushort regno, ushort red, ushort green, ushort blue) in lcd_setcolreg() argument
367 if (regno < fbi->palette_size) { in lcd_setcolreg()
373 palette[regno] = ~val; in lcd_setcolreg()
375 palette[regno] = val; in lcd_setcolreg()
380 regno, &palette[regno], in lcd_setcolreg()
382 palette[regno]); in lcd_setcolreg()
A Dda8xx-fb.c561 static int fb_setcolreg(unsigned regno, unsigned red, unsigned green, in fb_setcolreg() argument
570 if (regno > 255) in fb_setcolreg()
585 if (palette[regno] != pal) { in fb_setcolreg()
587 palette[regno] = pal; in fb_setcolreg()
589 } else if ((info->var.bits_per_pixel == 16) && regno < 16) { in fb_setcolreg()
599 par->pseudo_palette[regno] = red | green | blue; in fb_setcolreg()
605 } else if (((info->var.bits_per_pixel == 32) && regno < 32) || in fb_setcolreg()
606 ((info->var.bits_per_pixel == 24) && regno < 24)) { in fb_setcolreg()
616 par->pseudo_palette[regno] = red | green | blue; in fb_setcolreg()
A Datmel_lcdfb.c96 void lcd_setcolreg(ushort regno, ushort red, ushort green, ushort blue) in lcd_setcolreg() argument
99 lcdc_writel(panel_info.mmio, ATMEL_LCDC_LUT(regno), in lcd_setcolreg()
102 lcdc_writel(panel_info.mmio, ATMEL_LCDC_LUT(regno), in lcd_setcolreg()
A Datmel_hlcdfb.c47 void lcd_setcolreg(ushort regno, ushort red, ushort green, ushort blue) in lcd_setcolreg() argument
49 writel(panel_info.mmio + ATMEL_LCDC_LUT(regno), in lcd_setcolreg()
A Dnexell_display.c526 void lcd_setcolreg(ushort regno, ushort red, ushort green, ushort blue) in lcd_setcolreg() argument
/u-boot/include/
A Dlcd.h32 void lcd_setcolreg(ushort regno, ushort red, ushort green, ushort blue);
/u-boot/board/compulab/common/
A Domap3_display.c452 void lcd_setcolreg(ushort regno, ushort red, ushort green, ushort blue) {} in lcd_setcolreg() argument

Completed in 19 milliseconds