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()
183 fcc_t __iomem *fccp = fep->fcc.fccp; in set_promiscuous_mode()
191 fcc_enet_t __iomem *ep = fep->fcc.ep; in set_multicast_start()
200 fcc_enet_t __iomem *ep = fep->fcc.ep; in set_multicast_one()
216 fcc_t __iomem *fccp = fep->fcc.fccp; in set_multicast_finish()
217 fcc_enet_t __iomem *ep = fep->fcc.ep; in set_multicast_finish()
231 fep->fcc.gaddrh = R32(ep, fen_gaddrh); in set_multicast_finish()
232 fep->fcc.gaddrl = R32(ep, fen_gaddrl); in set_multicast_finish()
252 fcc_t __iomem *fccp = fep->fcc.fccp; in restart()
253 fcc_c_t __iomem *fcccp = fep->fcc.fcccp; in restart()
254 fcc_enet_t __iomem *ep = fep->fcc.ep; in restart()
294 memset_io(fep->fcc.mem + fpi->dpram_offset + 64, 0x88, 32); in restart()
317 W32(ep, fen_gaddrh, fep->fcc.gaddrh); in restart()
318 W32(ep, fen_gaddrl, fep->fcc.gaddrh); in restart()
413 fcc_t __iomem *fccp = fep->fcc.fccp; in stop()
430 fcc_t __iomem *fccp = fep->fcc.fccp; in napi_clear_rx_event()
438 fcc_t __iomem *fccp = fep->fcc.fccp; in napi_enable_rx()
446 fcc_t __iomem *fccp = fep->fcc.fccp; in napi_disable_rx()
454 fcc_t __iomem *fccp = fep->fcc.fccp; in napi_clear_tx_event()
462 fcc_t __iomem *fccp = fep->fcc.fccp; in napi_enable_tx()
470 fcc_t __iomem *fccp = fep->fcc.fccp; in napi_disable_tx()
483 fcc_t __iomem *fccp = fep->fcc.fccp; in tx_kickstart()
491 fcc_t __iomem *fccp = fep->fcc.fccp; in get_int_events()
499 fcc_t __iomem *fccp = fep->fcc.fccp; in clear_int_events()
518 memcpy_fromio(p, fep->fcc.fccp, sizeof(fcc_t)); in get_regs()
521 memcpy_fromio(p, fep->fcc.ep, sizeof(fcc_enet_t)); in get_regs()
524 memcpy_fromio(p, fep->fcc.fcccp, 1); in get_regs()
547 fcc_t __iomem *fccp = fep->fcc.fccp; in tx_restart()
549 fcc_enet_t __iomem *ep = fep->fcc.ep; in tx_restart()