Searched refs:p_virt (Results 1 – 9 of 9) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/ |
D | qed_spq.c | 472 struct qed_spq_entry *p_virt = NULL; in qed_spq_setup() local 487 p_virt = p_spq->p_virt; in qed_spq_setup() 491 DMA_REGPAIR_LE(p_virt->elem.data_ptr, p_phys); in qed_spq_setup() 493 list_add_tail(&p_virt->list, &p_spq->free_pool); in qed_spq_setup() 495 p_virt++; in qed_spq_setup() 544 struct qed_spq_entry *p_virt = NULL; in qed_spq_alloc() local 566 p_virt = dma_alloc_coherent(&cdev->pdev->dev, in qed_spq_alloc() 569 if (!p_virt) in qed_spq_alloc() 572 p_spq->p_virt = p_virt; in qed_spq_alloc() 600 if (p_spq->p_virt) { in qed_spq_free() [all …]
|
D | qed_hw.c | 855 void *p_virt; in qed_dmae_sanity() local 858 p_virt = dma_alloc_coherent(&p_hwfn->cdev->pdev->dev, in qed_dmae_sanity() 860 if (!p_virt) { in qed_dmae_sanity() 868 for (p_tmp = (u32 *)p_virt; in qed_dmae_sanity() 869 p_tmp < (u32 *)((u8 *)p_virt + size); p_tmp++) { in qed_dmae_sanity() 876 memset((u8 *)p_virt + size, 0, size); in qed_dmae_sanity() 883 p_virt, (u64)(p_phys + size), (u8 *)p_virt + size, size); in qed_dmae_sanity() 895 for (p_tmp = (u32 *)((u8 *)p_virt + size); in qed_dmae_sanity() 896 p_tmp < (u32 *)((u8 *)p_virt + (2 * size)); p_tmp++) { in qed_dmae_sanity() 904 (u64)p_phys + ((u8 *)p_tmp - (u8 *)p_virt), in qed_dmae_sanity() [all …]
|
D | qed_sriov.c | 318 p_bulletin = p_vf->bulletin.p_virt; in qed_iov_post_vf_bulletin() 442 vf->bulletin.p_virt = p_bulletin_virt + idx; in qed_iov_setup_vfdb() 950 p_bulletin = p_vf->bulletin.p_virt; in qed_iov_set_link() 1099 if (vf->bulletin.p_virt) in qed_iov_release_hw_for_vf() 1100 memset(vf->bulletin.p_virt, 0, sizeof(*vf->bulletin.p_virt)); in qed_iov_release_hw_for_vf() 1786 ether_addr_copy(filter.mac, p_vf->bulletin.p_virt->mac); in qed_iov_configure_vport_forced() 1813 filter.vlan = p_vf->bulletin.p_virt->pvid; in qed_iov_configure_vport_forced() 1934 p_bitmap = &vf_info->bulletin.p_virt->valid_bitmap; in qed_iov_vf_mbx_start_vport() 1938 vf_info->bulletin.p_virt->default_only_untagged = vf_req; in qed_iov_vf_mbx_start_vport() 1946 params.only_untagged = vf_info->bulletin.p_virt->default_only_untagged; in qed_iov_vf_mbx_start_vport() [all …]
|
D | qed_cxt.c | 794 void **p_virt; in qed_cxt_t2_alloc_pages() local 802 p_virt = &p_t2->dma_mem[i].virt_addr; in qed_cxt_t2_alloc_pages() 804 *p_virt = dma_alloc_coherent(&p_hwfn->cdev->pdev->dev, in qed_cxt_t2_alloc_pages() 811 memset(*p_virt, 0, size); in qed_cxt_t2_alloc_pages() 963 void *p_virt; in qed_ilt_blk_alloc() local 967 p_virt = dma_alloc_coherent(&p_hwfn->cdev->pdev->dev, size, in qed_ilt_blk_alloc() 969 if (!p_virt) in qed_ilt_blk_alloc() 973 ilt_shadow[line].virt_addr = p_virt; in qed_ilt_blk_alloc() 978 line, (u64)p_phys, p_virt, size); in qed_ilt_blk_alloc() 2179 void *p_virt; in qed_cxt_dynamic_ilt_alloc() local [all …]
|
D | qed_vf.c | 196 if (p_iov->bulletin.p_virt) { in _qed_vf_pf_release() 200 p_iov->bulletin.p_virt, p_iov->bulletin.phys); in _qed_vf_pf_release() 512 p_iov->bulletin.p_virt = dma_alloc_coherent(&p_hwfn->cdev->pdev->dev, in qed_vf_hw_prepare() 516 if (!p_iov->bulletin.p_virt) in qed_vf_hw_prepare() 521 p_iov->bulletin.p_virt, in qed_vf_hw_prepare() 1489 crc_size = sizeof(p_iov->bulletin.p_virt->crc); in qed_vf_read_bulletin() 1493 memcpy(&shadow, p_iov->bulletin.p_virt, p_iov->bulletin.size); in qed_vf_read_bulletin()
|
D | qed_int.c | 1392 void *p_virt; in qed_int_sb_attn_alloc() local 1400 p_virt = dma_alloc_coherent(&cdev->pdev->dev, in qed_int_sb_attn_alloc() 1404 if (!p_virt) { in qed_int_sb_attn_alloc() 1411 qed_int_sb_attn_init(p_hwfn, p_ptt, p_virt, p_phys); in qed_int_sb_attn_alloc() 1745 void *p_virt; in qed_int_sp_sb_alloc() local 1753 p_virt = dma_alloc_coherent(&p_hwfn->cdev->pdev->dev, in qed_int_sp_sb_alloc() 1756 if (!p_virt) { in qed_int_sp_sb_alloc() 1763 qed_int_sb_init(p_hwfn, p_ptt, &p_sb->sb_info, p_virt, in qed_int_sp_sb_alloc()
|
D | qed_sp.h | 182 struct qed_spq_entry *p_virt; member
|
D | qed_ll2.c | 1247 void *p_virt; in qed_ll2_acquire_connection_ooo() local 1275 p_virt = dma_alloc_coherent(&p_hwfn->cdev->pdev->dev, in qed_ll2_acquire_connection_ooo() 1279 if (!p_virt) { in qed_ll2_acquire_connection_ooo() 1285 p_buf->rx_buffer_virt_addr = p_virt; in qed_ll2_acquire_connection_ooo()
|
D | qed_vf.h | 606 struct qed_bulletin_content *p_virt; member
|