Searched refs:W32 (Results 1 – 2 of 2) sorted by relevance
/drivers/net/ethernet/freescale/fs_enet/ |
D | mac-fcc.c | 54 #define W32(_p, _m, _v) out_be32(&(_p)->_m, (_v)) macro 56 #define S32(_p, _m, _v) W32(_p, _m, R32(_p, _m) | (_v)) 57 #define C32(_p, _m, _v) W32(_p, _m, R32(_p, _m) & ~(_v)) 193 W32(ep, fen_gaddrh, 0); in set_multicast_start() 194 W32(ep, fen_gaddrl, 0); in set_multicast_start() 226 W32(ep, fen_gaddrh, 0xffffffff); in set_multicast_finish() 227 W32(ep, fen_gaddrl, 0xffffffff); in set_multicast_finish() 271 W32(ep, fen_genfcc.fcc_rbase, rx_bd_base_phys); in restart() 272 W32(ep, fen_genfcc.fcc_tbase, tx_bd_base_phys); in restart() 279 W32(ep, fen_genfcc.fcc_rstate, (CPMFCR_GBL | CPMFCR_EB) << 24); in restart() [all …]
|
D | mac-scc.c | 68 #define W32(_p, _m, _v) __fs_out32(&(_p)->_m, (_v)) macro 70 #define S32(_p, _m, _v) W32(_p, _m, R32(_p, _m) | (_v)) 71 #define C32(_p, _m, _v) W32(_p, _m, R32(_p, _m) & ~(_v)) 283 W32(ep, sen_cpres, 0xffffffff); in restart() 284 W32(ep, sen_cmask, 0xdebb20e3); in restart() 286 W32(ep, sen_crcec, 0); /* CRC Error counter */ in restart() 287 W32(ep, sen_alec, 0); /* alignment error counter */ in restart() 288 W32(ep, sen_disfc, 0); /* discard frame counter */ in restart() 340 W32(sccp, scc_gsmrh, 0); in restart() 341 W32(sccp, scc_gsmrl, in restart()
|