Lines Matching defs:feat_buf
4669 struct irdma_dma_mem feat_buf;
4673 feat_buf.size = ALIGN(IRDMA_FEATURE_BUF_SIZE,
4675 feat_buf.va = dma_alloc_coherent(dev->hw->device, feat_buf.size,
4676 &feat_buf.pa, GFP_KERNEL);
4677 if (!feat_buf.va)
4680 ret_code = irdma_sc_query_rdma_features(dev->cqp, &feat_buf, 0);
4686 get_64bit_val(feat_buf.va, 0, &temp);
4694 dma_free_coherent(dev->hw->device, feat_buf.size, feat_buf.va,
4695 feat_buf.pa);
4696 feat_buf.va = NULL;
4697 feat_buf.size = ALIGN(8 * feat_cnt,
4699 feat_buf.va = dma_alloc_coherent(dev->hw->device,
4700 feat_buf.size, &feat_buf.pa,
4702 if (!feat_buf.va)
4705 ret_code = irdma_sc_query_rdma_features(dev->cqp, &feat_buf, 0);
4711 get_64bit_val(feat_buf.va, 0, &temp);
4720 16, 8, feat_buf.va, feat_cnt * 8, false);
4724 get_64bit_val(feat_buf.va, byte_idx, &temp);
4735 dma_free_coherent(dev->hw->device, feat_buf.size, feat_buf.va,
4736 feat_buf.pa);
4737 feat_buf.va = NULL;