/linux-2.4.37.9/drivers/video/ |
D | vgacon.c | 159 outb_p(reg, vga_video_port_reg); in write_vga() 160 outb_p(val >> 8, vga_video_port_val); in write_vga() 161 outb_p(reg+1, vga_video_port_reg); in write_vga() 162 outb_p(val & 0xff, vga_video_port_val); in write_vga() 244 outb_p (6, 0x3ce) ; in vgacon_startup() 245 outb_p (6, 0x3cf) ; in vgacon_startup() 256 outb_p (i, 0x3c0) ; in vgacon_startup() 257 outb_p (i, 0x3c0) ; in vgacon_startup() 259 outb_p (0x20, 0x3c0) ; in vgacon_startup() 265 outb_p (color_table[i], 0x3c8) ; in vgacon_startup() [all …]
|
D | vga16fb.c | 485 outb_p(i, VGA_ATT_IW); in vga16fb_set_par() 486 outb_p(par->atc[i], VGA_ATT_IW); in vga16fb_set_par() 552 outb_p(regno, 0x3C0); in ega16_setpalette() 553 outb_p(val, 0x3C0); in ega16_setpalette() 555 outb_p(0x20, 0x3C0); /* unblank screen */ in ega16_setpalette() 753 outb_p(0x00,vga_video_port_reg); /* HorizontalTotal */ in vga_vesa_blank() 755 outb_p(0x01,vga_video_port_reg); /* HorizDisplayEnd */ in vga_vesa_blank() 757 outb_p(0x04,vga_video_port_reg); /* StartHorizRetrace */ in vga_vesa_blank() 759 outb_p(0x05,vga_video_port_reg); /* EndHorizRetrace */ in vga_vesa_blank() 761 outb_p(0x07,vga_video_port_reg); /* Overflow */ in vga_vesa_blank() [all …]
|
D | hgafb.c | 176 outb_p(reg, HGA_INDEX_PORT); in write_hga_b() 177 outb_p(val, HGA_VALUE_PORT); in write_hga_b() 182 outb_p(reg, HGA_INDEX_PORT); outb_p(val >> 8, HGA_VALUE_PORT); in write_hga_w() 183 outb_p(reg+1, HGA_INDEX_PORT); outb_p(val & 0xff, HGA_VALUE_PORT); in write_hga_w() 188 outb_p(reg, HGA_INDEX_PORT); in test_hga_b() 216 outb_p(HGA_MODE_VIDEO_EN | HGA_MODE_BLINK_EN, HGA_MODE_PORT); in hga_txt_mode() 217 outb_p(0x00, HGA_GFX_PORT); in hga_txt_mode() 218 outb_p(0x00, HGA_STATUS_PORT); in hga_txt_mode() 248 outb_p(0x00, HGA_STATUS_PORT); in hga_gfx_mode() 249 outb_p(HGA_GFX_MODE_EN, HGA_GFX_PORT); in hga_gfx_mode() [all …]
|
/linux-2.4.37.9/drivers/net/irda/ |
D | toshoboe.c | 99 outb_p (0x0e, OBOE_REG_11); in toshoboe_stopchip() 101 outb_p (0x00, OBOE_RST); in toshoboe_stopchip() 102 outb_p (0x3f, OBOE_TFP2); /*Write the taskfile address */ in toshoboe_stopchip() 103 outb_p (0xff, OBOE_TFP1); in toshoboe_stopchip() 104 outb_p (0xff, OBOE_TFP0); in toshoboe_stopchip() 105 outb_p (0x0f, OBOE_REG_1B); in toshoboe_stopchip() 106 outb_p (0xff, OBOE_REG_1A); in toshoboe_stopchip() 107 outb_p (0x00, OBOE_ISR); /*FIXME: should i do this to disbale ints */ in toshoboe_stopchip() 108 outb_p (0x80, OBOE_RST); in toshoboe_stopchip() 109 outb_p (0xe, OBOE_LOCK); in toshoboe_stopchip() [all …]
|
/linux-2.4.37.9/drivers/isdn/hisax/ |
D | s0box.c | 29 outb_p(0x1c,padr+2); in writereg() 30 outb_p(0x14,padr+2); in writereg() 31 outb_p((addr+off)&0x7f,padr); in writereg() 32 outb_p(0x16,padr+2); in writereg() 33 outb_p(val,padr); in writereg() 34 outb_p(0x17,padr+2); in writereg() 35 outb_p(0x14,padr+2); in writereg() 36 outb_p(0x1c,padr+2); in writereg() 51 outb_p(0x1c,padr+2); in readreg() 52 outb_p(0x14,padr+2); in readreg() [all …]
|
/linux-2.4.37.9/drivers/net/ |
D | hp.c | 158 outb_p(irqmap[irq] | HP_RUN, ioaddr + HP_CONFIGURE); in hp_probe1() 159 outb_p( 0x00 | HP_RUN, ioaddr + HP_CONFIGURE); in hp_probe1() 229 outb_p(0x00, hp_base + HP_CONFIGURE); in hp_reset_8390() 234 outb_p(saved_config, hp_base + HP_CONFIGURE); in hp_reset_8390() 250 outb_p(saved_config | HP_DATAON, nic_base - NIC_OFFSET + HP_CONFIGURE); in hp_get_8390_hdr() 251 outb_p(E8390_NODMA+E8390_PAGE0+E8390_START, nic_base); in hp_get_8390_hdr() 252 outb_p(sizeof(struct e8390_pkt_hdr), nic_base + EN0_RCNTLO); in hp_get_8390_hdr() 253 outb_p(0, nic_base + EN0_RCNTHI); in hp_get_8390_hdr() 254 outb_p(0, nic_base + EN0_RSARLO); /* On page boundary */ in hp_get_8390_hdr() 255 outb_p(ring_page, nic_base + EN0_RSARHI); in hp_get_8390_hdr() [all …]
|
D | 8390.c | 284 outb_p(0x00, e8390_base + EN0_IMR); in ei_start_xmit() 333 outb_p(ENISR_ALL, e8390_base + EN0_IMR); in ei_start_xmit() 403 outb_p(ENISR_ALL, e8390_base + EN0_IMR); in ei_start_xmit() 464 outb_p(E8390_NODMA+E8390_PAGE0, e8390_base + E8390_CMD); in ei_interrupt() 476 outb_p(interrupts, e8390_base + EN0_ISR); in ei_interrupt() 498 outb_p(ENISR_COUNTERS, e8390_base + EN0_ISR); /* Ack intr. */ in ei_interrupt() 504 outb_p(ENISR_RDC, e8390_base + EN0_ISR); in ei_interrupt() 507 outb_p(E8390_NODMA+E8390_PAGE0+E8390_START, e8390_base + E8390_CMD); in ei_interrupt() 512 outb_p(E8390_NODMA+E8390_PAGE0+E8390_START, e8390_base + E8390_CMD); in ei_interrupt() 519 outb_p(ENISR_ALL, e8390_base + EN0_ISR); /* Ack. most intrs. */ in ei_interrupt() [all …]
|
D | ne.c | 264 outb_p(E8390_NODMA+E8390_PAGE1+E8390_STOP, ioaddr + E8390_CMD); in ne_probe1() 266 outb_p(0xff, ioaddr + 0x0d); in ne_probe1() 267 outb_p(E8390_NODMA+E8390_PAGE0, ioaddr + E8390_CMD); in ne_probe1() 270 outb_p(reg0, ioaddr); in ne_probe1() 271 outb_p(regd, ioaddr + 0x0d); /* Restore the old values. */ in ne_probe1() 310 outb_p(0xff, ioaddr + EN0_ISR); /* Ack all intr. */ in ne_probe1() 336 outb_p(program_seq[i].value, ioaddr + program_seq[i].offset); in ne_probe1() 351 outb_p(0x49, ioaddr + EN0_DCFG); in ne_probe1() 417 outb_p(0x50, ioaddr + EN0_IMR); /* Enable one interrupt. */ in ne_probe1() 418 outb_p(0x00, ioaddr + EN0_RCNTLO); in ne_probe1() [all …]
|
D | ne2.c | 382 outb_p(0xff, base_addr + EN0_ISR); /* Ack all intr. */ in ne2_probe1() 413 outb_p(program_seq[i].value, base_addr + in ne2_probe1() 532 outb_p(ENISR_RESET, NE_BASE + EN0_ISR); /* Ack intr. */ in ne_reset_8390() 555 outb_p(E8390_NODMA+E8390_PAGE0+E8390_START, nic_base+ NE_CMD); in ne_get_8390_hdr() 556 outb_p(sizeof(struct e8390_pkt_hdr), nic_base + EN0_RCNTLO); in ne_get_8390_hdr() 557 outb_p(0, nic_base + EN0_RCNTHI); in ne_get_8390_hdr() 558 outb_p(0, nic_base + EN0_RSARLO); /* On page boundary */ in ne_get_8390_hdr() 559 outb_p(ring_page, nic_base + EN0_RSARHI); in ne_get_8390_hdr() 560 outb_p(E8390_RREAD+E8390_START, nic_base + NE_CMD); in ne_get_8390_hdr() 569 outb_p(ENISR_RDC, nic_base + EN0_ISR); /* Ack intr. */ in ne_get_8390_hdr() [all …]
|
D | 3c503.c | 179 outb_p(ECNTRL_RESET|ECNTRL_THIN, ioaddr + 0x406); /* Reset it... */ in el2_probe1() 180 outb_p(ECNTRL_THIN, ioaddr + 0x406); in el2_probe1() 213 outb_p(E8390_PAGE0, ioaddr + E8390_CMD); in el2_probe1() 214 outb_p(0, ioaddr + EN0_DCFG); in el2_probe1() 215 outb_p(E8390_PAGE2, ioaddr + E8390_CMD); in el2_probe1() 217 outb_p(E8390_PAGE0, ioaddr + E8390_CMD); in el2_probe1() 347 outb_p(0x04 << ((*irqp == 9) ? 2 : *irqp), E33G_IDCFR); in el2_open() 348 outb_p(0x00, E33G_IDCFR); in el2_open() 393 outb_p(ECNTRL_RESET|ECNTRL_THIN, E33G_CNTRL); in el2_reset_8390() 395 outb_p(ei_status.interface_num==0 ? ECNTRL_THIN : ECNTRL_AUI, E33G_CNTRL); in el2_reset_8390() [all …]
|
D | de600.c | 283 #define select_prn() outb_p(SELECT_PRN, COMMAND_PORT); DE600_SLOW_DOWN 284 #define select_nic() outb_p(SELECT_NIC, COMMAND_PORT); DE600_SLOW_DOWN 288 outb_p(((data) << 4) | WRITE_DATA , DATA_PORT), \ 289 outb_p(((data) & 0xf0) | WRITE_DATA | HI_NIBBLE, DATA_PORT)) 296 outb_p(( rx_page << 4) | COMMAND , DATA_PORT), \ 297 outb_p(( rx_page & 0xf0) | COMMAND | HI_NIBBLE, DATA_PORT), \ 298 outb_p(((rx_page | cmd) << 4) | COMMAND , DATA_PORT), \ 299 outb_p(((rx_page | cmd) & 0xf0) | COMMAND | HI_NIBBLE, DATA_PORT)) 302 outb_p((((addr) << 4) & 0xf0) | type , DATA_PORT), \ 303 outb_p(( (addr) & 0xf0) | type | HI_NIBBLE, DATA_PORT), \ [all …]
|
/linux-2.4.37.9/include/asm-arm/ |
D | mc146818rtc.h | 22 outb_p((addr),RTC_PORT(0)); \ 26 outb_p((addr),RTC_PORT(0)); \ 27 outb_p((val),RTC_PORT(1)); \ 40 outb_p((addr),RTC_PORT(0)); \ 41 outb_p((addr),RTC_PORT(3)); \ 45 outb_p((addr),RTC_PORT(0)); \ 46 outb_p((addr),RTC_PORT(3)); \ 47 outb_p((val),RTC_PORT(1)); \
|
/linux-2.4.37.9/drivers/char/ |
D | wdt83627.c | 86 outb_p(0x87, WDT_EFER); /* Enter extended function mode */ in w83627hf_select_wd_register() 87 outb_p(0x87, WDT_EFER); /* Again according to manual */ in w83627hf_select_wd_register() 89 outb_p(0x07, WDT_EFER); /* point to logical device number reg */ in w83627hf_select_wd_register() 90 outb_p(0x08, WDT_EFDR); /* select logical device 8 (GPIO2) */ in w83627hf_select_wd_register() 91 outb_p(0x30, WDT_EFER); /* select CR30 */ in w83627hf_select_wd_register() 92 outb_p(0x01, WDT_EFDR); /* set bit 0 to activate GPIO2 */ in w83627hf_select_wd_register() 98 outb_p(0xAA, WDT_EFER); /* Leave extended function mode */ in w83627hf_unselect_wd_register() 110 outb_p(0xF6, WDT_EFER); /* Select CRF6 */ in w83627hf_init() 111 outb_p(0, WDT_EFDR); /* set to 0 initially */ in w83627hf_init() 112 outb_p(0xF5, WDT_EFER); /* Select CRF5 */ in w83627hf_init() [all …]
|
D | qpmouse.c | 150 outb_p(status & ~(QP_ENABLE|QP_INTS_ON), qp_status); in release_qp() 181 outb_p(status, qp_status); in open_qp() 183 outb_p(status, qp_status); in open_qp() 187 outb_p(status, qp_status); /* Enable interrupts */ in open_qp() 193 outb_p(status, qp_status); in open_qp() 198 outb_p(AUX_ENABLE_DEV, qp_data); /* Wake up mouse */ in open_qp() 216 outb_p(c, qp_data); in write_qp() 316 outb_p(index, 0x390); /* Write index */ in read_710() 327 outb_p(0x55, 0x2fa); /* Any value except 9, ff or 36 */ in probe_qp() 328 outb_p(0xaa, 0x3fa); /* Inverse of 55 */ in probe_qp() [all …]
|
/linux-2.4.37.9/drivers/net/pcmcia/ |
D | axnet_cs.c | 331 outb_p(program_seq[i].value, ioaddr + program_seq[i].offset); in get_prom() 639 outb_p(MDIO_DATA_WRITE1, addr); in mdio_sync() 640 outb_p(MDIO_DATA_WRITE1 | MDIO_SHIFT_CLK, addr); in mdio_sync() 652 outb_p(dat, addr); in mdio_read() 653 outb_p(dat | MDIO_SHIFT_CLK, addr); in mdio_read() 656 outb_p(MDIO_ENB_IN, addr); in mdio_read() 658 outb_p(MDIO_ENB_IN | MDIO_SHIFT_CLK, addr); in mdio_read() 671 outb_p(dat, addr); in mdio_write() 672 outb_p(dat | MDIO_SHIFT_CLK, addr); in mdio_write() 675 outb_p(MDIO_ENB_IN, addr); in mdio_write() [all …]
|
D | pcnet_cs.c | 477 outb_p(program_seq[i].value, ioaddr + program_seq[i].offset); in get_prom() 533 outb_p(0x01, ioaddr + EN0_DCFG); /* Set word-wide access. */ in get_ax88190() 534 outb_p(0x00, ioaddr + EN0_RSARLO); /* DMA starting at 0x0400. */ in get_ax88190() 535 outb_p(0x04, ioaddr + EN0_RSARHI); in get_ax88190() 536 outb_p(E8390_RREAD+E8390_START, ioaddr + E8390_CMD); in get_ax88190() 963 outb_p(0x08, addr); in mdio_reset() 964 outb_p(0x0c, addr); in mdio_reset() 965 outb_p(0x08, addr); in mdio_reset() 966 outb_p(0x0c, addr); in mdio_reset() 967 outb_p(0x00, addr); in mdio_reset() [all …]
|
/linux-2.4.37.9/drivers/media/radio/ |
D | radio-rtrack2.c | 62 outb_p(1, io); in zero() 63 outb_p(3, io); in zero() 64 outb_p(1, io); in zero() 69 outb_p(5, io); in one() 70 outb_p(7, io); in one() 71 outb_p(5, io); in one() 82 outb_p(0xc8, io); in rt_setfreq() 83 outb_p(0xc9, io); in rt_setfreq() 84 outb_p(0xc9, io); in rt_setfreq() 95 outb_p(0xc8, io); in rt_setfreq() [all …]
|
D | radio-gemtek.c | 72 outb_p(0x04, io); in zero() 74 outb_p(0x05, io); in zero() 80 outb_p(0x06, io); in one() 82 outb_p(0x07, io); in one() 100 outb_p(0x03, io); in gemtek_setfreq() 102 outb_p(0x07, io); in gemtek_setfreq() 121 outb_p(0x03, io); in gemtek_setfreq() 123 outb_p(0x07, io); in gemtek_setfreq()
|
/linux-2.4.37.9/arch/i386/kernel/ |
D | mca.c | 221 outb_p(0, MCA_ADAPTER_SETUP_REG); in mca_init() 225 outb_p(0x7f, MCA_MOTHERBOARD_SETUP_REG); in mca_init() 236 outb_p(0xdf, MCA_MOTHERBOARD_SETUP_REG); in mca_init() 255 outb_p(0xf7, MCA_MOTHERBOARD_SETUP_REG); in mca_init() 277 outb_p(0xfd, MCA_MOTHERBOARD_SETUP_REG); in mca_init() 285 outb_p(0xff, MCA_MOTHERBOARD_SETUP_REG); in mca_init() 292 outb_p(0x8|(i&0xf), MCA_ADAPTER_SETUP_REG); in mca_init() 300 outb_p(0, MCA_ADAPTER_SETUP_REG); in mca_init() 520 outb_p(0xff, MCA_MOTHERBOARD_SETUP_REG); in mca_read_pos() 528 outb_p(0, MCA_ADAPTER_SETUP_REG); in mca_read_pos() [all …]
|
D | i8259.c | 349 outb_p(0x11, 0x20); /* ICW1: select 8259A-1 init */ in init_8259A() 350 outb_p(0x20 + 0, 0x21); /* ICW2: 8259A-1 IR0-7 mapped to 0x20-0x27 */ in init_8259A() 351 outb_p(0x04, 0x21); /* 8259A-1 (the master) has a slave on IR2 */ in init_8259A() 353 outb_p(0x03, 0x21); /* master does Auto EOI */ in init_8259A() 355 outb_p(0x01, 0x21); /* master expects normal EOI */ in init_8259A() 357 outb_p(0x11, 0xA0); /* ICW1: select 8259A-2 init */ in init_8259A() 358 outb_p(0x20 + 8, 0xA1); /* ICW2: 8259A-2 IR0-7 mapped to 0x28-0x2f */ in init_8259A() 359 outb_p(0x02, 0xA1); /* 8259A-2 is a slave on master's IR2 */ in init_8259A() 360 outb_p(0x01, 0xA1); /* (slave's support for AEOI in flat mode in init_8259A() 497 outb_p(0x34,0x43); /* binary, mode 2, LSB/MSB, ch 0 */ in init_IRQ() [all …]
|
/linux-2.4.37.9/drivers/ide/legacy/ |
D | ali14xx.c | 105 outb_p(reg, regPort); in inReg() 114 outb_p(reg, regPort); in outReg() 115 outb_p(data, dataPort); in outReg() 149 outb_p(regOn, basePort); in ali14xx_tune_drive() 154 outb_p(regOff, basePort); in ali14xx_tune_drive() 172 outb_p(regOn, basePort); in findPort() 177 outb_p(regOff, basePort); in findPort() 184 outb_p(regOff, basePort); in findPort() 199 outb_p(regOn, basePort); in initRegisters() 202 outb_p(0x01, regPort); in initRegisters() [all …]
|
D | umc8672.c | 84 outb_p(port,0x108); in out_umc() 85 outb_p(wert,0x109); in out_umc() 90 outb_p(port,0x108); in in_umc() 98 outb_p(0x5A,0x108); /* enable umc */ in umc_set_speeds() 111 outb_p(0xa5,0x108); /* disable umc */ in umc_set_speeds() 145 outb_p(0x5A,0x108); /* enable umc */ in probe_umc8672() 152 outb_p(0xa5,0x108); /* disable umc */ in probe_umc8672() 193 outb_p(0xa5,0x108); /* disable umc */ in umc8672_release()
|
/linux-2.4.37.9/arch/mips64/kernel/ |
D | i8259.c | 235 outb_p(0x11, 0x20); /* ICW1: select 8259A-1 init */ in init_8259A() 236 outb_p(0x00, 0x21); /* ICW2: 8259A-1 IR0-7 mapped to 0x00-0x07 */ in init_8259A() 237 outb_p(0x04, 0x21); /* 8259A-1 (the master) has a slave on IR2 */ in init_8259A() 239 outb_p(0x03, 0x21); /* master does Auto EOI */ in init_8259A() 241 outb_p(0x01, 0x21); /* master expects normal EOI */ in init_8259A() 243 outb_p(0x11, 0xA0); /* ICW1: select 8259A-2 init */ in init_8259A() 244 outb_p(0x08, 0xA1); /* ICW2: 8259A-2 IR0-7 mapped to 0x08-0x0f */ in init_8259A() 245 outb_p(0x02, 0xA1); /* 8259A-2 is a slave on master's IR2 */ in init_8259A() 246 outb_p(0x01, 0xA1); /* (slave's support for AEOI in flat mode in init_8259A()
|
/linux-2.4.37.9/arch/mips/kernel/ |
D | i8259.c | 235 outb_p(0x11, 0x20); /* ICW1: select 8259A-1 init */ in init_8259A() 236 outb_p(0x00, 0x21); /* ICW2: 8259A-1 IR0-7 mapped to 0x00-0x07 */ in init_8259A() 237 outb_p(0x04, 0x21); /* 8259A-1 (the master) has a slave on IR2 */ in init_8259A() 239 outb_p(0x03, 0x21); /* master does Auto EOI */ in init_8259A() 241 outb_p(0x01, 0x21); /* master expects normal EOI */ in init_8259A() 243 outb_p(0x11, 0xA0); /* ICW1: select 8259A-2 init */ in init_8259A() 244 outb_p(0x08, 0xA1); /* ICW2: 8259A-2 IR0-7 mapped to 0x08-0x0f */ in init_8259A() 245 outb_p(0x02, 0xA1); /* 8259A-2 is a slave on master's IR2 */ in init_8259A() 246 outb_p(0x01, 0xA1); /* (slave's support for AEOI in flat mode in init_8259A()
|
/linux-2.4.37.9/arch/sh/kernel/ |
D | setup_7751se.c | 29 outb_p(index, INDEX_PORT); 30 outb_p(data, DATA_PORT); 35 outb_p(CONFIG_ENTER, CONFIG_PORT); 36 outb_p(CONFIG_ENTER, CONFIG_PORT); 73 outb_p(CONFIG_EXIT, CONFIG_PORT);
|