Searched refs:nvram_dma (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/scsi/qla4xxx/ |
H A D | ql4_bsg.c | 208 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 D | ql4_glbl.h | 169 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 D | ql4_mbx.c | 2189 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()
|