tag | line | file | source code |
val | 770 | drivers/block/cdu31a.c | int_to_bcd(unsigned int val) |
val | 775 | drivers/block/cdu31a.c | retval = (val / 10) << 4; |
val | 776 | drivers/block/cdu31a.c | retval = retval | val % 10; |
val | 122 | drivers/char/psaux.c | static void aux_write_dev(int val) |
val | 127 | drivers/char/psaux.c | outb_p(val,AUX_OUTPUT_PORT); /* write data */ |
val | 135 | drivers/char/psaux.c | static int aux_write_ack(int val) |
val | 139 | drivers/char/psaux.c | aux_write_dev(val); /* write the value to the device */ |
val | 160 | drivers/char/psaux.c | static void aux_write_cmd(int val) |
val | 165 | drivers/char/psaux.c | outb_p(val,AUX_OUTPUT_PORT); |
val | 94 | drivers/net/iow.h | #define outw(val,port) \ |
val | 96 | drivers/net/iow.h | __outwc((val),(port)) : \ |
val | 97 | drivers/net/iow.h | __outw((val),(port))) |
val | 104 | drivers/net/iow.h | #define outw_p(val,port) \ |
val | 106 | drivers/net/iow.h | __outwc_p((val),(port)) : \ |
val | 107 | drivers/net/iow.h | __outw_p((val),(port))) |
val | 337 | drivers/net/plip.c | unsigned char val, oldval; |
val | 341 | drivers/net/plip.c | val = inb(dev->base_addr + PAR_STATUS); |
val | 344 | drivers/net/plip.c | oldval = val; |
val | 345 | drivers/net/plip.c | val = inb(dev->base_addr + PAR_STATUS); |
val | 346 | drivers/net/plip.c | if ( oldval != val ) continue; /* it's unstable */ |
val | 351 | drivers/net/plip.c | } while ( (val & 0x80) ); |
val | 352 | drivers/net/plip.c | val = inb(dev->base_addr + PAR_STATUS); |
val | 353 | drivers/net/plip.c | low_nibble = (val >> 3) & 0x0f; |
val | 357 | drivers/net/plip.c | oldval = val; |
val | 358 | drivers/net/plip.c | val = inb(dev->base_addr + PAR_STATUS); |
val | 359 | drivers/net/plip.c | if (oldval != val) continue; /* it's unstable */ |
val | 364 | drivers/net/plip.c | } while ( !(val & 0x80) ); |
val | 365 | drivers/net/plip.c | val = inb(dev->base_addr + PAR_STATUS); |
val | 366 | drivers/net/plip.c | PRINTK2(("%02x %s ", low_nibble | ((val << 1) & 0xf0), |
val | 374 | drivers/net/plip.c | return low_nibble | ((val << 1) & 0xf0); |
val | 530 | drivers/net/plip.c | static int send_byte(struct device *dev, unsigned char val) |
val | 538 | drivers/net/plip.c | PRINTK2((" S%02x", val)); |
val | 539 | drivers/net/plip.c | outb(val, dev->base_addr); /* this makes data bits more stable */ |
val | 540 | drivers/net/plip.c | outb(0x10 | val, dev->base_addr); |
val | 547 | drivers/net/plip.c | outb(0x10 | (val >> 4), dev->base_addr); |
val | 548 | drivers/net/plip.c | outb(val >> 4, dev->base_addr); |
val | 125 | drivers/sound/dev_table.c | unsigned int val; |
val | 127 | drivers/sound/dev_table.c | val = (unsigned int)ints[i]; |
val | 129 | drivers/sound/dev_table.c | card_type = (val & 0x0ff00000) >> 20; |
val | 137 | drivers/sound/dev_table.c | ioaddr = (val & 0x000fff00) >> 8; |
val | 138 | drivers/sound/dev_table.c | irq = (val & 0x000000f0) >> 4; |
val | 139 | drivers/sound/dev_table.c | dma = (val & 0x0000000f); |
val | 147 | drivers/sound/dev_table.c | printk("Sound: Invalid setup parameter 0x%08x\n", val); |
val | 250 | drivers/sound/gus_wave.c | unsigned char val; |
val | 254 | drivers/sound/gus_wave.c | val = INB (u_DataHi); |
val | 257 | drivers/sound/gus_wave.c | return val; |
val | 264 | drivers/sound/gus_wave.c | unsigned char val; |
val | 268 | drivers/sound/gus_wave.c | val = INB (u_DataHi); |
val | 271 | drivers/sound/gus_wave.c | return val; |
val | 78 | drivers/sound/opl3.c | static void opl3_command (int io_addr, const unsigned char addr, const unsigned char val); |
val | 622 | drivers/sound/opl3.c | opl3_command (int io_addr, const unsigned char addr, const unsigned char val) |
val | 639 | drivers/sound/opl3.c | OUTB (val, io_addr + 1); /* Write to register */ |
val | 263 | drivers/sound/pas2_mixer.c | S_BYTE val; |
val | 282 | drivers/sound/pas2_mixer.c | val = (pas_read (PCM_CONTROL) & ~P_C_MIXER_CROSS_FIELD) | P_C_MIXER_CROSS_R_TO_R | P_C_MIXER_CROSS_L_TO_L; |
val | 284 | drivers/sound/pas2_mixer.c | val |= (P_C_MIXER_CROSS_R_TO_L | P_C_MIXER_CROSS_L_TO_R); /* Mono */ |
val | 285 | drivers/sound/pas2_mixer.c | pas_write (val, PCM_CONTROL); |
val | 358 | drivers/sound/pas2_mixer.c | S_BYTE val; |
val | 384 | drivers/sound/pas2_mixer.c | val = INB (PCM_CONTROL); |
val | 385 | drivers/sound/pas2_mixer.c | params.dsp_stereo = ((val & P_C_MIXER_CROSS_FIELD) == (P_C_MIXER_CROSS_L_TO_L | P_C_MIXER_CROSS_R_TO_R)); |
val | 74 | drivers/sound/sb_dsp.c | int sb_dsp_command (unsigned char val); |
val | 81 | drivers/sound/sb_dsp.c | sb_dsp_command (unsigned char val) |
val | 99 | drivers/sound/sb_dsp.c | OUTB (val, DSP_COMMAND); |
val | 104 | drivers/sound/sb_dsp.c | printk ("SoundBlaster: DSP Command(%02x) Timeout.\n", val); |
val | 67 | drivers/sound/sb_mixer.c | int val; |
val | 73 | drivers/sound/sb_mixer.c | val = INB (MIXER_DATA); |
val | 77 | drivers/sound/sb_mixer.c | return val; |
val | 139 | drivers/sound/sb_mixer.c | unsigned char val; |
val | 154 | drivers/sound/sb_mixer.c | val = sb_getmixer(regoffs); |
val | 155 | drivers/sound/sb_mixer.c | change_bits(&val, dev, LEFT_CHN, left); |
val | 161 | drivers/sound/sb_mixer.c | sb_setmixer(regoffs, val); /* Save the old one */ |
val | 167 | drivers/sound/sb_mixer.c | val = sb_getmixer(regoffs); /* Read the new one */ |
val | 170 | drivers/sound/sb_mixer.c | change_bits(&val, dev, RIGHT_CHN, right); |
val | 171 | drivers/sound/sb_mixer.c | sb_setmixer(regoffs, val); |
val | 107 | drivers/sound/sound_calls.h | int sb_dsp_command (unsigned char val); |
val | 22 | fs/isofs/util.c | int val; |
val | 24 | fs/isofs/util.c | val = *p; |
val | 25 | fs/isofs/util.c | if (val & 0x80) |
val | 26 | fs/isofs/util.c | val |= 0xffffff00; |
val | 27 | fs/isofs/util.c | return (val); |
val | 100 | include/asm/io.h | #define outb(val,port) \ |
val | 102 | include/asm/io.h | __outbc((val),(port)) : \ |
val | 103 | include/asm/io.h | __outb((val),(port))) |
val | 110 | include/asm/io.h | #define outb_p(val,port) \ |
val | 112 | include/asm/io.h | __outbc_p((val),(port)) : \ |
val | 113 | include/asm/io.h | __outb_p((val),(port))) |
val | 34 | include/asm/segment.h | static inline void put_user_byte(char val,char *addr) |
val | 36 | include/asm/segment.h | __asm__ ("movb %0,%%fs:%1": /* no outputs */ :"iq" (val),"m" (*addr)); |
val | 41 | include/asm/segment.h | static inline void put_user_word(short val,short * addr) |
val | 43 | include/asm/segment.h | __asm__ ("movw %0,%%fs:%1": /* no outputs */ :"ir" (val),"m" (*addr)); |
val | 48 | include/asm/segment.h | static inline void put_user_long(unsigned long val,int * addr) |
val | 50 | include/asm/segment.h | __asm__ ("movl %0,%%fs:%1": /* no outputs */ :"ir" (val),"m" (*addr)); |
val | 214 | include/asm/segment.h | static inline void set_fs(unsigned long val) |
val | 216 | include/asm/segment.h | __asm__ __volatile__("mov %w0,%%fs": /* no output */ :"r" (val)); |
val | 19 | include/linux/mc146818rtc.h | #define CMOS_WRITE(val, addr) ({ \ |
val | 21 | include/linux/mc146818rtc.h | outb_p(val,0x71); \ |
val | 97 | include/linux/mc146818rtc.h | #define BCD_TO_BIN(val) ((val)=((val)&15) + ((val)>>4)*10) |
val | 101 | include/linux/mc146818rtc.h | #define BIN_TO_BCD(val) ((val)=(((val)/10)<<4) + (val)%10) |
val | 111 | include/linux/mm.h | extern void si_meminfo(struct sysinfo * val); |
val | 124 | include/linux/mm.h | extern void si_swapinfo(struct sysinfo * val); |
val | 47 | include/linux/sem.h | int val; /* value for SETVAL */ |
val | 5 | include/linux/vfs.h | long val[2]; |
val | 153 | ipc/sem.c | int i, id, val = 0; |
val | 246 | ipc/sem.c | if ((val = (int) get_fs_long ((int *) arg)) > SEMVMX || val < 0) |
val | 301 | ipc/sem.c | curr->semval = val; |
val | 20 | 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 | 35 | kernel/info.c | if (*p) val.procs++; |
val | 37 | kernel/info.c | si_meminfo(&val); |
val | 38 | kernel/info.c | si_swapinfo(&val); |
val | 40 | kernel/info.c | memcpy_tofs(info, &val, sizeof(struct sysinfo)); |
val | 33 | kernel/itimer.c | register unsigned long val, interval; |
val | 37 | kernel/itimer.c | val = current->it_real_value; |
val | 41 | kernel/itimer.c | val = current->it_virt_value; |
val | 45 | kernel/itimer.c | val = current->it_prof_value; |
val | 51 | kernel/itimer.c | jiffiestotv(val, &value->it_value); |
val | 1123 | mm/memory.c | void si_meminfo(struct sysinfo *val) |
val | 1128 | mm/memory.c | val->totalram = 0; |
val | 1129 | mm/memory.c | val->freeram = 0; |
val | 1130 | mm/memory.c | val->sharedram = 0; |
val | 1131 | mm/memory.c | val->bufferram = buffermem; |
val | 1135 | mm/memory.c | val->totalram++; |
val | 1137 | mm/memory.c | val->freeram++; |
val | 1140 | mm/memory.c | val->sharedram += mem_map[i]-1; |
val | 1142 | mm/memory.c | val->totalram <<= PAGE_SHIFT; |
val | 1143 | mm/memory.c | val->freeram <<= PAGE_SHIFT; |
val | 1144 | mm/memory.c | val->sharedram <<= PAGE_SHIFT; |
val | 825 | mm/swap.c | void si_swapinfo(struct sysinfo *val) |
val | 829 | mm/swap.c | val->freeswap = val->totalswap = 0; |
val | 838 | mm/swap.c | ++val->freeswap; |
val | 840 | mm/swap.c | ++val->totalswap; |
val | 843 | mm/swap.c | val->freeswap <<= PAGE_SHIFT; |
val | 844 | mm/swap.c | val->totalswap <<= PAGE_SHIFT; |
val | 480 | net/inet/sock.c | int val; |
val | 498 | net/inet/sock.c | val = get_fs_long((unsigned long *)optval); |
val | 505 | net/inet/sock.c | sk->debug=val?1:0; |
val | 509 | net/inet/sock.c | sk->broadcast=val?1:0; |
val | 512 | net/inet/sock.c | if(val>32767) |
val | 513 | net/inet/sock.c | val=32767; |
val | 514 | net/inet/sock.c | if(val<256) |
val | 515 | net/inet/sock.c | val=256; |
val | 516 | net/inet/sock.c | sk->sndbuf=val; |
val | 532 | net/inet/sock.c | if(val>32767) |
val | 533 | net/inet/sock.c | val=32767; |
val | 534 | net/inet/sock.c | if(val<256) |
val | 535 | net/inet/sock.c | val=256; |
val | 536 | net/inet/sock.c | sk->rcvbuf=val; |
val | 540 | net/inet/sock.c | if (val) sk->reuse = 1; |
val | 545 | net/inet/sock.c | if (val) sk->keepopen = 1; |
val | 550 | net/inet/sock.c | if (val) sk->urginline = 1; |
val | 555 | net/inet/sock.c | if (val) sk->no_check = 1; |
val | 560 | net/inet/sock.c | if (val >= 0 && val < DEV_NUMBUFFS) { |
val | 561 | net/inet/sock.c | sk->priority = val; |
val | 578 | net/inet/sock.c | int val; |
val | 593 | net/inet/sock.c | val = sk->debug; |
val | 597 | net/inet/sock.c | val = 0; |
val | 601 | net/inet/sock.c | val= sk->broadcast; |
val | 619 | net/inet/sock.c | val=sk->sndbuf; |
val | 623 | net/inet/sock.c | val =sk->rcvbuf; |
val | 627 | net/inet/sock.c | val = sk->reuse; |
val | 631 | net/inet/sock.c | val = sk->keepopen; |
val | 635 | net/inet/sock.c | if (sk->prot == &tcp_prot) val = SOCK_STREAM; |
val | 636 | net/inet/sock.c | else val = SOCK_DGRAM; |
val | 640 | net/inet/sock.c | val = sk->err; |
val | 645 | net/inet/sock.c | val = sk->urginline; |
val | 649 | net/inet/sock.c | val = sk->no_check; |
val | 653 | net/inet/sock.c | val = sk->priority; |
val | 667 | net/inet/sock.c | put_fs_long(val,(unsigned long *)optval); |
val | 365 | net/inet/udp.c | int val; |
val | 371 | net/inet/udp.c | val = get_fs_long((int *)arg); |
val | 372 | net/inet/udp.c | switch(val) { |
val | 62 | net/inet/utils.c | unsigned int val; |
val | 69 | net/inet/utils.c | val = 0; |
val | 71 | net/inet/utils.c | val *= 10; |
val | 72 | net/inet/utils.c | val += *str - '0'; |
val | 75 | net/inet/utils.c | l |= val; |
val | 106 | net/inet/utils.c | int val; |
val | 113 | net/inet/utils.c | val = get_fs_long((int *)arg); |
val | 114 | net/inet/utils.c | switch(val) { |
val | 139 | net/inet/utils.c | inet_debug = val; |