Searched refs:sb_virt (Results 1 – 7 of 7) sorted by relevance
/linux-6.3-rc2/drivers/infiniband/hw/qedr/ |
A D | main.c | 274 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.3-rc2/drivers/net/ethernet/qlogic/qede/ |
A D | qede_main.c | 514 char *p_sb = (char *)fp->sb_info->sb_virt; in qede_fp_sb_dump() 1449 if (sb_info->sb_virt) { in qede_free_mem_sb() 1453 (void *)sb_info->sb_virt, sb_info->sb_phys); in qede_free_mem_sb() 1462 struct status_block *sb_virt; in qede_alloc_mem_sb() local 1466 sb_virt = dma_alloc_coherent(&edev->pdev->dev, in qede_alloc_mem_sb() 1467 sizeof(*sb_virt), &sb_phys, GFP_KERNEL); in qede_alloc_mem_sb() 1468 if (!sb_virt) { in qede_alloc_mem_sb() 1474 sb_virt, sb_phys, sb_id, in qede_alloc_mem_sb() 1478 dma_free_coherent(&edev->pdev->dev, sizeof(*sb_virt), in qede_alloc_mem_sb() 1479 sb_virt, sb_phys); in qede_alloc_mem_sb() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/qlogic/qed/ |
A D | qed_int.c | 1276 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.3-rc2/drivers/scsi/qedi/ |
A D | qedi_main.c | 354 struct status_block *sb_virt; in qedi_alloc_and_init_sb() local 358 sb_virt = dma_alloc_coherent(&qedi->pdev->dev, in qedi_alloc_and_init_sb() 361 if (!sb_virt) { in qedi_alloc_and_init_sb() 368 ret = qedi_ops->common->sb_init(qedi->cdev, sb_info, sb_virt, sb_phys, in qedi_alloc_and_init_sb() 387 if (sb_info->sb_virt) in qedi_free_sb() 389 sizeof(*sb_info->sb_virt), in qedi_free_sb() 390 (void *)sb_info->sb_virt, in qedi_free_sb() 1263 struct status_block *sb = sb_info->sb_virt; in qedi_process_completions() 1319 struct status_block *sb = sb_info->sb_virt; in qedi_fp_has_work()
|
A D | qedi_debugfs.c | 153 sb = sb_info->sb_virt; in qedi_gbl_ctx_show()
|
/linux-6.3-rc2/drivers/scsi/qedf/ |
A D | qedf_main.c | 2195 struct status_block *sb = sb_info->sb_virt; in qedf_fp_has_work() 2222 struct status_block *sb = sb_info->sb_virt; in qedf_process_completions() 2713 struct status_block *sb_virt; in qedf_alloc_and_init_sb() local 2717 sb_virt = dma_alloc_coherent(&qedf->pdev->dev, in qedf_alloc_and_init_sb() 2720 if (!sb_virt) { in qedf_alloc_and_init_sb() 2727 ret = qed_ops->common->sb_init(qedf->cdev, sb_info, sb_virt, sb_phys, in qedf_alloc_and_init_sb() 2742 if (sb_info->sb_virt) in qedf_free_sb() 2743 dma_free_coherent(&qedf->pdev->dev, sizeof(*sb_info->sb_virt), in qedf_free_sb() 2744 (void *)sb_info->sb_virt, sb_info->sb_phys); in qedf_free_sb()
|
/linux-6.3-rc2/include/linux/qed/ |
A D | qed_if.h | 594 struct status_block *sb_virt; member 1429 prod = le32_to_cpu(sb_info->sb_virt->prod_index) & in qed_sb_update_sb_idx()
|
Completed in 37 milliseconds