Searched refs:sca_out (Results 1 – 6 of 6) sorted by relevance
/drivers/net/wan/ |
D | hd64572.c | 53 #define sca_out(value, reg, card) writeb(value, card->scabase + (reg)) macro 156 sca_out(0, DSR_RX(port->chan), card); in sca_init_port() 157 sca_out(0, DSR_TX(port->chan), card); in sca_init_port() 160 sca_out(DCR_ABORT, DCR_RX(port->chan), card); in sca_init_port() 161 sca_out(DCR_ABORT, DCR_TX(port->chan), card); in sca_init_port() 171 sca_out(DCR_CLEAR_EOF, DCR_RX(port->chan), card); in sca_init_port() 172 sca_out(DCR_CLEAR_EOF, DCR_TX(port->chan), card); in sca_init_port() 176 sca_out(0x14, DMR_RX(port->chan), card); /* Chain mode, Multi-frame */ in sca_init_port() 177 sca_out(DIR_EOME, DIR_RX(port->chan), card); /* enable interrupts */ in sca_init_port() 178 sca_out(DSR_DE, DSR_RX(port->chan), card); /* DMA enable */ in sca_init_port() [all …]
|
D | hd64570.c | 181 sca_out(0, transmit ? DSR_TX(phy_node(port)) : in sca_init_port() 184 sca_out(DCR_ABORT, transmit ? DCR_TX(phy_node(port)) : in sca_init_port() 188 sca_out(0, dmac + CPB, card); /* pointer base */ in sca_init_port() 198 sca_out(DCR_CLEAR_EOF, transmit ? DCR_TX(phy_node(port)) : in sca_init_port() 205 sca_out(0x14, DMR_RX(phy_node(port)), card); in sca_init_port() 206 sca_out(DIR_EOME | DIR_BOFE, DIR_RX(phy_node(port)), in sca_init_port() 209 sca_out(DSR_DE, DSR_RX(phy_node(port)), card); in sca_init_port() 212 sca_out(0x14, DMR_TX(phy_node(port)), card); in sca_init_port() 214 sca_out(DIR_BOFE, DIR_TX(phy_node(port)), card); in sca_init_port() 230 sca_out(stat & (ST1_UDRN | ST1_CDCD), msci + ST1, card); in sca_msci_intr() [all …]
|
D | c101.c | 88 #define sca_out(value, reg, card) writeb(value, (card)->win0base + C101_SCA + (reg)) macro 136 sca_out(stat & (ST1_UDRN | ST1_CDCD), MSCI0_OFFSET + ST1, port); in sca_msci_intr() 146 sca_out(stat & ST1_CDCD, MSCI1_OFFSET + ST1, port); in sca_msci_intr() 181 sca_out(rxs, MSCI1_OFFSET + RXS, port); in c101_set_iface() 182 sca_out(txs, MSCI1_OFFSET + TXS, port); in c101_set_iface() 197 sca_out(0, MSCI1_OFFSET + CTL, port); /* RTS uses ch#2 output */ in c101_open() 200 sca_out(IE1_UDRN, MSCI0_OFFSET + IE1, port); in c101_open() 201 sca_out(IE0_TXINT, MSCI0_OFFSET + IE0, port); in c101_open() 206 sca_out(IE1_CDCD, MSCI1_OFFSET + IE1, port); in c101_open() 207 sca_out(IE0_RXINTA, MSCI1_OFFSET + IE0, port); in c101_open() [all …]
|
D | pc300too.c | 128 sca_out(EXS_TES1, (port->chan ? MSCI1_OFFSET : MSCI0_OFFSET) + EXS, in pc300_set_iface() 154 sca_out(rxs, msci + RXS, card); in pc300_set_iface() 155 sca_out(txs, msci + TXS, card); in pc300_set_iface() 443 sca_out(0x10, BTCR, card); in pc300_pci_init_one()
|
D | pci200syn.c | 127 sca_out(EXS_TES1, (port->chan ? MSCI1_OFFSET : MSCI0_OFFSET) + EXS, in pci200_set_iface() 153 sca_out(rxs, msci + RXS, card); in pci200_set_iface() 154 sca_out(txs, msci + TXS, card); in pci200_set_iface()
|
D | n2.c | 138 #define sca_out(value, reg, card) outb(value, sca_reg(reg, card)) macro 204 sca_out(rxs, msci + RXS, card); in n2_set_iface() 205 sca_out(txs, msci + TXS, card); in n2_set_iface()
|