Lines Matching refs:fccp

94 	fep->fcc.fccp = of_iomap(ofdev->dev.of_node, 0);  in do_pd_setup()
95 if (!fep->fcc.fccp) 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() local
179 S32(fccp, fcc_fpsmr, FCC_PSMR_PRO); in set_promiscuous_mode()
210 fcc_t __iomem *fccp = fep->fcc.fccp; in set_multicast_finish() local
214 C32(fccp, fcc_fpsmr, FCC_PSMR_PRO); in set_multicast_finish()
246 fcc_t __iomem *fccp = fep->fcc.fccp; in restart() local
254 C32(fccp, fcc_gfmr, FCC_GFMR_ENR | FCC_GFMR_ENT); in restart()
376 W16(fccp, fcc_fcce, 0xffff); in restart()
379 W16(fccp, fcc_fccm, FCC_ENET_TXE | FCC_ENET_RXF | FCC_ENET_TXB); in restart()
382 W32(fccp, fcc_gfmr, FCC_GFMR_TCI | FCC_GFMR_MODE_ENET); in restart()
385 W16(fccp, fcc_fdsr, 0xd555); in restart()
387 W32(fccp, fcc_fpsmr, FCC_PSMR_ENCRC); in restart()
390 S32(fccp, fcc_fpsmr, FCC_PSMR_RMII); in restart()
394 S32(fccp, fcc_fpsmr, FCC_PSMR_FDE | FCC_PSMR_LPB); in restart()
396 C32(fccp, fcc_fpsmr, FCC_PSMR_FDE | FCC_PSMR_LPB); in restart()
401 S32(fccp, fcc_gfmr, FCC_GFMR_ENR | FCC_GFMR_ENT); in restart()
407 fcc_t __iomem *fccp = fep->fcc.fccp; in stop() local
410 C32(fccp, fcc_gfmr, FCC_GFMR_ENR | FCC_GFMR_ENT); in stop()
413 W16(fccp, fcc_fcce, 0xffff); in stop()
416 W16(fccp, fcc_fccm, 0); in stop()
424 fcc_t __iomem *fccp = fep->fcc.fccp; in napi_clear_event_fs() local
426 W16(fccp, fcc_fcce, FCC_NAPI_EVENT_MSK); in napi_clear_event_fs()
432 fcc_t __iomem *fccp = fep->fcc.fccp; in napi_enable_fs() local
434 S16(fccp, fcc_fccm, FCC_NAPI_EVENT_MSK); in napi_enable_fs()
440 fcc_t __iomem *fccp = fep->fcc.fccp; in napi_disable_fs() local
442 C16(fccp, fcc_fccm, FCC_NAPI_EVENT_MSK); in napi_disable_fs()
453 fcc_t __iomem *fccp = fep->fcc.fccp; in tx_kickstart() local
455 S16(fccp, fcc_ftodr, 0x8000); in tx_kickstart()
461 fcc_t __iomem *fccp = fep->fcc.fccp; in get_int_events() local
463 return (u32)R16(fccp, fcc_fcce); in get_int_events()
469 fcc_t __iomem *fccp = fep->fcc.fccp; in clear_int_events() local
471 W16(fccp, fcc_fcce, int_events & 0xffff); in clear_int_events()
488 memcpy_fromio(p, fep->fcc.fccp, sizeof(fcc_t)); in get_regs()
517 fcc_t __iomem *fccp = fep->fcc.fccp; in tx_restart() local
553 C32(fccp, fcc_gfmr, FCC_GFMR_ENT); in tx_restart()
555 S32(fccp, fcc_gfmr, FCC_GFMR_ENT); in tx_restart()