Lines Matching full:dmp
2805 struct lpfc_dmabufext *dmp; in diag_cmd_data_alloc() local
2819 dmp = kmalloc(sizeof(struct lpfc_dmabufext), GFP_KERNEL); in diag_cmd_data_alloc()
2820 if (!dmp) in diag_cmd_data_alloc()
2823 INIT_LIST_HEAD(&dmp->dma.list); in diag_cmd_data_alloc()
2827 list_add_tail(&dmp->dma.list, &mlist->dma.list); in diag_cmd_data_alloc()
2829 mlist = dmp; in diag_cmd_data_alloc()
2832 dmp->dma.virt = dma_alloc_coherent(&pcidev->dev, in diag_cmd_data_alloc()
2834 &(dmp->dma.phys), in diag_cmd_data_alloc()
2837 if (!dmp->dma.virt) in diag_cmd_data_alloc()
2840 dmp->size = cnt; in diag_cmd_data_alloc()
2845 memset((uint8_t *)dmp->dma.virt, 0, cnt); in diag_cmd_data_alloc()
2850 bpl->addrLow = le32_to_cpu(putPaddrLow(dmp->dma.phys)); in diag_cmd_data_alloc()
2851 bpl->addrHigh = le32_to_cpu(putPaddrHigh(dmp->dma.phys)); in diag_cmd_data_alloc()
2887 struct lpfc_dmabuf *dmp; in lpfcdiag_sli3_loop_post_rxbufs() local
2916 dmp = &rxbuffer->dma; in lpfcdiag_sli3_loop_post_rxbufs()
2921 list_add_tail(&head, &dmp->list); in lpfcdiag_sli3_loop_post_rxbufs()
2966 dmp = list_entry(next, struct lpfc_dmabuf, list); in lpfcdiag_sli3_loop_post_rxbufs()
2980 dmp = list_entry(next, struct lpfc_dmabuf, list); in lpfcdiag_sli3_loop_post_rxbufs()