Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/ntb/test/
Dntb_tool.c210 u8 *mm_base; member
546 if (inmw->mm_base == NULL) in tool_mw_read()
550 inmw->mm_base, inmw->size); in tool_mw_read()
558 if (inmw->mm_base == NULL) in tool_mw_write()
561 return simple_write_to_buffer(inmw->mm_base, inmw->size, offp, in tool_mw_write()
577 if (inmw->mm_base != NULL) in tool_setup_mw()
588 inmw->mm_base = dma_alloc_coherent(&tc->ntb->pdev->dev, inmw->size, in tool_setup_mw()
590 if (!inmw->mm_base) in tool_setup_mw()
610 dma_free_coherent(&tc->ntb->pdev->dev, inmw->size, inmw->mm_base, in tool_setup_mw()
612 inmw->mm_base = NULL; in tool_setup_mw()
[all …]
/linux-6.12.1/drivers/spi/
Dspi-stm32-qspi.c105 void __iomem *mm_base; member
201 memcpy_fromio(op->data.buf.in, qspi->mm_base + op->addr.val, in stm32_qspi_tx_mm()
509 if (!qspi->mm_base && desc->info.op_tmpl.data.dir == SPI_MEM_DATA_IN) in stm32_qspi_dirmap_create()
791 qspi->mm_base = devm_ioremap_resource(dev, res); in stm32_qspi_probe()
792 if (IS_ERR(qspi->mm_base)) in stm32_qspi_probe()
793 return PTR_ERR(qspi->mm_base); in stm32_qspi_probe()