Searched refs:buf_bus (Results 1 – 2 of 2) sorted by relevance
102 dma_addr_t *buf_bus; member
425 d->prg_cpu[i]->address = cpu_to_le32(d->buf_bus[i]); in initialize_dma_rcv_ctx()2845 if (d->buf_cpu[i] && d->buf_bus[i]) { in free_dma_rcv_ctx()2848 d->buf_cpu[i], d->buf_bus[i]); in free_dma_rcv_ctx()2852 kfree(d->buf_bus); in free_dma_rcv_ctx()2891 d->buf_bus = kmalloc(d->num_desc * sizeof(dma_addr_t), GFP_KERNEL); in alloc_dma_rcv_ctx()2893 if (d->buf_cpu == NULL || d->buf_bus == NULL) { in alloc_dma_rcv_ctx()2899 memset(d->buf_bus, 0, d->num_desc * sizeof(dma_addr_t)); in alloc_dma_rcv_ctx()2928 d->buf_bus+i); in alloc_dma_rcv_ctx()