Lines Matching refs:W16
59 #define W16(_p, _m, _v) out_be16(&(_p)->_m, (_v)) macro
61 #define S16(_p, _m, _v) W16(_p, _m, R16(_p, _m) | (_v))
62 #define C16(_p, _m, _v) W16(_p, _m, R16(_p, _m) & ~(_v))
207 W16(ep, fen_taddrh, taddrh); in set_multicast_one()
208 W16(ep, fen_taddrm, taddrm); in set_multicast_one()
209 W16(ep, fen_taddrl, taddrl); in set_multicast_one()
277 W16(ep, fen_genfcc.fcc_mrblr, PKT_MAXBLR_SIZE); in restart()
288 W16(ep, fen_genfcc.fcc_riptr, fpi->dpram_offset); in restart()
289 W16(ep, fen_genfcc.fcc_tiptr, fpi->dpram_offset + 32); in restart()
291 W16(ep, fen_padptr, fpi->dpram_offset + 64); in restart()
300 W16(ep, fen_genfcc.fcc_res1, 0); in restart()
313 W16(ep, fen_retlim, 15); /* Retry limit threshold */ in restart()
314 W16(ep, fen_pper, 0); /* Normal persistence */ in restart()
325 W16(ep, fen_tfcstat, 0); in restart()
326 W16(ep, fen_tfclen, 0); in restart()
329 W16(ep, fen_mflr, PKT_MAXBUF_SIZE); /* maximum frame length register */ in restart()
330 W16(ep, fen_minflr, PKT_MINBUF_SIZE); /* minimum frame length register */ in restart()
338 W16(ep, fen_paddrh, paddrh); in restart()
339 W16(ep, fen_paddrm, paddrm); in restart()
340 W16(ep, fen_paddrl, paddrl); in restart()
342 W16(ep, fen_taddrh, 0); in restart()
343 W16(ep, fen_taddrm, 0); in restart()
344 W16(ep, fen_taddrl, 0); in restart()
346 W16(ep, fen_maxd1, 1520); /* maximum DMA1 length */ in restart()
347 W16(ep, fen_maxd2, 1520); /* maximum DMA2 length */ in restart()
365 W16(ep, fen_rfthr, 0); /* Suggested by manual */ in restart()
366 W16(ep, fen_rfcnt, 0); in restart()
367 W16(ep, fen_cftype, 0); in restart()
382 W16(fccp, fcc_fcce, 0xffff); in restart()
385 W16(fccp, fcc_fccm, FCC_ENET_TXE | FCC_ENET_RXF | FCC_ENET_TXB); in restart()
391 W16(fccp, fcc_fdsr, 0xd555); in restart()
419 W16(fccp, fcc_fcce, 0xffff); in stop()
422 W16(fccp, fcc_fccm, 0); in stop()
432 W16(fccp, fcc_fcce, FCC_NAPI_RX_EVENT_MSK); in napi_clear_rx_event()
456 W16(fccp, fcc_fcce, FCC_NAPI_TX_EVENT_MSK); in napi_clear_tx_event()
501 W16(fccp, fcc_fcce, int_events & 0xffff); in clear_int_events()