Lines Matching refs:sink
195 struct coresight_device *sink; in free_sink_buffer() local
204 sink = coresight_get_sink(etm_event_cpu_path(event_data, cpu)); in free_sink_buffer()
205 sink_ops(sink)->free_buffer(event_data->snk_config); in free_sink_buffer()
304 struct coresight_device *sink = NULL; in etm_setup_aux() local
316 sink = user_sink = coresight_get_sink_by_id(id); in etm_setup_aux()
366 sink = coresight_find_default_sink(csdev); in etm_setup_aux()
367 if (!sink) { in etm_setup_aux()
373 if (last_sink && !sinks_compatible(last_sink, sink)) { in etm_setup_aux()
377 last_sink = sink; in etm_setup_aux()
385 path = coresight_build_path(csdev, sink); in etm_setup_aux()
395 if (!sink) in etm_setup_aux()
403 if (!sink_ops(sink)->alloc_buffer || !sink_ops(sink)->free_buffer) in etm_setup_aux()
413 sink_ops(sink)->alloc_buffer(sink, event, pages, in etm_setup_aux()
433 struct coresight_device *sink, *csdev = per_cpu(csdev_src, cpu); in etm_event_start() local
468 sink = coresight_get_sink(path); in etm_event_start()
469 if (WARN_ON_ONCE(!sink)) in etm_event_start()
508 struct coresight_device *sink, *csdev = per_cpu(csdev_src, cpu); in etm_event_stop() local
553 sink = coresight_get_sink(path); in etm_event_stop()
554 if (!sink) in etm_event_stop()
574 if (!sink_ops(sink)->update_buffer) in etm_event_stop()
577 size = sink_ops(sink)->update_buffer(sink, handle, in etm_event_stop()