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()
183 fcc_t __iomem *fccp = fep->fcc.fccp; in set_promiscuous_mode() local
185 S32(fccp, fcc_fpsmr, FCC_PSMR_PRO); in set_promiscuous_mode()
216 fcc_t __iomem *fccp = fep->fcc.fccp; in set_multicast_finish() local
220 C32(fccp, fcc_fpsmr, FCC_PSMR_PRO); in set_multicast_finish()
252 fcc_t __iomem *fccp = fep->fcc.fccp; in restart() local
260 C32(fccp, fcc_gfmr, FCC_GFMR_ENR | FCC_GFMR_ENT); in restart()
382 W16(fccp, fcc_fcce, 0xffff); in restart()
385 W16(fccp, fcc_fccm, FCC_ENET_TXE | FCC_ENET_RXF | FCC_ENET_TXB); in restart()
388 W32(fccp, fcc_gfmr, FCC_GFMR_TCI | FCC_GFMR_MODE_ENET); in restart()
391 W16(fccp, fcc_fdsr, 0xd555); in restart()
393 W32(fccp, fcc_fpsmr, FCC_PSMR_ENCRC); in restart()
396 S32(fccp, fcc_fpsmr, FCC_PSMR_RMII); in restart()
400 S32(fccp, fcc_fpsmr, FCC_PSMR_FDE | FCC_PSMR_LPB); in restart()
402 C32(fccp, fcc_fpsmr, FCC_PSMR_FDE | FCC_PSMR_LPB); in restart()
407 S32(fccp, fcc_gfmr, FCC_GFMR_ENR | FCC_GFMR_ENT); in restart()
413 fcc_t __iomem *fccp = fep->fcc.fccp; in stop() local
416 C32(fccp, fcc_gfmr, FCC_GFMR_ENR | FCC_GFMR_ENT); in stop()
419 W16(fccp, fcc_fcce, 0xffff); in stop()
422 W16(fccp, fcc_fccm, 0); in stop()
430 fcc_t __iomem *fccp = fep->fcc.fccp; in napi_clear_rx_event() local
432 W16(fccp, fcc_fcce, FCC_NAPI_RX_EVENT_MSK); in napi_clear_rx_event()
438 fcc_t __iomem *fccp = fep->fcc.fccp; in napi_enable_rx() local
440 S16(fccp, fcc_fccm, FCC_NAPI_RX_EVENT_MSK); in napi_enable_rx()
446 fcc_t __iomem *fccp = fep->fcc.fccp; in napi_disable_rx() local
448 C16(fccp, fcc_fccm, FCC_NAPI_RX_EVENT_MSK); in napi_disable_rx()
454 fcc_t __iomem *fccp = fep->fcc.fccp; in napi_clear_tx_event() local
456 W16(fccp, fcc_fcce, FCC_NAPI_TX_EVENT_MSK); in napi_clear_tx_event()
462 fcc_t __iomem *fccp = fep->fcc.fccp; in napi_enable_tx() local
464 S16(fccp, fcc_fccm, FCC_NAPI_TX_EVENT_MSK); in napi_enable_tx()
470 fcc_t __iomem *fccp = fep->fcc.fccp; in napi_disable_tx() local
472 C16(fccp, fcc_fccm, FCC_NAPI_TX_EVENT_MSK); in napi_disable_tx()
483 fcc_t __iomem *fccp = fep->fcc.fccp; in tx_kickstart() local
485 S16(fccp, fcc_ftodr, 0x8000); in tx_kickstart()
491 fcc_t __iomem *fccp = fep->fcc.fccp; in get_int_events() local
493 return (u32)R16(fccp, fcc_fcce); in get_int_events()
499 fcc_t __iomem *fccp = fep->fcc.fccp; in clear_int_events() local
501 W16(fccp, fcc_fcce, int_events & 0xffff); in clear_int_events()
518 memcpy_fromio(p, fep->fcc.fccp, sizeof(fcc_t)); in get_regs()
547 fcc_t __iomem *fccp = fep->fcc.fccp; in tx_restart() local
583 C32(fccp, fcc_gfmr, FCC_GFMR_ENT); in tx_restart()
585 S32(fccp, fcc_gfmr, FCC_GFMR_ENT); in tx_restart()