Searched refs:F_REG (Results 1 – 2 of 2) sorted by relevance
/linux-2.4.37.9/drivers/net/wan/ |
D | pc300_drv.c | 421 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 …]
|
D | pc300.h | 83 #define F_REG(reg, chan) (0x200*(chan) + ((reg)<<2)) macro
|