Lines Matching refs:fpi
79 const struct fs_platform_info *fpi = fep->fpi; in fcc_cr_cmd() local
81 return cpm_command(fpi->cp_command, op); in fcc_cr_cmd()
87 struct fs_platform_info *fpi = fep->fpi; in do_pd_setup() local
107 fpi->dpram_offset = cpm_muram_alloc(128, 32); in do_pd_setup()
108 if (IS_ERR_VALUE(fpi->dpram_offset)) { in do_pd_setup()
109 ret = fpi->dpram_offset; in do_pd_setup()
146 const struct fs_platform_info *fpi = fep->fpi; in allocate_bd() local
149 (fpi->tx_ring + fpi->rx_ring) * in allocate_bd()
161 const struct fs_platform_info *fpi = fep->fpi; in free_bd() local
165 (fpi->tx_ring + fpi->rx_ring) * sizeof(cbd_t), in free_bd()
245 const struct fs_platform_info *fpi = fep->fpi; in restart() local
262 tx_bd_base_phys = rx_bd_base_phys + sizeof(cbd_t) * fpi->rx_ring; in restart()
282 W16(ep, fen_genfcc.fcc_riptr, fpi->dpram_offset); in restart()
283 W16(ep, fen_genfcc.fcc_tiptr, fpi->dpram_offset + 32); in restart()
285 W16(ep, fen_padptr, fpi->dpram_offset + 64); in restart()
288 memset_io(fep->fcc.mem + fpi->dpram_offset + 64, 0x88, 32); in restart()
366 if (fpi->use_rmii) { in restart()
389 if (fpi->use_rmii) in restart()
518 const struct fs_platform_info *fpi = fep->fpi; in tx_restart() local
525 last_tx_bd = fep->tx_bd_base + (fpi->tx_ring - 1); in tx_restart()