Lines Matching refs:W16
62 #define W16(_p, _m, _v) __fs_out16(&(_p)->_m, (_v)) macro
64 #define S16(_p, _m, _v) W16(_p, _m, R16(_p, _m) | (_v))
65 #define C16(_p, _m, _v) W16(_p, _m, R16(_p, _m) & ~(_v))
169 W16(ep, sen_gaddr1, 0); in set_multicast_start()
170 W16(ep, sen_gaddr2, 0); in set_multicast_start()
171 W16(ep, sen_gaddr3, 0); in set_multicast_start()
172 W16(ep, sen_gaddr4, 0); in set_multicast_start()
185 W16(ep, sen_taddrh, taddrh); in set_multicast_one()
186 W16(ep, sen_taddrm, taddrm); in set_multicast_one()
187 W16(ep, sen_taddrl, taddrl); in set_multicast_one()
204 W16(ep, sen_gaddr1, 0xffff); in set_multicast_finish()
205 W16(ep, sen_gaddr2, 0xffff); in set_multicast_finish()
206 W16(ep, sen_gaddr3, 0xffff); in set_multicast_finish()
207 W16(ep, sen_gaddr4, 0xffff); in set_multicast_finish()
247 W16(ep, sen_genscc.scc_rbase, fpi->dpram_offset); in restart()
248 W16(ep, sen_genscc.scc_tbase, in restart()
265 W16(ep, sen_genscc.scc_mrblr, 0x5f0); in restart()
276 W16(ep, sen_pads, 0x8888); /* Tx short frame pad character */ in restart()
277 W16(ep, sen_retlim, 15); /* Retry limit threshold */ in restart()
279 W16(ep, sen_maxflr, 0x5ee); /* maximum frame length register */ in restart()
281 W16(ep, sen_minflr, PKT_MINBUF_SIZE); /* minimum frame length register */ in restart()
283 W16(ep, sen_maxd1, 0x000005f0); /* maximum DMA1 length */ in restart()
284 W16(ep, sen_maxd2, 0x000005f0); /* maximum DMA2 length */ in restart()
288 W16(ep, sen_gaddr1, 0); in restart()
289 W16(ep, sen_gaddr2, 0); in restart()
290 W16(ep, sen_gaddr3, 0); in restart()
291 W16(ep, sen_gaddr4, 0); in restart()
292 W16(ep, sen_iaddr1, 0); in restart()
293 W16(ep, sen_iaddr2, 0); in restart()
294 W16(ep, sen_iaddr3, 0); in restart()
295 W16(ep, sen_iaddr4, 0); in restart()
304 W16(ep, sen_paddrh, paddrh); in restart()
305 W16(ep, sen_paddrm, paddrm); in restart()
306 W16(ep, sen_paddrl, paddrl); in restart()
308 W16(ep, sen_pper, 0); in restart()
309 W16(ep, sen_taddrl, 0); in restart()
310 W16(ep, sen_taddrm, 0); in restart()
311 W16(ep, sen_taddrh, 0); in restart()
317 W16(sccp, scc_scce, 0xffff); in restart()
321 W16(sccp, scc_sccm, SCCE_ENET_TXE | SCCE_ENET_RXF | SCCE_ENET_TXB); in restart()
333 W16(sccp, scc_dsr, 0xd555); in restart()
338 W16(sccp, scc_psmr, SCC_PSMR_ENCRC | SCC_PSMR_NIB22); in restart()
362 W16(sccp, scc_sccm, 0); in stop()
373 W16(sccp, scc_scce, SCC_NAPI_EVENT_MSK); in napi_clear_event_fs()
415 W16(sccp, scc_scce, int_events & 0xffff); in clear_int_events()