Lines Matching refs:nvram
210 uint8_t *nvram = NULL;
237 " nvram size, offset=%d len=%d\n",
242 nvram = dma_alloc_coherent(&ha->pdev->dev, len, &nvram_dma,
244 if (!nvram) {
245 ql4_printk(KERN_ERR, ha, "%s: dma alloc failed for nvram "
253 ql4_printk(KERN_ERR, ha, "%s: get nvram failed\n", __func__);
260 nvram, len);
266 dma_free_coherent(&ha->pdev->dev, len, nvram, nvram_dma);
282 uint8_t *nvram = NULL;
308 " nvram size, offset=%d len=%d\n",
313 nvram = dma_alloc_coherent(&ha->pdev->dev, len, &nvram_dma,
315 if (!nvram) {
323 bsg_job->request_payload.sg_cnt, nvram, len);
327 ql4_printk(KERN_ERR, ha, "%s: set nvram failed\n", __func__);
335 dma_free_coherent(&ha->pdev->dev, len, nvram, nvram_dma);
372 ql4_printk(KERN_ERR, ha, "%s: set nvram failed\n", __func__);