Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/spi/
Dspi-qcom-qspi.c174 void *virt_cmd_desc[QSPI_MAX_SG]; member
266 dma_pool_free(ctrl->dma_cmd_pool, ctrl->virt_cmd_desc[i], in qcom_qspi_handle_err()
307 struct qspi_cmd_desc *virt_cmd_desc, *prev; in qcom_qspi_alloc_desc() local
311 virt_cmd_desc = dma_pool_alloc(ctrl->dma_cmd_pool, GFP_ATOMIC | __GFP_ZERO, &dma_cmd_desc); in qcom_qspi_alloc_desc()
312 if (!virt_cmd_desc) { in qcom_qspi_alloc_desc()
317 ctrl->virt_cmd_desc[ctrl->n_cmd_desc] = virt_cmd_desc; in qcom_qspi_alloc_desc()
322 virt_cmd_desc->data_address = dma_ptr; in qcom_qspi_alloc_desc()
323 virt_cmd_desc->direction = ctrl->xfer.dir; in qcom_qspi_alloc_desc()
324 virt_cmd_desc->multi_io_mode = qspi_buswidth_to_iomode(ctrl, ctrl->xfer.buswidth); in qcom_qspi_alloc_desc()
325 virt_cmd_desc->fragment = !ctrl->xfer.is_last; in qcom_qspi_alloc_desc()
[all …]