Lines Matching refs:fec
83 static int whack_reset(struct fec __iomem *fecp) in whack_reset()
105 fep->fec.fecp = of_iomap(ofdev->dev.of_node, 0); in do_pd_setup()
126 fep->fec.hthi = 0; in setup_data()
127 fep->fec.htlo = 0; in setup_data()
173 struct fec __iomem *fecp = fep->fec.fecp; in set_promiscuous_mode()
182 fep->fec.hthi = 0; in set_multicast_start()
183 fep->fec.htlo = 0; in set_multicast_start()
213 fep->fec.hthi |= csrVal; in set_multicast_one()
215 fep->fec.htlo |= csrVal; in set_multicast_one()
221 struct fec __iomem *fecp = fep->fec.fecp; in set_multicast_finish()
226 fep->fec.hthi = 0xffffffffU; in set_multicast_finish()
227 fep->fec.htlo = 0xffffffffU; in set_multicast_finish()
231 FW(fecp, grp_hash_table_high, fep->fec.hthi); in set_multicast_finish()
232 FW(fecp, grp_hash_table_low, fep->fec.htlo); in set_multicast_finish()
251 struct fec __iomem *fecp = fep->fec.fecp; in restart()
260 r = whack_reset(fep->fec.fecp); in restart()
278 FW(fecp, grp_hash_table_high, fep->fec.hthi); in restart()
279 FW(fecp, grp_hash_table_low, fep->fec.htlo); in restart()
364 struct fec __iomem *fecp = fep->fec.fecp; in stop()
402 struct fec __iomem *fecp = fep->fec.fecp; in napi_clear_rx_event()
410 struct fec __iomem *fecp = fep->fec.fecp; in napi_enable_rx()
418 struct fec __iomem *fecp = fep->fec.fecp; in napi_disable_rx()
426 struct fec __iomem *fecp = fep->fec.fecp; in napi_clear_tx_event()
434 struct fec __iomem *fecp = fep->fec.fecp; in napi_enable_tx()
442 struct fec __iomem *fecp = fep->fec.fecp; in napi_disable_tx()
450 struct fec __iomem *fecp = fep->fec.fecp; in rx_bd_done()
458 struct fec __iomem *fecp = fep->fec.fecp; in tx_kickstart()
466 struct fec __iomem *fecp = fep->fec.fecp; in get_int_events()
474 struct fec __iomem *fecp = fep->fec.fecp; in clear_int_events()
490 if (*sizep < sizeof(struct fec)) in get_regs()
493 memcpy_fromio(p, fep->fec.fecp, sizeof(struct fec)); in get_regs()
500 return sizeof(struct fec); in get_regs_len()