Home
last modified time | relevance | path

Searched refs:p_virt (Results 1 – 9 of 9) sorted by relevance

/f-stack/dpdk/drivers/net/qede/base/
H A Decore_spq.c514 struct ecore_spq_entry *p_virt = OSAL_NULL; in ecore_spq_setup() local
529 p_virt = p_spq->p_virt; in ecore_spq_setup()
533 DMA_REGPAIR_LE(p_virt->elem.data_ptr, p_phys); in ecore_spq_setup()
535 OSAL_LIST_PUSH_TAIL(&p_virt->list, &p_spq->free_pool); in ecore_spq_setup()
537 p_virt++; in ecore_spq_setup()
579 struct ecore_spq_entry *p_virt = OSAL_NULL; in ecore_spq_alloc() local
606 p_virt = OSAL_DMA_ALLOC_COHERENT(p_hwfn->p_dev, &p_phys, in ecore_spq_alloc()
609 if (!p_virt) in ecore_spq_alloc()
612 p_spq->p_virt = p_virt; in ecore_spq_alloc()
642 if (p_spq->p_virt) { in ecore_spq_free()
[all …]
H A Decore_hw.c1021 void *p_virt; in ecore_dmae_sanity() local
1025 if (!p_virt) { in ecore_dmae_sanity()
1033 for (p_tmp = (u32 *)p_virt; in ecore_dmae_sanity()
1034 p_tmp < (u32 *)((u8 *)p_virt + size); in ecore_dmae_sanity()
1042 OSAL_MEM_ZERO((u8 *)p_virt + size, size); in ecore_dmae_sanity()
1046 phase, (unsigned long)p_phys, p_virt, in ecore_dmae_sanity()
1048 (u8 *)p_virt + size, size); in ecore_dmae_sanity()
1061 for (p_tmp = (u32 *)((u8 *)p_virt + size); in ecore_dmae_sanity()
1062 p_tmp < (u32 *)((u8 *)p_virt + (2 * size)); in ecore_dmae_sanity()
1072 ((u8 *)p_tmp - (u8 *)p_virt), in ecore_dmae_sanity()
[all …]
H A Decore_sriov.c394 p_bulletin = p_vf->bulletin.p_virt; in ecore_iov_post_vf_bulletin()
1080 p_bulletin = p_vf->bulletin.p_virt; in ecore_iov_set_link()
1287 if (vf->bulletin.p_virt) in ecore_iov_release_hw_for_vf()
1288 OSAL_MEMSET(vf->bulletin.p_virt, 0, in ecore_iov_release_hw_for_vf()
1289 sizeof(*vf->bulletin.p_virt)); in ecore_iov_release_hw_for_vf()
4199 p_bulletin = p_vf->bulletin.p_virt; in ecore_iov_get_link()
4847 if (!p_vf || !p_vf->bulletin.p_virt) in ecore_iov_bulletin_get_mac()
4854 return p_vf->bulletin.p_virt->mac; in ecore_iov_bulletin_get_mac()
4862 if (!p_vf || !p_vf->bulletin.p_virt) in ecore_iov_bulletin_get_forced_mac()
4868 return p_vf->bulletin.p_virt->mac; in ecore_iov_bulletin_get_forced_mac()
[all …]
H A Decore_cxt.c714 void **p_virt; in ecore_cxt_t2_alloc_pages() local
722 p_virt = &p_t2->dma_mem[i].virt_addr; in ecore_cxt_t2_alloc_pages()
730 OSAL_MEM_ZERO(*p_virt, size); in ecore_cxt_t2_alloc_pages()
855 p_dma->p_virt, in ecore_ilt_shadow_free()
887 void *p_virt; in ecore_ilt_blk_alloc() local
902 if (!p_virt) in ecore_ilt_blk_alloc()
904 OSAL_MEM_ZERO(p_virt, size); in ecore_ilt_blk_alloc()
907 ilt_shadow[line].virt_addr = p_virt; in ecore_ilt_blk_alloc()
913 line, (unsigned long)p_phys, p_virt, size); in ecore_ilt_blk_alloc()
2004 void *p_virt; in ecore_cxt_dynamic_ilt_alloc() local
[all …]
H A Decore_vf.c206 if (p_iov->bulletin.p_virt) { in _ecore_vf_pf_release()
209 p_iov->bulletin.p_virt, in _ecore_vf_pf_release()
610 p_iov->bulletin.p_virt = OSAL_DMA_ALLOC_COHERENT(p_hwfn->p_dev, in ecore_vf_hw_prepare()
615 if (!p_iov->bulletin.p_virt) { in ecore_vf_hw_prepare()
621 p_iov->bulletin.p_virt, (unsigned long)p_iov->bulletin.phys, in ecore_vf_hw_prepare()
669 OSAL_DMA_FREE_COHERENT(p_hwfn->p_dev, p_iov->bulletin.p_virt, in ecore_vf_hw_prepare()
1760 crc_size = sizeof(p_iov->bulletin.p_virt->crc); in ecore_vf_read_bulletin()
1764 OSAL_MEMCPY(&shadow, p_iov->bulletin.p_virt, p_iov->bulletin.size); in ecore_vf_read_bulletin()
H A Decore_dev.c5886 if (!p_virt) in ecore_chain_free_next_ptr()
5892 if (!p_virt) in ecore_chain_free_next_ptr()
5902 p_virt = p_virt_next; in ecore_chain_free_next_ptr()
6001 if (!p_virt) { in ecore_chain_alloc_next_ptr()
6012 p_virt, p_phys); in ecore_chain_alloc_next_ptr()
6015 p_virt_prev = p_virt; in ecore_chain_alloc_next_ptr()
6031 void *p_virt = OSAL_NULL; in ecore_chain_alloc_single() local
6034 if (!p_virt) { in ecore_chain_alloc_single()
6054 void *p_virt = OSAL_NULL; in ecore_chain_alloc_pbl() local
6090 if (!p_virt) { in ecore_chain_alloc_pbl()
[all …]
H A Decore_spq.h115 struct ecore_spq_entry *p_virt; member
H A Decore_int.c1459 void *p_virt; in ecore_int_sb_attn_alloc() local
1469 p_virt = OSAL_DMA_ALLOC_COHERENT(p_dev, &p_phys, in ecore_int_sb_attn_alloc()
1471 if (!p_virt) { in ecore_int_sb_attn_alloc()
1479 ecore_int_sb_attn_init(p_hwfn, p_ptt, p_virt, p_phys); in ecore_int_sb_attn_alloc()
1854 void *p_virt; in ecore_int_sp_sb_alloc() local
1865 p_virt = OSAL_DMA_ALLOC_COHERENT(p_hwfn->p_dev, in ecore_int_sp_sb_alloc()
1867 if (!p_virt) { in ecore_int_sp_sb_alloc()
1876 p_virt, p_phys, ECORE_SP_SB_ID); in ecore_int_sp_sb_alloc()
H A Decore_vfpf_if.h664 struct ecore_bulletin_content *p_virt; member