Searched refs:feat_cnt (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/drivers/infiniband/hw/irdma/ |
D | ctrl.c | 4648 u16 byte_idx, feat_type, feat_cnt, feat_idx; in irdma_get_rdma_features() local 4664 feat_cnt = (u16)FIELD_GET(IRDMA_FEATURE_CNT, temp); in irdma_get_rdma_features() 4665 if (feat_cnt < 2) { in irdma_get_rdma_features() 4668 } else if (feat_cnt > IRDMA_MAX_FEATURES) { in irdma_get_rdma_features() 4674 feat_buf.size = ALIGN(8 * feat_cnt, in irdma_get_rdma_features() 4689 feat_cnt = (u16)FIELD_GET(IRDMA_FEATURE_CNT, temp); in irdma_get_rdma_features() 4690 if (feat_cnt < 2) { in irdma_get_rdma_features() 4697 16, 8, feat_buf.va, feat_cnt * 8, false); in irdma_get_rdma_features() 4699 for (byte_idx = 0, feat_idx = 0; feat_idx < min(feat_cnt, (u16)IRDMA_MAX_FEATURES); in irdma_get_rdma_features()
|