Lines Matching refs:fpi
81 const struct fs_platform_info *fpi = fep->fpi; in fcc_cr_cmd() local
83 return cpm_command(fpi->cp_command, op); in fcc_cr_cmd()
89 struct fs_platform_info *fpi = fep->fpi; in do_pd_setup() local
109 fpi->dpram_offset = cpm_dpalloc(128, 32); in do_pd_setup()
110 if (IS_ERR_VALUE(fpi->dpram_offset)) { in do_pd_setup()
111 ret = fpi->dpram_offset; in do_pd_setup()
152 const struct fs_platform_info *fpi = fep->fpi; in allocate_bd() local
155 (fpi->tx_ring + fpi->rx_ring) * in allocate_bd()
167 const struct fs_platform_info *fpi = fep->fpi; in free_bd() local
171 (fpi->tx_ring + fpi->rx_ring) * sizeof(cbd_t), in free_bd()
251 const struct fs_platform_info *fpi = fep->fpi; in restart() local
268 tx_bd_base_phys = rx_bd_base_phys + sizeof(cbd_t) * fpi->rx_ring; in restart()
288 W16(ep, fen_genfcc.fcc_riptr, fpi->dpram_offset); in restart()
289 W16(ep, fen_genfcc.fcc_tiptr, fpi->dpram_offset + 32); in restart()
291 W16(ep, fen_padptr, fpi->dpram_offset + 64); in restart()
294 memset_io(fep->fcc.mem + fpi->dpram_offset + 64, 0x88, 32); in restart()
372 if (fpi->use_rmii) { in restart()
395 if (fpi->use_rmii) in restart()
548 const struct fs_platform_info *fpi = fep->fpi; in tx_restart() local
555 last_tx_bd = fep->tx_bd_base + ((fpi->tx_ring - 1) * sizeof(cbd_t)); in tx_restart()