Home
last modified time | relevance | path

Searched refs:device_infos (Results 1 – 11 of 11) sorted by relevance

/third_party/pulseaudio/src/modules/
Dmodule-suspend-on-idle.c49 pa_hashmap *device_infos; member
124 if ((d = pa_hashmap_get(u->device_infos, data->sink))) { in sink_input_fixate_hook_cb()
141 d = pa_hashmap_get(u->device_infos, data->source->monitor_of); in source_output_fixate_hook_cb()
143 d = pa_hashmap_get(u->device_infos, data->source); in source_output_fixate_hook_cb()
171 if ((d = pa_hashmap_get(u->device_infos, s->sink))) in sink_input_unlink_hook_cb()
190 d = pa_hashmap_get(u->device_infos, s->source->monitor_of); in source_output_unlink_hook_cb()
193 d = pa_hashmap_get(u->device_infos, s->source); in source_output_unlink_hook_cb()
210 if ((d = pa_hashmap_get(u->device_infos, s->sink))) in sink_input_move_start_hook_cb()
226 if ((d = pa_hashmap_get(u->device_infos, s->sink))) in sink_input_move_finish_hook_cb()
241 d = pa_hashmap_get(u->device_infos, s->source->monitor_of); in source_output_move_start_hook_cb()
[all …]
/third_party/mesa3d/src/freedreno/drm-shim/
Dfreedreno_noop.c183 static const struct msm_device_info device_infos[] = { variable
268 device_info = &device_infos[0]; in msm_driver_get_device_info()
273 for (int i = 0; i < ARRAY_SIZE(device_infos); i++) { in msm_driver_get_device_info()
274 if (device_infos[i].gpu_id == gpu_id) { in msm_driver_get_device_info()
275 device_info = &device_infos[i]; in msm_driver_get_device_info()
281 device_infos[0].gpu_id); in msm_driver_get_device_info()
282 for (int i = 1; i < ARRAY_SIZE(device_infos); i++) in msm_driver_get_device_info()
283 fprintf(stderr, ", %d", device_infos[i].gpu_id); in msm_driver_get_device_info()
/third_party/gstreamer/gstplugins_bad/sys/asio/
Dgstasiosink.cpp232 GList *device_infos = nullptr; in gst_asio_sink_create_ringbuffer() local
247 if (gst_asio_enum (&device_infos) == 0) { in gst_asio_sink_create_ringbuffer()
263 info = (GstAsioDeviceInfo *) device_infos->data; in gst_asio_sink_create_ringbuffer()
267 for (iter = device_infos; iter; iter = g_list_next (iter)) { in gst_asio_sink_create_ringbuffer()
355 if (device_infos) in gst_asio_sink_create_ringbuffer()
356 g_list_free_full (device_infos, (GDestroyNotify) gst_asio_device_info_free); in gst_asio_sink_create_ringbuffer()
Dgstasiosrc.cpp245 GList *device_infos = nullptr; in gst_asio_src_create_ringbuffer() local
260 if (gst_asio_enum (&device_infos) == 0) { in gst_asio_src_create_ringbuffer()
276 info = (GstAsioDeviceInfo *) device_infos->data; in gst_asio_src_create_ringbuffer()
280 for (iter = device_infos; iter; iter = g_list_next (iter)) { in gst_asio_src_create_ringbuffer()
369 if (device_infos) in gst_asio_src_create_ringbuffer()
370 g_list_free_full (device_infos, (GDestroyNotify) gst_asio_device_info_free); in gst_asio_src_create_ringbuffer()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/ascend310/src/
Dcustom_kernel.cc49 auto device_infos = context->MutableDeviceInfo(); in GetAclModelOptions() local
50 if (device_infos.size() < 1) { in GetAclModelOptions()
54 if (device_infos[0] == nullptr) { in GetAclModelOptions()
58 auto ascend31o_info = device_infos[0]->Cast<Ascend310DeviceInfo>(); in GetAclModelOptions()
/third_party/mindspore/mindspore/lite/src/common/
Dcontext_util.cc111 auto &device_infos = ms_context->MutableDeviceInfo(); in MSContextFromContext() local
132 device_infos.push_back(device_info); in MSContextFromContext()
144 DeviceContextVector device_infos = context->device_list_; in DeviceTypePriority() local
145 for (DeviceContext device_info : device_infos) { in DeviceTypePriority()
/third_party/mindspore/mindspore/ccsrc/cxx_api/model/ms/
Dms_model.cc156 auto &device_infos = model_context_->MutableDeviceInfo(); in GetDeviceID() local
157 if (device_infos.size() != 1) { in GetDeviceID()
161 auto ascend910_info = device_infos[0]->Cast<Ascend910DeviceInfo>(); in GetDeviceID()
166 auto gpu_info = device_infos[0]->Cast<GPUDeviceInfo>(); in GetDeviceID()
/third_party/mindspore/mindspore/ccsrc/cxx_api/model/acl/
Dacl_model_options.cc32 auto &device_infos = context->MutableDeviceInfo(); in AclModelOptions() local
33 if (device_infos.size() != 1) { in AclModelOptions()
36 auto ascend310_info = device_infos[0]->Cast<Ascend310DeviceInfo>(); in AclModelOptions()
Dacl_model.cc137 auto &device_infos = model_context_->MutableDeviceInfo(); in Resize() local
138 if (device_infos.size() != 1) { in Resize()
142 auto ascend310_info = device_infos[0]->Cast<Ascend310DeviceInfo>(); in Resize()
/third_party/mindspore/mindspore/ccsrc/profiler/device/gpu/
Dgpu_data_saver.cc68 for (auto &device_infos : activity_infos_) { in ParseEvent() local
70 for (auto &activity_info : device_infos.second) { in ParseEvent()
78 …MS_LOG(DEBUG) << "Get " << device_infos.second.size() << " activity items for device:" << device_i… in ParseEvent()
/third_party/mindspore/mindspore/ccsrc/cxx_api/graph/gpu/
Dgpu_graph_impl.cc67 auto &device_infos = graph_context_->MutableDeviceInfo(); in InitEnv() local
68 if (device_infos.size() != 1) { in InitEnv()
71 auto gpu_info = device_infos[0]->Cast<GPUDeviceInfo>(); in InitEnv()