tag | line | file | source code |
outw | 222 | arch/alpha/lib/io.c | outw(*(unsigned short*)src, port); |
outw | 232 | arch/alpha/lib/io.c | outw(w >> 0, port); |
outw | 233 | arch/alpha/lib/io.c | outw(w >> 16, port); |
outw | 237 | arch/alpha/lib/io.c | outw(*(unsigned short *) src, port); |
outw | 1570 | drivers/block/aztcd.c | outw(AZT_SW32_INIT,AZT_SW32_CONFIG_REG); |
outw | 204 | drivers/block/cm206.c | outw(command, r_uart_transmit); |
outw | 255 | drivers/block/cm206.c | outw(dc_normal | (inw(r_data_status) & 0x7f), r_data_control); |
outw | 256 | drivers/block/cm206.c | outw(cd->command, r_uart_transmit); |
outw | 284 | drivers/block/cm206.c | outw(dc_normal | READ_AHEAD, r_data_control); |
outw | 327 | drivers/block/cm206.c | outw(dc_mask_sync_error | dc_no_stop_on_error | |
outw | 333 | drivers/block/cm206.c | outw(command, r_uart_transmit); |
outw | 336 | drivers/block/cm206.c | else outw(command, r_uart_transmit); |
outw | 394 | drivers/block/cm206.c | outw(dc_normal | dc_initialize | READ_AHEAD, r_data_control); |
outw | 396 | drivers/block/cm206.c | outw(dc_normal | READ_AHEAD, r_data_control); |
outw | 451 | drivers/block/cm206.c | outw(dc_normal | BACK_AHEAD, r_data_control); |
outw | 499 | drivers/block/cm206.c | outw(dc_mask_sync_error | dc_no_stop_on_error | |
outw | 504 | drivers/block/cm206.c | else outw(c_stop, r_uart_transmit); |
outw | 924 | drivers/block/cm206.c | outw(dc_normal | dc_break | READ_AHEAD, r_data_control); |
outw | 926 | drivers/block/cm206.c | outw(dc_normal | READ_AHEAD, r_data_control); |
outw | 1101 | drivers/block/cm206.c | outw(dc_normal | pattern1, base+8); |
outw | 1103 | drivers/block/cm206.c | outw(dc_normal | pattern2, base+8); |
outw | 1105 | drivers/block/cm206.c | outw(dc_normal | READ_AHEAD, base+8); |
outw | 1116 | drivers/block/cm206.c | outw(dc_normal | READ_AHEAD, r_data_control); /* disable irq-generation */ |
outw | 1122 | drivers/block/cm206.c | outw(dc_normal | READ_AHEAD, r_data_control); /* services interrupt */ |
outw | 2402 | drivers/block/ide.c | outw(reg, port); |
outw | 2413 | drivers/block/ide.c | outw(reg, port); |
outw | 2414 | drivers/block/ide.c | outw(val, port+4); |
outw | 3045 | drivers/char/cyclades.c | outw(inw(cy_pci_io+0x68)|0x0900,cy_pci_io+0x68); |
outw | 233 | drivers/net/3c501.c | outw(i, ioaddr + EL1_DATAPTR); |
outw | 397 | drivers/net/3c501.c | outw(0x00, RX_BUF_CLR); /* Set rx packet area to 0. */ |
outw | 398 | drivers/net/3c501.c | outw(gp_start, GP_LOW); /* aim - packet will be loaded into buffer start */ |
outw | 400 | drivers/net/3c501.c | outw(gp_start, GP_LOW); /* the board reuses the same register */ |
outw | 483 | drivers/net/3c501.c | outw(lp->tx_pkt_start, GP_LOW); |
outw | 540 | drivers/net/3c501.c | outw(0x00, RX_BUF_CLR); |
outw | 580 | drivers/net/3c501.c | outw(0x00, GP_LOW); |
outw | 618 | drivers/net/3c501.c | outw(0, RX_BUF_CLR); /* Set rx packet area to 0. */ |
outw | 179 | drivers/net/3c505.c | outw(val, base_addr+PORT_DATA); |
outw | 70 | drivers/net/3c509.c | #define EL3WINDOW(win_num) outw(SelectWindow + (win_num), ioaddr + EL3_CMD) |
outw | 138 | drivers/net/3c509.c | outw(SelectWindow | 0, ioaddr + 0xC80 + EL3_CMD); |
outw | 232 | drivers/net/3c509.c | outw(0x0f00, ioaddr + WN0_IRQ); |
outw | 280 | drivers/net/3c509.c | outw(EEPROM_READ + index, ioaddr + 10); |
outw | 317 | drivers/net/3c509.c | outw(TxReset, ioaddr + EL3_CMD); |
outw | 318 | drivers/net/3c509.c | outw(RxReset, ioaddr + EL3_CMD); |
outw | 319 | drivers/net/3c509.c | outw(SetReadZero | 0x00, ioaddr + EL3_CMD); |
outw | 331 | drivers/net/3c509.c | outw(0x0001, ioaddr + 4); |
outw | 336 | drivers/net/3c509.c | outw((dev->irq << 12) | 0x0f00, ioaddr + WN0_IRQ); |
outw | 346 | drivers/net/3c509.c | outw(StartCoax, ioaddr + EL3_CMD); |
outw | 350 | drivers/net/3c509.c | outw(inw(ioaddr + WN4_MEDIA) | MEDIA_TP, ioaddr + WN4_MEDIA); |
outw | 354 | drivers/net/3c509.c | outw(StatsDisable, ioaddr + EL3_CMD); |
outw | 365 | drivers/net/3c509.c | outw(SetRxFilter | RxStation | RxBroadcast, ioaddr + EL3_CMD); |
outw | 366 | drivers/net/3c509.c | outw(StatsEnable, ioaddr + EL3_CMD); /* Turn on statistics. */ |
outw | 372 | drivers/net/3c509.c | outw(RxEnable, ioaddr + EL3_CMD); /* Enable the receiver. */ |
outw | 373 | drivers/net/3c509.c | outw(TxEnable, ioaddr + EL3_CMD); /* Enable transmitter. */ |
outw | 375 | drivers/net/3c509.c | outw(SetReadZero | 0xff, ioaddr + EL3_CMD); |
outw | 376 | drivers/net/3c509.c | outw(AckIntr | 0x69, ioaddr + EL3_CMD); /* Ack IRQ */ |
outw | 377 | drivers/net/3c509.c | outw(SetIntrMask | 0x98, ioaddr + EL3_CMD); /* Set interrupt mask. */ |
outw | 404 | drivers/net/3c509.c | outw(TxReset, ioaddr + EL3_CMD); |
outw | 405 | drivers/net/3c509.c | outw(TxEnable, ioaddr + EL3_CMD); |
outw | 431 | drivers/net/3c509.c | outw(SetReadZero | 0x00, ioaddr + EL3_CMD); |
outw | 432 | drivers/net/3c509.c | outw(AckIntr | 0x69, ioaddr + EL3_CMD); /* Ack IRQ */ |
outw | 433 | drivers/net/3c509.c | outw(SetReadZero | 0xff, ioaddr + EL3_CMD); |
outw | 443 | drivers/net/3c509.c | outw(skb->len, ioaddr + TX_FIFO); |
outw | 444 | drivers/net/3c509.c | outw(0x00, ioaddr + TX_FIFO); |
outw | 453 | drivers/net/3c509.c | outw(SetTxThreshold + 1536, ioaddr + EL3_CMD); |
outw | 465 | drivers/net/3c509.c | if (tx_status & 0x30) outw(TxReset, ioaddr + EL3_CMD); |
outw | 466 | drivers/net/3c509.c | if (tx_status & 0x3C) outw(TxEnable, ioaddr + EL3_CMD); |
outw | 505 | drivers/net/3c509.c | outw(AckIntr | 0x08, ioaddr + EL3_CMD); |
outw | 516 | drivers/net/3c509.c | outw(AckIntr | 0xFF, ioaddr + EL3_CMD); |
outw | 520 | drivers/net/3c509.c | outw(AckIntr | 0x41, ioaddr + EL3_CMD); /* Ack IRQ */ |
outw | 559 | drivers/net/3c509.c | outw(StatsDisable, ioaddr + EL3_CMD); |
outw | 576 | drivers/net/3c509.c | outw(StatsEnable, ioaddr + EL3_CMD); |
outw | 620 | drivers/net/3c509.c | outw(RxDiscard, ioaddr + EL3_CMD); /* Pop top Rx packet. */ |
outw | 628 | drivers/net/3c509.c | outw(RxDiscard, ioaddr + EL3_CMD); |
outw | 656 | drivers/net/3c509.c | outw(SetRxFilter|RxStation|RxMulticast|RxBroadcast, ioaddr + EL3_CMD); |
outw | 658 | drivers/net/3c509.c | outw(SetRxFilter | RxStation | RxMulticast | RxBroadcast | RxProm, |
outw | 661 | drivers/net/3c509.c | outw(SetRxFilter | RxStation | RxBroadcast, ioaddr + EL3_CMD); |
outw | 677 | drivers/net/3c509.c | outw(StatsDisable, ioaddr + EL3_CMD); |
outw | 680 | drivers/net/3c509.c | outw(RxDisable, ioaddr + EL3_CMD); |
outw | 681 | drivers/net/3c509.c | outw(TxDisable, ioaddr + EL3_CMD); |
outw | 685 | drivers/net/3c509.c | outw(StopCoax, ioaddr + EL3_CMD); |
outw | 689 | drivers/net/3c509.c | outw(inw(ioaddr + WN4_MEDIA) & ~MEDIA_TP, ioaddr + WN4_MEDIA); |
outw | 696 | drivers/net/3c509.c | outw(0x0f00, ioaddr + WN0_IRQ); |
outw | 262 | drivers/net/apricot.c | outw(0, ioaddr); |
outw | 263 | drivers/net/apricot.c | outw(0, ioaddr); |
outw | 265 | drivers/net/apricot.c | outw(((((int)&lp->scp) & 0xffff) | 2), ioaddr); |
outw | 266 | drivers/net/apricot.c | outw((((int)&lp->scp)>>16) & 0xffff, ioaddr); |
outw | 282 | drivers/net/apricot.c | outw(0, ioaddr+4); |
outw | 315 | drivers/net/apricot.c | outw(0, ioaddr+4); |
outw | 465 | drivers/net/apricot.c | outw(0, ioaddr+4); |
outw | 517 | drivers/net/apricot.c | outw (0, ioaddr+4); |
outw | 603 | drivers/net/apricot.c | outw(0, ioaddr+4); |
outw | 911 | drivers/net/apricot.c | outw (0, ioaddr+4); |
outw | 935 | drivers/net/apricot.c | outw(0, ioaddr+4); |
outw | 2260 | drivers/net/arcnet.c | outw(69, ioaddr); /* Enable promiscuous mode */ |
outw | 2262 | drivers/net/arcnet.c | outw(99, ioaddr); /* Disable promiscuous mode, use normal mode */ |
outw | 391 | drivers/net/at1700.c | outw(0xffff, ioaddr + 24); |
outw | 392 | drivers/net/at1700.c | outw(0xffff, ioaddr + TX_STATUS); |
outw | 393 | drivers/net/at1700.c | outw(0xe85a, ioaddr + CONFIG_0); |
outw | 394 | drivers/net/at1700.c | outw(0x8100, ioaddr + TX_INTR); |
outw | 421 | drivers/net/at1700.c | outw(length, ioaddr + DATAPORT); |
outw | 465 | drivers/net/at1700.c | outw(status, ioaddr + TX_STATUS); |
outw | 414 | drivers/net/depca.c | outw(CSR0, DEPCA_ADDR);\ |
outw | 415 | drivers/net/depca.c | outw(STOP, DEPCA_DATA) |
outw | 589 | drivers/net/depca.c | outw(INEA | INIT, DEPCA_DATA); |
outw | 739 | drivers/net/depca.c | outw(CSR2,DEPCA_ADDR); |
outw | 741 | drivers/net/depca.c | outw(CSR1,DEPCA_ADDR); |
outw | 743 | drivers/net/depca.c | outw(CSR3,DEPCA_ADDR); |
outw | 750 | drivers/net/depca.c | outw(CSR0,DEPCA_ADDR); |
outw | 851 | drivers/net/depca.c | outw(CSR0, DEPCA_ADDR); |
outw | 852 | drivers/net/depca.c | outw(INEA | TDMD, DEPCA_DATA); |
outw | 896 | drivers/net/depca.c | outw(CSR0, DEPCA_ADDR); |
outw | 900 | drivers/net/depca.c | outw(csr0 & INTE, DEPCA_DATA); |
outw | 1042 | drivers/net/depca.c | outw(CSR0, DEPCA_ADDR); |
outw | 1043 | drivers/net/depca.c | outw(INEA | TDMD, DEPCA_DATA); |
outw | 1068 | drivers/net/depca.c | outw(CSR0, DEPCA_ADDR); |
outw | 1079 | drivers/net/depca.c | outw(STOP, DEPCA_DATA); |
outw | 1106 | drivers/net/depca.c | outw(CSR1, DEPCA_ADDR); /* initialisation block address LSW */ |
outw | 1107 | drivers/net/depca.c | outw((u16)(lp->sh_mem & LA_MASK), DEPCA_DATA); |
outw | 1108 | drivers/net/depca.c | outw(CSR2, DEPCA_ADDR); /* initialisation block address MSW */ |
outw | 1109 | drivers/net/depca.c | outw((u16)((lp->sh_mem & LA_MASK) >> 16), DEPCA_DATA); |
outw | 1110 | drivers/net/depca.c | outw(CSR3, DEPCA_ADDR); /* ALE control */ |
outw | 1111 | drivers/net/depca.c | outw(ACON, DEPCA_DATA); |
outw | 1113 | drivers/net/depca.c | outw(CSR0, DEPCA_ADDR); /* Point back to CSR0 */ |
outw | 1127 | drivers/net/depca.c | outw(CSR0, DEPCA_ADDR); /* point back to CSR0 */ |
outw | 1128 | drivers/net/depca.c | outw(INIT, DEPCA_DATA); /* initialize DEPCA */ |
outw | 1135 | drivers/net/depca.c | outw(IDON | INEA | STRT, DEPCA_DATA); |
outw | 1804 | drivers/net/depca.c | outw(CSR0, DEPCA_ADDR); /* status register */ |
outw | 573 | drivers/net/eepro.c | outw(RCV_LOWER_LIMIT << 8, ioaddr + RCV_BAR); |
outw | 575 | drivers/net/eepro.c | outw((RCV_UPPER_LIMIT << 8) | 0xfe, ioaddr + RCV_STOP); |
outw | 578 | drivers/net/eepro.c | outw(XMT_LOWER_LIMIT << 8, ioaddr + XMT_BAR); |
outw | 827 | drivers/net/eepro.c | outw(lp->tx_end, ioaddr + HOST_ADDRESS_REG); |
outw | 828 | drivers/net/eepro.c | outw(MC_SETUP, ioaddr + IO_PORT); |
outw | 829 | drivers/net/eepro.c | outw(0, ioaddr + IO_PORT); |
outw | 830 | drivers/net/eepro.c | outw(0, ioaddr + IO_PORT); |
outw | 831 | drivers/net/eepro.c | outw(6*(num_addrs + 1), ioaddr + IO_PORT); |
outw | 833 | drivers/net/eepro.c | outw(*eaddrs++, ioaddr + IO_PORT); |
outw | 834 | drivers/net/eepro.c | outw(*eaddrs++, ioaddr + IO_PORT); |
outw | 835 | drivers/net/eepro.c | outw(*eaddrs++, ioaddr + IO_PORT); |
outw | 838 | drivers/net/eepro.c | outw(eaddrs[0], ioaddr + IO_PORT); |
outw | 839 | drivers/net/eepro.c | outw(eaddrs[1], ioaddr + IO_PORT); |
outw | 840 | drivers/net/eepro.c | outw(eaddrs[2], ioaddr + IO_PORT); |
outw | 841 | drivers/net/eepro.c | outw(lp->tx_end, ioaddr + XMT_BAR); |
outw | 849 | drivers/net/eepro.c | outw(lp->tx_last + XMT_CHAIN, ioaddr + HOST_ADDRESS_REG); |
outw | 850 | drivers/net/eepro.c | outw(i, ioaddr + IO_PORT); |
outw | 851 | drivers/net/eepro.c | outw(lp->tx_last + XMT_COUNT, ioaddr + HOST_ADDRESS_REG); |
outw | 853 | drivers/net/eepro.c | outw(status | CHAIN_BIT, ioaddr + IO_PORT); |
outw | 971 | drivers/net/eepro.c | outw(last, ioaddr + HOST_ADDRESS_REG); |
outw | 972 | drivers/net/eepro.c | outw(XMT_CMD, ioaddr + IO_PORT); |
outw | 973 | drivers/net/eepro.c | outw(0, ioaddr + IO_PORT); |
outw | 974 | drivers/net/eepro.c | outw(end, ioaddr + IO_PORT); |
outw | 975 | drivers/net/eepro.c | outw(length, ioaddr + IO_PORT); |
outw | 982 | drivers/net/eepro.c | outw(lp->tx_last + XMT_CHAIN, ioaddr + HOST_ADDRESS_REG); |
outw | 983 | drivers/net/eepro.c | outw(last, ioaddr + IO_PORT); |
outw | 985 | drivers/net/eepro.c | outw(lp->tx_last + XMT_COUNT, ioaddr + HOST_ADDRESS_REG); |
outw | 987 | drivers/net/eepro.c | outw(status | CHAIN_BIT, ioaddr + IO_PORT); |
outw | 997 | drivers/net/eepro.c | outw(last, ioaddr + XMT_BAR); |
outw | 1033 | drivers/net/eepro.c | outw(rcv_car, ioaddr + HOST_ADDRESS_REG); |
outw | 1080 | drivers/net/eepro.c | outw(rcv_next_frame, ioaddr + HOST_ADDRESS_REG); |
outw | 1086 | drivers/net/eepro.c | outw(rcv_car - 1, ioaddr + RCV_STOP); |
outw | 1102 | drivers/net/eepro.c | outw(lp->tx_start, ioaddr + HOST_ADDRESS_REG); |
outw | 479 | drivers/net/eexpress.c | outw(0xf000|CUC_START|RX_START, ioaddr + SCB_CMD); |
outw | 549 | drivers/net/eexpress.c | outw(lp->tx_reap, ioaddr + READ_PTR); |
outw | 592 | drivers/net/eexpress.c | outw(IDLELOOP, ioaddr + WRITE_PTR); |
outw | 593 | drivers/net/eexpress.c | outw(0, ioaddr); |
outw | 594 | drivers/net/eexpress.c | outw(CmdNOp, ioaddr); |
outw | 595 | drivers/net/eexpress.c | outw(IDLELOOP, ioaddr); |
outw | 596 | drivers/net/eexpress.c | outw(IDLELOOP, SCB_CBL); |
outw | 600 | drivers/net/eexpress.c | outw(saved_write_ptr, ioaddr + WRITE_PTR); |
outw | 616 | drivers/net/eexpress.c | outw(cur_rxbuf, ioaddr + READ_PTR); |
outw | 624 | drivers/net/eexpress.c | outw(RX_BUF_START, SCB_RFA); |
outw | 625 | drivers/net/eexpress.c | outw(saved_write_ptr, ioaddr + WRITE_PTR); |
outw | 629 | drivers/net/eexpress.c | outw(ack_cmd, ioaddr + SCB_CMD); |
outw | 650 | drivers/net/eexpress.c | outw(RX_SUSPEND | CUC_SUSPEND, ioaddr + SCB_CMD); |
outw | 698 | drivers/net/eexpress.c | outw(SET_MC_CMD + 6, ioaddr + WRITE_PTR); |
outw | 699 | drivers/net/eexpress.c | outw(num_addrs * 6, ioaddr); |
outw | 705 | drivers/net/eexpress.c | outw(99, ioaddr); /* Disable promiscuous mode, use normal mode */ |
outw | 768 | drivers/net/eexpress.c | outw(0xfff6, ioaddr + WRITE_PTR); |
outw | 772 | drivers/net/eexpress.c | outw(SA_OFFSET, ioaddr + WRITE_PTR); |
outw | 822 | drivers/net/eexpress.c | outw(cur_rxbuf, ioaddr + WRITE_PTR); |
outw | 823 | drivers/net/eexpress.c | outw(0x0000, ioaddr); /* Status */ |
outw | 824 | drivers/net/eexpress.c | outw(0x0000, ioaddr); /* Command */ |
outw | 825 | drivers/net/eexpress.c | outw(cur_rxbuf + RX_BUF_SIZE, ioaddr); /* Link */ |
outw | 826 | drivers/net/eexpress.c | outw(cur_rxbuf + 22, ioaddr); /* Buffer offset */ |
outw | 827 | drivers/net/eexpress.c | outw(0xFeed, ioaddr); /* Pad for dest addr. */ |
outw | 828 | drivers/net/eexpress.c | outw(0xF00d, ioaddr); |
outw | 829 | drivers/net/eexpress.c | outw(0xF001, ioaddr); |
outw | 830 | drivers/net/eexpress.c | outw(0x0505, ioaddr); /* Pad for source addr. */ |
outw | 831 | drivers/net/eexpress.c | outw(0x2424, ioaddr); |
outw | 832 | drivers/net/eexpress.c | outw(0x6565, ioaddr); |
outw | 833 | drivers/net/eexpress.c | outw(0xdeaf, ioaddr); /* Pad for protocol. */ |
outw | 835 | drivers/net/eexpress.c | outw(0x0000, ioaddr); /* Buffer: Actual count */ |
outw | 836 | drivers/net/eexpress.c | outw(-1, ioaddr); /* Buffer: Next (none). */ |
outw | 837 | drivers/net/eexpress.c | outw(cur_rxbuf + 0x20, ioaddr); /* Buffer: Address low */ |
outw | 838 | drivers/net/eexpress.c | outw(0x0000, ioaddr); |
outw | 840 | drivers/net/eexpress.c | outw(0x8000 + RX_BUF_SIZE-0x20, ioaddr); |
outw | 848 | drivers/net/eexpress.c | outw(lp->rx_tail + 2, ioaddr + WRITE_PTR); |
outw | 849 | drivers/net/eexpress.c | outw(0xC000, ioaddr); /* Command, mark as last. */ |
outw | 850 | drivers/net/eexpress.c | outw(lp->rx_head, ioaddr); /* Link */ |
outw | 861 | drivers/net/eexpress.c | outw(tx_block, ioaddr + WRITE_PTR); |
outw | 862 | drivers/net/eexpress.c | outw(0x0000, ioaddr); /* Tx status */ |
outw | 863 | drivers/net/eexpress.c | outw(CMD_INTR|CmdTx, ioaddr); /* Tx command */ |
outw | 864 | drivers/net/eexpress.c | outw(tx_block+16, ioaddr); /* Next command is a NoOp. */ |
outw | 865 | drivers/net/eexpress.c | outw(tx_block+8, ioaddr); /* Data Buffer offset. */ |
outw | 868 | drivers/net/eexpress.c | outw(length | 0x8000, ioaddr); /* Byte count parameter. */ |
outw | 869 | drivers/net/eexpress.c | outw(-1, ioaddr); /* No next data buffer. */ |
outw | 870 | drivers/net/eexpress.c | outw(tx_block+22, ioaddr); /* Buffer follows the NoOp command. */ |
outw | 871 | drivers/net/eexpress.c | outw(0x0000, ioaddr); /* Buffer address high bits (always zero). */ |
outw | 874 | drivers/net/eexpress.c | outw(0x0000, ioaddr); /* Tx status */ |
outw | 875 | drivers/net/eexpress.c | outw(CmdNOp, ioaddr); /* Tx command */ |
outw | 876 | drivers/net/eexpress.c | outw(tx_block+16, ioaddr); /* Next is myself. */ |
outw | 883 | drivers/net/eexpress.c | outw(lp->tx_cmd_link, ioaddr + WRITE_PTR); |
outw | 884 | drivers/net/eexpress.c | outw(tx_block, ioaddr); |
outw | 914 | drivers/net/eexpress.c | outw(rx_head, ioaddr + READ_PTR); |
outw | 922 | drivers/net/eexpress.c | outw(data_buffer_addr, ioaddr + READ_PTR); |
outw | 953 | drivers/net/eexpress.c | outw(data_buffer_addr + 10, ioaddr + READ_PTR); |
outw | 963 | drivers/net/eexpress.c | outw(rx_head, ioaddr + WRITE_PTR); |
outw | 964 | drivers/net/eexpress.c | outw(0x0000, ioaddr); |
outw | 965 | drivers/net/eexpress.c | outw(0xC000, ioaddr); |
outw | 976 | drivers/net/eexpress.c | outw(rx_tail+2, ioaddr + WRITE_PTR); |
outw | 977 | drivers/net/eexpress.c | outw(0x0000, ioaddr); /* Clear the end-of-list on the prev. RFD. */ |
outw | 980 | drivers/net/eexpress.c | outw(rx_tail+4, ioaddr + READ_PTR); |
outw | 983 | drivers/net/eexpress.c | dev->name, rx_tail, (outw(rx_tail+4, ioaddr + READ_PTR),inw(ioaddr)), |
outw | 985 | drivers/net/eexpress.c | outw(rx_head, ioaddr); |
outw | 993 | drivers/net/eexpress.c | outw(rx_head, ioaddr + READ_PTR); |
outw | 1000 | drivers/net/eexpress.c | outw(saved_write_ptr, ioaddr + WRITE_PTR); |
outw | 1266 | drivers/net/ewrk3.c | outw((short)((long)multicast_table), EWRK3_PIR1); |
outw | 1313 | drivers/net/ewrk3.c | outw((short)((long)multicast_table) + byte, EWRK3_PIR1); |
outw | 1316 | drivers/net/ewrk3.c | outw((short)((long)multicast_table) + byte, EWRK3_PIR1); |
outw | 1481 | drivers/net/ewrk3.c | outw(data, EWRK3_EPROM1); /* write data to register */ |
outw | 1690 | drivers/net/ewrk3.c | outw(PAGE0_HTE, EWRK3_PIR1); |
outw | 164 | drivers/net/hp-plus.c | outw(MAC_Page, ioaddr + HP_PAGING); |
outw | 179 | drivers/net/hp-plus.c | outw(ID_Page, ioaddr + HP_PAGING); |
outw | 187 | drivers/net/hp-plus.c | outw(HW_Page, ioaddr + HP_PAGING); |
outw | 205 | drivers/net/hp-plus.c | outw((HP_START_PG + TX_2X_PAGES) | ((HP_STOP_PG - 1) << 8), ioaddr + 14); |
outw | 235 | drivers/net/hp-plus.c | outw(Perf_Page, ioaddr + HP_PAGING); |
outw | 238 | drivers/net/hp-plus.c | outw(inw(ioaddr + HPP_OPTION) & ~EnableIRQ, ioaddr + HPP_OPTION); |
outw | 255 | drivers/net/hp-plus.c | outw(option_reg & ~(NICReset + ChipReset), ioaddr + HPP_OPTION); |
outw | 258 | drivers/net/hp-plus.c | outw(option_reg | (EnableIRQ + NICReset + ChipReset), ioaddr + HPP_OPTION); |
outw | 261 | drivers/net/hp-plus.c | outw(HW_Page, ioaddr + HP_PAGING); |
outw | 262 | drivers/net/hp-plus.c | outw((HP_START_PG + TX_2X_PAGES) | ((HP_STOP_PG - 1) << 8), ioaddr + 14); |
outw | 265 | drivers/net/hp-plus.c | outw(Perf_Page, ioaddr + HP_PAGING); |
outw | 279 | drivers/net/hp-plus.c | outw((option_reg & ~EnableIRQ) | MemDisable | NICReset | ChipReset, |
outw | 293 | drivers/net/hp-plus.c | outw(option_reg & ~(NICReset + ChipReset), ioaddr + HPP_OPTION); |
outw | 298 | drivers/net/hp-plus.c | outw(option_reg | (EnableIRQ + NICReset + ChipReset), ioaddr + HPP_OPTION); |
outw | 318 | drivers/net/hp-plus.c | outw(ring_offset, ioaddr + HPP_IN_ADDR); |
outw | 331 | drivers/net/hp-plus.c | outw(ring_offset, ioaddr + HPP_IN_ADDR); |
outw | 333 | drivers/net/hp-plus.c | outw(option_reg & ~(MemDisable + BootROMEnb), ioaddr + HPP_OPTION); |
outw | 336 | drivers/net/hp-plus.c | outw(option_reg, ioaddr + HPP_OPTION); |
outw | 348 | drivers/net/hp-plus.c | outw(start_page << 8, ioaddr + HPP_OUT_ADDR); |
outw | 360 | drivers/net/hp-plus.c | outw(start_page << 8, ioaddr + HPP_OUT_ADDR); |
outw | 361 | drivers/net/hp-plus.c | outw(option_reg & ~(MemDisable + BootROMEnb), ioaddr + HPP_OPTION); |
outw | 363 | drivers/net/hp-plus.c | outw(option_reg, ioaddr + HPP_OPTION); |
outw | 349 | drivers/net/hp100.h | outw( data, ioaddr + HP100_REG_##reg ) |
outw | 355 | drivers/net/hp100.h | outw( inw( ioaddr + HP100_REG_##reg ) | (data), ioaddr + HP100_REG_##reg ) |
outw | 359 | drivers/net/hp100.h | outw( inw( ioaddr + HP100_REG_##reg ) & (data), ioaddr + HP100_REG_##reg ) |
outw | 362 | drivers/net/hp100.h | outw( HP100_PAGE_##page, ioaddr + HP100_REG_PAGING ) |
outw | 364 | drivers/net/hp100.h | outw( HP100_INT_EN | HP100_RESET_LB, ioaddr + HP100_REG_OPTION_LSW ) |
outw | 366 | drivers/net/hp100.h | outw( HP100_INT_EN | HP100_SET_LB, ioaddr + HP100_REG_OPTION_LSW ) |
outw | 368 | drivers/net/hp100.h | outw( HP100_MMAP_DIS | HP100_RESET_HB, ioaddr + HP100_REG_OPTION_LSW ) |
outw | 370 | drivers/net/hp100.h | outw( HP100_MMAP_DIS | HP100_SET_HB, ioaddr + HP100_REG_OPTION_LSW ) |
outw | 372 | drivers/net/hp100.h | outw( HP100_HW_RST | HP100_RESET_LB, ioaddr + HP100_REG_OPTION_LSW ) |
outw | 374 | drivers/net/hp100.h | outw( HP100_HW_RST | HP100_SET_LB, ioaddr + HP100_REG_OPTION_LSW ) |
outw | 371 | drivers/net/lance.c | outw(reset_val, ioaddr+LANCE_RESET); |
outw | 373 | drivers/net/lance.c | outw(0x0000, ioaddr+LANCE_ADDR); /* Switch to window 0 */ |
outw | 378 | drivers/net/lance.c | outw(88, ioaddr+LANCE_ADDR); |
outw | 383 | drivers/net/lance.c | outw(89, ioaddr+LANCE_ADDR); |
outw | 433 | drivers/net/lance.c | outw(0x0001, ioaddr+LANCE_ADDR); |
outw | 435 | drivers/net/lance.c | outw((short) (int) &lp->init_block, ioaddr+LANCE_DATA); |
outw | 436 | drivers/net/lance.c | outw(0x0002, ioaddr+LANCE_ADDR); |
outw | 438 | drivers/net/lance.c | outw(((int)&lp->init_block) >> 16, ioaddr+LANCE_DATA); |
outw | 439 | drivers/net/lance.c | outw(0x0000, ioaddr+LANCE_ADDR); |
outw | 461 | drivers/net/lance.c | outw(8, ioaddr+LANCE_ADDR); |
outw | 486 | drivers/net/lance.c | outw(0x0041, ioaddr+LANCE_DATA); |
outw | 520 | drivers/net/lance.c | outw(0x7f04, ioaddr+LANCE_DATA); /* Clear the memory error bits. */ |
outw | 527 | drivers/net/lance.c | outw(0x0001, ioaddr+LANCE_DATA); |
outw | 549 | drivers/net/lance.c | outw(0x0002, ioaddr+LANCE_ADDR); |
outw | 550 | drivers/net/lance.c | outw(0x0002, ioaddr+LANCE_BUS_IF); |
outw | 595 | drivers/net/lance.c | outw(0, ioaddr+LANCE_RESET); |
outw | 599 | drivers/net/lance.c | outw(0x0002, ioaddr+LANCE_ADDR); |
outw | 600 | drivers/net/lance.c | outw(0x0002, ioaddr+LANCE_BUS_IF); |
outw | 610 | drivers/net/lance.c | outw(0x0001, ioaddr+LANCE_ADDR); |
outw | 611 | drivers/net/lance.c | outw((short) (int) &lp->init_block, ioaddr+LANCE_DATA); |
outw | 612 | drivers/net/lance.c | outw(0x0002, ioaddr+LANCE_ADDR); |
outw | 613 | drivers/net/lance.c | outw(((int)&lp->init_block) >> 16, ioaddr+LANCE_DATA); |
outw | 615 | drivers/net/lance.c | outw(0x0004, ioaddr+LANCE_ADDR); |
outw | 616 | drivers/net/lance.c | outw(0x0915, ioaddr+LANCE_DATA); |
outw | 618 | drivers/net/lance.c | outw(0x0000, ioaddr+LANCE_ADDR); |
outw | 619 | drivers/net/lance.c | outw(0x0001, ioaddr+LANCE_DATA); |
outw | 632 | drivers/net/lance.c | outw(0x0042, ioaddr+LANCE_DATA); |
outw | 708 | drivers/net/lance.c | outw(0x0000, dev->base_addr + LANCE_ADDR); |
outw | 709 | drivers/net/lance.c | outw(csr0_bits, dev->base_addr + LANCE_DATA); |
outw | 725 | drivers/net/lance.c | outw(0, ioaddr+LANCE_ADDR); |
outw | 728 | drivers/net/lance.c | outw(0x0004, ioaddr+LANCE_DATA); |
outw | 764 | drivers/net/lance.c | outw(0x0000, ioaddr+LANCE_ADDR); |
outw | 767 | drivers/net/lance.c | outw(0x0000, ioaddr+LANCE_DATA); |
outw | 818 | drivers/net/lance.c | outw(0x0000, ioaddr+LANCE_ADDR); |
outw | 819 | drivers/net/lance.c | outw(0x0048, ioaddr+LANCE_DATA); |
outw | 856 | drivers/net/lance.c | outw(0x00, dev->base_addr + LANCE_ADDR); |
outw | 860 | drivers/net/lance.c | outw(csr0 & ~0x004f, dev->base_addr + LANCE_DATA); |
outw | 945 | drivers/net/lance.c | outw(0x0000, dev->base_addr + LANCE_ADDR); |
outw | 946 | drivers/net/lance.c | outw(0x0004, dev->base_addr + LANCE_DATA); |
outw | 952 | drivers/net/lance.c | outw(0x0000, dev->base_addr + LANCE_ADDR); |
outw | 953 | drivers/net/lance.c | outw(0x7940, dev->base_addr + LANCE_DATA); |
outw | 1040 | drivers/net/lance.c | outw(112, ioaddr+LANCE_ADDR); |
outw | 1043 | drivers/net/lance.c | outw(0, ioaddr+LANCE_ADDR); |
outw | 1051 | drivers/net/lance.c | outw(0x0004, ioaddr+LANCE_DATA); |
outw | 1075 | drivers/net/lance.c | outw(112, ioaddr+LANCE_ADDR); |
outw | 1077 | drivers/net/lance.c | outw(saved_addr, ioaddr+LANCE_ADDR); |
outw | 1095 | drivers/net/lance.c | outw(0, ioaddr+LANCE_ADDR); |
outw | 1096 | drivers/net/lance.c | outw(0x0004, ioaddr+LANCE_DATA); /* Temporarily stop the lance. */ |
outw | 1104 | drivers/net/lance.c | outw(8 + i, ioaddr+LANCE_ADDR); |
outw | 1105 | drivers/net/lance.c | outw(multicast_table[i], ioaddr+LANCE_DATA); |
outw | 1107 | drivers/net/lance.c | outw(15, ioaddr+LANCE_ADDR); |
outw | 1108 | drivers/net/lance.c | outw(0x0000, ioaddr+LANCE_DATA); /* Unset promiscuous mode */ |
outw | 1112 | drivers/net/lance.c | outw(15, ioaddr+LANCE_ADDR); |
outw | 1113 | drivers/net/lance.c | outw(0x8000, ioaddr+LANCE_DATA); /* Set promiscuous mode */ |
outw | 108 | drivers/net/ni65.c | #define writereg(val,reg) {outw(reg,PORT+L_ADDRREG);inw(PORT+L_ADDRREG); \ |
outw | 109 | drivers/net/ni65.c | outw(val,PORT+L_DATAREG);inw(PORT+L_DATAREG);} |
outw | 110 | drivers/net/ni65.c | #define readreg(reg) (outw(reg,PORT+L_ADDRREG),inw(PORT+L_ADDRREG),\ |
outw | 112 | drivers/net/ni65.c | #define writedatareg(val) {outw(val,PORT+L_DATAREG);inw(PORT+L_DATAREG);} |
outw | 165 | drivers/net/ni65.c | outw(0,PORT+L_RESET); /* that's the hard way */ |
outw | 321 | drivers/net/ni65.c | outw(0,PORT+L_RESET); /* first: reset the card */ |
outw | 169 | drivers/net/seeq8005.c | outw(0,SEEQ_REA); |
outw | 193 | drivers/net/seeq8005.c | outw( SEEQCMD_FIFO_WRITE | SEEQCMD_SET_ALL_OFF, SEEQ_CMD); /* setup for reading PROM */ |
outw | 194 | drivers/net/seeq8005.c | outw( 0, SEEQ_DMAAR); /* set starting PROM address */ |
outw | 195 | drivers/net/seeq8005.c | outw( SEEQCFG1_BUFFER_PROM, SEEQ_CFG1); /* set buffer to look at PROM */ |
outw | 209 | drivers/net/seeq8005.c | outw( old_stat, SEEQ_STATUS); |
outw | 210 | drivers/net/seeq8005.c | outw( old_dmaar, SEEQ_DMAAR); |
outw | 211 | drivers/net/seeq8005.c | outw( old_cfg1, SEEQ_CFG1); |
outw | 216 | drivers/net/seeq8005.c | outw( SEEQCFG2_RESET, SEEQ_CFG2); /* reset the card */ |
outw | 221 | drivers/net/seeq8005.c | outw( SEEQCMD_SET_ALL_OFF, SEEQ_CMD); |
outw | 250 | drivers/net/seeq8005.c | outw( SEEQCFG1_BUFFER_BUFFER, SEEQ_CFG1); |
outw | 251 | drivers/net/seeq8005.c | outw( SEEQCMD_FIFO_WRITE | SEEQCMD_SET_ALL_OFF, SEEQ_CMD); |
outw | 252 | drivers/net/seeq8005.c | outw( 0 , SEEQ_DMAAR); |
outw | 254 | drivers/net/seeq8005.c | outw(0x5a5a, SEEQ_BUFFER); |
outw | 259 | drivers/net/seeq8005.c | outw( 0 , SEEQ_DMAAR); |
outw | 263 | drivers/net/seeq8005.c | outw( SEEQCMD_WINDOW_INT_ACK | (inw(SEEQ_STATUS)& SEEQCMD_INT_MASK), SEEQ_CMD); |
outw | 264 | drivers/net/seeq8005.c | outw( SEEQCMD_FIFO_READ | SEEQCMD_SET_ALL_OFF, SEEQ_CMD); |
outw | 299 | drivers/net/seeq8005.c | outw( SEEQCMD_RX_INT_EN | SEEQCMD_SET_RX_ON | SEEQCMD_SET_RX_OFF, SEEQ_CMD ); |
outw | 450 | drivers/net/seeq8005.c | outw( SEEQCMD_WINDOW_INT_ACK | (status & SEEQCMD_INT_MASK), SEEQ_CMD); |
outw | 456 | drivers/net/seeq8005.c | outw( SEEQCMD_TX_INT_ACK | (status & SEEQCMD_INT_MASK), SEEQ_CMD); |
outw | 491 | drivers/net/seeq8005.c | outw( lp->receive_ptr, SEEQ_DMAAR); |
outw | 492 | drivers/net/seeq8005.c | outw(SEEQCMD_FIFO_READ | SEEQCMD_RX_INT_ACK | (status & SEEQCMD_INT_MASK), SEEQ_CMD); |
outw | 533 | drivers/net/seeq8005.c | outw( SEEQCMD_FIFO_WRITE | SEEQCMD_DMA_INT_ACK | (status & SEEQCMD_INT_MASK), SEEQ_CMD); |
outw | 534 | drivers/net/seeq8005.c | outw( (lp->receive_ptr & 0xff00)>>8, SEEQ_REA); |
outw | 586 | drivers/net/seeq8005.c | outw( SEEQCMD_SET_ALL_OFF, SEEQ_CMD); |
outw | 629 | drivers/net/seeq8005.c | outw( (inw(SEEQ_CFG1) & ~SEEQCFG1_MATCH_MASK)| SEEQCFG1_MATCH_ALL, SEEQ_CFG1); |
outw | 631 | drivers/net/seeq8005.c | outw( (inw(SEEQ_CFG1) & ~SEEQCFG1_MATCH_MASK)| SEEQCFG1_MATCH_BROAD, SEEQ_CFG1); |
outw | 642 | drivers/net/seeq8005.c | outw(SEEQCFG2_RESET, SEEQ_CFG2); /* reset device */ |
outw | 648 | drivers/net/seeq8005.c | outw( SEEQCMD_FIFO_WRITE | SEEQCMD_SET_ALL_OFF, SEEQ_CMD); |
outw | 649 | drivers/net/seeq8005.c | outw( 0, SEEQ_DMAAR); /* load start address into both low and high byte */ |
outw | 651 | drivers/net/seeq8005.c | outw( SEEQCFG1_BUFFER_MAC0, SEEQ_CFG1); |
outw | 658 | drivers/net/seeq8005.c | outw( SEEQCFG1_BUFFER_TEA, SEEQ_CFG1); /* set xmit end area pointer to 16K */ |
outw | 662 | drivers/net/seeq8005.c | outw( lp->receive_ptr, SEEQ_RPR); /* Receive Pointer Register is set to recv buffer memory */ |
outw | 664 | drivers/net/seeq8005.c | outw( 0x00ff, SEEQ_REA); /* Receive Area End */ |
outw | 669 | drivers/net/seeq8005.c | outw( SEEQCMD_FIFO_READ | SEEQCMD_SET_ALL_OFF, SEEQ_CMD); |
outw | 670 | drivers/net/seeq8005.c | outw( 0, SEEQ_DMAAR); |
outw | 671 | drivers/net/seeq8005.c | outw( SEEQCFG1_BUFFER_MAC0, SEEQ_CFG1); |
outw | 679 | drivers/net/seeq8005.c | outw( SEEQCFG1_MAC0_EN | SEEQCFG1_MATCH_BROAD | SEEQCFG1_BUFFER_BUFFER, SEEQ_CFG1); |
outw | 680 | drivers/net/seeq8005.c | outw( SEEQCFG2_AUTO_REA | SEEQCFG2_CTRLO, SEEQ_CFG2); |
outw | 681 | drivers/net/seeq8005.c | outw( SEEQCMD_SET_RX_ON | SEEQCMD_TX_INT_EN | SEEQCMD_RX_INT_EN, SEEQ_CMD); |
outw | 708 | drivers/net/seeq8005.c | outw( SEEQCMD_FIFO_WRITE | (status & SEEQCMD_INT_MASK), SEEQ_CMD); |
outw | 709 | drivers/net/seeq8005.c | outw( transmit_ptr, SEEQ_DMAAR); |
outw | 712 | drivers/net/seeq8005.c | outw( htons(length + 4), SEEQ_BUFFER); |
outw | 713 | drivers/net/seeq8005.c | outw( SEEQPKTH_XMIT | SEEQPKTH_DATA_FOLLOWS | SEEQPKTH_XMIT_INT_EN, SEEQ_BUFFER ); |
outw | 718 | drivers/net/seeq8005.c | outw( 0, SEEQ_BUFFER); |
outw | 719 | drivers/net/seeq8005.c | outw( 0, SEEQ_BUFFER); |
outw | 722 | drivers/net/seeq8005.c | outw( transmit_ptr, SEEQ_TPR); |
outw | 730 | drivers/net/seeq8005.c | outw( SEEQCMD_WINDOW_INT_ACK | SEEQCMD_SET_TX_ON | (status & SEEQCMD_INT_MASK), SEEQ_CMD); |
outw | 752 | drivers/net/seeq8005.c | outw( SEEQCMD_WINDOW_INT_ACK | (status & SEEQCMD_INT_MASK), SEEQ_CMD); |
outw | 246 | drivers/net/skeleton.c | outw(0x1234, ioaddr + 8); |
outw | 489 | drivers/net/skeleton.c | outw(0x00, ioaddr+0); /* Release the physical interrupt line. */ |
outw | 531 | drivers/net/skeleton.c | outw(69, ioaddr); /* Enable promiscuous mode */ |
outw | 533 | drivers/net/skeleton.c | outw(99, ioaddr); /* Disable promiscuous mode, use normal mode */ |
outw | 141 | drivers/net/wavelan.c | outw(hacr, HACR(ioaddr)); |
outw | 241 | drivers/net/wavelan.c | outw(o, PIOR2(ioaddr)); |
outw | 261 | drivers/net/wavelan.c | outw(o, PIOR2(ioaddr)); |
outw | 280 | drivers/net/wavelan.c | outw(o, PIOR1(ioaddr)); |
outw | 294 | drivers/net/wavelan.c | outw(o, PIOR1(ioaddr)); |
outw | 311 | drivers/net/wavelan.c | outw(o << 1, MMCR(ioaddr)); |
outw | 333 | drivers/net/wavelan.c | outw((unsigned short)(((unsigned short)*b << 8) | (o << 1) | 1), MMCR(ioaddr)); |
outw | 1351 | drivers/scsi/53c7,8xx.h | outw((value), NCR53c7x0_address_io + (address))) |
outw | 321 | drivers/scsi/aha152x.h | outw( (VAL), (PORT) ) |
outw | 199 | drivers/scsi/eata_pio.c | outw(zwickel,base+HA_RDATA); |
outw | 216 | drivers/scsi/eata_pio.c | outw(zwickel,base+HA_RDATA); |
outw | 392 | drivers/scsi/eata_pio.c | for (x = 0; x < hd->cppadlen; x++) outw(0, base + HA_RDATA); |
outw | 567 | drivers/scsi/eata_pio.c | for (z = 0; z < cppadlen; z++) outw(0, base + HA_RDATA); |
outw | 104 | drivers/scsi/in2000.c | #ifndef outw |
outw | 207 | drivers/scsi/in2000.c | outw(*in2000_dataptr++, INFIFO); |
outw | 224 | drivers/scsi/in2000.c | outw(0, INFIFO); |
outw | 545 | drivers/scsi/in2000.c | outw(*in2000_dataptr++,INFIFO); |
outw | 164 | drivers/sound/os.h | #define OUTW outw |
outw | 318 | include/asm-alpha/apecs.h | extern void outw(unsigned short b, unsigned long addr); |
outw | 259 | include/asm-alpha/jensen.h | extern void outw(unsigned short b, unsigned long addr); |
outw | 293 | include/asm-alpha/lca.h | extern void outw(unsigned short b, unsigned long addr); |