Searched refs:tx_tmp_buf (Results 1 – 1 of 1) sorted by relevance
948 char *tx_tmp_buf, *rx_tmp_buf; in mtk_spi_mem_exec_op() local1013 tx_tmp_buf = kzalloc(tx_size, GFP_KERNEL | GFP_DMA); in mtk_spi_mem_exec_op()1014 if (!tx_tmp_buf) { in mtk_spi_mem_exec_op()1019 tx_tmp_buf[0] = op->cmd.opcode; in mtk_spi_mem_exec_op()1025 tx_tmp_buf[i + 1] = op->addr.val >> in mtk_spi_mem_exec_op()1030 memset(tx_tmp_buf + op->addr.nbytes + 1, in mtk_spi_mem_exec_op()1035 memcpy(tx_tmp_buf + op->dummy.nbytes + op->addr.nbytes + 1, in mtk_spi_mem_exec_op()1039 mdata->tx_dma = dma_map_single(mdata->dev, tx_tmp_buf, in mtk_spi_mem_exec_op()1105 kfree(tx_tmp_buf); in mtk_spi_mem_exec_op()