Lines Matching refs:FW

62 #define FW(_fecp, _reg, _v) __fs_out32(&(_fecp)->fec_ ## _reg, (_v))  macro
68 #define FS(_fecp, _reg, _v) FW(_fecp, _reg, FR(_fecp, _reg) | (_v))
71 #define FC(_fecp, _reg, _v) FW(_fecp, _reg, FR(_fecp, _reg) & ~(_v))
82 FW(fecp, ecntrl, FEC_ECNTRL_PINMUX | FEC_ECNTRL_RESET); in whack_reset()
211 FW(fecp, grp_hash_table_high, fep->fec.hthi); in set_multicast_finish()
212 FW(fecp, grp_hash_table_low, fep->fec.htlo); in set_multicast_finish()
252 FW(fecp, addr_low, addrhi); in restart()
253 FW(fecp, addr_high, addrlo); in restart()
258 FW(fecp, grp_hash_table_high, fep->fec.hthi); in restart()
259 FW(fecp, grp_hash_table_low, fep->fec.htlo); in restart()
264 FW(fecp, r_buff_size, PKT_MAXBLR_SIZE); in restart()
266 FW(fecp, r_cntrl, PKT_MAXBUF_SIZE << 16); in restart()
268 FW(fecp, r_hash, PKT_MAXBUF_SIZE); in restart()
278 FW(fecp, r_des_start, rx_bd_base_phys); in restart()
279 FW(fecp, x_des_start, tx_bd_base_phys); in restart()
289 FW(fecp, fun_code, 0x78000000); in restart()
295 FW(fecp, mii_speed, fec_inf->mii_speed); in restart()
300 FW(fecp, ievent, 0xffc0); in restart()
302 FW(fecp, ivec, (virq_to_hw(fep->interrupt) / 2) << 29); in restart()
304 FW(fecp, r_cntrl, FEC_RCNTRL_MII_MODE); /* MII enable */ in restart()
330 FW(fecp, imask, FEC_ENET_TXF | FEC_ENET_TXB | in restart()
336 FW(fecp, ecntrl, FEC_ECNTRL_PINMUX | FEC_ECNTRL_ETHER_EN); in restart()
337 FW(fecp, r_des_active, 0x01000000); in restart()
353 FW(fecp, x_cntrl, 0x01); /* Graceful transmit stop */ in stop()
363 FW(fecp, imask, 0); in stop()
374 FW(fecp, ievent, FEC_ENET_MII); in stop()
375 FW(fecp, mii_speed, feci->mii_speed); in stop()
384 FW(fecp, ievent, FEC_NAPI_EVENT_MSK); in napi_clear_event_fs()
408 FW(fecp, r_des_active, 0x01000000); in rx_bd_done()
416 FW(fecp, x_des_active, 0x01000000); in tx_kickstart()
432 FW(fecp, ievent, int_events); in clear_int_events()