Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/mtd/nand/raw/gpmi-nand/
Dgpmi-nand.c1068 sg_init_one(sgl, this->data_buffer_dma, len); in prepare_data_dma()
1070 if (dr == DMA_TO_DEVICE && buf != this->data_buffer_dma) in prepare_data_dma()
1071 memcpy(this->data_buffer_dma, buf, len); in prepare_data_dma()
1318 kfree(this->data_buffer_dma); in gpmi_free_dma_buffer()
1321 this->data_buffer_dma = NULL; in gpmi_free_dma_buffer()
1340 this->data_buffer_dma = kzalloc(mtd->writesize ?: PAGE_SIZE, in gpmi_alloc_dma_buffer()
1342 if (this->data_buffer_dma == NULL) in gpmi_alloc_dma_buffer()
1684 memcpy(this->data_buffer_dma, buf, mtd->writesize); in gpmi_ecc_write_page()
1685 buf = this->data_buffer_dma; in gpmi_ecc_write_page()
1686 block_mark_swapping(this, this->data_buffer_dma, in gpmi_ecc_write_page()
[all …]
Dgpmi-nand.h151 char *data_buffer_dma; member