tag | line | file | source code |
reg | 158 | drivers/net/atp.h | write_reg(short port, unsigned char reg, unsigned char value) |
reg | 161 | drivers/net/atp.h | outb(EOC | reg, port + PAR_DATA); |
reg | 162 | drivers/net/atp.h | outval = WrAddr | reg; |
reg | 177 | drivers/net/atp.h | write_reg_high(short port, unsigned char reg, unsigned char value) |
reg | 179 | drivers/net/atp.h | unsigned char outval = EOC | HNib | reg; |
reg | 197 | drivers/net/atp.h | write_reg_byte(short port, unsigned char reg, unsigned char value) |
reg | 200 | drivers/net/atp.h | outb(EOC | reg, port + PAR_DATA); /* Reset the address register. */ |
reg | 201 | drivers/net/atp.h | outval = WrAddr | reg; |
reg | 371 | drivers/net/de620.c | de620_set_register(byte reg, byte value) |
reg | 374 | drivers/net/de620.c | outb(reg, DATA_PORT); |
reg | 381 | drivers/net/de620.c | de620_get_register(byte reg) |
reg | 385 | drivers/net/de620.c | de620_send_command(reg); |
reg | 109 | drivers/net/ni65.c | #define writereg(val,reg) {outw(reg,PORT+L_ADDRREG);inw(PORT+L_ADDRREG); \ |
reg | 111 | drivers/net/ni65.c | #define readreg(reg) (outw(reg,PORT+L_ADDRREG),inw(PORT+L_ADDRREG),\ |
reg | 73 | drivers/scsi/g_NCR5380.h | #define NCR5380_read(reg) (inb(port + (reg))) |
reg | 74 | drivers/scsi/g_NCR5380.h | #define NCR5380_write(reg, value) (outb((value), (port + (reg)))) |
reg | 479 | drivers/scsi/pas16.c | register unsigned short reg = (unsigned short) (instance->io_port + |
reg | 485 | drivers/scsi/pas16.c | insb( reg, d, i ); |
reg | 512 | drivers/scsi/pas16.c | register unsigned short reg = (instance->io_port + P_DATA_REG_OFFSET); |
reg | 517 | drivers/scsi/pas16.c | outsb( reg, s, i ); |
reg | 161 | drivers/scsi/pas16.h | #define PAS16_io_port(reg) ( io_port + pas16_offset[(reg)] ) |
reg | 164 | drivers/scsi/pas16.h | #define NCR5380_read(reg) ( inb(PAS16_io_port(reg)) ) |
reg | 165 | drivers/scsi/pas16.h | #define NCR5380_write(reg, value) ( outb((value),PAS16_io_port(reg)) ) |
reg | 167 | drivers/scsi/pas16.h | #define NCR5380_read(reg) \ |
reg | 169 | drivers/scsi/pas16.h | , instance->hostno, (reg), PAS16_io_port(reg))), inb( PAS16_io_port(reg)) ) |
reg | 171 | drivers/scsi/pas16.h | #define NCR5380_write(reg, value) \ |
reg | 173 | drivers/scsi/pas16.h | instance->hostno, (value), (reg), PAS16_io_port(reg)), \ |
reg | 174 | drivers/scsi/pas16.h | outb( (value),PAS16_io_port(reg) ) ) |
reg | 316 | drivers/scsi/t128.c | register unsigned char *reg = (unsigned char *) (instance->base + |
reg | 328 | drivers/scsi/t128.c | *d++ = *reg; |
reg | 360 | drivers/scsi/t128.c | register unsigned char *reg = (unsigned char *) (instance->base + |
reg | 371 | drivers/scsi/t128.c | *reg = *s++; |
reg | 138 | drivers/scsi/t128.h | #define T128_address(reg) (base + T_5380_OFFSET + ((reg) * 0x20)) |
reg | 141 | drivers/scsi/t128.h | #define NCR5380_read(reg) (*(T128_address(reg))) |
reg | 142 | drivers/scsi/t128.h | #define NCR5380_write(reg, value) (*(T128_address(reg)) = (value)) |
reg | 144 | drivers/scsi/t128.h | #define NCR5380_read(reg) \ |
reg | 146 | drivers/scsi/t128.h | , instance->hostno, (reg), T128_address(reg))), *(T128_address(reg))) |
reg | 148 | drivers/scsi/t128.h | #define NCR5380_write(reg, value) { \ |
reg | 150 | drivers/scsi/t128.h | instance->hostno, (value), (reg), T128_address(reg)); \ |
reg | 151 | drivers/scsi/t128.h | *(T128_address(reg)) = (value); \ |
reg | 309 | drivers/scsi/ultrastor.c | static inline unsigned char xchgb(unsigned char reg, |
reg | 312 | drivers/scsi/ultrastor.c | __asm__ ("xchgb %0,%1" : "=q" (reg), "=m" (*mem) : "0" (reg)); |
reg | 313 | drivers/scsi/ultrastor.c | return reg; |
reg | 99 | drivers/sound/ad1848.c | ad_read (ad1848_info * devc, int reg) |
reg | 105 | drivers/sound/ad1848.c | OUTB ((unsigned char) (reg & 0xff) | devc->MCE_bit, io_Index_Addr (devc)); |
reg | 114 | drivers/sound/ad1848.c | ad_write (ad1848_info * devc, int reg, int data) |
reg | 119 | drivers/sound/ad1848.c | OUTB ((unsigned char) (reg & 0xff) | devc->MCE_bit, io_Index_Addr (devc)); |
reg | 242 | drivers/sound/gus_wave.c | gus_write8 (int reg, unsigned int data) |
reg | 248 | drivers/sound/gus_wave.c | OUTB (reg, u_Command); |
reg | 255 | drivers/sound/gus_wave.c | gus_read8 (int reg) |
reg | 261 | drivers/sound/gus_wave.c | OUTB (reg | 0x80, u_Command); |
reg | 269 | drivers/sound/gus_wave.c | gus_look8 (int reg) |
reg | 275 | drivers/sound/gus_wave.c | OUTB (reg, u_Command); |
reg | 283 | drivers/sound/gus_wave.c | gus_write16 (int reg, unsigned int data) |
reg | 289 | drivers/sound/gus_wave.c | OUTB (reg, u_Command); |
reg | 298 | drivers/sound/gus_wave.c | gus_read16 (int reg) |
reg | 305 | drivers/sound/gus_wave.c | OUTB (reg | 0x80, u_Command); |
reg | 316 | drivers/sound/gus_wave.c | gus_write_addr (int reg, unsigned long address, int is16bit) |
reg | 334 | drivers/sound/gus_wave.c | gus_write16 (reg, (unsigned short) ((address >> 7) & 0xffff)); |
reg | 335 | drivers/sound/gus_wave.c | gus_write16 (reg + 1, (unsigned short) ((address << 9) & 0xffff)); |
reg | 338 | drivers/sound/gus_wave.c | gus_write16 (reg, (unsigned short) ((address >> 7) & 0xffff)); |
reg | 339 | drivers/sound/gus_wave.c | gus_write16 (reg + 1, (unsigned short) ((address << 9) & 0xffff)); |
reg | 188 | drivers/sound/sound_calls.h | unsigned char gus_read8 (int reg); |
reg | 189 | drivers/sound/sound_calls.h | void gus_write8(int reg, unsigned int data); |