Searched refs:sb_virt (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/ |
D | main.c | 304 struct status_block_e4 *sb_virt; in qedr_alloc_mem_sb() local 308 sb_virt = dma_alloc_coherent(&dev->pdev->dev, in qedr_alloc_mem_sb() 309 sizeof(*sb_virt), &sb_phys, GFP_KERNEL); in qedr_alloc_mem_sb() 310 if (!sb_virt) in qedr_alloc_mem_sb() 314 sb_virt, sb_phys, sb_id, in qedr_alloc_mem_sb() 318 dma_free_coherent(&dev->pdev->dev, sizeof(*sb_virt), in qedr_alloc_mem_sb() 319 sb_virt, sb_phys); in qedr_alloc_mem_sb() 329 if (sb_info->sb_virt) { in qedr_free_mem_sb() 332 dma_free_coherent(&dev->pdev->dev, sizeof(*sb_info->sb_virt), in qedr_free_mem_sb() 333 (void *)sb_info->sb_virt, sb_info->sb_phys); in qedr_free_mem_sb() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qede/ |
D | qede_main.c | 1390 if (sb_info->sb_virt) { in qede_free_mem_sb() 1393 dma_free_coherent(&edev->pdev->dev, sizeof(*sb_info->sb_virt), in qede_free_mem_sb() 1394 (void *)sb_info->sb_virt, sb_info->sb_phys); in qede_free_mem_sb() 1403 struct status_block_e4 *sb_virt; in qede_alloc_mem_sb() local 1407 sb_virt = dma_alloc_coherent(&edev->pdev->dev, in qede_alloc_mem_sb() 1408 sizeof(*sb_virt), &sb_phys, GFP_KERNEL); in qede_alloc_mem_sb() 1409 if (!sb_virt) { in qede_alloc_mem_sb() 1415 sb_virt, sb_phys, sb_id, in qede_alloc_mem_sb() 1419 dma_free_coherent(&edev->pdev->dev, sizeof(*sb_virt), in qede_alloc_mem_sb() 1420 sb_virt, sb_phys); in qede_alloc_mem_sb() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/ |
D | qed_int.c | 1256 if (!sb_info->sb_virt) { in qed_int_sp_dpc() 1572 memset(sb_info->sb_virt, 0, sizeof(*sb_info->sb_virt)); in qed_int_sb_setup() 1646 sb_info->sb_virt = sb_virt_addr; in qed_int_sb_init() 1701 memset(sb_info->sb_virt, 0, sizeof(*sb_info->sb_virt)); in qed_int_sb_release() 1732 if (p_sb->sb_info.sb_virt) in qed_int_sp_sb_free() 1735 p_sb->sb_info.sb_virt, in qed_int_sp_sb_free() 1787 *p_fw_cons = &p_sp_sb->sb_info.sb_virt->pi_array[pi]; in qed_int_register_cb()
|
/kernel/linux/linux-5.10/drivers/scsi/qedi/ |
D | qedi_main.c | 356 struct status_block_e4 *sb_virt; in qedi_alloc_and_init_sb() local 360 sb_virt = dma_alloc_coherent(&qedi->pdev->dev, in qedi_alloc_and_init_sb() 363 if (!sb_virt) { in qedi_alloc_and_init_sb() 370 ret = qedi_ops->common->sb_init(qedi->cdev, sb_info, sb_virt, sb_phys, in qedi_alloc_and_init_sb() 389 if (sb_info->sb_virt) in qedi_free_sb() 391 sizeof(*sb_info->sb_virt), in qedi_free_sb() 392 (void *)sb_info->sb_virt, in qedi_free_sb() 1264 struct status_block_e4 *sb = sb_info->sb_virt; in qedi_process_completions() 1320 struct status_block_e4 *sb = sb_info->sb_virt; in qedi_fp_has_work()
|
D | qedi_debugfs.c | 153 sb = sb_info->sb_virt; in qedi_gbl_ctx_show()
|
/kernel/linux/linux-5.10/drivers/scsi/qedf/ |
D | qedf_main.c | 2169 struct status_block_e4 *sb = sb_info->sb_virt; in qedf_fp_has_work() 2196 struct status_block_e4 *sb = sb_info->sb_virt; in qedf_process_completions() 2687 struct status_block_e4 *sb_virt; in qedf_alloc_and_init_sb() local 2691 sb_virt = dma_alloc_coherent(&qedf->pdev->dev, in qedf_alloc_and_init_sb() 2694 if (!sb_virt) { in qedf_alloc_and_init_sb() 2701 ret = qed_ops->common->sb_init(qedf->cdev, sb_info, sb_virt, sb_phys, in qedf_alloc_and_init_sb() 2716 if (sb_info->sb_virt) in qedf_free_sb() 2717 dma_free_coherent(&qedf->pdev->dev, sizeof(*sb_info->sb_virt), in qedf_free_sb() 2718 (void *)sb_info->sb_virt, sb_info->sb_phys); in qedf_free_sb()
|
/kernel/linux/linux-5.10/include/linux/qed/ |
D | qed_if.h | 573 struct status_block_e4 *sb_virt; member 1369 prod = le32_to_cpu(sb_info->sb_virt->prod_index) & in qed_sb_update_sb_idx()
|