Lines Matching full:v3d
26 void v3d_perfmon_start(struct v3d_dev *v3d, struct v3d_perfmon *perfmon) in v3d_perfmon_start() argument
32 if (WARN_ON_ONCE(!perfmon || v3d->active_perfmon)) in v3d_perfmon_start()
58 v3d->active_perfmon = perfmon; in v3d_perfmon_start()
61 void v3d_perfmon_stop(struct v3d_dev *v3d, struct v3d_perfmon *perfmon, in v3d_perfmon_stop() argument
66 if (!perfmon || !v3d->active_perfmon) in v3d_perfmon_stop()
70 if (perfmon != v3d->active_perfmon) { in v3d_perfmon_stop()
81 v3d->active_perfmon = NULL; in v3d_perfmon_stop()
106 struct v3d_dev *v3d = (struct v3d_dev *)data; in v3d_perfmon_idr_del() local
109 if (perfmon == v3d->active_perfmon) in v3d_perfmon_idr_del()
110 v3d_perfmon_stop(v3d, perfmon, false); in v3d_perfmon_idr_del()
119 struct v3d_dev *v3d = v3d_priv->v3d; in v3d_perfmon_close_file() local
122 idr_for_each(&v3d_priv->perfmon.idr, v3d_perfmon_idr_del, v3d); in v3d_perfmon_close_file()
182 struct v3d_dev *v3d = v3d_priv->v3d; in v3d_perfmon_destroy_ioctl() local
193 if (perfmon == v3d->active_perfmon) in v3d_perfmon_destroy_ioctl()
194 v3d_perfmon_stop(v3d, perfmon, false); in v3d_perfmon_destroy_ioctl()
204 struct v3d_dev *v3d = to_v3d_dev(dev); in v3d_perfmon_get_values_ioctl() local
221 v3d_perfmon_stop(v3d, perfmon, true); in v3d_perfmon_get_values_ioctl()