Searched refs:ncounters (Results 1 – 12 of 12) sorted by relevance
38 for (i = 0; i < perfmon->ncounters; i++) in vc4_perfmon_start()41 mask = GENMASK(perfmon->ncounters - 1, 0); in vc4_perfmon_start()57 for (i = 0; i < perfmon->ncounters; i++) in vc4_perfmon_stop()116 if (req->ncounters > DRM_VC4_MAX_PERF_COUNTERS || in vc4_perfmon_create_ioctl()117 !req->ncounters) in vc4_perfmon_create_ioctl()121 for (i = 0; i < req->ncounters; i++) { in vc4_perfmon_create_ioctl()126 perfmon = kzalloc(struct_size(perfmon, counters, req->ncounters), in vc4_perfmon_create_ioctl()131 for (i = 0; i < req->ncounters; i++) in vc4_perfmon_create_ioctl()134 perfmon->ncounters = req->ncounters; in vc4_perfmon_create_ioctl()199 perfmon->ncounters * sizeof(u64))) in vc4_perfmon_get_values_ioctl()
59 u8 ncounters; member
111 read_attr.ncounters = uattr->ptr_attr.len / sizeof(u64); in UVERBS_HANDLER()113 attrs, array_size(read_attr.ncounters, sizeof(u64))); in UVERBS_HANDLER()123 read_attr.ncounters * sizeof(u64)); in UVERBS_HANDLER()
88 if (mcounters->cntrs_max_index > read_attr->ncounters) { in mlx5_ib_read_counters()110 for (i = 0; i < mcounters->ncounters; i++) in mlx5_ib_read_counters()556 struct mlx5_ib_flow_counters_desc *desc_data, u32 ncounters) in counters_set_description() argument569 mcounters->ncounters = ncounters; in counters_set_description()571 for (i = 0; i < ncounters; i++) { in counters_set_description()599 if (cntrs_data->ncounters > MAX_COUNTERS_NUM) in mlx5_ib_flow_counters_set_data()602 desc_data = kcalloc(cntrs_data->ncounters, in mlx5_ib_flow_counters_set_data()610 sizeof(*desc_data) * cntrs_data->ncounters)) { in mlx5_ib_flow_counters_set_data()636 cntrs_data->ncounters); in mlx5_ib_flow_counters_set_data()
918 u32 ncounters; member
226 __u32 ncounters; member
416 __u32 ncounters; member
238 __u32 ncounters; member
338 __u32 ncounters; member
491 __u32 ncounters; member
375 __u32 ncounters; member
2242 u32 ncounters; member