Lines Matching refs:fccp
96 fep->fcc.fccp = of_iomap(ofdev->dev.of_node, 0); in do_pd_setup()
97 if (!fep->fcc.fccp) 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() local
181 S32(fccp, fcc_fpsmr, FCC_PSMR_PRO); in set_promiscuous_mode()
212 fcc_t __iomem *fccp = fep->fcc.fccp; in set_multicast_finish() local
216 C32(fccp, fcc_fpsmr, FCC_PSMR_PRO); in set_multicast_finish()
248 fcc_t __iomem *fccp = fep->fcc.fccp; in restart() local
256 C32(fccp, fcc_gfmr, FCC_GFMR_ENR | FCC_GFMR_ENT); in restart()
378 W16(fccp, fcc_fcce, 0xffff); in restart()
381 W16(fccp, fcc_fccm, FCC_ENET_TXE | FCC_ENET_RXF | FCC_ENET_TXB); in restart()
384 W32(fccp, fcc_gfmr, FCC_GFMR_TCI | FCC_GFMR_MODE_ENET); in restart()
387 W16(fccp, fcc_fdsr, 0xd555); in restart()
389 W32(fccp, fcc_fpsmr, FCC_PSMR_ENCRC); in restart()
392 S32(fccp, fcc_fpsmr, FCC_PSMR_RMII); in restart()
396 S32(fccp, fcc_fpsmr, FCC_PSMR_FDE | FCC_PSMR_LPB); in restart()
398 C32(fccp, fcc_fpsmr, FCC_PSMR_FDE | FCC_PSMR_LPB); in restart()
403 S32(fccp, fcc_gfmr, FCC_GFMR_ENR | FCC_GFMR_ENT); in restart()
409 fcc_t __iomem *fccp = fep->fcc.fccp; in stop() local
412 C32(fccp, fcc_gfmr, FCC_GFMR_ENR | FCC_GFMR_ENT); in stop()
415 W16(fccp, fcc_fcce, 0xffff); in stop()
418 W16(fccp, fcc_fccm, 0); in stop()
426 fcc_t __iomem *fccp = fep->fcc.fccp; in napi_clear_event_fs() local
428 W16(fccp, fcc_fcce, FCC_NAPI_EVENT_MSK); in napi_clear_event_fs()
434 fcc_t __iomem *fccp = fep->fcc.fccp; in napi_enable_fs() local
436 S16(fccp, fcc_fccm, FCC_NAPI_EVENT_MSK); in napi_enable_fs()
442 fcc_t __iomem *fccp = fep->fcc.fccp; in napi_disable_fs() local
444 C16(fccp, fcc_fccm, FCC_NAPI_EVENT_MSK); in napi_disable_fs()
455 fcc_t __iomem *fccp = fep->fcc.fccp; in tx_kickstart() local
457 S16(fccp, fcc_ftodr, 0x8000); in tx_kickstart()
463 fcc_t __iomem *fccp = fep->fcc.fccp; in get_int_events() local
465 return (u32)R16(fccp, fcc_fcce); in get_int_events()
471 fcc_t __iomem *fccp = fep->fcc.fccp; in clear_int_events() local
473 W16(fccp, fcc_fcce, int_events & 0xffff); in clear_int_events()
490 memcpy_fromio(p, fep->fcc.fccp, sizeof(fcc_t)); in get_regs()
519 fcc_t __iomem *fccp = fep->fcc.fccp; in tx_restart() local
555 C32(fccp, fcc_gfmr, FCC_GFMR_ENT); in tx_restart()
557 S32(fccp, fcc_gfmr, FCC_GFMR_ENT); in tx_restart()