/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/cris/kernel/ |
H A D | kgdb.c | 319 /* Write a value to a specified register regno in the register image 321 static int write_register (int regno, char *val); 325 static write_stack_register (int thread_id, int regno, char *valptr); 329 static int read_register (char regno, unsigned int *valptr); 630 write_register (int regno, char *val) argument 635 if (regno >= R0 && regno <= PC) { 637 hex2mem ((unsigned char *)current_reg + regno * sizeof(unsigned int), 640 else if (regno == P0 || regno 666 write_stack_register(int thread_id, int regno, char *valptr) argument 701 read_register(char regno, unsigned int *valptr) argument 953 int regno; local 1083 int regno = gdb_cris_strtol (&remcomInBuffer[1], &suffix, 16); local [all...] |
H A D | ptrace.c | 78 static inline long get_reg(struct task_struct *task, unsigned int regno) argument 84 if (regno == PT_USP) 86 else if (regno < PT_MAX) 87 return ((unsigned long *)user_regs(task))[regno]; 95 static inline int put_reg(struct task_struct *task, unsigned int regno, argument 98 if (regno == PT_USP) 100 else if (regno < PT_MAX) 101 ((unsigned long *)user_regs(task))[regno] = data;
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/wan/lmc/ |
H A D | lmc.h | 11 devaddr, unsigned regno); 13 unsigned regno, unsigned data);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/char/ |
H A D | scc.h | 423 * I rely on regno and final_delay being constants, so gcc can reduce 446 int regno, 449 switch( regno ) { 486 *port->ctrlp = regno; 495 *port->ctrlp = regno; 497 scc_shadow[0][regno] = val; 503 *port->ctrlp = regno; 505 shadow[regno] = val; 514 *port->ctrlp = regno; 515 shadow[regno] 442 _SCCwrite( struct scc_port *port, unsigned char *shadow, volatile unsigned char *_scc_del, int regno, unsigned char val, int final_delay ) argument 531 _SCCread( struct scc_port *port, unsigned char *shadow, volatile unsigned char *_scc_del, int regno, int final_delay ) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/video/ |
H A D | macfb.c | 69 static int (*macfb_setpalette) (unsigned int regno, unsigned int red, 71 static int valkyrie_setpalette (unsigned int regno, unsigned int red, 73 static int dafb_setpalette (unsigned int regno, unsigned int red, 75 static int rbv_setpalette (unsigned int regno, unsigned int red, 77 static int mdc_setpalette (unsigned int regno, unsigned int red, 79 static int toby_setpalette (unsigned int regno, unsigned int red, 81 static int civic_setpalette (unsigned int regno, unsigned int red, 83 static int csc_setpalette (unsigned int regno, unsigned int red, 341 static int valkyrie_setpalette (unsigned int regno, unsigned int red, argument 354 nubus_writeb(regno, 373 dafb_setpalette(unsigned int regno, unsigned int red, unsigned int green, unsigned int blue) argument 419 v8_brazil_setpalette(unsigned int regno, unsigned int red, unsigned int green, unsigned int blue) argument 454 rbv_setpalette(unsigned int regno, unsigned int red, unsigned int green, unsigned int blue) argument 492 mdc_setpalette(unsigned int regno, unsigned int red, unsigned int green, unsigned int blue) argument 518 toby_setpalette(unsigned int regno, unsigned int red, unsigned int green, unsigned int blue) argument 543 jet_setpalette(unsigned int regno, unsigned int red, unsigned int green, unsigned int blue) argument 566 civic_setpalette(unsigned int regno, unsigned int red, unsigned int green, unsigned int blue) argument 639 csc_setpalette(unsigned int regno, unsigned int red, unsigned int green, unsigned int blue) argument 652 macfb_getcolreg(unsigned regno, unsigned *red, unsigned *green, unsigned *blue, unsigned *transp, struct fb_info *fb_info) argument 671 macfb_setcolreg(unsigned regno, unsigned red, unsigned green, unsigned blue, unsigned transp, struct fb_info *fb_info) argument [all...] |
H A D | tx3912fb.c | 68 static int tx3912fb_getcolreg(u_int regno, u_int *red, u_int *green, 70 static int tx3912fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, 466 static int tx3912fb_getcolreg(u_int regno, u_int *red, u_int *green, argument 469 if (regno > 255) 476 grey = regno * 255 / 15; 487 *red = (palette[regno].red<<8) | palette[regno].red; 488 *green = (palette[regno].green<<8) | palette[regno].green; 489 *blue = (palette[regno] 499 tx3912fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, u_int transp, struct fb_info *info) argument [all...] |
H A D | fm2fb.c | 210 static int fm2fb_getcolreg(u_int regno, u_int *red, u_int *green, u_int *blue, 212 static int fm2fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, 480 * colors/transparent. Return != 0 for invalid regno. 483 static int fm2fb_getcolreg(u_int regno, u_int *red, u_int *green, u_int *blue, argument 486 if (regno > 15) 488 *red = (palette[regno].red<<8) | palette[regno].red; 489 *green = (palette[regno].green<<8) | palette[regno].green; 490 *blue = (palette[regno] 502 fm2fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, u_int transp, struct fb_info *info) argument [all...] |
H A D | g364fb.c | 118 static int g364fb_getcolreg(u_int regno, u_int *red, u_int *green, u_int *blue, 120 static int g364fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, 442 * colors/transparent. Return != 0 for invalid regno. 444 static int g364fb_getcolreg(u_int regno, u_int *red, u_int *green, u_int *blue, argument 447 if (regno > 255) 449 *red = (palette[regno].red << 8) | palette[regno].red; 450 *green = (palette[regno].green << 8) | palette[regno].green; 451 *blue = (palette[regno] 459 g364fb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, u_int transp, struct fb_info *info) argument [all...] |
H A D | igafb.c | 301 static int iga_getcolreg(unsigned regno, unsigned *red, unsigned *green, argument 307 * Return != 0 for invalid regno. 311 if (regno >= info->video_cmap_len) 314 *red = info->palette[regno].red; 315 *green = info->palette[regno].green; 316 *blue = info->palette[regno].blue; 321 static int iga_setcolreg(unsigned regno, unsigned red, unsigned green, argument 329 * != 0 for invalid regno. 334 if (regno >= info->video_cmap_len) 337 info->palette[regno] [all...] |
H A D | vesafb.c | 284 static int vesa_getcolreg(unsigned regno, unsigned *red, unsigned *green, argument 290 * Return != 0 for invalid regno. 293 if (regno >= video_cmap_len) 296 *red = palette[regno].red; 297 *green = palette[regno].green; 298 *blue = palette[regno].blue; 305 static void vesa_setpalette(int regno, unsigned red, unsigned green, unsigned blue) argument 321 "d" (regno), /* EDX */ 326 outb_p(regno, dac_reg); 337 static int vesa_setcolreg(unsigned regno, unsigne argument [all...] |
H A D | offb.c | 124 static int offb_getcolreg(u_int regno, u_int *red, u_int *green, u_int *blue, 126 static int offb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, 720 * colors/transparent. Return != 0 for invalid regno. 723 static int offb_getcolreg(u_int regno, u_int *red, u_int *green, u_int *blue, argument 728 if (!info2->cmap_adr || regno > 255) 731 *red = (info2->palette[regno].red<<8) | info2->palette[regno].red; 732 *green = (info2->palette[regno].green<<8) | info2->palette[regno].green; 733 *blue = (info2->palette[regno] 745 offb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, u_int transp, struct fb_info *info) argument [all...] |
H A D | skeletonfb.c | 165 static int xxx_getcolreg(unsigned regno, unsigned *red, unsigned *green, argument 172 * Return != 0 for invalid regno. 179 static int xxx_setcolreg(unsigned regno, unsigned red, unsigned green, argument 186 * Return != 0 for invalid regno. 189 if (regno < 16) { 194 ...fbcon_cmap.cfb16[regno] = ((red & 0xf800) >> 1) | 198 ...fbcon_cmap.cfb16[regno] = (red & 0xf800) | 202 ...fbcon_cmap.cfb24[regno] = ((red & 0xff00) << 8) | 206 ...fbcon_cmap.cfb32[regno] = ((red & 0xff00) << 16) |
|
H A D | platinumfb.c | 147 static int platinum_getcolreg(u_int regno, u_int *red, u_int *green, u_int *blue, 149 static int platinum_setcolreg(u_int regno, u_int red, u_int green, u_int blue, 386 static int platinum_getcolreg(u_int regno, u_int *red, u_int *green, argument 391 if (regno > 255) 394 *red = (info->palette[regno].red<<8) | info->palette[regno].red; 395 *green = (info->palette[regno].green<<8) | info->palette[regno].green; 396 *blue = (info->palette[regno].blue<<8) | info->palette[regno] 401 platinum_setcolreg(u_int regno, u_int red, u_int green, u_int blue, u_int transp, struct fb_info *fb) argument [all...] |
H A D | hitfb.c | 227 static int hitfb_getcolreg(unsigned regno, unsigned *red, unsigned *green, argument 231 if (regno > 255) 234 outw(regno<<8, HD64461_CPTRAR); 244 static int hitfb_setcolreg(unsigned regno, unsigned red, unsigned green, argument 248 if (regno > 255) 251 outw(regno<<8, HD64461_CPTWAR); 256 if(regno<16) { 260 fb_info.fbcon_cmap.cfb16[regno] =
|
H A D | q40fb.c | 170 static int q40_getcolreg(unsigned regno, unsigned *red, unsigned *green, argument 177 * Return != 0 for invalid regno. 179 if (regno>=16) return 1; 182 *green = ((fbcon_cmap_cfb16[regno]>>11) & 31)<<11; 183 *red = ((fbcon_cmap_cfb16[regno]>>6) & 31)<<11; 184 *blue = ((fbcon_cmap_cfb16[regno]) & 63)<<10; 189 static int q40_setcolreg(unsigned regno, unsigned red, unsigned green, argument 195 * Return != 0 for invalid regno. 202 if (regno < 16) { 203 fbcon_cmap_cfb16[regno] [all...] |
H A D | vfb.c | 112 static int vfb_getcolreg(u_int regno, u_int *red, u_int *green, u_int *blue, 114 static int vfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, 546 * colors/transparent. Return != 0 for invalid regno. 549 static int vfb_getcolreg(u_int regno, u_int *red, u_int *green, u_int *blue, argument 552 if (regno > 255) 554 *red = (palette[regno].red<<8) | palette[regno].red; 555 *green = (palette[regno].green<<8) | palette[regno].green; 556 *blue = (palette[regno] 568 vfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, u_int transp, struct fb_info *info) argument [all...] |
H A D | valkyriefb.c | 170 static int valkyriefb_getcolreg(u_int regno, u_int *red, u_int *green, 172 static int valkyriefb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, 350 static int valkyriefb_getcolreg(u_int regno, u_int *red, u_int *green, argument 355 if (regno > 255) 357 *red = (p->palette[regno].red<<8) | p->palette[regno].red; 358 *green = (p->palette[regno].green<<8) | p->palette[regno].green; 359 *blue = (p->palette[regno].blue<<8) | p->palette[regno] 364 valkyriefb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, u_int transp, struct fb_info *info) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/i386/kernel/ |
H A D | ptrace.c | 74 unsigned long regno, unsigned long value) 76 switch (regno >> 2) { 104 if (regno > GS*4) 105 regno -= 2*4; 106 put_stack_long(child, regno - sizeof(struct pt_regs), value); 111 unsigned long regno) 115 switch (regno >> 2) { 129 if (regno > GS*4) 130 regno -= 2*4; 131 regno 73 putreg(struct task_struct *child, unsigned long regno, unsigned long value) argument 110 getreg(struct task_struct *child, unsigned long regno) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/alpha/kernel/ |
H A D | ptrace.c | 99 get_reg_addr(struct task_struct * task, unsigned long regno) argument 103 if (regno == 30) { 105 } else if (regno == 31 || regno > 64) { 109 addr = (long *)((long)task + regoff[regno]); 118 get_reg(struct task_struct * task, unsigned long regno) argument 121 if (regno == 63) { 122 unsigned long fpcr = *get_reg_addr(task, regno); 127 return *get_reg_addr(task, regno); 134 put_reg(struct task_struct *task, unsigned long regno, lon argument [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/m68k/kernel/ |
H A D | ptrace.c | 59 static inline long get_reg(struct task_struct *task, int regno) argument 63 if (regno == PT_USP) 65 else if (regno < sizeof(regoff)/sizeof(regoff[0])) 66 addr = (unsigned long *)(task->thread.esp0 + regoff[regno]); 75 static inline int put_reg(struct task_struct *task, int regno, argument 80 if (regno == PT_USP) 82 else if (regno < sizeof(regoff)/sizeof(regoff[0])) 83 addr = (unsigned long *) (task->thread.esp0 + regoff[regno]);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/x86_64/ia32/ |
H A D | ptrace32.c | 31 static int putreg32(struct task_struct *child, unsigned regno, u32 val) argument 36 switch (regno) { 77 child->thread.debugreg[(regno-offsetof(struct user32, u_debugreg[0]))/4] = val; 90 if (regno > sizeof(struct user32) || (regno & 3)) 104 static int getreg32(struct task_struct *child, unsigned regno, u32 *val) argument 108 switch (regno) { 137 *val = child->thread.debugreg[(regno-offsetof(struct user32, u_debugreg[0]))/4]; 141 if (regno > sizeof(struct user32) || (regno [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc/kernel/ |
H A D | ptrace.c | 49 static inline unsigned long get_reg(struct task_struct *task, int regno) argument 51 if (regno < sizeof(struct pt_regs) / sizeof(unsigned long) 53 return ((unsigned long *)task->thread.regs)[regno]; 60 static inline int put_reg(struct task_struct *task, int regno, argument 63 if (regno <= PT_MQ && task->thread.regs != NULL) { 64 if (regno == PT_MSR) 67 ((unsigned long *)task->thread.regs)[regno] = data;
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc64/kernel/ |
H A D | ptrace.c | 47 static inline unsigned long get_reg(struct task_struct *task, int regno) argument 49 if (regno < sizeof(struct pt_regs) / sizeof(unsigned long)) 50 return ((unsigned long *)task->thread.regs)[regno]; 57 static inline int put_reg(struct task_struct *task, int regno, argument 60 if (regno < PT_SOFTE) { 61 if (regno == PT_MSR) 64 ((unsigned long *)task->thread.regs)[regno] = data;
|
H A D | ptrace32.c | 47 static inline unsigned long get_reg(struct task_struct *task, int regno) argument 49 if (regno < sizeof(struct pt_regs) / sizeof(unsigned long)) 50 return ((unsigned long *)task->thread.regs)[regno]; 58 static inline int put_reg(struct task_struct *task, int regno, unsigned long data) argument 60 if (regno < PT_SOFTE) 62 if (regno == PT_MSR) 64 ((unsigned long *)task->thread.regs)[regno] = data;
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/x86_64/kernel/ |
H A D | ptrace.c | 90 unsigned long regno, unsigned long value) 93 switch (regno) { 141 put_stack_long(child, regno - sizeof(struct pt_regs), value); 145 static unsigned long getreg(struct task_struct *child, unsigned long regno) argument 147 switch (regno) { 161 regno = regno - sizeof(struct pt_regs); 162 return get_stack_long(child, regno); 89 putreg(struct task_struct *child, unsigned long regno, unsigned long value) argument
|