Lines Matching refs:writeb
43 #define BYTE_REG_BITS_ON(x,p) do { writeb(readb((p))|(x),(p));} while (0)
51 #define BYTE_REG_BITS_OFF(x,p) do { writeb(readb((p)) & (~(x)),(p));} while (0)
55 #define BYTE_REG_BITS_SET(x,m,p) do { writeb( (readb((p)) & (~(m))) |(x),(p));} while (0)
1240 writeb(TRDCSR_RUN, &((regs)->RDCSRSet));\
1244 writeb(TRDCSR_WAK, &((regs)->RDCSRSet));\
1290 writeb(CAMADDR_VCAMSL, ®s->CAMADDR); in mac_get_cam_mask()
1292 writeb(0, ®s->CAMADDR); in mac_get_cam_mask()
1299 writeb(0, ®s->CAMADDR); in mac_get_cam_mask()
1325 writeb(CAMADDR_CAMEN | CAMADDR_VCAMSL, ®s->CAMADDR); in mac_set_cam_mask()
1327 writeb(CAMADDR_CAMEN, ®s->CAMADDR); in mac_set_cam_mask()
1330 writeb(*mask++, &(regs->MARCAM[i])); in mac_set_cam_mask()
1333 writeb(0, ®s->CAMADDR); in mac_set_cam_mask()
1362 writeb(CAMADDR_CAMEN | CAMADDR_VCAMSL | idx, in mac_set_cam()
1365 writeb(CAMADDR_CAMEN | idx, ®s->CAMADDR); in mac_set_cam()
1371 writeb(*addr++, &(regs->MARCAM[i])); in mac_set_cam()
1378 writeb(0, ®s->CAMADDR); in mac_set_cam()
1408 writeb(CAMADDR_CAMEN | CAMADDR_VCAMSL | idx, in mac_get_cam()
1411 writeb(CAMADDR_CAMEN | idx, ®s->CAMADDR); in mac_get_cam()
1423 writeb(0, ®s->CAMADDR); in mac_get_cam()
1450 writeb(WOLCFG_PMEOVR, ®s->WOLCFGClr); in mac_wol_reset()