Home
last modified time | relevance | path

Searched refs:sb_virt (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/drivers/infiniband/hw/qedr/
Dmain.c274 struct status_block *sb_virt; in qedr_alloc_mem_sb() local
278 sb_virt = dma_alloc_coherent(&dev->pdev->dev, in qedr_alloc_mem_sb()
279 sizeof(*sb_virt), &sb_phys, GFP_KERNEL); in qedr_alloc_mem_sb()
280 if (!sb_virt) in qedr_alloc_mem_sb()
284 sb_virt, sb_phys, sb_id, in qedr_alloc_mem_sb()
288 dma_free_coherent(&dev->pdev->dev, sizeof(*sb_virt), in qedr_alloc_mem_sb()
289 sb_virt, sb_phys); in qedr_alloc_mem_sb()
299 if (sb_info->sb_virt) { in qedr_free_mem_sb()
302 dma_free_coherent(&dev->pdev->dev, sizeof(*sb_info->sb_virt), in qedr_free_mem_sb()
303 (void *)sb_info->sb_virt, sb_info->sb_phys); in qedr_free_mem_sb()
[all …]
/linux-6.12.1/drivers/net/ethernet/qlogic/qede/
Dqede_main.c530 char *p_sb = (char *)fp->sb_info->sb_virt; in qede_fp_sb_dump()
1490 if (sb_info->sb_virt) { in qede_free_mem_sb()
1493 dma_free_coherent(&edev->pdev->dev, sizeof(*sb_info->sb_virt), in qede_free_mem_sb()
1494 (void *)sb_info->sb_virt, sb_info->sb_phys); in qede_free_mem_sb()
1503 struct status_block *sb_virt; in qede_alloc_mem_sb() local
1507 sb_virt = dma_alloc_coherent(&edev->pdev->dev, in qede_alloc_mem_sb()
1508 sizeof(*sb_virt), &sb_phys, GFP_KERNEL); in qede_alloc_mem_sb()
1509 if (!sb_virt) { in qede_alloc_mem_sb()
1515 sb_virt, sb_phys, sb_id, in qede_alloc_mem_sb()
1519 dma_free_coherent(&edev->pdev->dev, sizeof(*sb_virt), in qede_alloc_mem_sb()
[all …]
/linux-6.12.1/drivers/net/ethernet/qlogic/qed/
Dqed_int.c1276 if (!sb_info->sb_virt) { in qed_int_sp_dpc()
1592 memset(sb_info->sb_virt, 0, sizeof(*sb_info->sb_virt)); in qed_int_sb_setup()
1666 sb_info->sb_virt = sb_virt_addr; in qed_int_sb_init()
1721 memset(sb_info->sb_virt, 0, sizeof(*sb_info->sb_virt)); in qed_int_sb_release()
1752 if (p_sb->sb_info.sb_virt) in qed_int_sp_sb_free()
1755 p_sb->sb_info.sb_virt, in qed_int_sp_sb_free()
1807 *p_fw_cons = &p_sp_sb->sb_info.sb_virt->pi_array[pi]; in qed_int_register_cb()
/linux-6.12.1/drivers/scsi/qedi/
Dqedi_main.c355 struct status_block *sb_virt; in qedi_alloc_and_init_sb() local
359 sb_virt = dma_alloc_coherent(&qedi->pdev->dev, in qedi_alloc_and_init_sb()
362 if (!sb_virt) { in qedi_alloc_and_init_sb()
369 ret = qedi_ops->common->sb_init(qedi->cdev, sb_info, sb_virt, sb_phys, in qedi_alloc_and_init_sb()
388 if (sb_info->sb_virt) in qedi_free_sb()
390 sizeof(*sb_info->sb_virt), in qedi_free_sb()
391 (void *)sb_info->sb_virt, in qedi_free_sb()
1264 struct status_block *sb = sb_info->sb_virt; in qedi_process_completions()
1320 struct status_block *sb = sb_info->sb_virt; in qedi_fp_has_work()
Dqedi_debugfs.c149 sb = sb_info->sb_virt; in qedi_gbl_ctx_show()
/linux-6.12.1/drivers/scsi/qedf/
Dqedf_main.c2207 struct status_block *sb = sb_info->sb_virt; in qedf_fp_has_work()
2234 struct status_block *sb = sb_info->sb_virt; in qedf_process_completions()
2723 struct status_block *sb_virt; in qedf_alloc_and_init_sb() local
2727 sb_virt = dma_alloc_coherent(&qedf->pdev->dev, in qedf_alloc_and_init_sb()
2730 if (!sb_virt) { in qedf_alloc_and_init_sb()
2737 ret = qed_ops->common->sb_init(qedf->cdev, sb_info, sb_virt, sb_phys, in qedf_alloc_and_init_sb()
2752 if (sb_info->sb_virt) in qedf_free_sb()
2753 dma_free_coherent(&qedf->pdev->dev, sizeof(*sb_info->sb_virt), in qedf_free_sb()
2754 (void *)sb_info->sb_virt, sb_info->sb_phys); in qedf_free_sb()
/linux-6.12.1/include/linux/qed/
Dqed_if.h594 struct status_block *sb_virt; member
1429 prod = le32_to_cpu(sb_info->sb_virt->prod_index) & in qed_sb_update_sb_idx()