Searched refs:ncounters (Results 1 – 11 of 11) sorted by relevance
/linux-6.1.9/drivers/gpu/drm/v3d/ |
D | v3d_perfmon.c | 28 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 …]
|
D | v3d_drv.h | 49 u8 ncounters; member
|
/linux-6.1.9/drivers/gpu/drm/vc4/ |
D | vc4_perfmon.c | 58 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()
|
D | vc4_drv.h | 62 u8 ncounters; member
|
/linux-6.1.9/drivers/infiniband/core/ |
D | uverbs_std_types_counters.c | 110 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/ |
D | counters.c | 104 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()
|
D | mlx5_ib.h | 995 u32 ncounters; member
|
/linux-6.1.9/include/uapi/drm/ |
D | vc4_drm.h | 416 __u32 ncounters; member
|
D | v3d_drm.h | 454 __u32 ncounters; member
|
/linux-6.1.9/include/uapi/rdma/ |
D | mlx5-abi.h | 508 __u32 ncounters; member
|
/linux-6.1.9/include/rdma/ |
D | ib_verbs.h | 2274 u32 ncounters; member
|