Searched refs:data_buffer_dma (Results 1 – 2 of 2) sorted by relevance
834 sg_init_one(sgl, this->data_buffer_dma, len); in prepare_data_dma()836 if (dr == DMA_TO_DEVICE && buf != this->data_buffer_dma) in prepare_data_dma()837 memcpy(this->data_buffer_dma, buf, len); in prepare_data_dma()1098 kfree(this->data_buffer_dma); in gpmi_free_dma_buffer()1101 this->data_buffer_dma = NULL; in gpmi_free_dma_buffer()1120 this->data_buffer_dma = kzalloc(mtd->writesize ?: PAGE_SIZE, in gpmi_alloc_dma_buffer()1122 if (this->data_buffer_dma == NULL) in gpmi_alloc_dma_buffer()1444 memcpy(this->data_buffer_dma, buf, mtd->writesize); in gpmi_ecc_write_page()1445 buf = this->data_buffer_dma; in gpmi_ecc_write_page()1446 block_mark_swapping(this, this->data_buffer_dma, in gpmi_ecc_write_page()[all …]
147 char *data_buffer_dma; member