Lines Matching refs:fcc
94 fep->fcc.fccp = of_iomap(ofdev->dev.of_node, 0); in do_pd_setup()
95 if (!fep->fcc.fccp) in do_pd_setup()
98 fep->fcc.ep = of_iomap(ofdev->dev.of_node, 1); in do_pd_setup()
99 if (!fep->fcc.ep) in do_pd_setup()
102 fep->fcc.fcccp = of_iomap(ofdev->dev.of_node, 2); in do_pd_setup()
103 if (!fep->fcc.fcccp) in do_pd_setup()
106 fep->fcc.mem = (void __iomem *)cpm2_immr; in do_pd_setup()
116 iounmap(fep->fcc.fcccp); in do_pd_setup()
118 iounmap(fep->fcc.ep); in do_pd_setup()
120 iounmap(fep->fcc.fccp); in do_pd_setup()
177 fcc_t __iomem *fccp = fep->fcc.fccp; in set_promiscuous_mode()
185 fcc_enet_t __iomem *ep = fep->fcc.ep; in set_multicast_start()
194 fcc_enet_t __iomem *ep = fep->fcc.ep; in set_multicast_one()
210 fcc_t __iomem *fccp = fep->fcc.fccp; in set_multicast_finish()
211 fcc_enet_t __iomem *ep = fep->fcc.ep; in set_multicast_finish()
225 fep->fcc.gaddrh = R32(ep, fen_gaddrh); in set_multicast_finish()
226 fep->fcc.gaddrl = R32(ep, fen_gaddrl); in set_multicast_finish()
246 fcc_t __iomem *fccp = fep->fcc.fccp; in restart()
247 fcc_c_t __iomem *fcccp = fep->fcc.fcccp; in restart()
248 fcc_enet_t __iomem *ep = fep->fcc.ep; in restart()
288 memset_io(fep->fcc.mem + fpi->dpram_offset + 64, 0x88, 32); in restart()
311 W32(ep, fen_gaddrh, fep->fcc.gaddrh); in restart()
312 W32(ep, fen_gaddrl, fep->fcc.gaddrh); in restart()
407 fcc_t __iomem *fccp = fep->fcc.fccp; in stop()
424 fcc_t __iomem *fccp = fep->fcc.fccp; in napi_clear_event_fs()
432 fcc_t __iomem *fccp = fep->fcc.fccp; in napi_enable_fs()
440 fcc_t __iomem *fccp = fep->fcc.fccp; in napi_disable_fs()
453 fcc_t __iomem *fccp = fep->fcc.fccp; in tx_kickstart()
461 fcc_t __iomem *fccp = fep->fcc.fccp; in get_int_events()
469 fcc_t __iomem *fccp = fep->fcc.fccp; in clear_int_events()
488 memcpy_fromio(p, fep->fcc.fccp, sizeof(fcc_t)); in get_regs()
491 memcpy_fromio(p, fep->fcc.ep, sizeof(fcc_enet_t)); in get_regs()
494 memcpy_fromio(p, fep->fcc.fcccp, 1); in get_regs()
517 fcc_t __iomem *fccp = fep->fcc.fccp; in tx_restart()
519 fcc_enet_t __iomem *ep = fep->fcc.ep; in tx_restart()