Searched refs:NVC0_HW_METRIC_QUERY (Results 1 – 2 of 2) sorted by relevance
457 if (NVC0_HW_METRIC_QUERY(queries[i]->type) == q->type) in nvc0_hw_metric_query_get_cfg()505 switch (hq->base.type - NVC0_HW_METRIC_QUERY(0)) { in sm20_hw_metric_calc_result()543 hq->base.type - NVC0_HW_METRIC_QUERY(0)); in sm20_hw_metric_calc_result()552 switch (hq->base.type - NVC0_HW_METRIC_QUERY(0)) { in sm21_hw_metric_calc_result()589 hq->base.type - NVC0_HW_METRIC_QUERY(0)); in sm21_hw_metric_calc_result()598 switch (hq->base.type - NVC0_HW_METRIC_QUERY(0)) { in sm30_hw_metric_calc_result()644 hq->base.type - NVC0_HW_METRIC_QUERY(0)); in sm30_hw_metric_calc_result()653 switch (hq->base.type - NVC0_HW_METRIC_QUERY(0)) { in sm35_hw_metric_calc_result()724 if (type < NVC0_HW_METRIC_QUERY(0) || type > NVC0_HW_METRIC_QUERY_LAST) in nvc0_hw_metric_create_query()772 info->query_type = NVC0_HW_METRIC_QUERY(queries[id]->type); in nvc0_hw_metric_get_driver_query_info()
21 #define NVC0_HW_METRIC_QUERY(i) (PIPE_QUERY_DRIVER_SPECIFIC + 2048 + (i)) macro22 #define NVC0_HW_METRIC_QUERY_LAST NVC0_HW_METRIC_QUERY(NVC0_HW_METRIC_QUERY_COUNT - 1)