Searched refs:p_virt (Results 1 – 9 of 9) sorted by relevance
/drivers/net/ethernet/qlogic/qed/ |
D | qed_spq.c | 486 struct qed_spq_entry *p_virt = NULL; in qed_spq_setup() local 501 p_virt = p_spq->p_virt; in qed_spq_setup() 505 DMA_REGPAIR_LE(p_virt->elem.data_ptr, p_phys); in qed_spq_setup() 507 list_add_tail(&p_virt->list, &p_spq->free_pool); in qed_spq_setup() 509 p_virt++; in qed_spq_setup() 558 struct qed_spq_entry *p_virt = NULL; in qed_spq_alloc() local 580 p_virt = dma_alloc_coherent(&cdev->pdev->dev, in qed_spq_alloc() 583 if (!p_virt) in qed_spq_alloc() 586 p_spq->p_virt = p_virt; in qed_spq_alloc() 614 if (p_spq->p_virt) { in qed_spq_free() [all …]
|
D | qed_hw.c | 873 void *p_virt; in qed_dmae_sanity() local 876 p_virt = dma_alloc_coherent(&p_hwfn->cdev->pdev->dev, in qed_dmae_sanity() 878 if (!p_virt) { in qed_dmae_sanity() 886 for (p_tmp = (u32 *)p_virt; in qed_dmae_sanity() 887 p_tmp < (u32 *)((u8 *)p_virt + size); p_tmp++) { in qed_dmae_sanity() 894 memset((u8 *)p_virt + size, 0, size); in qed_dmae_sanity() 901 p_virt, (u64)(p_phys + size), (u8 *)p_virt + size, size); in qed_dmae_sanity() 913 for (p_tmp = (u32 *)((u8 *)p_virt + size); in qed_dmae_sanity() 914 p_tmp < (u32 *)((u8 *)p_virt + (2 * size)); p_tmp++) { in qed_dmae_sanity() 922 (u64)p_phys + ((u8 *)p_tmp - (u8 *)p_virt), in qed_dmae_sanity() [all …]
|
D | qed_sriov.c | 320 p_bulletin = p_vf->bulletin.p_virt; in qed_iov_post_vf_bulletin() 444 vf->bulletin.p_virt = p_bulletin_virt + idx; in qed_iov_setup_vfdb() 952 p_bulletin = p_vf->bulletin.p_virt; in qed_iov_set_link() 1101 if (vf->bulletin.p_virt) in qed_iov_release_hw_for_vf() 1102 memset(vf->bulletin.p_virt, 0, sizeof(*vf->bulletin.p_virt)); in qed_iov_release_hw_for_vf() 1788 ether_addr_copy(filter.mac, p_vf->bulletin.p_virt->mac); in qed_iov_configure_vport_forced() 1815 filter.vlan = p_vf->bulletin.p_virt->pvid; in qed_iov_configure_vport_forced() 1936 p_bitmap = &vf_info->bulletin.p_virt->valid_bitmap; in qed_iov_vf_mbx_start_vport() 1940 vf_info->bulletin.p_virt->default_only_untagged = vf_req; in qed_iov_vf_mbx_start_vport() 1948 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() 964 void *p_virt; in qed_ilt_blk_alloc() local 968 p_virt = dma_alloc_coherent(&p_hwfn->cdev->pdev->dev, size, in qed_ilt_blk_alloc() 970 if (!p_virt) in qed_ilt_blk_alloc() 974 ilt_shadow[line].virt_addr = p_virt; in qed_ilt_blk_alloc() 979 line, (u64)p_phys, p_virt, size); in qed_ilt_blk_alloc() 2188 void *p_virt; in qed_cxt_dynamic_ilt_alloc() local [all …]
|
D | qed_vf.c | 193 if (p_iov->bulletin.p_virt) { in _qed_vf_pf_release() 197 p_iov->bulletin.p_virt, p_iov->bulletin.phys); in _qed_vf_pf_release() 509 p_iov->bulletin.p_virt = dma_alloc_coherent(&p_hwfn->cdev->pdev->dev, in qed_vf_hw_prepare() 513 if (!p_iov->bulletin.p_virt) in qed_vf_hw_prepare() 518 p_iov->bulletin.p_virt, in qed_vf_hw_prepare() 1479 crc_size = sizeof(p_iov->bulletin.p_virt->crc); in qed_vf_read_bulletin() 1483 memcpy(&shadow, p_iov->bulletin.p_virt, p_iov->bulletin.size); in qed_vf_read_bulletin()
|
D | qed_int.c | 1412 void *p_virt; in qed_int_sb_attn_alloc() local 1420 p_virt = dma_alloc_coherent(&cdev->pdev->dev, in qed_int_sb_attn_alloc() 1424 if (!p_virt) { in qed_int_sb_attn_alloc() 1431 qed_int_sb_attn_init(p_hwfn, p_ptt, p_virt, p_phys); in qed_int_sb_attn_alloc() 1765 void *p_virt; in qed_int_sp_sb_alloc() local 1773 p_virt = dma_alloc_coherent(&p_hwfn->cdev->pdev->dev, in qed_int_sp_sb_alloc() 1776 if (!p_virt) { in qed_int_sp_sb_alloc() 1783 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 | 1276 void *p_virt; in qed_ll2_acquire_connection_ooo() local 1304 p_virt = dma_alloc_coherent(&p_hwfn->cdev->pdev->dev, in qed_ll2_acquire_connection_ooo() 1308 if (!p_virt) { in qed_ll2_acquire_connection_ooo() 1314 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
|