Lines Matching refs:fcc
96 fep->fcc.fccp = of_iomap(ofdev->dev.of_node, 0); in do_pd_setup()
97 if (!fep->fcc.fccp) in do_pd_setup()
100 fep->fcc.ep = of_iomap(ofdev->dev.of_node, 1); in do_pd_setup()
101 if (!fep->fcc.ep) in do_pd_setup()
104 fep->fcc.fcccp = of_iomap(ofdev->dev.of_node, 2); in do_pd_setup()
105 if (!fep->fcc.fcccp) in do_pd_setup()
108 fep->fcc.mem = (void __iomem *)cpm2_immr; in do_pd_setup()
118 iounmap(fep->fcc.fcccp); in do_pd_setup()
120 iounmap(fep->fcc.ep); in do_pd_setup()
122 iounmap(fep->fcc.fccp); in do_pd_setup()
179 fcc_t __iomem *fccp = fep->fcc.fccp; in set_promiscuous_mode()
187 fcc_enet_t __iomem *ep = fep->fcc.ep; in set_multicast_start()
196 fcc_enet_t __iomem *ep = fep->fcc.ep; in set_multicast_one()
212 fcc_t __iomem *fccp = fep->fcc.fccp; in set_multicast_finish()
213 fcc_enet_t __iomem *ep = fep->fcc.ep; in set_multicast_finish()
227 fep->fcc.gaddrh = R32(ep, fen_gaddrh); in set_multicast_finish()
228 fep->fcc.gaddrl = R32(ep, fen_gaddrl); in set_multicast_finish()
248 fcc_t __iomem *fccp = fep->fcc.fccp; in restart()
249 fcc_c_t __iomem *fcccp = fep->fcc.fcccp; in restart()
250 fcc_enet_t __iomem *ep = fep->fcc.ep; in restart()
290 memset_io(fep->fcc.mem + fpi->dpram_offset + 64, 0x88, 32); in restart()
313 W32(ep, fen_gaddrh, fep->fcc.gaddrh); in restart()
314 W32(ep, fen_gaddrl, fep->fcc.gaddrh); in restart()
409 fcc_t __iomem *fccp = fep->fcc.fccp; in stop()
426 fcc_t __iomem *fccp = fep->fcc.fccp; in napi_clear_event_fs()
434 fcc_t __iomem *fccp = fep->fcc.fccp; in napi_enable_fs()
442 fcc_t __iomem *fccp = fep->fcc.fccp; in napi_disable_fs()
455 fcc_t __iomem *fccp = fep->fcc.fccp; in tx_kickstart()
463 fcc_t __iomem *fccp = fep->fcc.fccp; in get_int_events()
471 fcc_t __iomem *fccp = fep->fcc.fccp; in clear_int_events()
490 memcpy_fromio(p, fep->fcc.fccp, sizeof(fcc_t)); in get_regs()
493 memcpy_fromio(p, fep->fcc.ep, sizeof(fcc_enet_t)); in get_regs()
496 memcpy_fromio(p, fep->fcc.fcccp, 1); in get_regs()
519 fcc_t __iomem *fccp = fep->fcc.fccp; in tx_restart()
521 fcc_enet_t __iomem *ep = fep->fcc.ep; in tx_restart()