Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/scsi/qla4xxx/
Dql4_bsg.c209 dma_addr_t nvram_dma; in qla4xxx_read_nvram() local
242 nvram = dma_alloc_coherent(&ha->pdev->dev, len, &nvram_dma, in qla4xxx_read_nvram()
251 rval = qla4xxx_get_nvram(ha, nvram_dma, offset, len); in qla4xxx_read_nvram()
266 dma_free_coherent(&ha->pdev->dev, len, nvram, nvram_dma); in qla4xxx_read_nvram()
281 dma_addr_t nvram_dma; in qla4xxx_update_nvram() local
313 nvram = dma_alloc_coherent(&ha->pdev->dev, len, &nvram_dma, in qla4xxx_update_nvram()
325 rval = qla4xxx_set_nvram(ha, nvram_dma, offset, len); in qla4xxx_update_nvram()
335 dma_free_coherent(&ha->pdev->dev, len, nvram, nvram_dma); in qla4xxx_update_nvram()
Dql4_glbl.h171 int qla4xxx_get_nvram(struct scsi_qla_host *ha, dma_addr_t nvram_dma,
173 int qla4xxx_set_nvram(struct scsi_qla_host *ha, dma_addr_t nvram_dma,
Dql4_mbx.c2194 int qla4xxx_get_nvram(struct scsi_qla_host *ha, dma_addr_t nvram_dma, in qla4xxx_get_nvram() argument
2205 mbox_cmd[1] = LSDW(nvram_dma); in qla4xxx_get_nvram()
2206 mbox_cmd[2] = MSDW(nvram_dma); in qla4xxx_get_nvram()
2220 int qla4xxx_set_nvram(struct scsi_qla_host *ha, dma_addr_t nvram_dma, in qla4xxx_set_nvram() argument
2231 mbox_cmd[1] = LSDW(nvram_dma); in qla4xxx_set_nvram()
2232 mbox_cmd[2] = MSDW(nvram_dma); in qla4xxx_set_nvram()