Lines Matching refs:fpi
80 const struct fs_platform_info *fpi = fep->fpi;
82 return cpm_command(fpi->cp_command, op);
88 struct fs_platform_info *fpi = fep->fpi;
108 fpi->dpram_offset = cpm_dpalloc(128, 8);
109 if (IS_ERR_VALUE(fpi->dpram_offset)) {
110 ret = fpi->dpram_offset;
149 const struct fs_platform_info *fpi = fep->fpi;
152 (fpi->tx_ring + fpi->rx_ring) *
164 const struct fs_platform_info *fpi = fep->fpi;
168 (fpi->tx_ring + fpi->rx_ring) * sizeof(cbd_t),
248 const struct fs_platform_info *fpi = fep->fpi;
265 tx_bd_base_phys = rx_bd_base_phys + sizeof(cbd_t) * fpi->rx_ring;
285 W16(ep, fen_genfcc.fcc_riptr, fpi->dpram_offset);
286 W16(ep, fen_genfcc.fcc_tiptr, fpi->dpram_offset + 32);
288 W16(ep, fen_padptr, fpi->dpram_offset + 64);
291 memset_io(fep->fcc.mem + fpi->dpram_offset + 64, 0x88, 32);
369 if (fpi->use_rmii) {
392 if (fpi->use_rmii)
510 const struct fs_platform_info *fpi = fep->fpi;
517 last_tx_bd = fep->tx_bd_base + (fpi->tx_ring * sizeof(cbd_t));