p_virt 196 drivers/net/ethernet/qlogic/qed/qed_cxt.c void *p_virt; p_virt 890 drivers/net/ethernet/qlogic/qed/qed_cxt.c if (p_mngr->t2[i].p_virt) p_virt 893 drivers/net/ethernet/qlogic/qed/qed_cxt.c p_mngr->t2[i].p_virt, p_virt 937 drivers/net/ethernet/qlogic/qed/qed_cxt.c void **p_virt = &p_mngr->t2[i].p_virt; p_virt 939 drivers/net/ethernet/qlogic/qed/qed_cxt.c *p_virt = dma_alloc_coherent(&p_hwfn->cdev->pdev->dev, size, p_virt 942 drivers/net/ethernet/qlogic/qed/qed_cxt.c if (!p_mngr->t2[i].p_virt) { p_virt 965 drivers/net/ethernet/qlogic/qed/qed_cxt.c struct src_ent *entries = p_mngr->t2[i].p_virt; p_virt 1019 drivers/net/ethernet/qlogic/qed/qed_cxt.c if (p_dma->p_virt) p_virt 1021 drivers/net/ethernet/qlogic/qed/qed_cxt.c p_dma->size, p_dma->p_virt, p_virt 1023 drivers/net/ethernet/qlogic/qed/qed_cxt.c p_dma->p_virt = NULL; p_virt 1053 drivers/net/ethernet/qlogic/qed/qed_cxt.c void *p_virt; p_virt 1057 drivers/net/ethernet/qlogic/qed/qed_cxt.c p_virt = dma_alloc_coherent(&p_hwfn->cdev->pdev->dev, size, p_virt 1059 drivers/net/ethernet/qlogic/qed/qed_cxt.c if (!p_virt) p_virt 1063 drivers/net/ethernet/qlogic/qed/qed_cxt.c ilt_shadow[line].p_virt = p_virt; p_virt 1068 drivers/net/ethernet/qlogic/qed/qed_cxt.c line, (u64)p_phys, p_virt, size); p_virt 1702 drivers/net/ethernet/qlogic/qed/qed_cxt.c if (p_shdw[line].p_virt) { p_virt 2053 drivers/net/ethernet/qlogic/qed/qed_cxt.c if (!p_mngr->ilt_shadow[line].p_virt) p_virt 2056 drivers/net/ethernet/qlogic/qed/qed_cxt.c p_info->p_cxt = p_mngr->ilt_shadow[line].p_virt + p_virt 2237 drivers/net/ethernet/qlogic/qed/qed_cxt.c p_info->blocks[i] = p_mngr->ilt_shadow[shadow_line].p_virt; p_virt 2261 drivers/net/ethernet/qlogic/qed/qed_cxt.c void *p_virt; p_virt 2299 drivers/net/ethernet/qlogic/qed/qed_cxt.c if (p_hwfn->p_cxt_mngr->ilt_shadow[shadow_line].p_virt) p_virt 2310 drivers/net/ethernet/qlogic/qed/qed_cxt.c p_virt = dma_alloc_coherent(&p_hwfn->cdev->pdev->dev, p_virt 2313 drivers/net/ethernet/qlogic/qed/qed_cxt.c if (!p_virt) { p_virt 2326 drivers/net/ethernet/qlogic/qed/qed_cxt.c u8 *elem_start = (u8 *)p_virt; p_virt 2337 drivers/net/ethernet/qlogic/qed/qed_cxt.c p_hwfn->p_cxt_mngr->ilt_shadow[shadow_line].p_virt = p_virt; p_virt 2437 drivers/net/ethernet/qlogic/qed/qed_cxt.c if (!p_hwfn->p_cxt_mngr->ilt_shadow[i].p_virt) p_virt 2442 drivers/net/ethernet/qlogic/qed/qed_cxt.c p_hwfn->p_cxt_mngr->ilt_shadow[i].p_virt, p_virt 2445 drivers/net/ethernet/qlogic/qed/qed_cxt.c p_hwfn->p_cxt_mngr->ilt_shadow[i].p_virt = NULL; p_virt 2550 drivers/net/ethernet/qlogic/qed/qed_cxt.c *pp_task_ctx = (u8 *)p_mngr->ilt_shadow[ilt_idx].p_virt + p_virt 4612 drivers/net/ethernet/qlogic/qed/qed_dev.c void *p_virt = p_chain->p_virt_addr, *p_virt_next = NULL; p_virt 4617 drivers/net/ethernet/qlogic/qed/qed_dev.c if (!p_virt) p_virt 4623 drivers/net/ethernet/qlogic/qed/qed_dev.c if (!p_virt) p_virt 4626 drivers/net/ethernet/qlogic/qed/qed_dev.c p_next = (struct qed_chain_next *)((u8 *)p_virt + size); p_virt 4631 drivers/net/ethernet/qlogic/qed/qed_dev.c QED_CHAIN_PAGE_SIZE, p_virt, p_phys); p_virt 4633 drivers/net/ethernet/qlogic/qed/qed_dev.c p_virt = p_virt_next; p_virt 4722 drivers/net/ethernet/qlogic/qed/qed_dev.c void *p_virt = NULL, *p_virt_prev = NULL; p_virt 4727 drivers/net/ethernet/qlogic/qed/qed_dev.c p_virt = dma_alloc_coherent(&cdev->pdev->dev, p_virt 4730 drivers/net/ethernet/qlogic/qed/qed_dev.c if (!p_virt) p_virt 4734 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_chain_init_mem(p_chain, p_virt, p_phys); p_virt 4738 drivers/net/ethernet/qlogic/qed/qed_dev.c p_virt, p_phys); p_virt 4741 drivers/net/ethernet/qlogic/qed/qed_dev.c p_virt_prev = p_virt; p_virt 4757 drivers/net/ethernet/qlogic/qed/qed_dev.c void *p_virt = NULL; p_virt 4759 drivers/net/ethernet/qlogic/qed/qed_dev.c p_virt = dma_alloc_coherent(&cdev->pdev->dev, p_virt 4761 drivers/net/ethernet/qlogic/qed/qed_dev.c if (!p_virt) p_virt 4764 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_chain_init_mem(p_chain, p_virt, p_phys); p_virt 4779 drivers/net/ethernet/qlogic/qed/qed_dev.c void *p_virt = NULL; p_virt 4808 drivers/net/ethernet/qlogic/qed/qed_dev.c p_virt = dma_alloc_coherent(&cdev->pdev->dev, p_virt 4811 drivers/net/ethernet/qlogic/qed/qed_dev.c if (!p_virt) p_virt 4815 drivers/net/ethernet/qlogic/qed/qed_dev.c qed_chain_init_mem(p_chain, p_virt, p_phys); p_virt 4822 drivers/net/ethernet/qlogic/qed/qed_dev.c p_chain->pbl.pp_addr_tbl[i].virt_addr = p_virt; p_virt 853 drivers/net/ethernet/qlogic/qed/qed_hw.c void *p_virt; p_virt 856 drivers/net/ethernet/qlogic/qed/qed_hw.c p_virt = dma_alloc_coherent(&p_hwfn->cdev->pdev->dev, p_virt 858 drivers/net/ethernet/qlogic/qed/qed_hw.c if (!p_virt) { p_virt 866 drivers/net/ethernet/qlogic/qed/qed_hw.c for (p_tmp = (u32 *)p_virt; p_virt 867 drivers/net/ethernet/qlogic/qed/qed_hw.c p_tmp < (u32 *)((u8 *)p_virt + size); p_tmp++) { p_virt 874 drivers/net/ethernet/qlogic/qed/qed_hw.c memset((u8 *)p_virt + size, 0, size); p_virt 881 drivers/net/ethernet/qlogic/qed/qed_hw.c p_virt, (u64)(p_phys + size), (u8 *)p_virt + size, size); p_virt 893 drivers/net/ethernet/qlogic/qed/qed_hw.c for (p_tmp = (u32 *)((u8 *)p_virt + size); p_virt 894 drivers/net/ethernet/qlogic/qed/qed_hw.c p_tmp < (u32 *)((u8 *)p_virt + (2 * size)); p_tmp++) { p_virt 902 drivers/net/ethernet/qlogic/qed/qed_hw.c (u64)p_phys + ((u8 *)p_tmp - (u8 *)p_virt), p_virt 910 drivers/net/ethernet/qlogic/qed/qed_hw.c dma_free_coherent(&p_hwfn->cdev->pdev->dev, 2 * size, p_virt, p_phys); p_virt 1386 drivers/net/ethernet/qlogic/qed/qed_int.c void *p_virt; p_virt 1394 drivers/net/ethernet/qlogic/qed/qed_int.c p_virt = dma_alloc_coherent(&cdev->pdev->dev, p_virt 1398 drivers/net/ethernet/qlogic/qed/qed_int.c if (!p_virt) { p_virt 1405 drivers/net/ethernet/qlogic/qed/qed_int.c qed_int_sb_attn_init(p_hwfn, p_ptt, p_virt, p_phys); p_virt 1739 drivers/net/ethernet/qlogic/qed/qed_int.c void *p_virt; p_virt 1747 drivers/net/ethernet/qlogic/qed/qed_int.c p_virt = dma_alloc_coherent(&p_hwfn->cdev->pdev->dev, p_virt 1750 drivers/net/ethernet/qlogic/qed/qed_int.c if (!p_virt) { p_virt 1757 drivers/net/ethernet/qlogic/qed/qed_int.c qed_int_sb_init(p_hwfn, p_ptt, &p_sb->sb_info, p_virt, p_virt 1252 drivers/net/ethernet/qlogic/qed/qed_ll2.c void *p_virt; p_virt 1280 drivers/net/ethernet/qlogic/qed/qed_ll2.c p_virt = dma_alloc_coherent(&p_hwfn->cdev->pdev->dev, p_virt 1284 drivers/net/ethernet/qlogic/qed/qed_ll2.c if (!p_virt) { p_virt 1290 drivers/net/ethernet/qlogic/qed/qed_ll2.c p_buf->rx_buffer_virt_addr = p_virt; p_virt 213 drivers/net/ethernet/qlogic/qed/qed_sp.h struct qed_spq_entry *p_virt; p_virt 489 drivers/net/ethernet/qlogic/qed/qed_spq.c struct qed_spq_entry *p_virt = NULL; p_virt 504 drivers/net/ethernet/qlogic/qed/qed_spq.c p_virt = p_spq->p_virt; p_virt 508 drivers/net/ethernet/qlogic/qed/qed_spq.c DMA_REGPAIR_LE(p_virt->elem.data_ptr, p_phys); p_virt 510 drivers/net/ethernet/qlogic/qed/qed_spq.c list_add_tail(&p_virt->list, &p_spq->free_pool); p_virt 512 drivers/net/ethernet/qlogic/qed/qed_spq.c p_virt++; p_virt 554 drivers/net/ethernet/qlogic/qed/qed_spq.c struct qed_spq_entry *p_virt = NULL; p_virt 576 drivers/net/ethernet/qlogic/qed/qed_spq.c p_virt = dma_alloc_coherent(&p_hwfn->cdev->pdev->dev, p_virt 579 drivers/net/ethernet/qlogic/qed/qed_spq.c if (!p_virt) p_virt 582 drivers/net/ethernet/qlogic/qed/qed_spq.c p_spq->p_virt = p_virt; p_virt 608 drivers/net/ethernet/qlogic/qed/qed_spq.c if (p_spq->p_virt) { p_virt 613 drivers/net/ethernet/qlogic/qed/qed_spq.c p_spq->p_virt, p_spq->p_phys); p_virt 342 drivers/net/ethernet/qlogic/qed/qed_sriov.c p_bulletin = p_vf->bulletin.p_virt; p_virt 466 drivers/net/ethernet/qlogic/qed/qed_sriov.c vf->bulletin.p_virt = p_bulletin_virt + idx; p_virt 970 drivers/net/ethernet/qlogic/qed/qed_sriov.c p_bulletin = p_vf->bulletin.p_virt; p_virt 1119 drivers/net/ethernet/qlogic/qed/qed_sriov.c if (vf->bulletin.p_virt) p_virt 1120 drivers/net/ethernet/qlogic/qed/qed_sriov.c memset(vf->bulletin.p_virt, 0, sizeof(*vf->bulletin.p_virt)); p_virt 1806 drivers/net/ethernet/qlogic/qed/qed_sriov.c ether_addr_copy(filter.mac, p_vf->bulletin.p_virt->mac); p_virt 1833 drivers/net/ethernet/qlogic/qed/qed_sriov.c filter.vlan = p_vf->bulletin.p_virt->pvid; p_virt 1954 drivers/net/ethernet/qlogic/qed/qed_sriov.c p_bitmap = &vf_info->bulletin.p_virt->valid_bitmap; p_virt 1958 drivers/net/ethernet/qlogic/qed/qed_sriov.c vf_info->bulletin.p_virt->default_only_untagged = vf_req; p_virt 1966 drivers/net/ethernet/qlogic/qed/qed_sriov.c params.only_untagged = vf_info->bulletin.p_virt->default_only_untagged; p_virt 3145 drivers/net/ethernet/qlogic/qed/qed_sriov.c if (p_vf->bulletin.p_virt->valid_bitmap & BIT(VLAN_ADDR_FORCED)) p_virt 3179 drivers/net/ethernet/qlogic/qed/qed_sriov.c if (p_vf->bulletin.p_virt->valid_bitmap & BIT(MAC_ADDR_FORCED)) p_virt 3278 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_bulletin_content *p_bulletin = vf->bulletin.p_virt; p_virt 3817 drivers/net/ethernet/qlogic/qed/qed_sriov.c p_bulletin = p_vf->bulletin.p_virt; p_virt 3832 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_bulletin_content *p_bulletin = p_vf->bulletin.p_virt; p_virt 4145 drivers/net/ethernet/qlogic/qed/qed_sriov.c vf_info->bulletin.p_virt->valid_bitmap &= p_virt 4150 drivers/net/ethernet/qlogic/qed/qed_sriov.c vf_info->bulletin.p_virt->valid_bitmap &= p_virt 4154 drivers/net/ethernet/qlogic/qed/qed_sriov.c memcpy(vf_info->bulletin.p_virt->mac, mac, ETH_ALEN); p_virt 4156 drivers/net/ethernet/qlogic/qed/qed_sriov.c vf_info->bulletin.p_virt->valid_bitmap |= feature; p_virt 4179 drivers/net/ethernet/qlogic/qed/qed_sriov.c if (vf_info->bulletin.p_virt->valid_bitmap & BIT(MAC_ADDR_FORCED)) { p_virt 4186 drivers/net/ethernet/qlogic/qed/qed_sriov.c ether_addr_copy(vf_info->bulletin.p_virt->mac, mac); p_virt 4188 drivers/net/ethernet/qlogic/qed/qed_sriov.c vf_info->bulletin.p_virt->valid_bitmap |= feature; p_virt 4216 drivers/net/ethernet/qlogic/qed/qed_sriov.c vf_info->bulletin.p_virt->pvid = pvid; p_virt 4218 drivers/net/ethernet/qlogic/qed/qed_sriov.c vf_info->bulletin.p_virt->valid_bitmap |= feature; p_virt 4220 drivers/net/ethernet/qlogic/qed/qed_sriov.c vf_info->bulletin.p_virt->valid_bitmap &= ~feature; p_virt 4244 drivers/net/ethernet/qlogic/qed/qed_sriov.c vf_info->bulletin.p_virt->vxlan_udp_port = vxlan_port; p_virt 4245 drivers/net/ethernet/qlogic/qed/qed_sriov.c vf_info->bulletin.p_virt->geneve_udp_port = geneve_port; p_virt 4314 drivers/net/ethernet/qlogic/qed/qed_sriov.c if (!p_vf || !p_vf->bulletin.p_virt) p_virt 4317 drivers/net/ethernet/qlogic/qed/qed_sriov.c if (!(p_vf->bulletin.p_virt->valid_bitmap & p_virt 4321 drivers/net/ethernet/qlogic/qed/qed_sriov.c return p_vf->bulletin.p_virt->mac; p_virt 4330 drivers/net/ethernet/qlogic/qed/qed_sriov.c if (!p_vf || !p_vf->bulletin.p_virt) p_virt 4333 drivers/net/ethernet/qlogic/qed/qed_sriov.c if (!(p_vf->bulletin.p_virt->valid_bitmap & BIT(MAC_ADDR_FORCED))) p_virt 4336 drivers/net/ethernet/qlogic/qed/qed_sriov.c return p_vf->bulletin.p_virt->mac; p_virt 4345 drivers/net/ethernet/qlogic/qed/qed_sriov.c if (!p_vf || !p_vf->bulletin.p_virt) p_virt 4348 drivers/net/ethernet/qlogic/qed/qed_sriov.c if (!(p_vf->bulletin.p_virt->valid_bitmap & BIT(VLAN_ADDR_FORCED))) p_virt 4351 drivers/net/ethernet/qlogic/qed/qed_sriov.c return p_vf->bulletin.p_virt->pvid; p_virt 5057 drivers/net/ethernet/qlogic/qed/qed_sriov.c (vf->bulletin.p_virt->valid_bitmap & BIT(MAC_ADDR_FORCED))) { p_virt 5078 drivers/net/ethernet/qlogic/qed/qed_sriov.c vf->bulletin.p_virt->valid_bitmap &= p_virt 209 drivers/net/ethernet/qlogic/qed/qed_vf.c if (p_iov->bulletin.p_virt) { p_virt 213 drivers/net/ethernet/qlogic/qed/qed_vf.c p_iov->bulletin.p_virt, p_iov->bulletin.phys); p_virt 525 drivers/net/ethernet/qlogic/qed/qed_vf.c p_iov->bulletin.p_virt = dma_alloc_coherent(&p_hwfn->cdev->pdev->dev, p_virt 531 drivers/net/ethernet/qlogic/qed/qed_vf.c p_iov->bulletin.p_virt, p_virt 1495 drivers/net/ethernet/qlogic/qed/qed_vf.c crc_size = sizeof(p_iov->bulletin.p_virt->crc); p_virt 1499 drivers/net/ethernet/qlogic/qed/qed_vf.c memcpy(&shadow, p_iov->bulletin.p_virt, p_iov->bulletin.size); p_virt 633 drivers/net/ethernet/qlogic/qed/qed_vf.h struct qed_bulletin_content *p_virt; p_virt 1476 drivers/net/ethernet/qlogic/qede/qede_main.c union eth_tx_bd_types *p_virt; p_virt 1499 drivers/net/ethernet/qlogic/qede/qede_main.c sizeof(*p_virt),