Lines Matching refs:feat_buf

4646 	struct irdma_dma_mem feat_buf;  in irdma_get_rdma_features()  local
4650 feat_buf.size = ALIGN(IRDMA_FEATURE_BUF_SIZE, in irdma_get_rdma_features()
4652 feat_buf.va = dma_alloc_coherent(dev->hw->device, feat_buf.size, in irdma_get_rdma_features()
4653 &feat_buf.pa, GFP_KERNEL); in irdma_get_rdma_features()
4654 if (!feat_buf.va) in irdma_get_rdma_features()
4657 ret_code = irdma_sc_query_rdma_features(dev->cqp, &feat_buf, 0); in irdma_get_rdma_features()
4663 get_64bit_val(feat_buf.va, 0, &temp); in irdma_get_rdma_features()
4671 dma_free_coherent(dev->hw->device, feat_buf.size, feat_buf.va, in irdma_get_rdma_features()
4672 feat_buf.pa); in irdma_get_rdma_features()
4673 feat_buf.va = NULL; in irdma_get_rdma_features()
4674 feat_buf.size = ALIGN(8 * feat_cnt, in irdma_get_rdma_features()
4676 feat_buf.va = dma_alloc_coherent(dev->hw->device, in irdma_get_rdma_features()
4677 feat_buf.size, &feat_buf.pa, in irdma_get_rdma_features()
4679 if (!feat_buf.va) in irdma_get_rdma_features()
4682 ret_code = irdma_sc_query_rdma_features(dev->cqp, &feat_buf, 0); in irdma_get_rdma_features()
4688 get_64bit_val(feat_buf.va, 0, &temp); in irdma_get_rdma_features()
4697 16, 8, feat_buf.va, feat_cnt * 8, false); in irdma_get_rdma_features()
4701 get_64bit_val(feat_buf.va, byte_idx, &temp); in irdma_get_rdma_features()
4712 dma_free_coherent(dev->hw->device, feat_buf.size, feat_buf.va, in irdma_get_rdma_features()
4713 feat_buf.pa); in irdma_get_rdma_features()
4714 feat_buf.va = NULL; in irdma_get_rdma_features()