Home
last modified time | relevance | path

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

/openbmc/linux/drivers/scsi/qla4xxx/
H A Dql4_bsg.c208 dma_addr_t nvram_dma; in qla4xxx_read_nvram() local
241 nvram = dma_alloc_coherent(&ha->pdev->dev, len, &nvram_dma, in qla4xxx_read_nvram()
250 rval = qla4xxx_get_nvram(ha, nvram_dma, offset, len); in qla4xxx_read_nvram()
265 dma_free_coherent(&ha->pdev->dev, len, nvram, nvram_dma); in qla4xxx_read_nvram()
280 dma_addr_t nvram_dma; in qla4xxx_update_nvram() local
312 nvram = dma_alloc_coherent(&ha->pdev->dev, len, &nvram_dma, in qla4xxx_update_nvram()
324 rval = qla4xxx_set_nvram(ha, nvram_dma, offset, len); in qla4xxx_update_nvram()
334 dma_free_coherent(&ha->pdev->dev, len, nvram, nvram_dma); in qla4xxx_update_nvram()
H A Dql4_glbl.h169 int qla4xxx_get_nvram(struct scsi_qla_host *ha, dma_addr_t nvram_dma,
171 int qla4xxx_set_nvram(struct scsi_qla_host *ha, dma_addr_t nvram_dma,
H A Dql4_mbx.c2189 int qla4xxx_get_nvram(struct scsi_qla_host *ha, dma_addr_t nvram_dma, in qla4xxx_get_nvram() argument
2200 mbox_cmd[1] = LSDW(nvram_dma); in qla4xxx_get_nvram()
2201 mbox_cmd[2] = MSDW(nvram_dma); in qla4xxx_get_nvram()
2215 int qla4xxx_set_nvram(struct scsi_qla_host *ha, dma_addr_t nvram_dma, in qla4xxx_set_nvram() argument
2226 mbox_cmd[1] = LSDW(nvram_dma); in qla4xxx_set_nvram()
2227 mbox_cmd[2] = MSDW(nvram_dma); in qla4xxx_set_nvram()