Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/
Dvc4_perfmon.c38 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()
Dvc4_drv.h59 u8 ncounters; member
/kernel/linux/linux-5.10/drivers/infiniband/core/
Duverbs_std_types_counters.c111 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()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dcounters.c88 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() argument
569 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()
Dmlx5_ib.h918 u32 ncounters; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/drm/
Dvc4_drm.h226 __u32 ncounters; member
/kernel/linux/linux-5.10/include/uapi/drm/
Dvc4_drm.h416 __u32 ncounters; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/drm/
Dvc4_drm.h238 __u32 ncounters; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/rdma/
Dmlx5-abi.h338 __u32 ncounters; member
/kernel/linux/linux-5.10/include/uapi/rdma/
Dmlx5-abi.h491 __u32 ncounters; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/rdma/
Dmlx5-abi.h375 __u32 ncounters; member
/kernel/linux/linux-5.10/include/rdma/
Dib_verbs.h2242 u32 ncounters; member