Lines Matching defs:nvram
209 uint8_t *nvram = NULL;
236 " nvram size, offset=%d len=%d\n",
241 nvram = dma_alloc_coherent(&ha->pdev->dev, len, &nvram_dma,
243 if (!nvram) {
244 ql4_printk(KERN_ERR, ha, "%s: dma alloc failed for nvram "
252 ql4_printk(KERN_ERR, ha, "%s: get nvram failed\n", __func__);
259 nvram, len);
265 dma_free_coherent(&ha->pdev->dev, len, nvram, nvram_dma);
281 uint8_t *nvram = NULL;
307 " nvram size, offset=%d len=%d\n",
312 nvram = dma_alloc_coherent(&ha->pdev->dev, len, &nvram_dma,
314 if (!nvram) {
322 bsg_job->request_payload.sg_cnt, nvram, len);
326 ql4_printk(KERN_ERR, ha, "%s: set nvram failed\n", __func__);
334 dma_free_coherent(&ha->pdev->dev, len, nvram, nvram_dma);
371 ql4_printk(KERN_ERR, ha, "%s: set nvram failed\n", __func__);