Searched refs:sca_out (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/net/wan/ |
H A D | hd64572.c | 49 #define sca_out(value, reg, card) writeb(value, (card)->scabase + (reg)) macro 147 sca_out(0, DSR_RX(port->chan), card); in sca_init_port() 148 sca_out(0, DSR_TX(port->chan), card); in sca_init_port() 151 sca_out(DCR_ABORT, DCR_RX(port->chan), card); in sca_init_port() 152 sca_out(DCR_ABORT, DCR_TX(port->chan), card); in sca_init_port() 162 sca_out(DCR_CLEAR_EOF, DCR_RX(port->chan), card); in sca_init_port() 163 sca_out(DCR_CLEAR_EOF, DCR_TX(port->chan), card); in sca_init_port() 167 sca_out(0x14, DMR_RX(port->chan), card); /* Chain mode, Multi-frame */ in sca_init_port() 168 sca_out(DIR_EOME, DIR_RX(port->chan), card); /* enable interrupts */ in sca_init_port() 169 sca_out(DSR_DE, DSR_RX(port->chan), card); /* DMA enable */ in sca_init_port() [all …]
|
H A D | hd64570.c | 176 sca_out(0, transmit ? DSR_TX(phy_node(port)) : in sca_init_port() 179 sca_out(DCR_ABORT, transmit ? DCR_TX(phy_node(port)) : in sca_init_port() 183 sca_out(0, dmac + CPB, card); /* pointer base */ in sca_init_port() 193 sca_out(DCR_CLEAR_EOF, transmit ? DCR_TX(phy_node(port)) : in sca_init_port() 200 sca_out(0x14, DMR_RX(phy_node(port)), card); in sca_init_port() 201 sca_out(DIR_EOME | DIR_BOFE, DIR_RX(phy_node(port)), in sca_init_port() 204 sca_out(DSR_DE, DSR_RX(phy_node(port)), card); in sca_init_port() 207 sca_out(0x14, DMR_TX(phy_node(port)), card); in sca_init_port() 209 sca_out(DIR_BOFE, DIR_TX(phy_node(port)), card); in sca_init_port() 224 sca_out(stat & (ST1_UDRN | ST1_CDCD), msci + ST1, card); in sca_msci_intr() [all …]
|
H A D | c101.c | 81 #define sca_out(value, reg, card) writeb(value, (card)->win0base + C101_SCA + (reg)) macro 125 sca_out(stat & (ST1_UDRN | ST1_CDCD), MSCI0_OFFSET + ST1, port); in sca_msci_intr() 135 sca_out(stat & ST1_CDCD, MSCI1_OFFSET + ST1, port); in sca_msci_intr() 169 sca_out(rxs, MSCI1_OFFSET + RXS, port); in c101_set_iface() 170 sca_out(txs, MSCI1_OFFSET + TXS, port); in c101_set_iface() 184 sca_out(0, MSCI1_OFFSET + CTL, port); /* RTS uses ch#2 output */ in c101_open() 187 sca_out(IE1_UDRN, MSCI0_OFFSET + IE1, port); in c101_open() 188 sca_out(IE0_TXINT, MSCI0_OFFSET + IE0, port); in c101_open() 193 sca_out(IE1_CDCD, MSCI1_OFFSET + IE1, port); in c101_open() 194 sca_out(IE0_RXINTA, MSCI1_OFFSET + IE0, port); in c101_open() [all …]
|
H A D | pc300too.c | 117 sca_out(EXS_TES1, (port->chan ? MSCI1_OFFSET : MSCI0_OFFSET) + EXS, in pc300_set_iface() 143 sca_out(rxs, msci + RXS, card); in pc300_set_iface() 144 sca_out(txs, msci + TXS, card); in pc300_set_iface() 426 sca_out(0x10, BTCR, card); in pc300_pci_init_one()
|
H A D | pci200syn.c | 117 sca_out(EXS_TES1, (port->chan ? MSCI1_OFFSET : MSCI0_OFFSET) + EXS, in pci200_set_iface() 143 sca_out(rxs, msci + RXS, card); in pci200_set_iface() 144 sca_out(txs, msci + TXS, card); in pci200_set_iface()
|
H A D | n2.c | 126 #define sca_out(value, reg, card) outb(value, sca_reg(reg, card)) macro 189 sca_out(rxs, msci + RXS, card); in n2_set_iface() 190 sca_out(txs, msci + TXS, card); in n2_set_iface()
|