Home
last modified time | relevance | path

Searched refs:pram_ofs (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/spi/
H A Dspi-fsl-cpm.c268 unsigned long pram_ofs = -ENOMEM; in fsl_spi_cpm_get_pram() local
279 pram_ofs = cpm_muram_alloc(SPI_PRAM_SIZE, 64); in fsl_spi_cpm_get_pram()
281 QE_CR_PROTOCOL_UNSPECIFIED, pram_ofs); in fsl_spi_cpm_get_pram()
282 return pram_ofs; in fsl_spi_cpm_get_pram()
290 pram_ofs = cpm_muram_alloc(SPI_PRAM_SIZE, 64); in fsl_spi_cpm_get_pram()
291 out_be16(spi_base, pram_ofs); in fsl_spi_cpm_get_pram()
295 return pram_ofs; in fsl_spi_cpm_get_pram()
340 unsigned long pram_ofs = fsl_spi_cpm_get_pram(mspi); in fsl_spi_cpm_init() local
342 if (IS_ERR_VALUE(pram_ofs)) in fsl_spi_cpm_init()
345 mspi->pram = cpm_muram_addr(pram_ofs); in fsl_spi_cpm_init()