Home
last modified time | relevance | path

Searched refs:F_REG (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/drivers/net/wan/
Dpc300_drv.c421 while (cpc_readb(falcbase + F_REG(SIS, ch)) & SIS_CEC) { in falc_issue_cmd()
428 cpc_writeb(falcbase + F_REG(CMDR, ch), cmd); in falc_issue_cmd()
439 cpc_writeb(falcbase + F_REG(IPC, ch), in falc_intr_enable()
440 cpc_readb(falcbase + F_REG(IPC, ch)) & ~IPC_IC0); in falc_intr_enable()
442 cpc_writeb(falcbase + F_REG(FMR1, ch), in falc_intr_enable()
443 cpc_readb(falcbase + F_REG(FMR1, ch)) | FMR1_ECM); in falc_intr_enable()
445 cpc_writeb(falcbase + F_REG(IMR3, ch), in falc_intr_enable()
446 cpc_readb(falcbase + F_REG(IMR3, ch)) & ~(IMR3_SEC | IMR3_ES)); in falc_intr_enable()
448 cpc_writeb(falcbase + F_REG(IMR4, ch), in falc_intr_enable()
449 cpc_readb(falcbase + F_REG(IMR4, ch)) & ~(IMR4_LOS)); in falc_intr_enable()
[all …]
Dpc300.h83 #define F_REG(reg, chan) (0x200*(chan) + ((reg)<<2)) macro