Searched refs:feat_buf (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/drivers/infiniband/hw/irdma/ |
D | ctrl.c | 4669 struct irdma_dma_mem feat_buf; in irdma_get_rdma_features() local 4673 feat_buf.size = ALIGN(IRDMA_FEATURE_BUF_SIZE, in irdma_get_rdma_features() 4675 feat_buf.va = dma_alloc_coherent(dev->hw->device, feat_buf.size, in irdma_get_rdma_features() 4676 &feat_buf.pa, GFP_KERNEL); in irdma_get_rdma_features() 4677 if (!feat_buf.va) in irdma_get_rdma_features() 4680 ret_code = irdma_sc_query_rdma_features(dev->cqp, &feat_buf, 0); in irdma_get_rdma_features() 4686 get_64bit_val(feat_buf.va, 0, &temp); in irdma_get_rdma_features() 4694 dma_free_coherent(dev->hw->device, feat_buf.size, feat_buf.va, in irdma_get_rdma_features() 4695 feat_buf.pa); in irdma_get_rdma_features() 4696 feat_buf.va = NULL; in irdma_get_rdma_features() [all …]
|