tag | line | file | source code |
val | 63 | arch/alpha/kernel/bios32.c | #define ALIGN(val,align) (((val) + ((align) - 1)) & ~((align) - 1)) |
val | 286 | arch/alpha/kernel/traps.c | extern void alpha_write_fp_reg (unsigned long reg, unsigned long val); |
val | 112 | arch/alpha/math-emu/fp-emul.c | # define LDT(reg,val) \ |
val | 113 | arch/alpha/math-emu/fp-emul.c | asm volatile ("ldt $f"#reg",%0" :: "m"(val)); |
val | 115 | arch/alpha/math-emu/fp-emul.c | # define LDT(reg,val) \ |
val | 116 | arch/alpha/math-emu/fp-emul.c | asm volatile ("ldt $f"#reg",0(%0)" :: "r"(&val)); |
val | 120 | arch/alpha/math-emu/fp-emul.c | alpha_write_fp_reg (unsigned long reg, unsigned long val) |
val | 123 | arch/alpha/math-emu/fp-emul.c | case 0: LDT( 0, val); break; |
val | 124 | arch/alpha/math-emu/fp-emul.c | case 1: LDT( 1, val); break; |
val | 125 | arch/alpha/math-emu/fp-emul.c | case 2: LDT( 2, val); break; |
val | 126 | arch/alpha/math-emu/fp-emul.c | case 3: LDT( 3, val); break; |
val | 127 | arch/alpha/math-emu/fp-emul.c | case 4: LDT( 4, val); break; |
val | 128 | arch/alpha/math-emu/fp-emul.c | case 5: LDT( 5, val); break; |
val | 129 | arch/alpha/math-emu/fp-emul.c | case 6: LDT( 6, val); break; |
val | 130 | arch/alpha/math-emu/fp-emul.c | case 7: LDT( 7, val); break; |
val | 131 | arch/alpha/math-emu/fp-emul.c | case 8: LDT( 8, val); break; |
val | 132 | arch/alpha/math-emu/fp-emul.c | case 9: LDT( 9, val); break; |
val | 133 | arch/alpha/math-emu/fp-emul.c | case 10: LDT(10, val); break; |
val | 134 | arch/alpha/math-emu/fp-emul.c | case 11: LDT(11, val); break; |
val | 135 | arch/alpha/math-emu/fp-emul.c | case 12: LDT(12, val); break; |
val | 136 | arch/alpha/math-emu/fp-emul.c | case 13: LDT(13, val); break; |
val | 137 | arch/alpha/math-emu/fp-emul.c | case 14: LDT(14, val); break; |
val | 138 | arch/alpha/math-emu/fp-emul.c | case 15: LDT(15, val); break; |
val | 139 | arch/alpha/math-emu/fp-emul.c | case 16: LDT(16, val); break; |
val | 140 | arch/alpha/math-emu/fp-emul.c | case 17: LDT(17, val); break; |
val | 141 | arch/alpha/math-emu/fp-emul.c | case 18: LDT(18, val); break; |
val | 142 | arch/alpha/math-emu/fp-emul.c | case 19: LDT(19, val); break; |
val | 143 | arch/alpha/math-emu/fp-emul.c | case 20: LDT(20, val); break; |
val | 144 | arch/alpha/math-emu/fp-emul.c | case 21: LDT(21, val); break; |
val | 145 | arch/alpha/math-emu/fp-emul.c | case 22: LDT(22, val); break; |
val | 146 | arch/alpha/math-emu/fp-emul.c | case 23: LDT(23, val); break; |
val | 147 | arch/alpha/math-emu/fp-emul.c | case 24: LDT(24, val); break; |
val | 148 | arch/alpha/math-emu/fp-emul.c | case 25: LDT(25, val); break; |
val | 149 | arch/alpha/math-emu/fp-emul.c | case 26: LDT(26, val); break; |
val | 150 | arch/alpha/math-emu/fp-emul.c | case 27: LDT(27, val); break; |
val | 151 | arch/alpha/math-emu/fp-emul.c | case 28: LDT(28, val); break; |
val | 152 | arch/alpha/math-emu/fp-emul.c | case 29: LDT(29, val); break; |
val | 153 | arch/alpha/math-emu/fp-emul.c | case 30: LDT(30, val); break; |
val | 154 | arch/alpha/math-emu/fp-emul.c | case 31: LDT(31, val); break; |
val | 172 | arch/alpha/mm/init.c | void si_meminfo(struct sysinfo *val) |
val | 177 | arch/alpha/mm/init.c | val->totalram = 0; |
val | 178 | arch/alpha/mm/init.c | val->sharedram = 0; |
val | 179 | arch/alpha/mm/init.c | val->freeram = nr_free_pages << PAGE_SHIFT; |
val | 180 | arch/alpha/mm/init.c | val->bufferram = buffermem; |
val | 184 | arch/alpha/mm/init.c | val->totalram++; |
val | 187 | arch/alpha/mm/init.c | val->sharedram += mem_map[i].count-1; |
val | 189 | arch/alpha/mm/init.c | val->totalram <<= PAGE_SHIFT; |
val | 190 | arch/alpha/mm/init.c | val->sharedram <<= PAGE_SHIFT; |
val | 233 | arch/i386/kernel/vm86.c | #define pushb(base, ptr, val) \ |
val | 238 | arch/i386/kernel/vm86.c | : "r" (base), "q" (val), "0" (ptr)) |
val | 240 | arch/i386/kernel/vm86.c | #define pushw(base, ptr, val) \ |
val | 247 | arch/i386/kernel/vm86.c | : "r" (base), "q" (val), "0" (ptr)) |
val | 249 | arch/i386/kernel/vm86.c | #define pushl(base, ptr, val) \ |
val | 262 | arch/i386/kernel/vm86.c | : "r" (base), "q" (val), "0" (ptr)) |
val | 285 | arch/i386/mm/init.c | void si_meminfo(struct sysinfo *val) |
val | 290 | arch/i386/mm/init.c | val->totalram = 0; |
val | 291 | arch/i386/mm/init.c | val->sharedram = 0; |
val | 292 | arch/i386/mm/init.c | val->freeram = nr_free_pages << PAGE_SHIFT; |
val | 293 | arch/i386/mm/init.c | val->bufferram = buffermem; |
val | 297 | arch/i386/mm/init.c | val->totalram++; |
val | 300 | arch/i386/mm/init.c | val->sharedram += mem_map[i].count-1; |
val | 302 | arch/i386/mm/init.c | val->totalram <<= PAGE_SHIFT; |
val | 303 | arch/i386/mm/init.c | val->sharedram <<= PAGE_SHIFT; |
val | 556 | arch/m68k/amiga/amifb.c | #define CMOVE(val, reg) (CUSTOM_OFS(reg)<<16 | (val)) |
val | 557 | arch/m68k/amiga/amifb.c | #define CMOVE2(val, reg) ((CUSTOM_OFS(reg)+2)<<16 | (val)) |
val | 4240 | arch/m68k/amiga/amifb.c | #define CNVT_TOHW(val,width) ((((val)<<(width))+0x7fff-(val))>>16) |
val | 4241 | arch/m68k/amiga/amifb.c | #define CNVT_FROMHW(val,width) (((width) ? ((((val)<<16)-(val)) / \ |
val | 2127 | arch/m68k/atari/atafb.c | #define OUTB(port,val) \ |
val | 2128 | arch/m68k/atari/atafb.c | *((unsigned volatile char *) ((port)+external_vgaiobase))=(val) |
val | 2383 | arch/m68k/atari/atafb.c | #define CNVT_TOHW(val,width) (((val) << (width)) + 0x7fff - (val)) >> 16 |
val | 2384 | arch/m68k/atari/atafb.c | #define CNVT_FROMHW(val,width) ((width)?((((val) << 16) - (val)) / ((1<<(width))-1)):0) |
val | 114 | arch/m68k/atari/config.c | unsigned char val ) |
val | 131 | arch/m68k/atari/config.c | : "a" (regp), "r" (tmp_vectors), "d" (val) |
val | 147 | arch/m68k/atari/config.c | static int hwreg_write( volatile void *regp, unsigned short val ) |
val | 168 | arch/m68k/atari/config.c | : "a" (regp), "a" (tmp_vectors), "g" (val) |
val | 467 | arch/m68k/atari/config.c | mste_read(struct MSTE_RTC *val) |
val | 469 | arch/m68k/atari/config.c | #define COPY(v) val->v=(mste_rtc.v & 0xf) |
val | 477 | arch/m68k/atari/config.c | } while (val->sec_ones != (mste_rtc.sec_ones & 0xf)); |
val | 482 | arch/m68k/atari/config.c | mste_write(struct MSTE_RTC *val) |
val | 484 | arch/m68k/atari/config.c | #define COPY(v) mste_rtc.v=val->v |
val | 492 | arch/m68k/atari/config.c | } while (val->sec_ones != (mste_rtc.sec_ones & 0xf)); |
val | 503 | arch/m68k/atari/config.c | #define RTC_WRITE(reg,val) \ |
val | 506 | arch/m68k/atari/config.c | tt_rtc.data = (val); \ |
val | 514 | arch/m68k/atari/config.c | struct MSTE_RTC val; |
val | 520 | arch/m68k/atari/config.c | mste_read(&val); |
val | 521 | arch/m68k/atari/config.c | *secp = val.sec_ones + val.sec_tens * 10; |
val | 522 | arch/m68k/atari/config.c | *minp = val.min_ones + val.min_tens * 10; |
val | 524 | arch/m68k/atari/config.c | *hourp = val.hr_ones + val.hr_tens * 10; |
val | 526 | arch/m68k/atari/config.c | *hourp = val.hr_ones + (val.hr_tens & 1) * 10; |
val | 527 | arch/m68k/atari/config.c | if (val.hr_tens & 2) |
val | 530 | arch/m68k/atari/config.c | *dayp = val.day_ones + val.day_tens * 10; |
val | 531 | arch/m68k/atari/config.c | *monp = val.mon_ones + val.mon_tens * 10; |
val | 532 | arch/m68k/atari/config.c | *yearp = val.year_ones + val.year_tens * 10 + 80; |
val | 588 | arch/m68k/atari/config.c | struct MSTE_RTC val; |
val | 597 | arch/m68k/atari/config.c | val.sec_ones = t->sec % 10; |
val | 598 | arch/m68k/atari/config.c | val.sec_tens = t->sec / 10; |
val | 599 | arch/m68k/atari/config.c | val.min_ones = t->min % 10; |
val | 600 | arch/m68k/atari/config.c | val.min_tens = t->min / 10; |
val | 602 | arch/m68k/atari/config.c | val.hr_ones = hour % 10; |
val | 603 | arch/m68k/atari/config.c | val.hr_tens = hour / 10; |
val | 606 | arch/m68k/atari/config.c | val.hr_ones = hour % 10; |
val | 607 | arch/m68k/atari/config.c | val.hr_tens = (hour / 10) | 2; |
val | 609 | arch/m68k/atari/config.c | val.day_ones = t->day % 10; |
val | 610 | arch/m68k/atari/config.c | val.day_tens = t->day / 10; |
val | 611 | arch/m68k/atari/config.c | val.mon_ones = (t->mon+1) % 10; |
val | 612 | arch/m68k/atari/config.c | val.mon_tens = (t->mon+1) / 10; |
val | 614 | arch/m68k/atari/config.c | val.year_ones = year % 10; |
val | 615 | arch/m68k/atari/config.c | val.year_tens = year / 10; |
val | 616 | arch/m68k/atari/config.c | val.weekday = t->wday; |
val | 617 | arch/m68k/atari/config.c | mste_write(&val); |
val | 619 | arch/m68k/atari/config.c | val.year_ones = (year % 4); /* leap year register */ |
val | 623 | arch/m68k/atari/config.c | mste_read(&val); |
val | 624 | arch/m68k/atari/config.c | t->sec = val.sec_ones + val.sec_tens * 10; |
val | 625 | arch/m68k/atari/config.c | t->min = val.min_ones + val.min_tens * 10; |
val | 627 | arch/m68k/atari/config.c | t->hour = val.hr_ones + val.hr_tens * 10; |
val | 629 | arch/m68k/atari/config.c | t->hour = val.hr_ones + (val.hr_tens & 1) * 10; |
val | 630 | arch/m68k/atari/config.c | if (val.hr_tens & 2) |
val | 633 | arch/m68k/atari/config.c | t->day = val.day_ones + val.day_tens * 10; |
val | 634 | arch/m68k/atari/config.c | t->mon = val.mon_ones + val.mon_tens * 10 - 1; |
val | 635 | arch/m68k/atari/config.c | t->year = val.year_ones + val.year_tens * 10 + 80; |
val | 636 | arch/m68k/atari/config.c | t->wday = val.weekday; |
val | 760 | arch/m68k/atari/config.c | struct MSTE_RTC val; |
val | 763 | arch/m68k/atari/config.c | mste_read(&val); |
val | 764 | arch/m68k/atari/config.c | rtc_minutes= val.min_ones + val.min_tens * 10; |
val | 769 | arch/m68k/atari/config.c | val.sec_ones = real_seconds % 10; |
val | 770 | arch/m68k/atari/config.c | val.sec_tens = real_seconds / 10; |
val | 771 | arch/m68k/atari/config.c | val.min_ones = real_minutes % 10; |
val | 772 | arch/m68k/atari/config.c | val.min_tens = real_minutes / 10; |
val | 773 | arch/m68k/atari/config.c | mste_write(&val); |
val | 252 | arch/m68k/console/fbcon.c | static __inline__ void memclear_4p_col(void *d, size_t h, u_long val, int bpr); |
val | 265 | arch/m68k/console/fbcon.c | static __inline__ void memclear_2p_col(void *d, size_t h, u_short val, int bpr); |
val | 266 | arch/m68k/console/fbcon.c | static __inline__ void memset_even_2p(void *d, size_t count, u_long val); |
val | 961 | arch/m68k/console/fbcon.c | static __inline__ void memclear_4p_col(void *d, size_t h, u_long val, int bpr) |
val | 968 | arch/m68k/console/fbcon.c | : "0" (d), "1" (h - 1), "d" (val), "r" (bpr) |
val | 1262 | arch/m68k/console/fbcon.c | static __inline__ void memclear_2p_col(void *d, size_t h, u_short val, int bpr) |
val | 1269 | arch/m68k/console/fbcon.c | : "0" (d), "1" (h - 1), "d" (val), "r" (bpr) |
val | 1282 | arch/m68k/console/fbcon.c | static __inline__ void memset_even_2p(void *d, size_t count, u_long val) |
val | 1288 | arch/m68k/console/fbcon.c | *dd++ = val; |
val | 523 | arch/m68k/mm/init.c | void si_meminfo(struct sysinfo *val) |
val | 528 | arch/m68k/mm/init.c | val->totalram = 0; |
val | 529 | arch/m68k/mm/init.c | val->sharedram = 0; |
val | 530 | arch/m68k/mm/init.c | val->freeram = nr_free_pages << PAGE_SHIFT; |
val | 531 | arch/m68k/mm/init.c | val->bufferram = buffermem; |
val | 535 | arch/m68k/mm/init.c | val->totalram++; |
val | 538 | arch/m68k/mm/init.c | val->sharedram += mem_map[i].count-1; |
val | 540 | arch/m68k/mm/init.c | val->totalram <<= PAGE_SHIFT; |
val | 541 | arch/m68k/mm/init.c | val->sharedram <<= PAGE_SHIFT; |
val | 284 | arch/mips/mm/init.c | void si_meminfo(struct sysinfo *val) |
val | 289 | arch/mips/mm/init.c | val->totalram = 0; |
val | 290 | arch/mips/mm/init.c | val->sharedram = 0; |
val | 291 | arch/mips/mm/init.c | val->freeram = nr_free_pages << PAGE_SHIFT; |
val | 292 | arch/mips/mm/init.c | val->bufferram = buffermem; |
val | 296 | arch/mips/mm/init.c | val->totalram++; |
val | 299 | arch/mips/mm/init.c | val->sharedram += mem_map[i].count-1; |
val | 301 | arch/mips/mm/init.c | val->totalram <<= PAGE_SHIFT; |
val | 302 | arch/mips/mm/init.c | val->sharedram <<= PAGE_SHIFT; |
val | 28 | arch/ppc/kernel/pci.c | _LE_to_BE_long(unsigned long val) |
val | 30 | arch/ppc/kernel/pci.c | unsigned char *p = (unsigned char *)&val; |
val | 36 | arch/ppc/kernel/pci.c | _LE_to_BE_short(unsigned long val) |
val | 38 | arch/ppc/kernel/pci.c | unsigned char *p = (unsigned char *)&val; |
val | 54 | arch/ppc/kernel/pci.c | unsigned char dev, unsigned char offset, unsigned int *val) |
val | 64 | arch/ppc/kernel/pci.c | *val = 0xFFFFFFFF; |
val | 77 | arch/ppc/kernel/pci.c | *val = _val; |
val | 83 | arch/ppc/kernel/pci.c | unsigned char dev, unsigned char offset, unsigned short *val) |
val | 93 | arch/ppc/kernel/pci.c | *val =(unsigned short) 0xFFFFFFFF; |
val | 106 | arch/ppc/kernel/pci.c | *val = _val; |
val | 112 | arch/ppc/kernel/pci.c | unsigned char dev, unsigned char offset, unsigned char *val) |
val | 122 | arch/ppc/kernel/pci.c | *val = (unsigned char) 0xFFFFFFFF; |
val | 135 | arch/ppc/kernel/pci.c | *val = _val; |
val | 141 | arch/ppc/kernel/pci.c | unsigned char dev, unsigned char offset, unsigned int val) |
val | 146 | arch/ppc/kernel/pci.c | _val = _LE_to_BE_long(val); |
val | 163 | arch/ppc/kernel/pci.c | unsigned char dev, unsigned char offset, unsigned short val) |
val | 168 | arch/ppc/kernel/pci.c | _val = _LE_to_BE_short(val); |
val | 185 | arch/ppc/kernel/pci.c | unsigned char dev, unsigned char offset, unsigned char val) |
val | 190 | arch/ppc/kernel/pci.c | _val = val; |
val | 41 | arch/ppc/kernel/port_io.c | outb(unsigned char val,int port) |
val | 43 | arch/ppc/kernel/port_io.c | *((unsigned char *)(_IO_BASE+port)) = (val); |
val | 44 | arch/ppc/kernel/port_io.c | return (val); |
val | 48 | arch/ppc/kernel/port_io.c | outw(unsigned short val,int port) |
val | 50 | arch/ppc/kernel/port_io.c | *((unsigned short *)(_IO_BASE+port)) = _LE_to_BE_short(val); |
val | 51 | arch/ppc/kernel/port_io.c | return (val); |
val | 55 | arch/ppc/kernel/port_io.c | outl(unsigned long val,int port) |
val | 57 | arch/ppc/kernel/port_io.c | *((unsigned long *)(_IO_BASE+port)) = _LE_to_BE_long(val); |
val | 58 | arch/ppc/kernel/port_io.c | return (val); |
val | 70 | arch/ppc/kernel/port_io.c | unsigned char outb_p(unsigned char val,int port) { return (outb(val,port)); } |
val | 71 | arch/ppc/kernel/port_io.c | unsigned short outw_p(unsigned short val,int port) { return (outw(val,port)); } |
val | 72 | arch/ppc/kernel/port_io.c | unsigned long outl_p(unsigned long val,int port) { return (outl(val,port)); } |
val | 21 | arch/ppc/kernel/raw_printf.c | static _cvt(unsigned long val, char *buf, long radix, char *digits); |
val | 110 | arch/ppc/kernel/raw_printf.c | long val; |
val | 154 | arch/ppc/kernel/raw_printf.c | val = va_arg(ap, long); |
val | 158 | arch/ppc/kernel/raw_printf.c | if (val < 0) |
val | 161 | arch/ppc/kernel/raw_printf.c | val = -val; |
val | 163 | arch/ppc/kernel/raw_printf.c | length = _cvt(val, buf, 10, "0123456789"); |
val | 166 | arch/ppc/kernel/raw_printf.c | length = _cvt(val, buf, 16, "0123456789abcdef"); |
val | 169 | arch/ppc/kernel/raw_printf.c | length = _cvt(val, buf, 16, "0123456789ABCDEF"); |
val | 239 | arch/ppc/kernel/raw_printf.c | static _cvt(unsigned long val, char *buf, long radix, char *digits) |
val | 244 | arch/ppc/kernel/raw_printf.c | if (val == 0) |
val | 248 | arch/ppc/kernel/raw_printf.c | while (val) |
val | 250 | arch/ppc/kernel/raw_printf.c | *cp++ = digits[val % radix]; |
val | 251 | arch/ppc/kernel/raw_printf.c | val /= radix; |
val | 262 | arch/ppc/mm/init.c | void si_meminfo(struct sysinfo *val) |
val | 268 | arch/ppc/mm/init.c | val->totalram = 0; |
val | 269 | arch/ppc/mm/init.c | val->sharedram = 0; |
val | 270 | arch/ppc/mm/init.c | val->freeram = nr_free_pages << PAGE_SHIFT; |
val | 271 | arch/ppc/mm/init.c | val->bufferram = buffermem; |
val | 275 | arch/ppc/mm/init.c | val->totalram++; |
val | 278 | arch/ppc/mm/init.c | val->sharedram += mem_map[i]-1; |
val | 280 | arch/ppc/mm/init.c | val->totalram <<= PAGE_SHIFT; |
val | 281 | arch/ppc/mm/init.c | val->sharedram <<= PAGE_SHIFT; |
val | 109 | arch/sparc/kernel/smp.c | static inline unsigned long swap(volatile unsigned long *ptr, unsigned long val) |
val | 112 | arch/sparc/kernel/smp.c | "=&r" (val), "=&r" (ptr) : |
val | 113 | arch/sparc/kernel/smp.c | "0" (val), "1" (ptr)); |
val | 114 | arch/sparc/kernel/smp.c | return val; |
val | 153 | arch/sparc/kernel/time.c | #define BCD_TO_BIN(val) (((val)&15) + ((val)>>4)*10) |
val | 157 | arch/sparc/kernel/time.c | #define BIN_TO_BCD(val) ((((val)/10)<<4) + (val)%10) |
val | 234 | arch/sparc/mm/init.c | void si_meminfo(struct sysinfo *val) |
val | 239 | arch/sparc/mm/init.c | val->totalram = 0; |
val | 240 | arch/sparc/mm/init.c | val->sharedram = 0; |
val | 241 | arch/sparc/mm/init.c | val->freeram = nr_free_pages << PAGE_SHIFT; |
val | 242 | arch/sparc/mm/init.c | val->bufferram = buffermem; |
val | 246 | arch/sparc/mm/init.c | val->totalram++; |
val | 249 | arch/sparc/mm/init.c | val->sharedram += mem_map[i].count-1; |
val | 251 | arch/sparc/mm/init.c | val->totalram <<= PAGE_SHIFT; |
val | 252 | arch/sparc/mm/init.c | val->sharedram <<= PAGE_SHIFT; |
val | 232 | drivers/block/ataflop.c | #define FDC_WRITE(reg,val) \ |
val | 238 | drivers/block/ataflop.c | dma_wd.fdc_acces_seccount = (val); \ |
val | 629 | drivers/block/ataflop.c | #define FILL(n,val) \ |
val | 631 | drivers/block/ataflop.c | memset( p, val, n ); \ |
val | 112 | drivers/block/cmd640.c | static void (*put_cmd640_reg)(int reg_no, int val); |
val | 128 | drivers/block/cmd640.c | static void put_cmd640_reg_pci1(int reg_no, int val) |
val | 135 | drivers/block/cmd640.c | outb_p(val, (reg_no & 3) + 0xcfc); |
val | 154 | drivers/block/cmd640.c | static void put_cmd640_reg_pci2(int reg_no, int val) |
val | 161 | drivers/block/cmd640.c | outb_p(val, cmd640_key + reg_no); |
val | 182 | drivers/block/cmd640.c | static void put_cmd640_reg_vlb(int reg_no, int val) |
val | 189 | drivers/block/cmd640.c | outb_p(val, cmd640_key + 0xc); |
val | 526 | drivers/cdrom/cdu31a.c | unsigned char val; |
val | 536 | drivers/cdrom/cdu31a.c | val = read_result_register(); |
val | 544 | drivers/cdrom/cdu31a.c | val = read_data_register(); |
val | 927 | drivers/cdrom/cdu31a.c | volatile int val; |
val | 985 | drivers/cdrom/cdu31a.c | val = read_result_register(); |
val | 992 | drivers/cdrom/cdu31a.c | val = read_data_register(); |
val | 1005 | drivers/cdrom/cdu31a.c | int_to_bcd(unsigned int val) |
val | 1010 | drivers/cdrom/cdu31a.c | retval = (val / 10) << 4; |
val | 1011 | drivers/cdrom/cdu31a.c | retval = retval | val % 10; |
val | 1153 | drivers/cdrom/cdu31a.c | volatile int val; |
val | 1165 | drivers/cdrom/cdu31a.c | val = read_result_register(); |
val | 1172 | drivers/cdrom/cdu31a.c | val = read_data_register(); |
val | 1212 | drivers/cdrom/cdu31a.c | volatile unsigned char val; |
val | 1221 | drivers/cdrom/cdu31a.c | val = read_data_register(); |
val | 1260 | drivers/cdrom/cdu31a.c | val = read_data_register(); |
val | 193 | drivers/cdrom/sonycd535.c | static inline unsigned int int_to_bcd(unsigned int val); |
val | 710 | drivers/cdrom/sonycd535.c | int_to_bcd(unsigned int val) |
val | 714 | drivers/cdrom/sonycd535.c | retval = (val / 10) << 4; |
val | 715 | drivers/cdrom/sonycd535.c | retval = retval | val % 10; |
val | 409 | drivers/char/apm_bios.c | static int apm_driver_version(u_short *val) |
val | 413 | drivers/char/apm_bios.c | APM_DRIVER_VERSION(*val, *val, error); |
val | 416 | drivers/char/apm_bios.c | return (*val >> 8); |
val | 1754 | drivers/char/istallion.c | unsigned long val; |
val | 1779 | drivers/char/istallion.c | val = 250; |
val | 1780 | drivers/char/istallion.c | rc = stli_cmdwait(brdp, portp, A_BREAK, &val, sizeof(unsigned long), 0); |
val | 1787 | drivers/char/istallion.c | val = (arg ? (arg * 100) : 250); |
val | 1788 | drivers/char/istallion.c | rc = stli_cmdwait(brdp, portp, A_BREAK, &val, sizeof(unsigned long), 0); |
val | 1805 | drivers/char/istallion.c | val = stli_mktiocm(portp->asig.sigvalue); |
val | 1806 | drivers/char/istallion.c | put_fs_long(val, (unsigned long *) arg); |
val | 2855 | drivers/char/istallion.c | unsigned char val; |
val | 2864 | drivers/char/istallion.c | val = 0; |
val | 2867 | drivers/char/istallion.c | val = (unsigned char) (offset / ECP_ATPAGESIZE); |
val | 2869 | drivers/char/istallion.c | outb(val, (brdp->iobase + ECP_ATMEMPR)); |
val | 2942 | drivers/char/istallion.c | unsigned char val; |
val | 2951 | drivers/char/istallion.c | val = 0; |
val | 2955 | drivers/char/istallion.c | val = ECP_EIENABLE; |
val | 2957 | drivers/char/istallion.c | val = ECP_EIENABLE | 0x40; |
val | 2959 | drivers/char/istallion.c | outb(val, (brdp->iobase + ECP_EICONFR)); |
val | 2996 | drivers/char/istallion.c | unsigned char val; |
val | 3001 | drivers/char/istallion.c | val = 0; |
val | 3004 | drivers/char/istallion.c | val = ((unsigned char) (offset / ECP_MCPAGESIZE)) | ECP_MCENABLE; |
val | 3006 | drivers/char/istallion.c | outb(val, (brdp->iobase + ECP_MCCONFR)); |
val | 3158 | drivers/char/istallion.c | unsigned char val; |
val | 3167 | drivers/char/istallion.c | val = 0; |
val | 3171 | drivers/char/istallion.c | val = ONB_EIENABLE; |
val | 3173 | drivers/char/istallion.c | val = ONB_EIENABLE | 0x40; |
val | 3175 | drivers/char/istallion.c | outb(val, (brdp->iobase + ONB_EICONFR)); |
val | 3224 | drivers/char/istallion.c | unsigned char val; |
val | 3233 | drivers/char/istallion.c | val = 0; |
val | 3236 | drivers/char/istallion.c | val = (unsigned char) (offset / BBY_PAGESIZE); |
val | 3238 | drivers/char/istallion.c | outb(val, (brdp->iobase + BBY_ATCONFR)); |
val | 680 | drivers/char/keyb_m68k.c | int i, j, k, sym, val; |
val | 693 | drivers/char/keyb_m68k.c | val = KVAL(sym); |
val | 694 | drivers/char/keyb_m68k.c | if (val == KVAL(K_CAPSSHIFT)) |
val | 695 | drivers/char/keyb_m68k.c | val = KVAL(K_SHIFT); |
val | 696 | drivers/char/keyb_m68k.c | k_down[val]++; |
val | 697 | drivers/char/keyb_m68k.c | shift_state |= (1<<val); |
val | 993 | drivers/char/keyboard.c | int i, j, k, sym, val; |
val | 1006 | drivers/char/keyboard.c | val = KVAL(sym); |
val | 1007 | drivers/char/keyboard.c | if (val == KVAL(K_CAPSSHIFT)) |
val | 1008 | drivers/char/keyboard.c | val = KVAL(K_SHIFT); |
val | 1009 | drivers/char/keyboard.c | k_down[val]++; |
val | 1010 | drivers/char/keyboard.c | shift_state |= (1<<val); |
val | 142 | drivers/char/psaux.c | static void aux_write_dev(int val) |
val | 147 | drivers/char/psaux.c | outb_p(val,AUX_OUTPUT_PORT); /* write data */ |
val | 154 | drivers/char/psaux.c | static int aux_write_ack(int val) |
val | 161 | drivers/char/psaux.c | outb_p(val,AUX_OUTPUT_PORT); |
val | 176 | drivers/char/psaux.c | static void aux_write_cmd(int val) |
val | 181 | drivers/char/psaux.c | outb_p(val,AUX_OUTPUT_PORT); |
val | 171 | drivers/char/riscom8.c | unsigned char val) |
val | 173 | drivers/char/riscom8.c | outb(val, bp->base + RC_TO_ISA(reg)); |
val | 403 | drivers/char/rtc.c | unsigned char val; |
val | 428 | drivers/char/rtc.c | val = CMOS_READ(RTC_FREQ_SELECT) & 0xf0; |
val | 431 | drivers/char/rtc.c | CMOS_WRITE(val, RTC_FREQ_SELECT); |
val | 436 | drivers/char/rtc.c | val |= (16 - tmp); |
val | 437 | drivers/char/rtc.c | CMOS_WRITE(val, RTC_FREQ_SELECT); |
val | 723 | drivers/char/rtc.c | unsigned char val; |
val | 728 | drivers/char/rtc.c | val = CMOS_READ(RTC_CONTROL); |
val | 729 | drivers/char/rtc.c | val &= ~bit; |
val | 730 | drivers/char/rtc.c | CMOS_WRITE(val, RTC_CONTROL); |
val | 738 | drivers/char/rtc.c | unsigned char val; |
val | 743 | drivers/char/rtc.c | val = CMOS_READ(RTC_CONTROL); |
val | 744 | drivers/char/rtc.c | val |= bit; |
val | 745 | drivers/char/rtc.c | CMOS_WRITE(val, RTC_CONTROL); |
val | 295 | drivers/char/scc.c | OutReg(register io_port port, register unsigned char reg, register unsigned char val) |
val | 299 | drivers/char/scc.c | Outb(port, val); udelay(SCC_LDELAY); |
val | 302 | drivers/char/scc.c | Outb(port, val); |
val | 307 | drivers/char/scc.c | wr(register struct scc_channel *scc, register unsigned char reg, register unsigned char val) |
val | 309 | drivers/char/scc.c | OutReg(scc->ctrl, reg, (scc->wreg[reg] = val)); |
val | 313 | drivers/char/scc.c | or(register struct scc_channel *scc, register unsigned char reg, register unsigned char val) |
val | 315 | drivers/char/scc.c | OutReg(scc->ctrl, reg, (scc->wreg[reg] |= val)); |
val | 319 | drivers/char/scc.c | cl(register struct scc_channel *scc, register unsigned char reg, register unsigned char val) |
val | 321 | drivers/char/scc.c | OutReg(scc->ctrl, reg, (scc->wreg[reg] &= ~val)); |
val | 1593 | drivers/char/scc.c | kiss_set_param(struct scc_channel *scc,char cmd, unsigned int val) |
val | 1596 | drivers/char/scc.c | #define VAL val=val*TPS/100 |
val | 1597 | drivers/char/scc.c | #define SVAL val? val:TIMER_STOPPED |
val | 1603 | drivers/char/scc.c | scc->kiss.persist = val; break; |
val | 1609 | drivers/char/scc.c | scc->kiss.fulldup = val; break; |
val | 1617 | drivers/char/scc.c | scc->kiss.idletime = val; break; |
val | 1621 | drivers/char/scc.c | scc->kiss.group = val; break; |
val | 1623 | drivers/char/scc.c | scc->kiss.tx_inhibit = val; |
val | 1625 | drivers/char/scc.c | scc->kiss.softdcd = val; |
val | 87 | drivers/char/selection.h | static inline void scr_writew(unsigned short val, unsigned short * addr) |
val | 93 | drivers/char/selection.h | *addr = val; |
val | 96 | drivers/char/selection.h | tga_blitc(val, (unsigned long) addr); |
val | 120 | drivers/char/selection.h | static inline void scr_writeb(unsigned char val, unsigned char * addr) |
val | 123 | drivers/char/selection.h | *addr = val; |
val | 125 | drivers/char/selection.h | writeb(val, (unsigned long) addr); |
val | 135 | drivers/char/selection.h | static inline void scr_writew(unsigned short val, unsigned short * addr) |
val | 138 | drivers/char/selection.h | *addr = val; |
val | 140 | drivers/char/selection.h | writew(val, (unsigned long) addr); |
val | 156 | drivers/char/selection.h | static inline void scr_writeb(unsigned char val, unsigned char * addr) |
val | 158 | drivers/char/selection.h | *addr = val; |
val | 166 | drivers/char/selection.h | static inline void scr_writew(unsigned short val, unsigned short * addr) |
val | 168 | drivers/char/selection.h | *addr = val; |
val | 1125 | drivers/char/stallion.c | unsigned long val; |
val | 1166 | drivers/char/stallion.c | val = (unsigned long) stl_getsignals(portp); |
val | 1167 | drivers/char/stallion.c | put_fs_long(val, (unsigned long *) arg); |
val | 416 | drivers/char/vt.c | ushort *key_map, val; |
val | 428 | drivers/char/vt.c | val = U(key_map[i]); |
val | 429 | drivers/char/vt.c | if (kbd->kbdmode != VC_UNICODE && KTYP(val) >= NR_TYPES) |
val | 430 | drivers/char/vt.c | val = K_HOLE; |
val | 432 | drivers/char/vt.c | val = (i ? K_HOLE : K_NOSUCHMAP); |
val | 433 | drivers/char/vt.c | put_user(val, &a->kb_value); |
val | 62 | drivers/char/wdt.c | static void wdt_ctr_load(int ctr, int val) |
val | 64 | drivers/char/wdt.c | outb_p(val&0xFF, WDT_COUNT0+ctr); |
val | 65 | drivers/char/wdt.c | outb_p(val>>8, WDT_COUNT0+ctr); |
val | 162 | drivers/isdn/icn/icn.c | unsigned long val, |
val | 171 | drivers/isdn/icn/icn.c | OUTB_P((u_char) ((val >> s) & 1) ? 0xff : 0, port); |
val | 261 | drivers/isdn/isdn_ppp.c | static int get_arg(void *b, unsigned long *val) |
val | 266 | drivers/isdn/isdn_ppp.c | memcpy_fromfs((void *) val, b, sizeof(unsigned long)); |
val | 270 | drivers/isdn/isdn_ppp.c | static int set_arg(void *b, unsigned long val) |
val | 275 | drivers/isdn/isdn_ppp.c | memcpy_tofs(b, (void *) &val, sizeof(unsigned long)); |
val | 281 | drivers/isdn/isdn_ppp.c | unsigned long val; |
val | 300 | drivers/isdn/isdn_ppp.c | if ((r = get_arg((void *) arg, &val))) |
val | 303 | drivers/isdn/isdn_ppp.c | (int) minor, (int) ippp_table[minor]->unit, (int) val); |
val | 304 | drivers/isdn/isdn_ppp.c | return isdn_ppp_bundle(minor, val); |
val | 318 | drivers/isdn/isdn_ppp.c | if ((r = get_arg((void *) arg, &val))) |
val | 320 | drivers/isdn/isdn_ppp.c | ippp_table[minor]->mpppcfg = val; |
val | 327 | drivers/isdn/isdn_ppp.c | if ((r = get_arg((void *) arg, &val))) { |
val | 330 | drivers/isdn/isdn_ppp.c | if (val & SC_ENABLE_IP && !(ippp_table[minor]->pppcfg & SC_ENABLE_IP)) { |
val | 334 | drivers/isdn/isdn_ppp.c | ippp_table[minor]->pppcfg = val; |
val | 343 | drivers/isdn/isdn_ppp.c | if ((r = get_arg((void *) arg, &val))) |
val | 345 | drivers/isdn/isdn_ppp.c | ippp_table[minor]->mru = val; |
val | 352 | drivers/isdn/isdn_ppp.c | if ((r = get_arg((void *) arg, &val))) |
val | 354 | drivers/isdn/isdn_ppp.c | ippp_table[minor]->maxcid = val; |
val | 226 | drivers/isdn/pcbit/layer2.h | unsigned char val; |
val | 228 | drivers/isdn/pcbit/layer2.h | val = readb(dev->readptr++); |
val | 232 | drivers/isdn/pcbit/layer2.h | return val; |
val | 238 | drivers/isdn/pcbit/layer2.h | unsigned short val; |
val | 243 | drivers/isdn/pcbit/layer2.h | val = readw(dev->readptr); |
val | 247 | drivers/isdn/pcbit/layer2.h | val = readb(dev->readptr); |
val | 249 | drivers/isdn/pcbit/layer2.h | val = (readb(dev->readptr++) << 8) | val; |
val | 252 | drivers/isdn/pcbit/layer2.h | val = readw(dev->readptr); |
val | 256 | drivers/isdn/pcbit/layer2.h | return val; |
val | 30 | drivers/isdn/teles/card.c | #define byteout(addr,val) outb_p(val,addr) |
val | 60 | drivers/isdn/teles/card.c | #define WRITEISAC(mbase,ibase,ofs,val) \ |
val | 61 | drivers/isdn/teles/card.c | ((mbase)?writeisac_0(mbase,ofs,val):writeisac_3(ibase,ofs,val)) |
val | 403 | drivers/isdn/teles/card.c | hscx_interrupt(struct IsdnCardState *sp, byte val, byte hscx) |
val | 412 | drivers/isdn/teles/card.c | if (val & 0x80) { /* RME */ |
val | 453 | drivers/isdn/teles/card.c | if (val & 0x40) { /* RPF */ |
val | 475 | drivers/isdn/teles/card.c | if (val & 0x10) { /* XPR */ |
val | 676 | drivers/isdn/teles/card.c | byte val, val2, r; |
val | 687 | drivers/isdn/teles/card.c | val = READHSCX(sp->membase, sp->iobase, 1, HSCX_ISTA); |
val | 689 | drivers/isdn/teles/card.c | if (val & 0x01) { |
val | 696 | drivers/isdn/teles/card.c | if (val & 0xf8) { |
val | 698 | drivers/isdn/teles/card.c | printk(KERN_DEBUG "HSCX B interrupt %x\n", val); |
val | 699 | drivers/isdn/teles/card.c | hscx_interrupt(sp, val, 1); |
val | 701 | drivers/isdn/teles/card.c | if (val & 0x02) { |
val | 708 | drivers/isdn/teles/card.c | if (val & 0x04) { |
val | 709 | drivers/isdn/teles/card.c | val = readhscx_0(sp->membase, 0, HSCX_ISTA); |
val | 712 | drivers/isdn/teles/card.c | val); |
val | 713 | drivers/isdn/teles/card.c | hscx_interrupt(sp, val, 0); |
val | 719 | drivers/isdn/teles/card.c | if (val & 0x04) { |
val | 728 | drivers/isdn/teles/card.c | val = READISAC(sp->membase, sp->iobase, ISAC_ISTA); |
val | 731 | drivers/isdn/teles/card.c | printk(KERN_DEBUG "ISAC interrupt %x\n", val); |
val | 733 | drivers/isdn/teles/card.c | if (val & 0x80) { /* RME */ |
val | 769 | drivers/isdn/teles/card.c | if (val & 0x40) { /* RPF */ |
val | 784 | drivers/isdn/teles/card.c | if (val & 0x20) { |
val | 786 | drivers/isdn/teles/card.c | if (val & 0x10) { /* XPR */ |
val | 804 | drivers/isdn/teles/card.c | if (val & 0x04) { /* CISQ */ |
val | 1041 | drivers/isdn/teles/card.c | byte cfval, val; |
val | 1116 | drivers/isdn/teles/card.c | val = bytein(card->iobase + 2); /* 0x1e=without AB |
val | 1119 | drivers/isdn/teles/card.c | if (val != 0x1e && val != 0x1f) { |
val | 224 | drivers/net/3c505.c | static inline void outb_control(unsigned char val, unsigned int base_addr) |
val | 226 | drivers/net/3c505.c | outb(val, base_addr + PORT_CONTROL); |
val | 229 | drivers/net/3c505.c | static inline void outb_command(unsigned char val, unsigned int base_addr) |
val | 231 | drivers/net/3c505.c | outb(val, base_addr + PORT_COMMAND); |
val | 239 | drivers/net/3c505.c | static inline void outw_data(unsigned int val, unsigned int base_addr) |
val | 241 | drivers/net/3c505.c | outw(val, base_addr + PORT_DATA); |
val | 172 | drivers/net/dgrs.c | ulong val; |
val | 173 | drivers/net/dgrs.c | val = inl(dev->base_addr + PLX_MISC_CSR); |
val | 175 | drivers/net/dgrs.c | val |= SE6_RESET; |
val | 177 | drivers/net/dgrs.c | val &= ~SE6_RESET; |
val | 178 | drivers/net/dgrs.c | OUTL(dev->base_addr + PLX_MISC_CSR, val); |
val | 172 | drivers/net/dgrs_driver.c | ulong val; |
val | 173 | drivers/net/dgrs_driver.c | val = inl(dev->base_addr + PLX_MISC_CSR); |
val | 175 | drivers/net/dgrs_driver.c | val |= SE6_RESET; |
val | 177 | drivers/net/dgrs_driver.c | val &= ~SE6_RESET; |
val | 178 | drivers/net/dgrs_driver.c | OUTL(dev->base_addr + PLX_MISC_CSR, val); |
val | 403 | drivers/net/ewrk3.c | short val; |
val | 407 | drivers/net/ewrk3.c | tmp.val = (short)Read_EEPROM(iobase, (i>>1)); |
val | 1682 | drivers/net/ewrk3.c | u_short val[(HASH_TABLE_LEN * ETH_ALEN) >> 1]; |
val | 1832 | drivers/net/ewrk3.c | tmp.val[i] = (short)Read_EEPROM(iobase, i); |
val | 1853 | drivers/net/ewrk3.c | Write_EEPROM(tmp.val[i], iobase, i); |
val | 204 | drivers/net/fmv18x.c | unsigned char val = inb(ioaddr + FJ_MACADDR + i); |
val | 205 | drivers/net/fmv18x.c | printk("%02x", val); |
val | 206 | drivers/net/fmv18x.c | dev->dev_addr[i] = val; |
val | 578 | drivers/net/hp100.c | u_short val; |
val | 655 | drivers/net/hp100.c | val = hp100_inw( IRQ_STATUS ); |
val | 656 | drivers/net/hp100.c | hp100_outw( val & HP100_TX_COMPLETE, IRQ_STATUS ); |
val | 658 | drivers/net/hp100.c | printk( "hp100_start_xmit: irq_status = 0x%x, len = %d\n", val, (int)skb -> len ); |
val | 814 | drivers/net/hp100.c | u_short val; |
val | 818 | drivers/net/hp100.c | val = hp100_inw( DROPPED ) & 0x0fff; |
val | 819 | drivers/net/hp100.c | lp -> stats.rx_errors += val; |
val | 820 | drivers/net/hp100.c | lp -> stats.rx_over_errors += val; |
val | 821 | drivers/net/hp100.c | val = hp100_inb( CRC ); |
val | 822 | drivers/net/hp100.c | lp -> stats.rx_errors += val; |
val | 823 | drivers/net/hp100.c | lp -> stats.rx_crc_errors += val; |
val | 824 | drivers/net/hp100.c | val = hp100_inb( ABORT ); |
val | 825 | drivers/net/hp100.c | lp -> stats.tx_errors += val; |
val | 826 | drivers/net/hp100.c | lp -> stats.tx_aborted_errors += val; |
val | 898 | drivers/net/hp100.c | u_short val; |
val | 907 | drivers/net/hp100.c | val = hp100_inw( IRQ_STATUS ); |
val | 909 | drivers/net/hp100.c | printk( "hp100_interrupt: irq_status = 0x%x\n", val ); |
val | 911 | drivers/net/hp100.c | if ( val & HP100_RX_PACKET ) |
val | 916 | drivers/net/hp100.c | if ( val & (HP100_TX_SPACE_AVAIL | HP100_TX_COMPLETE) ) |
val | 918 | drivers/net/hp100.c | hp100_outw( val & (HP100_TX_SPACE_AVAIL | HP100_TX_COMPLETE), IRQ_STATUS ); |
val | 920 | drivers/net/hp100.c | if ( val & ( HP100_TX_ERROR | HP100_RX_ERROR ) ) |
val | 924 | drivers/net/hp100.c | hp100_outw( val & (HP100_TX_ERROR | HP100_RX_ERROR), IRQ_STATUS ); |
val | 964 | drivers/net/hp100.c | u_short val; |
val | 968 | drivers/net/hp100.c | val = hp100_inw( OPTION_LSW ); |
val | 973 | drivers/net/hp100.c | if ( !(val & HP100_HW_RST) ) return; |
val | 974 | drivers/net/hp100.c | for ( val = 0; val < 6000; val++ ) |
val | 1049 | drivers/net/hp100.c | u_short val; |
val | 1085 | drivers/net/hp100.c | val = hp100_inw( LAN_CFG_VG ); |
val | 1086 | drivers/net/hp100.c | if ( ( val & ( HP100_LINK_UP_ST | HP100_LINK_GOOD_ST ) ) == |
val | 1090 | drivers/net/hp100.c | if ( val & HP100_LINK_GOOD_ST ) |
val | 112 | drivers/net/ni65.c | #define writereg(val,reg) {outw(reg,PORT+L_ADDRREG);inw(PORT+L_ADDRREG); \ |
val | 113 | drivers/net/ni65.c | outw(val,PORT+L_DATAREG);inw(PORT+L_DATAREG);} |
val | 116 | drivers/net/ni65.c | #define writedatareg(val) {outw(val,PORT+L_DATAREG);inw(PORT+L_DATAREG);} |
val | 179 | drivers/net/pi2.c | static inline void wrtscc(int cbase, int ctl, int sccreg, int val) |
val | 184 | drivers/net/pi2.c | outb_p(val, ctl); /* Output value */ |
val | 138 | drivers/net/pt.c | static void send_kiss(struct device *dev, unsigned char arg, unsigned char val); |
val | 154 | drivers/net/pt.c | static inline void wrtscc(int cbase, int ctl, int sccreg, unsigned char val) |
val | 157 | drivers/net/pt.c | outb_p(val, ctl); /* Output value */ |
val | 1808 | drivers/net/pt.c | static void send_kiss(struct device *dev, unsigned char arg, unsigned char val) |
val | 1824 | drivers/net/pt.c | cfix[1]=val; |
val | 447 | drivers/net/tulip.c | #define tio_write(val, port) outl(val, ioaddr + port) |
val | 482 | drivers/net/tulip.c | unsigned short val = 0; |
val | 505 | drivers/net/tulip.c | val = (val << 1) |
val | 513 | drivers/net/tulip.c | *p ++ = val; |
val | 514 | drivers/net/tulip.c | *p ++ = val >> 8; |
val | 536 | drivers/pci/pci.c | unsigned char val; |
val | 547 | drivers/pci/pci.c | pcibios_read_config_byte(bus, devfn, bmap->addr, &val); |
val | 548 | drivers/pci/pci.c | if ((val & bmap->mask) == bmap->value) { |
val | 553 | drivers/pci/pci.c | (val | bmap->mask) |
val | 562 | drivers/pci/pci.c | (val & (0xff - bmap->mask)) |
val | 904 | drivers/sbus/char/sunkbd.c | int i, j, k, sym, val; |
val | 917 | drivers/sbus/char/sunkbd.c | val = KVAL(sym); |
val | 918 | drivers/sbus/char/sunkbd.c | if (val == KVAL(K_CAPSSHIFT)) |
val | 919 | drivers/sbus/char/sunkbd.c | val = KVAL(K_SHIFT); |
val | 920 | drivers/sbus/char/sunkbd.c | k_down[val]++; |
val | 921 | drivers/sbus/char/sunkbd.c | shift_state |= (1<<val); |
val | 524 | drivers/scsi/advansys.c | #define iseven_word( val ) ( ( ( ( uint )val) & ( uint )0x0001 ) == 0 ) |
val | 525 | drivers/scsi/advansys.c | #define isodd_word( val ) ( ( ( ( uint )val) & ( uint )0x0001 ) != 0 ) |
val | 526 | drivers/scsi/advansys.c | #define toeven_word( val ) ( ( ( uint )val ) & ( uint )0xFFFE ) |
val | 528 | drivers/scsi/advansys.c | #define biton( val, bits ) ((( uint )( val >> bits ) & (uint)0x0001 ) != 0 ) |
val | 529 | drivers/scsi/advansys.c | #define bitoff( val, bits ) ((( uint )( val >> bits ) & (uint)0x0001 ) == 0 ) |
val | 530 | drivers/scsi/advansys.c | #define lbiton( val, bits ) ((( ulong )( val >> bits ) & (ulong)0x00000001UL ) != 0 ) |
val | 531 | drivers/scsi/advansys.c | #define lbitoff( val, bits ) ((( ulong )( val >> bits ) & (ulong)0x00000001UL ) == 0 ) |
val | 533 | drivers/scsi/advansys.c | #define absh( val ) ( ( val ) < 0 ? -( val ) : ( val ) ) |
val | 1701 | drivers/scsi/advansys.c | #define AscPutVarFreeQHead( port, val ) AscWriteLramWord( port, ASCV_FREE_Q_HEAD_W, val ) |
val | 1702 | drivers/scsi/advansys.c | #define AscPutVarDoneQTail( port, val ) AscWriteLramWord( port, ASCV_DONE_Q_TAIL_W, val ) |
val | 1706 | drivers/scsi/advansys.c | #define AscPutRiscVarFreeQHead( port, val ) AscWriteLramByte( port, ASCV_NEXTRDY_B, val ) |
val | 1707 | drivers/scsi/advansys.c | #define AscPutRiscVarDoneQTail( port, val ) AscWriteLramByte( port, ASCV_DONENEXT_B, val ) |
val | 7537 | drivers/scsi/advansys.c | uchar val; |
val | 7539 | drivers/scsi/advansys.c | val = AscGetChipControl(iop_base) & |
val | 7542 | drivers/scsi/advansys.c | val |= CC_BANK_ONE; |
val | 7544 | drivers/scsi/advansys.c | val |= CC_DIAG | CC_BANK_ONE; |
val | 7546 | drivers/scsi/advansys.c | val &= ~CC_BANK_ONE; |
val | 7548 | drivers/scsi/advansys.c | AscSetChipControl(iop_base, val); |
val | 380 | drivers/scsi/aic7xxx_asm.c | unsigned val; |
val | 391 | drivers/scsi/aic7xxx_asm.c | val = strtol(a[spec &~ (SL|SR|RL|RR)], NULL, 0); |
val | 396 | drivers/scsi/aic7xxx_asm.c | val = p->value; |
val | 401 | drivers/scsi/aic7xxx_asm.c | if (val > 7) |
val | 403 | drivers/scsi/aic7xxx_asm.c | return(((val % 8) << 4) | |
val | 404 | drivers/scsi/aic7xxx_asm.c | (val % 8)); |
val | 406 | drivers/scsi/aic7xxx_asm.c | if (val > 7) |
val | 408 | drivers/scsi/aic7xxx_asm.c | return(((val % 8) << 4) | |
val | 410 | drivers/scsi/aic7xxx_asm.c | ((8 - (val % 8)) % 8)); |
val | 412 | drivers/scsi/aic7xxx_asm.c | return(val % 8); |
val | 414 | drivers/scsi/aic7xxx_asm.c | return((8 - (val % 8)) % 8); |
val | 113 | drivers/scsi/atari_scsi.c | #define SCSI_DMA_WRITE_P(elt,val) \ |
val | 115 | drivers/scsi/atari_scsi.c | unsigned long v = val; \ |
val | 611 | drivers/scsi/atari_scsi.c | #define RTC_WRITE(reg,val) \ |
val | 614 | drivers/scsi/atari_scsi.c | tt_rtc.data = (val); \ |
val | 1906 | drivers/scsi/in2000.c | int check_setup_strings(char *key, int *flags, int *val, char *buf) |
val | 1921 | drivers/scsi/in2000.c | *val = -1; |
val | 1926 | drivers/scsi/in2000.c | *val = simple_strtoul(cp,NULL,0); |
val | 1974 | drivers/scsi/in2000.c | int val; |
val | 1995 | drivers/scsi/in2000.c | if (check_setup_strings("ioport",&flags,&val,buf)) { |
val | 1996 | drivers/scsi/in2000.c | base = val; |
val | 2123 | drivers/scsi/in2000.c | if (check_setup_strings("nosync",&flags,&val,buf)) |
val | 2124 | drivers/scsi/in2000.c | hostdata->sync_off = val; |
val | 2126 | drivers/scsi/in2000.c | if (check_setup_strings("period",&flags,&val,buf)) |
val | 2127 | drivers/scsi/in2000.c | hostdata->default_sx_per = sx_table[round_period((unsigned int)val)].period_ns; |
val | 2129 | drivers/scsi/in2000.c | if (check_setup_strings("disconnect",&flags,&val,buf)) { |
val | 2130 | drivers/scsi/in2000.c | if ((val >= DIS_NEVER) && (val <= DIS_ALWAYS)) |
val | 2131 | drivers/scsi/in2000.c | hostdata->disconnect = val; |
val | 2136 | drivers/scsi/in2000.c | if (check_setup_strings("noreset",&flags,&val,buf)) |
val | 2139 | drivers/scsi/in2000.c | if (check_setup_strings("debug",&flags,&val,buf)) |
val | 2140 | drivers/scsi/in2000.c | hostdata->args = (val & DB_MASK); |
val | 2142 | drivers/scsi/in2000.c | while (check_setup_strings("proc",&flags,&val,buf)) |
val | 2143 | drivers/scsi/in2000.c | hostdata->proc = val; |
val | 1559 | drivers/scsi/wd33c93.c | int check_setup_strings(char *key, int *flags, int *val, char *buf) |
val | 1576 | drivers/scsi/wd33c93.c | *val = -1; |
val | 1581 | drivers/scsi/wd33c93.c | *val = simple_strtoul(cp,NULL,0); |
val | 1594 | drivers/scsi/wd33c93.c | int val; |
val | 1634 | drivers/scsi/wd33c93.c | if (check_setup_strings("nosync",&flags,&val,buf)) |
val | 1635 | drivers/scsi/wd33c93.c | hostdata->no_sync = val; |
val | 1637 | drivers/scsi/wd33c93.c | if (check_setup_strings("period",&flags,&val,buf)) |
val | 1638 | drivers/scsi/wd33c93.c | hostdata->default_sx_per = sx_table[round_period((unsigned int)val)].period_ns; |
val | 1640 | drivers/scsi/wd33c93.c | if (check_setup_strings("disconnect",&flags,&val,buf)) { |
val | 1641 | drivers/scsi/wd33c93.c | if ((val >= DIS_NEVER) && (val <= DIS_ALWAYS)) |
val | 1642 | drivers/scsi/wd33c93.c | hostdata->disconnect = val; |
val | 1647 | drivers/scsi/wd33c93.c | if (check_setup_strings("debug",&flags,&val,buf)) |
val | 1648 | drivers/scsi/wd33c93.c | hostdata->args = val & DB_MASK; |
val | 1650 | drivers/scsi/wd33c93.c | if (check_setup_strings("clock",&flags,&val,buf)) { |
val | 1651 | drivers/scsi/wd33c93.c | if (val>7 && val<11) |
val | 1652 | drivers/scsi/wd33c93.c | val = WD33C93_FS_8_10; |
val | 1653 | drivers/scsi/wd33c93.c | else if (val>11 && val<16) |
val | 1654 | drivers/scsi/wd33c93.c | val = WD33C93_FS_12_15; |
val | 1655 | drivers/scsi/wd33c93.c | else if (val>15 && val<21) |
val | 1656 | drivers/scsi/wd33c93.c | val = WD33C93_FS_16_20; |
val | 1658 | drivers/scsi/wd33c93.c | val = WD33C93_FS_8_10; |
val | 1659 | drivers/scsi/wd33c93.c | hostdata->clock_freq = val; |
val | 1662 | drivers/scsi/wd33c93.c | if ((i = check_setup_strings("next",&flags,&val,buf))) { |
val | 1668 | drivers/scsi/wd33c93.c | if (check_setup_strings("proc",&flags,&val,buf)) |
val | 1669 | drivers/scsi/wd33c93.c | hostdata->proc = val; |
val | 383 | drivers/sound/ad1848.c | unsigned char val; |
val | 419 | drivers/sound/ad1848.c | val = ad_read (devc, regoffs); |
val | 420 | drivers/sound/ad1848.c | change_bits (&val, dev, LEFT_CHN, left); |
val | 421 | drivers/sound/ad1848.c | ad_write (devc, regoffs, val); |
val | 422 | drivers/sound/ad1848.c | devc->saved_regs[regoffs] = val; |
val | 432 | drivers/sound/ad1848.c | val = ad_read (devc, regoffs); |
val | 433 | drivers/sound/ad1848.c | change_bits (&val, dev, RIGHT_CHN, right); |
val | 434 | drivers/sound/ad1848.c | ad_write (devc, regoffs, val); |
val | 435 | drivers/sound/ad1848.c | devc->saved_regs[regoffs] = val; |
val | 314 | drivers/sound/aedsp16.c | int val; /* irq|mirq|dma */ |
val | 559 | drivers/sound/aedsp16.c | if (orIRQ[gc].val == irq) |
val | 567 | drivers/sound/aedsp16.c | if (orDMA[gc].val == dma) |
val | 365 | drivers/sound/dev_table.c | unsigned int val; |
val | 367 | drivers/sound/dev_table.c | val = (unsigned int) ints[i]; |
val | 369 | drivers/sound/dev_table.c | card_type = (val & 0x0ff00000) >> 20; |
val | 379 | drivers/sound/dev_table.c | ioaddr = (val & 0x000fff00) >> 8; |
val | 380 | drivers/sound/dev_table.c | irq = (val & 0x000000f0) >> 4; |
val | 381 | drivers/sound/dev_table.c | dma = (val & 0x0000000f); |
val | 392 | drivers/sound/dev_table.c | printk ("Sound: Invalid setup parameter 0x%08x\n", val); |
val | 279 | drivers/sound/gus_wave.c | unsigned char val; |
val | 284 | drivers/sound/gus_wave.c | val = inb (u_DataHi); |
val | 287 | drivers/sound/gus_wave.c | return val; |
val | 294 | drivers/sound/gus_wave.c | unsigned char val; |
val | 299 | drivers/sound/gus_wave.c | val = inb (u_DataHi); |
val | 302 | drivers/sound/gus_wave.c | return val; |
val | 2989 | drivers/sound/gus_wave.c | unsigned char val; |
val | 3024 | drivers/sound/gus_wave.c | val = inb (gus_base + 0x0f); |
val | 3028 | drivers/sound/gus_wave.c | gus_pnp_flag = (val == 1); |
val | 3031 | drivers/sound/gus_wave.c | if (gus_pnp_flag || (val != 0xff && (val & 0x06))) /* Should be 0x02?? */ |
val | 3039 | drivers/sound/gus_wave.c | val = 10; |
val | 3041 | drivers/sound/gus_wave.c | val = inb (u_MixSelect); |
val | 3050 | drivers/sound/gus_wave.c | if (val == 255 || val < 5) |
val | 3055 | drivers/sound/gus_wave.c | else if (val < 10) |
val | 3465 | drivers/sound/gus_wave.c | gus_timer_command (unsigned int addr, unsigned int val) |
val | 3474 | drivers/sound/gus_wave.c | outb ((unsigned char) (val & 0xff), data_addr); |
val | 61 | drivers/sound/mad16_sb_midi.c | mad16_sb_dsp_command (unsigned char val) |
val | 82 | drivers/sound/mad16_sb_midi.c | outb (val, DSP_COMMAND); |
val | 87 | drivers/sound/mad16_sb_midi.c | printk ("MAD16 (SBP mode): DSP Command(%x) Timeout.\n", val); |
val | 474 | drivers/sound/midibuf.c | int val; |
val | 492 | drivers/sound/midibuf.c | val = (int) get_fs_long ((long *) arg); |
val | 493 | drivers/sound/midibuf.c | if (val < 0) |
val | 494 | drivers/sound/midibuf.c | val = 0; |
val | 496 | drivers/sound/midibuf.c | val = (HZ * val) / 10; |
val | 497 | drivers/sound/midibuf.c | parms[dev].prech_timeout = val; |
val | 498 | drivers/sound/midibuf.c | return snd_ioctl_return ((int *) arg, val); |
val | 1359 | drivers/sound/mpu401.c | set_timebase (int midi_dev, int val) |
val | 1363 | drivers/sound/mpu401.c | if (val < 48) |
val | 1364 | drivers/sound/mpu401.c | val = 48; |
val | 1365 | drivers/sound/mpu401.c | if (val > 1000) |
val | 1366 | drivers/sound/mpu401.c | val = 1000; |
val | 1368 | drivers/sound/mpu401.c | hw_val = val; |
val | 1379 | drivers/sound/mpu401.c | curr_timebase = val; |
val | 1645 | drivers/sound/mpu401.c | int val = (int) get_fs_long ((long *) arg); |
val | 1647 | drivers/sound/mpu401.c | if (val) |
val | 1648 | drivers/sound/mpu401.c | set_timebase (midi_dev, val); |
val | 1656 | drivers/sound/mpu401.c | int val = (int) get_fs_long ((long *) arg); |
val | 1659 | drivers/sound/mpu401.c | if (val) |
val | 1661 | drivers/sound/mpu401.c | if (val < 8) |
val | 1662 | drivers/sound/mpu401.c | val = 8; |
val | 1663 | drivers/sound/mpu401.c | if (val > 250) |
val | 1664 | drivers/sound/mpu401.c | val = 250; |
val | 1665 | drivers/sound/mpu401.c | if ((ret = mpu_cmd (midi_dev, 0xE0, val)) < 0) |
val | 1667 | drivers/sound/mpu401.c | printk ("MPU: Can't set tempo to %d\n", (int) val); |
val | 1671 | drivers/sound/mpu401.c | curr_tempo = val; |
val | 91 | drivers/sound/opl3.c | static void opl3_command (int io_addr, unsigned int addr, unsigned int val); |
val | 769 | drivers/sound/opl3.c | opl3_command (int io_addr, unsigned int addr, unsigned int val) |
val | 786 | drivers/sound/opl3.c | outb ((unsigned char) (val & 0xff), io_addr + 1); |
val | 207 | drivers/sound/pss.c | int i, val; |
val | 211 | drivers/sound/pss.c | val = inw (REG (PSS_STATUS)); |
val | 212 | drivers/sound/pss.c | if (val & PSS_WRITE_EMPTY) |
val | 224 | drivers/sound/pss.c | int i, val; |
val | 228 | drivers/sound/pss.c | val = inw (REG (PSS_STATUS)); |
val | 229 | drivers/sound/pss.c | if (val & PSS_READ_FULL) |
val | 242 | drivers/sound/pss.c | int i, limit, val, count; |
val | 296 | drivers/sound/pss.c | val = inw (REG (PSS_STATUS)); |
val | 301 | drivers/sound/pss.c | val = inw (REG (PSS_STATUS)); |
val | 302 | drivers/sound/pss.c | if (val & 0x4000) |
val | 309 | drivers/sound/pss.c | val = inw (REG (PSS_STATUS)); |
val | 310 | drivers/sound/pss.c | if (val & PSS_READ_FULL) |
val | 316 | drivers/sound/pss.c | val = inw (REG (PSS_DATA)); |
val | 98 | drivers/sound/sb16_dsp.c | sb_dsp_command01 (unsigned char val) |
val | 105 | drivers/sound/sb16_dsp.c | return sb_dsp_command (val); |
val | 121 | drivers/sound/sb_dsp.c | sb_dsp_command (unsigned char val) |
val | 142 | drivers/sound/sb_dsp.c | outb (val, DSP_COMMAND); |
val | 147 | drivers/sound/sb_dsp.c | printk ("SoundBlaster: DSP Command(%x) Timeout.\n", val); |
val | 1049 | drivers/sound/sb_dsp.c | smw_putmem (int base, int addr, unsigned char val) |
val | 1058 | drivers/sound/sb_dsp.c | outb (val, base); /* Data */ |
val | 1067 | drivers/sound/sb_dsp.c | unsigned char val; |
val | 1074 | drivers/sound/sb_dsp.c | val = inb (base); /* Data */ |
val | 1077 | drivers/sound/sb_dsp.c | return val; |
val | 81 | drivers/sound/sb_mixer.c | int val; |
val | 90 | drivers/sound/sb_mixer.c | val = inb (MIXER_DATA); |
val | 94 | drivers/sound/sb_mixer.c | return val; |
val | 253 | drivers/sound/sb_mixer.c | int reg, val; |
val | 278 | drivers/sound/sb_mixer.c | val = ((levels[SOUND_MIXER_TREBLE] & 0xff) * 16 / (unsigned) 100) << 4; |
val | 279 | drivers/sound/sb_mixer.c | val |= ((levels[SOUND_MIXER_BASS] & 0xff) * 16 / (unsigned) 100) & 0x0f; |
val | 280 | drivers/sound/sb_mixer.c | sb_setmixer (0x0d, val); |
val | 283 | drivers/sound/sb_mixer.c | val = (((levels[SOUND_MIXER_TREBLE] >> 8) & 0xff) * 16 / (unsigned) 100) << 4; |
val | 284 | drivers/sound/sb_mixer.c | val |= (((levels[SOUND_MIXER_BASS] >> 8) & 0xff) * 16 / (unsigned) 100) & 0x0f; |
val | 285 | drivers/sound/sb_mixer.c | sb_setmixer (0x0e, val); |
val | 307 | drivers/sound/sb_mixer.c | unsigned char val; |
val | 330 | drivers/sound/sb_mixer.c | val = sb_getmixer (regoffs); |
val | 331 | drivers/sound/sb_mixer.c | change_bits (&val, dev, LEFT_CHN, left); |
val | 339 | drivers/sound/sb_mixer.c | sb_setmixer (regoffs, val); /* |
val | 349 | drivers/sound/sb_mixer.c | val = sb_getmixer (regoffs); /* |
val | 354 | drivers/sound/sb_mixer.c | change_bits (&val, dev, RIGHT_CHN, right); |
val | 356 | drivers/sound/sb_mixer.c | sb_setmixer (regoffs, val); |
val | 642 | drivers/sound/sequencer.c | int val = w14 & 0x7f; |
val | 647 | drivers/sound/sequencer.c | val = ((synth_devs[dev]-> |
val | 660 | drivers/sound/sequencer.c | synth_devs[dev]->controller (dev, i, p1, val); |
val | 1866 | drivers/sound/sequencer.c | int val = get_fs_long ((long *) arg); |
val | 1868 | drivers/sound/sequencer.c | if (val < 0) |
val | 1869 | drivers/sound/sequencer.c | val = 0; |
val | 1871 | drivers/sound/sequencer.c | val = (HZ * val) / 10; |
val | 1872 | drivers/sound/sequencer.c | pre_event_timeout = val; |
val | 1873 | drivers/sound/sequencer.c | return snd_ioctl_return ((int *) arg, val); |
val | 107 | drivers/sound/sound_calls.h | int sb_dsp_command (unsigned char val); |
val | 181 | drivers/sound/sound_calls.h | void gus_timer_command (unsigned int addr, unsigned int val); |
val | 63 | drivers/sound/sound_switch.c | put_status_int (unsigned int val, int radix) |
val | 70 | drivers/sound/sound_switch.c | if (!val) |
val | 76 | drivers/sound/sound_switch.c | while (val) |
val | 78 | drivers/sound/sound_switch.c | v = val % radix; |
val | 79 | drivers/sound/sound_switch.c | val = val / radix; |
val | 233 | drivers/sound/sound_timer.c | int val = get_fs_long ((long *) arg); |
val | 235 | drivers/sound/sound_timer.c | if (val) |
val | 237 | drivers/sound/sound_timer.c | if (val < 1) |
val | 238 | drivers/sound/sound_timer.c | val = 1; |
val | 239 | drivers/sound/sound_timer.c | if (val > 1000) |
val | 240 | drivers/sound/sound_timer.c | val = 1000; |
val | 241 | drivers/sound/sound_timer.c | curr_timebase = val; |
val | 250 | drivers/sound/sound_timer.c | int val = get_fs_long ((long *) arg); |
val | 252 | drivers/sound/sound_timer.c | if (val) |
val | 254 | drivers/sound/sound_timer.c | if (val < 8) |
val | 255 | drivers/sound/sound_timer.c | val = 8; |
val | 256 | drivers/sound/sound_timer.c | if (val > 250) |
val | 257 | drivers/sound/sound_timer.c | val = 250; |
val | 261 | drivers/sound/sound_timer.c | curr_tempo = val; |
val | 132 | drivers/sound/sscape.c | unsigned char val; |
val | 137 | drivers/sound/sscape.c | val = inb (PORT (ODIE_DATA)); |
val | 139 | drivers/sound/sscape.c | return val; |
val | 232 | drivers/sound/sys_timer.c | int val = get_fs_long ((long *) arg); |
val | 234 | drivers/sound/sys_timer.c | if (val) |
val | 236 | drivers/sound/sys_timer.c | if (val < 1) |
val | 237 | drivers/sound/sys_timer.c | val = 1; |
val | 238 | drivers/sound/sys_timer.c | if (val > 1000) |
val | 239 | drivers/sound/sys_timer.c | val = 1000; |
val | 240 | drivers/sound/sys_timer.c | curr_timebase = val; |
val | 249 | drivers/sound/sys_timer.c | int val = get_fs_long ((long *) arg); |
val | 251 | drivers/sound/sys_timer.c | if (val) |
val | 253 | drivers/sound/sys_timer.c | if (val < 8) |
val | 254 | drivers/sound/sys_timer.c | val = 8; |
val | 255 | drivers/sound/sys_timer.c | if (val > 250) |
val | 256 | drivers/sound/sys_timer.c | val = 250; |
val | 260 | drivers/sound/sys_timer.c | curr_tempo = val; |
val | 110 | fs/binfmt_elf.c | #define NEW_AUX_ENT(id, val) \ |
val | 112 | fs/binfmt_elf.c | put_user ((val), dlinfo++) |
val | 891 | fs/binfmt_elf.c | unsigned long val = r[i]; |
val | 892 | fs/binfmt_elf.c | printk(" %-2d %-5s=%08lx %lu\n", i, regs[i], val, val); |
val | 118 | fs/fat/buffer.c | int val) |
val | 123 | fs/fat/buffer.c | mark_buffer_uptodate(bh, val); |
val | 63 | fs/fat/dir.c | unsigned short val; |
val | 78 | fs/fat/dir.c | val = (pg_off << 8) + page; |
val | 79 | fs/fat/dir.c | op[2] = fat_uni2code[val & 0x3f]; |
val | 80 | fs/fat/dir.c | val >>= 6; |
val | 81 | fs/fat/dir.c | op[1] = fat_uni2code[val & 0x3f]; |
val | 82 | fs/fat/dir.c | val >>= 6; |
val | 83 | fs/fat/dir.c | *op = fat_uni2code[val & 0x3f]; |
val | 12 | fs/fat/msbuffer.h | int val); |
val | 21 | fs/isofs/util.c | int val; |
val | 23 | fs/isofs/util.c | val = *p; |
val | 24 | fs/isofs/util.c | if (val & 0x80) |
val | 25 | fs/isofs/util.c | val |= 0xffffff00; |
val | 26 | fs/isofs/util.c | return (val); |
val | 1007 | fs/nfs/nfsroot.c | int *val; |
val | 1051 | fs/nfs/nfsroot.c | char *cp, *cq, *options, *val; |
val | 1112 | fs/nfs/nfsroot.c | if ((val = strchr(cp, '='))) { |
val | 1114 | fs/nfs/nfsroot.c | *val++ = '\0'; |
val | 1118 | fs/nfs/nfsroot.c | *(opts->val) = (int) simple_strtoul(val, NULL, 10); |
val | 781 | fs/sysv/inode.c | static inline void write3byte (char * p, unsigned long val) |
val | 783 | fs/sysv/inode.c | *(unsigned short *)p = (unsigned short) val; |
val | 784 | fs/sysv/inode.c | *(unsigned char *)(p+2) = val >> 16; |
val | 793 | fs/sysv/inode.c | static inline void coh_write3byte (char * p, unsigned long val) |
val | 795 | fs/sysv/inode.c | *(unsigned char *)p = val >> 16; |
val | 796 | fs/sysv/inode.c | *(unsigned short *)(p+1) = (unsigned short) val; |
val | 130 | fs/ufs/ufs_inode.c | inode->u.ufs_i.ui_size = ((__u64)(ufsip->ui_size.val[0])<<32) | (__u64)(ufsip->ui_size.val[1]); |
val | 131 | fs/ufs/ufs_inode.c | inode->i_size = ufsip->ui_size.val[1]; /* XXX - endianity */ |
val | 132 | fs/ufs/ufs_inode.c | if (ufsip->ui_size.val[0] != 0) { |
val | 277 | fs/ufs/ufs_super.c | tmp.f_fsid.val[0] = sb->u.ufs_sb.s_raw_sb->fs_id[0]; |
val | 278 | fs/ufs/ufs_super.c | tmp.f_fsid.val[1] = sb->u.ufs_sb.s_raw_sb->fs_id[1]; |
val | 31 | include/asm-alpha/posix_types.h | int val[2]; |
val | 124 | include/asm-alpha/segment.h | static inline void set_fs(unsigned long val) |
val | 116 | include/asm-alpha/system.h | extern __inline__ unsigned long xchg_u32 (volatile int * m, unsigned long val); |
val | 117 | include/asm-alpha/system.h | extern __inline__ unsigned long xchg_u64 (volatile long * m, unsigned long val); |
val | 119 | include/asm-alpha/system.h | extern __inline__ unsigned long xchg_u32(volatile int * m, unsigned long val) |
val | 128 | include/asm-alpha/system.h | : "=&r" (val), "=&r" (dummy), "=m" (*m) |
val | 129 | include/asm-alpha/system.h | : "r" (val), "m" (*m)); |
val | 130 | include/asm-alpha/system.h | return val; |
val | 133 | include/asm-alpha/system.h | extern __inline__ unsigned long xchg_u64(volatile long * m, unsigned long val) |
val | 142 | include/asm-alpha/system.h | : "=&r" (val), "=&r" (dummy), "=m" (*m) |
val | 143 | include/asm-alpha/system.h | : "r" (val), "m" (*m)); |
val | 144 | include/asm-alpha/system.h | return val; |
val | 153 | include/asm-i386/io.h | #define outb(val,port) \ |
val | 155 | include/asm-i386/io.h | __outbc((val),(port)) : \ |
val | 156 | include/asm-i386/io.h | __outb((val),(port))) |
val | 163 | include/asm-i386/io.h | #define outb_p(val,port) \ |
val | 165 | include/asm-i386/io.h | __outbc_p((val),(port)) : \ |
val | 166 | include/asm-i386/io.h | __outb_p((val),(port))) |
val | 173 | include/asm-i386/io.h | #define outw(val,port) \ |
val | 175 | include/asm-i386/io.h | __outwc((val),(port)) : \ |
val | 176 | include/asm-i386/io.h | __outw((val),(port))) |
val | 183 | include/asm-i386/io.h | #define outw_p(val,port) \ |
val | 185 | include/asm-i386/io.h | __outwc_p((val),(port)) : \ |
val | 186 | include/asm-i386/io.h | __outw_p((val),(port))) |
val | 193 | include/asm-i386/io.h | #define outl(val,port) \ |
val | 195 | include/asm-i386/io.h | __outlc((val),(port)) : \ |
val | 196 | include/asm-i386/io.h | __outl((val),(port))) |
val | 203 | include/asm-i386/io.h | #define outl_p(val,port) \ |
val | 205 | include/asm-i386/io.h | __outlc_p((val),(port)) : \ |
val | 206 | include/asm-i386/io.h | __outl_p((val),(port))) |
val | 294 | include/asm-i386/segment.h | static inline void put_user_byte(char val,char *addr) |
val | 296 | include/asm-i386/segment.h | __put_user(val, addr, 1); |
val | 299 | include/asm-i386/segment.h | static inline void put_user_word(short val,short * addr) |
val | 301 | include/asm-i386/segment.h | __put_user(val, addr, 2); |
val | 304 | include/asm-i386/segment.h | static inline void put_user_long(unsigned long val,int * addr) |
val | 306 | include/asm-i386/segment.h | __put_user(val, addr, 4); |
val | 332 | include/asm-i386/segment.h | static inline void set_fs(unsigned long val) |
val | 334 | include/asm-i386/segment.h | __asm__ __volatile__("mov %w0,%%fs": /* no output */ :"r" (val)); |
val | 5 | include/asm-i386/statfs.h | long val[2]; |
val | 14 | include/asm-m68k/io.h | static inline void put_user_byte_io(char val,char *addr) |
val | 18 | include/asm-m68k/io.h | :"idm" (val),"m" (*addr) |
val | 117 | include/asm-m68k/segment.h | static inline void put_user_byte(char val,char *addr) |
val | 119 | include/asm-m68k/segment.h | __put_user(val, addr, 1); |
val | 122 | include/asm-m68k/segment.h | static inline void put_user_word(short val,short * addr) |
val | 124 | include/asm-m68k/segment.h | __put_user(val, addr, 2); |
val | 127 | include/asm-m68k/segment.h | static inline void put_user_long(unsigned long val,int * addr) |
val | 129 | include/asm-m68k/segment.h | __put_user(val, addr, 4); |
val | 354 | include/asm-m68k/segment.h | static inline void set_fs(unsigned long val) |
val | 358 | include/asm-m68k/segment.h | : /* no outputs */ : "r" (val) : "memory"); |
val | 5 | include/asm-m68k/statfs.h | long val[2]; |
val | 198 | include/asm-mips/io.h | #define outb(val,port) \ |
val | 200 | include/asm-mips/io.h | __outbc((val),(port)) : \ |
val | 201 | include/asm-mips/io.h | __outb((val),(port))) |
val | 208 | include/asm-mips/io.h | #define outb_p(val,port) \ |
val | 210 | include/asm-mips/io.h | __outbc_p((val),(port)) : \ |
val | 211 | include/asm-mips/io.h | __outb_p((val),(port))) |
val | 218 | include/asm-mips/io.h | #define outw(val,port) \ |
val | 220 | include/asm-mips/io.h | __outwc((val),(port)) : \ |
val | 221 | include/asm-mips/io.h | __outw((val),(port))) |
val | 228 | include/asm-mips/io.h | #define outw_p(val,port) \ |
val | 230 | include/asm-mips/io.h | __outwc_p((val),(port)) : \ |
val | 231 | include/asm-mips/io.h | __outw_p((val),(port))) |
val | 238 | include/asm-mips/io.h | #define outl(val,port) \ |
val | 240 | include/asm-mips/io.h | __outlc((val),(port)) : \ |
val | 241 | include/asm-mips/io.h | __outl((val),(port))) |
val | 248 | include/asm-mips/io.h | #define outl_p(val,port) \ |
val | 250 | include/asm-mips/io.h | __outlc_p((val),(port)) : \ |
val | 251 | include/asm-mips/io.h | __outl_p((val),(port))) |
val | 282 | include/asm-mips/jazz.h | extern inline void r4030_write_reg16(unsigned addr, unsigned val) { |
val | 283 | include/asm-mips/jazz.h | *((volatile unsigned short *)addr) = val; |
val | 293 | include/asm-mips/jazz.h | extern inline unsigned int r4030_write_reg32(unsigned addr, unsigned val) { |
val | 294 | include/asm-mips/jazz.h | *((volatile unsigned int *)addr) = val; |
val | 23 | include/asm-mips/mc146818rtc.h | #define CMOS_WRITE(val, addr) ({ \ |
val | 25 | include/asm-mips/mc146818rtc.h | feature->rtc_write_data(val); \ |
val | 143 | include/asm-mips/segment.h | static inline void set_fs(unsigned long val) |
val | 5 | include/asm-mips/statfs.h | long val[2]; |
val | 109 | include/asm-mips/system.h | extern inline unsigned long xchg_u8(volatile char * m, unsigned long val) |
val | 116 | include/asm-mips/system.h | *m = val; |
val | 122 | include/asm-mips/system.h | extern inline unsigned long xchg_u16(volatile short * m, unsigned long val) |
val | 129 | include/asm-mips/system.h | *m = val; |
val | 139 | include/asm-mips/system.h | extern inline unsigned long xchg_u32(volatile int * m, unsigned long val) |
val | 153 | include/asm-mips/system.h | : "=r" (val), "=r" (m), "=r" (dummy) |
val | 154 | include/asm-mips/system.h | : "1" (m), "2" (val)); |
val | 156 | include/asm-mips/system.h | return val; |
val | 162 | include/asm-mips/system.h | extern inline unsigned long xchg_u64(volatile long * m, unsigned long val) |
val | 176 | include/asm-mips/system.h | : "=r" (val), "=r" (m), "=r" (dummy) |
val | 177 | include/asm-mips/system.h | : "1" (m), "2" (val)); |
val | 179 | include/asm-mips/system.h | return val; |
val | 69 | include/asm-ppc/io.h | unsigned char outb(unsigned char val,int port); |
val | 70 | include/asm-ppc/io.h | unsigned short outw(unsigned short val,int port); |
val | 71 | include/asm-ppc/io.h | unsigned long outl(unsigned long val,int port); |
val | 80 | include/asm-ppc/io.h | static inline unsigned char outb_p(unsigned char val,int port) { return (outb(val,port)); } |
val | 81 | include/asm-ppc/io.h | static inline unsigned short outw_p(unsigned short val,int port) { return (outw(val,port)); } |
val | 82 | include/asm-ppc/io.h | static inline unsigned long outl_p(unsigned long val,int port) { return (outl(val,port)); } |
val | 75 | include/asm-ppc/segment.h | static inline void put_user_byte(char val,char *addr) |
val | 77 | include/asm-ppc/segment.h | *addr = val; |
val | 82 | include/asm-ppc/segment.h | static inline void put_user_word(short val,short * addr) |
val | 84 | include/asm-ppc/segment.h | *addr = val; |
val | 89 | include/asm-ppc/segment.h | static inline void put_user_long(unsigned long val,int * addr) |
val | 91 | include/asm-ppc/segment.h | *addr = val; |
val | 96 | include/asm-ppc/segment.h | static inline void put_user_quad(unsigned long val,long * addr) |
val | 98 | include/asm-ppc/segment.h | *addr = val; |
val | 127 | include/asm-ppc/segment.h | static inline void set_fs(unsigned long val) |
val | 5 | include/asm-ppc/statfs.h | long val[2]; |
val | 30 | include/asm-ppc/system.h | extern inline unsigned long *xchg_u32(void *m, unsigned long val); |
val | 37 | include/asm-ppc/system.h | extern void *xchg_u64(void *ptr, unsigned long val); |
val | 38 | include/asm-ppc/system.h | extern int xchg_u8(char *m, char val); |
val | 71 | include/asm-ppc/system.h | extern inline void * xchg_ptr(void * m, void * val) |
val | 73 | include/asm-ppc/system.h | return (void *) xchg_u32(m, (unsigned long) val); |
val | 178 | include/asm-sparc/openprom.h | int (*no_getprop)(int node, char *name, char *val); |
val | 179 | include/asm-sparc/openprom.h | int (*no_setprop)(int node, char *name, char *val, int len); |
val | 84 | include/asm-sparc/segment.h | static inline void put_user_byte(char val,char *addr) |
val | 86 | include/asm-sparc/segment.h | *addr = val; |
val | 91 | include/asm-sparc/segment.h | static inline void put_user_word(short val,short * addr) |
val | 93 | include/asm-sparc/segment.h | *addr = val; |
val | 98 | include/asm-sparc/segment.h | static inline void put_user_long(unsigned long val,int * addr) |
val | 100 | include/asm-sparc/segment.h | *addr = val; |
val | 127 | include/asm-sparc/segment.h | static inline void set_fs(int val) |
val | 129 | include/asm-sparc/segment.h | active_ds = val; |
val | 6 | include/asm-sparc/statfs.h | long val[2]; |
val | 139 | include/asm-sparc/system.h | extern inline unsigned long xchg_u32(volatile unsigned long *m, unsigned long val) |
val | 145 | include/asm-sparc/system.h | *m = val; |
val | 48 | include/linux/bios32.h | unsigned char where, unsigned char *val); |
val | 50 | include/linux/bios32.h | unsigned char where, unsigned short *val); |
val | 52 | include/linux/bios32.h | unsigned char where, unsigned int *val); |
val | 54 | include/linux/bios32.h | unsigned char where, unsigned char val); |
val | 56 | include/linux/bios32.h | unsigned char where, unsigned short val); |
val | 58 | include/linux/bios32.h | unsigned char where, unsigned int val); |
val | 24 | include/linux/mc146818rtc.h | #define CMOS_WRITE(val, addr) ({ \ |
val | 26 | include/linux/mc146818rtc.h | outb_p((val),RTC_PORT(1)); \ |
val | 102 | include/linux/mc146818rtc.h | #define BCD_TO_BIN(val) ((val)=((val)&15) + ((val)>>4)*10) |
val | 106 | include/linux/mc146818rtc.h | #define BIN_TO_BCD(val) ((val)=(((val)/10)<<4) + (val)%10) |
val | 275 | include/linux/mm.h | extern void si_meminfo(struct sysinfo * val); |
val | 65 | include/linux/notifier.h | extern __inline__ int notifier_call_chain(struct notifier_block **n, unsigned long val, void *v) |
val | 71 | include/linux/notifier.h | ret=nb->notifier_call(nb,val,v); |
val | 112 | include/linux/scc.h | #define Outb(port, val) outb_p(val, port) |
val | 115 | include/linux/scc.h | #define Outb(port, val) outb(val, port) |
val | 38 | include/linux/sem.h | int val; /* value for SETVAL */ |
val | 87 | include/linux/ufs_fs.h | __u32 val[2]; |
val | 12 | include/linux/wrapper.h | #define current_set_timeout(val) current->timeout = val |
val | 364 | ipc/sem.c | int i, id, val = 0; |
val | 465 | ipc/sem.c | val = arg.val; |
val | 466 | ipc/sem.c | if (val > SEMVMX || val < 0) |
val | 515 | ipc/sem.c | curr->semval = val; |
val | 21 | kernel/info.c | struct sysinfo val; |
val | 26 | kernel/info.c | memset((char *)&val, 0, sizeof(struct sysinfo)); |
val | 28 | kernel/info.c | val.uptime = jiffies / HZ; |
val | 30 | kernel/info.c | val.loads[0] = avenrun[0] << (SI_LOAD_SHIFT - FSHIFT); |
val | 31 | kernel/info.c | val.loads[1] = avenrun[1] << (SI_LOAD_SHIFT - FSHIFT); |
val | 32 | kernel/info.c | val.loads[2] = avenrun[2] << (SI_LOAD_SHIFT - FSHIFT); |
val | 34 | kernel/info.c | val.procs = nr_tasks-1; |
val | 36 | kernel/info.c | si_meminfo(&val); |
val | 37 | kernel/info.c | si_swapinfo(&val); |
val | 39 | kernel/info.c | memcpy_tofs(info, &val, sizeof(struct sysinfo)); |
val | 49 | kernel/itimer.c | register unsigned long val, interval; |
val | 54 | kernel/itimer.c | val = 0; |
val | 57 | kernel/itimer.c | val = current->real_timer.expires; |
val | 60 | kernel/itimer.c | if (val <= now) |
val | 61 | kernel/itimer.c | val = now+1; |
val | 62 | kernel/itimer.c | val -= now; |
val | 66 | kernel/itimer.c | val = current->it_virt_value; |
val | 70 | kernel/itimer.c | val = current->it_prof_value; |
val | 76 | kernel/itimer.c | jiffiestotv(val, &value->it_value); |
val | 542 | kernel/sysctl.c | int *i, vleft, first=1, len, left, neg, val; |
val | 575 | kernel/sysctl.c | val = simple_strtoul(p, &p, 0); |
val | 580 | kernel/sysctl.c | val = -val; |
val | 583 | kernel/sysctl.c | *i = val; |
val | 617 | kernel/sysctl.c | int *i, *min, *max, vleft, first=1, len, left, neg, val; |
val | 652 | kernel/sysctl.c | val = simple_strtoul(p, &p, 0); |
val | 657 | kernel/sysctl.c | val = -val; |
val | 661 | kernel/sysctl.c | if (min && val < *min++) |
val | 663 | kernel/sysctl.c | if (max && val > *max++) |
val | 665 | kernel/sysctl.c | *i = val; |
val | 539 | mm/swapfile.c | void si_swapinfo(struct sysinfo *val) |
val | 543 | mm/swapfile.c | val->freeswap = val->totalswap = 0; |
val | 552 | mm/swapfile.c | ++val->freeswap; |
val | 554 | mm/swapfile.c | ++val->totalswap; |
val | 557 | mm/swapfile.c | val->freeswap <<= PAGE_SHIFT; |
val | 558 | mm/swapfile.c | val->totalswap <<= PAGE_SHIFT; |
val | 1059 | net/appletalk/ddp.c | int val=0; |
val | 1088 | net/appletalk/ddp.c | put_user(val,optval); |
val | 967 | net/ax25/af_ax25.c | int val = 0; |
val | 980 | net/ax25/af_ax25.c | val = sk->ax25->window; |
val | 984 | net/ax25/af_ax25.c | val = (sk->ax25->t1 * 2) / PR_SLOWHZ; |
val | 988 | net/ax25/af_ax25.c | val = sk->ax25->t2 / PR_SLOWHZ; |
val | 992 | net/ax25/af_ax25.c | val = sk->ax25->n2; |
val | 996 | net/ax25/af_ax25.c | val = sk->ax25->t3 / PR_SLOWHZ; |
val | 1000 | net/ax25/af_ax25.c | val = sk->ax25->idle / (PR_SLOWHZ * 60); |
val | 1004 | net/ax25/af_ax25.c | val = sk->ax25->backoff; |
val | 1008 | net/ax25/af_ax25.c | val = (sk->ax25->modulus == EMODULUS); |
val | 1012 | net/ax25/af_ax25.c | val = sk->ax25->hdrincl; |
val | 1016 | net/ax25/af_ax25.c | val = sk->ax25->paclen; |
val | 1031 | net/ax25/af_ax25.c | put_user(val, optval); |
val | 126 | net/core/sock.c | int val; |
val | 151 | net/core/sock.c | val = get_user((int *)optval); |
val | 152 | net/core/sock.c | valbool = val?1:0; |
val | 157 | net/core/sock.c | if(val && !suser()) |
val | 174 | net/core/sock.c | if(val > SK_WMEM_MAX*2) |
val | 175 | net/core/sock.c | val = SK_WMEM_MAX*2; |
val | 176 | net/core/sock.c | if(val < 256) |
val | 177 | net/core/sock.c | val = 256; |
val | 178 | net/core/sock.c | sk->sndbuf = val; |
val | 182 | net/core/sock.c | if(val > SK_RMEM_MAX*2) |
val | 183 | net/core/sock.c | val = SK_RMEM_MAX*2; |
val | 184 | net/core/sock.c | if(val < 256) |
val | 185 | net/core/sock.c | val = 256; |
val | 186 | net/core/sock.c | sk->rcvbuf = val; |
val | 202 | net/core/sock.c | if (val >= 0 && val < DEV_NUMBUFFS) |
val | 204 | net/core/sock.c | sk->priority = val; |
val | 240 | net/core/sock.c | int val; |
val | 247 | net/core/sock.c | val = sk->debug; |
val | 251 | net/core/sock.c | val = sk->localroute; |
val | 255 | net/core/sock.c | val= sk->broadcast; |
val | 259 | net/core/sock.c | val=sk->sndbuf; |
val | 263 | net/core/sock.c | val =sk->rcvbuf; |
val | 267 | net/core/sock.c | val = sk->reuse; |
val | 271 | net/core/sock.c | val = sk->keepopen; |
val | 275 | net/core/sock.c | val = sk->type; |
val | 279 | net/core/sock.c | val = sock_error(sk); |
val | 280 | net/core/sock.c | if(val==0) |
val | 281 | net/core/sock.c | val=xchg(&sk->err_soft,0); |
val | 285 | net/core/sock.c | val = sk->urginline; |
val | 289 | net/core/sock.c | val = sk->no_check; |
val | 293 | net/core/sock.c | val = sk->priority; |
val | 310 | net/core/sock.c | val = sk->bsdism; |
val | 324 | net/core/sock.c | put_fs_long(val,(unsigned long *)optval); |
val | 114 | net/ipv4/ip_sockglue.c | int val,err; |
val | 121 | net/ipv4/ip_sockglue.c | val=0; |
val | 129 | net/ipv4/ip_sockglue.c | val = get_user((int *) optval); |
val | 182 | net/ipv4/ip_sockglue.c | if (val<0 || val>63) /* Reject setting of unused bits */ |
val | 184 | net/ipv4/ip_sockglue.c | if ((val&3) > 4 && !suser()) /* Only root can set Prec>4 */ |
val | 186 | net/ipv4/ip_sockglue.c | sk->ip_tos=val; |
val | 187 | net/ipv4/ip_sockglue.c | switch (val & 0x38) { |
val | 200 | net/ipv4/ip_sockglue.c | if(val<1||val>255) |
val | 202 | net/ipv4/ip_sockglue.c | sk->ip_ttl=val; |
val | 207 | net/ipv4/ip_sockglue.c | sk->ip_hdrincl=val?1:0; |
val | 443 | net/ipv4/ip_sockglue.c | int val,err; |
val | 514 | net/ipv4/ip_sockglue.c | val=sk->ip_tos; |
val | 517 | net/ipv4/ip_sockglue.c | val=sk->ip_ttl; |
val | 520 | net/ipv4/ip_sockglue.c | val=sk->ip_hdrincl; |
val | 524 | net/ipv4/ip_sockglue.c | val=sk->ip_mc_ttl; |
val | 527 | net/ipv4/ip_sockglue.c | val=sk->ip_mc_loop; |
val | 552 | net/ipv4/ip_sockglue.c | put_user(val,(int *) optval); |
val | 2021 | net/ipv4/tcp.c | int val,err; |
val | 2033 | net/ipv4/tcp.c | val = get_user((int *)optval); |
val | 2043 | net/ipv4/tcp.c | if(val<1||val>MAX_WINDOW) |
val | 2045 | net/ipv4/tcp.c | sk->user_mss=val; |
val | 2048 | net/ipv4/tcp.c | sk->nonagle=(val==0)?0:1; |
val | 2057 | net/ipv4/tcp.c | int val,err; |
val | 2065 | net/ipv4/tcp.c | val=sk->user_mss; |
val | 2068 | net/ipv4/tcp.c | val=sk->nonagle; |
val | 2081 | net/ipv4/tcp.c | put_user(val,(int *)optval); |
val | 68 | net/ipv4/utils.c | unsigned int val; |
val | 77 | net/ipv4/utils.c | val = 0; |
val | 80 | net/ipv4/utils.c | val *= 10; |
val | 81 | net/ipv4/utils.c | val += *str - '0'; |
val | 84 | net/ipv4/utils.c | l |= val; |
val | 106 | net/ipx/af_ipx.c | ipxcfg_set_auto_create(char val) |
val | 108 | net/ipx/af_ipx.c | ipxcfg_auto_create_interfaces = val; |
val | 113 | net/ipx/af_ipx.c | ipxcfg_set_auto_select(char val) |
val | 115 | net/ipx/af_ipx.c | ipxcfg_auto_select_primary = val; |
val | 116 | net/ipx/af_ipx.c | if (val && (ipx_primary_net == NULL)) |
val | 1629 | net/ipx/af_ipx.c | int val=0; |
val | 1641 | net/ipx/af_ipx.c | val=sk->protinfo.af_ipx.type; |
val | 1660 | net/ipx/af_ipx.c | put_fs_long(val,(unsigned long *)optval); |
val | 421 | net/netrom/af_netrom.c | int val = 0; |
val | 434 | net/netrom/af_netrom.c | val = (sk->nr->t1 * 2) / PR_SLOWHZ; |
val | 438 | net/netrom/af_netrom.c | val = sk->nr->t2 / PR_SLOWHZ; |
val | 442 | net/netrom/af_netrom.c | val = sk->nr->n2; |
val | 446 | net/netrom/af_netrom.c | val = sk->nr->hdrincl; |
val | 450 | net/netrom/af_netrom.c | val = sk->nr->paclen; |
val | 465 | net/netrom/af_netrom.c | put_fs_long(val, (unsigned long *)optval); |