Home
last modified time | relevance | path

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

/drivers/net/ethernet/freescale/fs_enet/
Dmac-fcc.c53 #define W32(_p, _m, _v) out_be32(&(_p)->_m, (_v)) macro
55 #define S32(_p, _m, _v) W32(_p, _m, R32(_p, _m) | (_v))
56 #define C32(_p, _m, _v) W32(_p, _m, R32(_p, _m) & ~(_v))
190 W32(ep, fen_gaddrh, 0); in set_multicast_start()
191 W32(ep, fen_gaddrl, 0); in set_multicast_start()
223 W32(ep, fen_gaddrh, 0xffffffff); in set_multicast_finish()
224 W32(ep, fen_gaddrl, 0xffffffff); in set_multicast_finish()
268 W32(ep, fen_genfcc.fcc_rbase, rx_bd_base_phys); in restart()
269 W32(ep, fen_genfcc.fcc_tbase, tx_bd_base_phys); in restart()
276 W32(ep, fen_genfcc.fcc_rstate, (CPMFCR_GBL | CPMFCR_EB) << 24); in restart()
[all …]
Dmac-scc.c68 #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))
281 W32(ep, sen_cpres, 0xffffffff); in restart()
282 W32(ep, sen_cmask, 0xdebb20e3); in restart()
284 W32(ep, sen_crcec, 0); /* CRC Error counter */ in restart()
285 W32(ep, sen_alec, 0); /* alignment error counter */ in restart()
286 W32(ep, sen_disfc, 0); /* discard frame counter */ in restart()
338 W32(sccp, scc_gsmrh, 0); in restart()
339 W32(sccp, scc_gsmrl, in restart()