Home
last modified time | relevance | path

Searched refs:sca_in (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.6/drivers/net/wan/
Dhd64570.c58 u8 isr0 = sca_in(ISR0, card); in sca_intr_status()
59 u8 isr1 = sca_in(ISR1, card); in sca_intr_status()
75 if (sca_in(DSR_TX(0), card) & DSR_EOM) in sca_intr_status()
78 if (sca_in(DSR_TX(1), card) & DSR_EOM) in sca_intr_status()
131 if (!(sca_in(get_msci(port) + ST3, port_to_card(port)) & ST3_DCD)) { in sca_set_carrier()
221 u8 stat = sca_in(msci + ST1, card); /* read MSCI ST1 status */ in sca_msci_intr()
289 u8 stat = sca_in(DSR_RX(phy_node(port)), card); /* read DMA Status */ in sca_rx_intr()
345 stat = sca_in(DSR_TX(phy_node(port)), card); /* read DMA Status */ in sca_tx_intr()
405 u8 md2 = sca_in(msci + MD2, card); in sca_set_port()
518 sca_out(sca_in(IER0, card) | (phy_node(port) ? 0xC0 : 0x0C), in sca_open()
[all …]
Dhd64572.c48 #define sca_in(reg, card) readb((card)->scabase + (reg)) macro
105 if (!(sca_in(get_msci(port) + ST3, port->card) & ST3_DCD)) { in sca_set_carrier()
186 if (sca_in(msci + ST1, card) & ST1_CDCD) { in sca_msci_intr()
228 u8 stat = sca_in(DSR_RX(port->chan), card); /* read DMA Status */ in sca_rx_done()
287 stat = sca_in(DSR_TX(port->chan), card); /* read DMA Status */ in sca_tx_done()
361 u8 md2 = sca_in(msci + MD2, card); in sca_set_port()
528 sca_in(DSR_RX(port->chan), card), port->rxin, in sca_dump_rings()
529 sca_in(DSR_RX(port->chan), card) & DSR_DE ? "" : "in"); in sca_dump_rings()
538 sca_in(DSR_TX(port->chan), card), port->txin, port->txlast, in sca_dump_rings()
539 sca_in(DSR_TX(port->chan), card) & DSR_DE ? "" : "in"); in sca_dump_rings()
[all …]
Dc101.c80 #define sca_in(reg, card) readb((card)->win0base + C101_SCA + (reg)) macro
114 if (!(sca_in(MSCI1_OFFSET + ST3, port) & ST3_DCD)) in set_carrier()
122 u8 stat = sca_in(MSCI0_OFFSET + ST1, port); /* read MSCI ST1 status */ in sca_msci_intr()
133 stat = sca_in(MSCI1_OFFSET + ST1, port); /* read MSCI1 ST1 status */ in sca_msci_intr()
220 sca_in(MSCI1_OFFSET + ST0, port), in c101_siocdevprivate()
221 sca_in(MSCI1_OFFSET + ST1, port), in c101_siocdevprivate()
222 sca_in(MSCI1_OFFSET + ST2, port), in c101_siocdevprivate()
223 sca_in(MSCI1_OFFSET + ST3, port)); in c101_siocdevprivate()
Dpci200syn.c89 #define sca_flush(card) (sca_in(IER0, card))
Dn2.c125 #define sca_in(reg, card) inb(sca_reg(reg, card)) macro