Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/net/
Dni65.c141 #define L_ADDRREG 0x02 macro
159 #define writereg(val,reg) {outw(reg,PORT+L_ADDRREG);inw(PORT+L_ADDRREG); \
161 #define readreg(reg) (outw(reg,PORT+L_ADDRREG),inw(PORT+L_ADDRREG),\
169 #define writereg(val,reg) {outw(reg,PORT+L_ADDRREG);outw(val,PORT+L_DATAREG);}
170 #define readreg(reg) (outw(reg,PORT+L_ADDRREG),inw(PORT+L_DATAREG))
278 outw(80,PORT+L_ADDRREG); in ni65_set_performance()
279 if(inw(PORT+L_ADDRREG) != 80) in ni65_set_performance()
283 outw(0,PORT+L_ADDRREG); in ni65_set_performance()
285 outw(1,PORT+L_ADDRREG); in ni65_set_performance()
288 outw(CSR0,PORT+L_ADDRREG); /* switch back to CSR0 */ in ni65_set_performance()
[all …]