Home
last modified time | relevance | path

Searched refs:ncounters (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/v3d/
Dv3d_perfmon.c28 u8 ncounters; in v3d_perfmon_start() local
33 ncounters = perfmon->ncounters; in v3d_perfmon_start()
34 mask = GENMASK(ncounters - 1, 0); in v3d_perfmon_start()
36 for (i = 0; i < ncounters; i++) { in v3d_perfmon_start()
41 channel |= V3D_SET_FIELD(i < ncounters ? perfmon->counters[i] : 0, in v3d_perfmon_start()
44 channel |= V3D_SET_FIELD(i < ncounters ? perfmon->counters[i] : 0, in v3d_perfmon_start()
47 channel |= V3D_SET_FIELD(i < ncounters ? perfmon->counters[i] : 0, in v3d_perfmon_start()
74 for (i = 0; i < perfmon->ncounters; i++) in v3d_perfmon_stop()
128 if (req->ncounters > DRM_V3D_MAX_PERF_COUNTERS || in v3d_perfmon_create_ioctl()
129 !req->ncounters) in v3d_perfmon_create_ioctl()
[all …]
Dv3d_drv.h49 u8 ncounters; member
/linux-6.1.9/drivers/gpu/drm/vc4/
Dvc4_perfmon.c58 for (i = 0; i < perfmon->ncounters; i++) in vc4_perfmon_start()
61 mask = GENMASK(perfmon->ncounters - 1, 0); in vc4_perfmon_start()
80 for (i = 0; i < perfmon->ncounters; i++) in vc4_perfmon_stop()
158 if (req->ncounters > DRM_VC4_MAX_PERF_COUNTERS || in vc4_perfmon_create_ioctl()
159 !req->ncounters) in vc4_perfmon_create_ioctl()
163 for (i = 0; i < req->ncounters; i++) { in vc4_perfmon_create_ioctl()
168 perfmon = kzalloc(struct_size(perfmon, counters, req->ncounters), in vc4_perfmon_create_ioctl()
174 for (i = 0; i < req->ncounters; i++) in vc4_perfmon_create_ioctl()
177 perfmon->ncounters = req->ncounters; in vc4_perfmon_create_ioctl()
248 perfmon->ncounters * sizeof(u64))) in vc4_perfmon_get_values_ioctl()
Dvc4_drv.h62 u8 ncounters; member
/linux-6.1.9/drivers/infiniband/core/
Duverbs_std_types_counters.c110 read_attr.ncounters = uattr->ptr_attr.len / sizeof(u64); in UVERBS_HANDLER()
112 attrs, array_size(read_attr.ncounters, sizeof(u64))); in UVERBS_HANDLER()
122 read_attr.ncounters * sizeof(u64)); in UVERBS_HANDLER()
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dcounters.c104 if (mcounters->cntrs_max_index > read_attr->ncounters) { in mlx5_ib_read_counters()
126 for (i = 0; i < mcounters->ncounters; i++) in mlx5_ib_read_counters()
711 struct mlx5_ib_flow_counters_desc *desc_data, u32 ncounters) in counters_set_description() argument
724 mcounters->ncounters = ncounters; in counters_set_description()
726 for (i = 0; i < ncounters; i++) { in counters_set_description()
754 if (cntrs_data->ncounters > MAX_COUNTERS_NUM) in mlx5_ib_flow_counters_set_data()
757 desc_data = kcalloc(cntrs_data->ncounters, in mlx5_ib_flow_counters_set_data()
765 sizeof(*desc_data) * cntrs_data->ncounters)) { in mlx5_ib_flow_counters_set_data()
791 cntrs_data->ncounters); in mlx5_ib_flow_counters_set_data()
Dmlx5_ib.h995 u32 ncounters; member
/linux-6.1.9/include/uapi/drm/
Dvc4_drm.h416 __u32 ncounters; member
Dv3d_drm.h454 __u32 ncounters; member
/linux-6.1.9/include/uapi/rdma/
Dmlx5-abi.h508 __u32 ncounters; member
/linux-6.1.9/include/rdma/
Dib_verbs.h2274 u32 ncounters; member