Lines Matching full:fcc

3  * FCC driver for Motorola MPC82xx (PQ2).
45 /* FCC access macros */
90 fep->fcc.fccp = of_iomap(ofdev->dev.of_node, 0); in do_pd_setup()
91 if (!fep->fcc.fccp) in do_pd_setup()
94 fep->fcc.ep = of_iomap(ofdev->dev.of_node, 1); in do_pd_setup()
95 if (!fep->fcc.ep) in do_pd_setup()
98 fep->fcc.fcccp = of_iomap(ofdev->dev.of_node, 2); in do_pd_setup()
99 if (!fep->fcc.fcccp) in do_pd_setup()
102 fep->fcc.mem = (void __iomem *)cpm2_immr; in do_pd_setup()
112 iounmap(fep->fcc.fcccp); in do_pd_setup()
114 iounmap(fep->fcc.ep); in do_pd_setup()
116 iounmap(fep->fcc.fccp); in do_pd_setup()
173 fcc_t __iomem *fccp = fep->fcc.fccp; in set_promiscuous_mode()
181 fcc_enet_t __iomem *ep = fep->fcc.ep; in set_multicast_start()
190 fcc_enet_t __iomem *ep = fep->fcc.ep; in set_multicast_one()
206 fcc_t __iomem *fccp = fep->fcc.fccp; in set_multicast_finish()
207 fcc_enet_t __iomem *ep = fep->fcc.ep; in set_multicast_finish()
221 fep->fcc.gaddrh = R32(ep, fen_gaddrh); in set_multicast_finish()
222 fep->fcc.gaddrl = R32(ep, fen_gaddrl); in set_multicast_finish()
243 fcc_t __iomem *fccp = fep->fcc.fccp; in restart()
244 fcc_c_t __iomem *fcccp = fep->fcc.fcccp; in restart()
245 fcc_enet_t __iomem *ep = fep->fcc.ep; in restart()
273 /* Allocate space in the reserved FCC area of DPRAM for the in restart()
285 memset_io(fep->fcc.mem + fpi->dpram_offset + 64, 0x88, 32); in restart()
308 W32(ep, fen_gaddrh, fep->fcc.gaddrh); in restart()
309 W32(ep, fen_gaddrl, fep->fcc.gaddrh); in restart()
404 fcc_t __iomem *fccp = fep->fcc.fccp; in stop()
421 fcc_t __iomem *fccp = fep->fcc.fccp; in napi_clear_event_fs()
429 fcc_t __iomem *fccp = fep->fcc.fccp; in napi_enable_fs()
437 fcc_t __iomem *fccp = fep->fcc.fccp; in napi_disable_fs()
450 fcc_t __iomem *fccp = fep->fcc.fccp; in tx_kickstart()
458 fcc_t __iomem *fccp = fep->fcc.fccp; in get_int_events()
466 fcc_t __iomem *fccp = fep->fcc.fccp; in clear_int_events()
485 memcpy_fromio(p, fep->fcc.fccp, sizeof(fcc_t)); in get_regs()
488 memcpy_fromio(p, fep->fcc.ep, sizeof(fcc_enet_t)); in get_regs()
491 memcpy_fromio(p, fep->fcc.fcccp, 1); in get_regs()
514 fcc_t __iomem *fccp = fep->fcc.fccp; in tx_restart()
516 fcc_enet_t __iomem *ep = fep->fcc.ep; in tx_restart()