Lines Matching refs:resource_mask
254 unsigned long resource_mask; in strace_release() local
258 resource_mask = adev->logged_resources; in strace_release()
264 for_each_set_bit(i, &resource_mask, num_cores) { in strace_release()
285 static int enable_logs(struct avs_dev *adev, u32 resource_mask, u32 *priorities) in enable_logs() argument
305 adev->fifo_full_timer_period, resource_mask, priorities); in enable_logs()
309 adev->logged_resources |= resource_mask; in enable_logs()
323 static int disable_logs(struct avs_dev *adev, u32 resource_mask) in disable_logs() argument
332 resource_mask, NULL); in disable_logs()
338 adev->logged_resources &= ~resource_mask; in disable_logs()
366 u32 resource_mask; in trace_control_write() local
374 resource_mask = array[1]; in trace_control_write()
383 ret = disable_logs(adev, resource_mask); in trace_control_write()
385 if (num_elems != (hweight_long(resource_mask) + 1)) { in trace_control_write()
390 ret = enable_logs(adev, resource_mask, &array[2]); in trace_control_write()