Lines Matching refs:fccp
90 fep->fcc.fccp = of_iomap(ofdev->dev.of_node, 0); in do_pd_setup()
91 if (!fep->fcc.fccp) 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() local
175 S32(fccp, fcc_fpsmr, FCC_PSMR_PRO); in set_promiscuous_mode()
206 fcc_t __iomem *fccp = fep->fcc.fccp; in set_multicast_finish() local
210 C32(fccp, fcc_fpsmr, FCC_PSMR_PRO); in set_multicast_finish()
243 fcc_t __iomem *fccp = fep->fcc.fccp; in restart() local
251 C32(fccp, fcc_gfmr, FCC_GFMR_ENR | FCC_GFMR_ENT); in restart()
373 W16(fccp, fcc_fcce, 0xffff); in restart()
376 W16(fccp, fcc_fccm, FCC_ENET_TXE | FCC_ENET_RXF | FCC_ENET_TXB); in restart()
379 W32(fccp, fcc_gfmr, FCC_GFMR_TCI | FCC_GFMR_MODE_ENET); in restart()
382 W16(fccp, fcc_fdsr, 0xd555); in restart()
384 W32(fccp, fcc_fpsmr, FCC_PSMR_ENCRC); in restart()
387 S32(fccp, fcc_fpsmr, FCC_PSMR_RMII); in restart()
391 S32(fccp, fcc_fpsmr, FCC_PSMR_FDE | FCC_PSMR_LPB); in restart()
393 C32(fccp, fcc_fpsmr, FCC_PSMR_FDE | FCC_PSMR_LPB); in restart()
398 S32(fccp, fcc_gfmr, FCC_GFMR_ENR | FCC_GFMR_ENT); in restart()
404 fcc_t __iomem *fccp = fep->fcc.fccp; in stop() local
407 C32(fccp, fcc_gfmr, FCC_GFMR_ENR | FCC_GFMR_ENT); in stop()
410 W16(fccp, fcc_fcce, 0xffff); in stop()
413 W16(fccp, fcc_fccm, 0); in stop()
421 fcc_t __iomem *fccp = fep->fcc.fccp; in napi_clear_event_fs() local
423 W16(fccp, fcc_fcce, FCC_NAPI_EVENT_MSK); in napi_clear_event_fs()
429 fcc_t __iomem *fccp = fep->fcc.fccp; in napi_enable_fs() local
431 S16(fccp, fcc_fccm, FCC_NAPI_EVENT_MSK); in napi_enable_fs()
437 fcc_t __iomem *fccp = fep->fcc.fccp; in napi_disable_fs() local
439 C16(fccp, fcc_fccm, FCC_NAPI_EVENT_MSK); in napi_disable_fs()
450 fcc_t __iomem *fccp = fep->fcc.fccp; in tx_kickstart() local
452 S16(fccp, fcc_ftodr, 0x8000); in tx_kickstart()
458 fcc_t __iomem *fccp = fep->fcc.fccp; in get_int_events() local
460 return (u32)R16(fccp, fcc_fcce); in get_int_events()
466 fcc_t __iomem *fccp = fep->fcc.fccp; in clear_int_events() local
468 W16(fccp, fcc_fcce, int_events & 0xffff); in clear_int_events()
485 memcpy_fromio(p, fep->fcc.fccp, sizeof(fcc_t)); in get_regs()
514 fcc_t __iomem *fccp = fep->fcc.fccp; in tx_restart() local
550 C32(fccp, fcc_gfmr, FCC_GFMR_ENT); in tx_restart()
552 S32(fccp, fcc_gfmr, FCC_GFMR_ENT); in tx_restart()