/linux-master/drivers/net/ethernet/realtek/ |
H A D | atp.h | 97 outb(EOC+offset, port + PAR_DATA); 98 outb(RdAddr+offset, port + PAR_DATA); 101 outb(EOC+offset, port + PAR_DATA); 112 outb(Ctrl_LNibRead, ioaddr + PAR_CONTROL); 115 outb(Ctrl_HNibRead, ioaddr + PAR_CONTROL); 126 outb(Ctrl_LNibRead, ioaddr + PAR_CONTROL); 129 outb(Ctrl_HNibRead, ioaddr + PAR_CONTROL); 139 outb(RdAddr | MAR, ioaddr + PAR_DATA); 141 outb(RdAddr | HNib | MAR, ioaddr + PAR_DATA); 150 outb(RdAdd [all...] |
/linux-master/arch/alpha/kernel/ |
H A D | es1888.c | 29 outb(0x01, 0x0226); /* reset */ 31 outb(0x00, 0x0226); /* release reset */ 35 outb(0xc6, 0x022c); /* enable extended mode */ 39 outb(0xb1, 0x022c); /* setup for write to Interrupt CR */ 42 outb(0x14, 0x022c); /* set IRQ 5 */ 45 outb(0xb2, 0x022c); /* setup for write to DMA CR */ 48 outb(0x18, 0x022c); /* set DMA channel 1 */
|
H A D | smc37c93x.c | 96 outb(CONFIG_ON_KEY, configPort); 97 outb(CONFIG_ON_KEY, configPort); 98 outb(DEVICE_ID, indexPort); 101 outb(DEVICE_REV, indexPort); 113 outb(CONFIG_OFF_KEY, baseAddr); 142 outb(LOGICAL_DEVICE_NUMBER, indexPort); 143 outb(device, dataPort); 145 outb(ADDR_LO, indexPort); 146 outb(( portaddr & 0xFF ), dataPort); 148 outb(ADDR_H [all...] |
H A D | sys_ruffian.c | 42 outb(0x11,0xA0); 43 outb(0x08,0xA1); 44 outb(0x02,0xA1); 45 outb(0x01,0xA1); 46 outb(0xFF,0xA1); 48 outb(0x11,0x20); 49 outb(0x00,0x21); 50 outb(0x04,0x21); 51 outb(0x01,0x21); 52 outb( [all...] |
/linux-master/drivers/comedi/drivers/ |
H A D | ssv_dnp.c | 57 outb(PADR, CSCIR); 58 outb(s->state & 0xff, CSCDR); 60 outb(PBDR, CSCIR); 61 outb((s->state >> 8) & 0xff, CSCDR); 63 outb(PCDR, CSCIR); 65 outb(((s->state >> 12) & 0xf0) | val, CSCDR); 68 outb(PADR, CSCIR); 70 outb(PBDR, CSCIR); 72 outb(PCDR, CSCIR); 96 outb(PAM [all...] |
/linux-master/arch/mips/include/asm/mach-malta/ |
H A D | mc146818rtc.h | 22 outb(addr, MALTA_RTC_ADR_REG); 28 outb(addr, MALTA_RTC_ADR_REG); 29 outb(data, MALTA_RTC_DAT_REG);
|
/linux-master/arch/x86/include/asm/ |
H A D | pc-conf-reg.h | 23 outb(reg, PC_CONF_INDEX); 29 outb(reg, PC_CONF_INDEX); 30 outb(data, PC_CONF_DATA);
|
H A D | mach_timer.h | 24 outb((inb(0x61) & ~0x02) | 0x01, 0x61); 35 outb(0xb0, 0x43); /* binary, mode 0, LSB/MSB, Ch 2 */
|
H A D | mach_traps.h | 34 outb(0x8f, 0x70); 36 outb(0x0f, 0x70); 39 outb(old_reg, 0x70);
|
/linux-master/arch/arm/mach-footbridge/ |
H A D | isa-irq.c | 34 outb(inb(PIC_MASK_LO) | mask, PIC_MASK_LO); 41 outb(inb(PIC_MASK_LO) | mask, PIC_MASK_LO); 42 outb(0x20, PIC_LO); 49 outb(inb(PIC_MASK_LO) & ~mask, PIC_MASK_LO); 62 outb(inb(PIC_MASK_HI) | mask, PIC_MASK_HI); 69 outb(inb(PIC_MASK_HI) | mask, PIC_MASK_HI); 70 outb(0x62, PIC_LO); 71 outb(0x20, PIC_HI); 78 outb(inb(PIC_MASK_HI) & ~mask, PIC_MASK_HI); 120 outb( [all...] |
H A D | dma-isa.c | 103 outb(address >> 16, isa_dma_port[chan][ISA_DMA_PGLO]); 104 outb(address >> 24, isa_dma_port[chan][ISA_DMA_PGHI]); 111 outb(0, isa_dma_port[chan][ISA_DMA_CLRFF]); 113 outb(address, isa_dma_port[chan][ISA_DMA_ADDR]); 114 outb(address >> 8, isa_dma_port[chan][ISA_DMA_ADDR]); 116 outb(length, isa_dma_port[chan][ISA_DMA_COUNT]); 117 outb(length >> 8, isa_dma_port[chan][ISA_DMA_COUNT]); 119 outb(mode, isa_dma_port[chan][ISA_DMA_MODE]); 122 outb(chan & 3, isa_dma_port[chan][ISA_DMA_MASK]); 127 outb(cha [all...] |
/linux-master/arch/x86/kernel/ |
H A D | i8259.c | 67 outb(cached_slave_mask, PIC_SLAVE_IMR); 69 outb(cached_master_mask, PIC_MASTER_IMR); 86 outb(cached_slave_mask, PIC_SLAVE_IMR); 88 outb(cached_master_mask, PIC_MASTER_IMR); 135 outb(0x0B, PIC_MASTER_CMD); /* ISR register */ 137 outb(0x0A, PIC_MASTER_CMD); /* back to the IRR register */ 140 outb(0x0B, PIC_SLAVE_CMD); /* ISR register */ 142 outb(0x0A, PIC_SLAVE_CMD); /* back to the IRR register */ 181 outb(cached_slave_mask, PIC_SLAVE_IMR); 183 outb( [all...] |
/linux-master/arch/x86/realmode/rm/ |
H A D | wakemain.c | 20 outb(0xb6, 0x43); /* Ctr 2, squarewave, load, binary */ 22 outb(div, 0x42); /* LSB of counter */ 24 outb(div >> 8, 0x42); /* MSB of counter */ 31 outb(enable, 0x61); /* Enable timer 2 output to speaker */
|
/linux-master/arch/powerpc/sysdev/ |
H A D | i8259.c | 44 outb(0x0C, 0x20); /* prepare for poll */ 51 outb(0x0C, 0xA0); /* prepare for poll */ 65 outb(0x0B, 0x20); /* ISR register */ 84 outb(cached_A1, 0xA1); 85 outb(0x20, 0xA0); /* Non-specific EOI */ 86 outb(0x20, 0x20); /* Non-specific EOI to cascade */ 90 outb(cached_21, 0x21); 91 outb(0x20, 0x20); /* Non-specific EOI */ 98 outb(cached_A1,0xA1); 99 outb(cached_2 [all...] |
/linux-master/arch/x86/boot/ |
H A D | early_serial_console.c | 31 outb(0x3, port + LCR); /* 8n1 */ 32 outb(0, port + IER); /* no interrupt */ 33 outb(0, port + FCR); /* no fifo */ 34 outb(0x3, port + MCR); /* DTR + RTS */ 38 outb(c | DLAB, port + LCR); 39 outb(divisor & 0xff, port + DLL); 40 outb((divisor >> 8) & 0xff, port + DLH); 41 outb(c & ~DLAB, port + LCR); 108 outb(lcr | DLAB, port + LCR); 111 outb(lc [all...] |
H A D | pm.c | 29 outb(0x80, 0x70); /* Disable NMI */ 39 outb(0xff, 0xa1); /* Mask all interrupts on the secondary PIC */ 41 outb(0xfb, 0x21); /* Mask all but cascade on the primary PIC */ 50 outb(0, 0xf0); 52 outb(0, 0xf1);
|
/linux-master/drivers/input/mouse/ |
H A D | inport.c | 71 outb(INPORT_REG_MODE, INPORT_CONTROL_PORT); 72 outb(INPORT_MODE_HOLD | INPORT_MODE_IRQ | INPORT_MODE_BASE, INPORT_DATA_PORT); 74 outb(INPORT_REG_X, INPORT_CONTROL_PORT); 77 outb(INPORT_REG_Y, INPORT_CONTROL_PORT); 80 outb(INPORT_REG_BTNS, INPORT_CONTROL_PORT); 87 outb(INPORT_REG_MODE, INPORT_CONTROL_PORT); 88 outb(INPORT_MODE_IRQ | INPORT_MODE_BASE, INPORT_DATA_PORT); 98 outb(INPORT_REG_MODE, INPORT_CONTROL_PORT); 99 outb(INPORT_MODE_IRQ | INPORT_MODE_BASE, INPORT_DATA_PORT); 106 outb(INPORT_REG_MOD [all...] |
/linux-master/drivers/input/gameport/ |
H A D | lightning.c | 63 outb(L4_SELECT_ANALOG, L4_PORT); 64 outb(L4_SELECT_DIGITAL + (l4->port >> 2), L4_PORT); 67 outb(l4->port & 3, L4_PORT); 86 fail: outb(L4_SELECT_ANALOG, L4_PORT); 96 outb(L4_SELECT_ANALOG, L4_PORT); 108 outb(L4_SELECT_ANALOG, L4_PORT); 109 outb(L4_SELECT_DIGITAL + (port >> 2), L4_PORT); 113 outb(L4_CMD_GETCAL, L4_PORT); 122 outb(port & 3, L4_PORT); 132 out: outb(L4_SELECT_ANALO [all...] |
/linux-master/drivers/media/radio/ |
H A D | radio-zoltrix.c | 48 #include <linux/io.h> /* outb, outb_p */ 94 outb(0, isa->io); 95 outb(0, isa->io); 100 outb(vol - 1, isa->io); 126 outb(0, isa->io); 127 outb(0, isa->io); 130 outb(0x40, isa->io); 131 outb(0xc0, isa->io); 136 outb(0x80, isa->io); 138 outb( [all...] |
/linux-master/drivers/irqchip/ |
H A D | irq-i8259.c | 77 outb(cached_slave_mask, PIC_SLAVE_IMR); 79 outb(cached_master_mask, PIC_MASTER_IMR); 92 outb(cached_slave_mask, PIC_SLAVE_IMR); 94 outb(cached_master_mask, PIC_MASTER_IMR); 117 outb(0x0B, PIC_MASTER_CMD); /* ISR register */ 119 outb(0x0A, PIC_MASTER_CMD); /* back to the IRR register */ 122 outb(0x0B, PIC_SLAVE_CMD); /* ISR register */ 124 outb(0x0A, PIC_SLAVE_CMD); /* back to the IRR register */ 163 outb(cached_slave_mask, PIC_SLAVE_IMR); 164 outb( [all...] |
/linux-master/arch/mips/include/asm/ |
H A D | i8259.h | 64 outb(0x0C, PIC_MASTER_CMD); /* prepare for poll */ 71 outb(0x0C, PIC_SLAVE_CMD); /* prepare for poll */ 83 outb(0x0B, PIC_MASTER_ISR); /* ISR register */
|
/linux-master/arch/mips/loongson2ef/lemote-2f/ |
H A D | ec_kb3310b.c | 25 outb((addr & 0xff00) >> 8, EC_IO_PORT_HIGH); 26 outb((addr & 0x00ff), EC_IO_PORT_LOW); 39 outb((addr & 0xff00) >> 8, EC_IO_PORT_HIGH); 40 outb((addr & 0x00ff), EC_IO_PORT_LOW); 41 outb(val, EC_IO_PORT_DATA); 62 outb(cmd, EC_CMD_PORT);
|
/linux-master/drivers/scsi/ |
H A D | ppa.h | 133 #define w_dtr(x,y) outb(y, (x)) 134 #define w_str(x,y) outb(y, (x)+1) 135 #define w_epp(x,y) outb(y, (x)+4) 136 #define w_fifo(x,y) outb(y, (x)) /* x must be base_hi */ 137 #define w_ecr(x,y) outb(y, (x)+0x2)/* x must be base_hi */ 142 #define w_ctr(x,y) outb(y, (x)+2)
|
H A D | imm.h | 126 #define w_dtr(x,y) outb(y, (x)) 127 #define w_str(x,y) outb(y, (x)+1) 128 #define w_epp(x,y) outb(y, (x)+4) 129 #define w_fifo(x,y) outb(y, (x)) /* x must be base_hi */ 130 #define w_ecr(x,y) outb(y, (x)+0x2) /* x must be base_hi */ 135 #define w_ctr(x,y) outb(y, (x)+2)
|
/linux-master/drivers/misc/c2port/ |
H A D | c2port-duramar2150.c | 39 outb(v | (C2D | C2CK), DIR_PORT); 43 outb(v & ~(C2D | C2CK), DIR_PORT); 57 outb(v & ~C2D, DIR_PORT); 59 outb(v | C2D, DIR_PORT); 78 outb(v | C2D, DATA_PORT); 80 outb(v & ~C2D, DATA_PORT); 94 outb(v | C2CK, DATA_PORT); 96 outb(v & ~C2CK, DATA_PORT);
|