Searched refs:M_REG (Results 1 – 3 of 3) sorted by relevance
/drivers/net/wan/ |
D | pc300_drv.c | 1816 } else if (cpc_readb(card->hw.scabase + M_REG(ST3, ch)) & ST3_DCD) { in cpc_queue_xmit() 1823 cpc_writeb(card->hw.scabase + M_REG(CMD, ch), CMD_TX_BUF_CLR); in cpc_queue_xmit() 1863 cpc_writeb(card->hw.scabase + M_REG(CMD, ch), CMD_TX_ENA); in cpc_queue_xmit() 2099 if (cpc_readb (scabase + M_REG(TBN, ch)) != 0) { in sca_intr() 2100 cpc_writeb(scabase + M_REG(CMD,ch), CMD_TX_BUF_CLR); in sca_intr() 2132 u8 st1 = cpc_readb(scabase + M_REG(ST1, ch)); in sca_intr() 2135 cpc_writeb(scabase + M_REG(ST1, ch), st1); in sca_intr() 2142 if (cpc_readb(scabase + M_REG(ST3, ch)) & ST3_DCD) { in sca_intr() 2427 cpc_readb(scabase + M_REG(MD0, ch)), in cpc_sca_status() 2428 cpc_readb(scabase + M_REG(MD1, ch)), in cpc_sca_status() [all …]
|
D | pc300_tty.c | 156 cpc_writeb(card->hw.scabase + M_REG(CTL,ch), in cpc_tty_signal_off() 157 cpc_readb(card->hw.scabase+M_REG(CTL,ch))& signal); in cpc_tty_signal_off() 174 cpc_writeb(card->hw.scabase + M_REG(CTL,ch), in cpc_tty_signal_on() 175 cpc_readb(card->hw.scabase+M_REG(CTL,ch))& ~signal); in cpc_tty_signal_on() 464 if (cpc_readb(card->hw.scabase + M_REG(ST3,ch)) & ST3_DCD) { in cpc_tty_write() 470 cpc_writeb(card->hw.scabase + M_REG(CMD, ch), CMD_TX_BUF_CLR); in cpc_tty_write() 588 status = cpc_readb(card->hw.scabase+M_REG(CTL,ch)); in pc300_tiocmget() 975 cpc_writeb(card->hw.scabase + M_REG(CMD, ch), CMD_TX_ENA); in cpc_tty_send_to_card()
|
D | hd64572.h | 51 #define M_REG(reg, chan) (reg + 0x80*chan) /* MSCI */ macro
|