Home
last modified time | relevance | path

Searched refs:num_devs (Results 1 – 18 of 18) sorted by relevance

/external/mesa3d/src/gallium/state_trackers/clover/api/
Dprogram.cpp33 validate_build_common(const program &prog, cl_uint num_devs, in validate_build_common() argument
45 }, objs<allow_empty_tag>(d_devs, num_devs))) in validate_build_common()
174 clBuildProgram(cl_program d_prog, cl_uint num_devs, in clBuildProgram() argument
179 auto devs = (d_devs ? objs(d_devs, num_devs) : in clBuildProgram()
184 validate_build_common(prog, num_devs, d_devs, pfn_notify, user_data); in clBuildProgram()
198 clCompileProgram(cl_program d_prog, cl_uint num_devs, in clCompileProgram() argument
205 auto devs = (d_devs ? objs(d_devs, num_devs) : in clCompileProgram()
211 validate_build_common(prog, num_devs, d_devs, pfn_notify, user_data); in clCompileProgram()
274 clLinkProgram(cl_context d_ctx, cl_uint num_devs, const cl_device_id *d_devs, in clLinkProgram() argument
284 (d_devs ? objs(d_devs, num_devs) : in clLinkProgram()
[all …]
Dcontext.cpp30 clCreateContext(const cl_context_properties *d_props, cl_uint num_devs, in clCreateContext() argument
36 auto devs = objs(d_devs, num_devs); in clCreateContext()
Ddevice.cpp69 cl_uint num_devs, cl_device_id *rd_devs, in clCreateSubDevices() argument
/external/adhd/cras/src/server/
Daudio_thread.c77 unsigned int num_devs; member
628 amsg->num_devs); in handle_playback_thread_message()
674 unsigned int num_devs = 0; in handle_playback_thread_message() local
682 append_dev_dump_info(&info->devs[num_devs], adev); in handle_playback_thread_message()
683 if (++num_devs == MAX_DEBUG_DEVS) in handle_playback_thread_message()
694 if (num_devs == MAX_DEBUG_DEVS) in handle_playback_thread_message()
696 append_dev_dump_info(&info->devs[num_devs], adev); in handle_playback_thread_message()
704 ++num_devs; in handle_playback_thread_message()
706 info->num_devs = num_devs; in handle_playback_thread_message()
1040 unsigned int num_devs) in init_add_rm_stream_msg() argument
[all …]
Dcras_alsa_ucm.c91 int num_devs; in device_enabled() local
94 num_devs = snd_use_case_get_list(mgr->mgr, "_enadevs", &list); in device_enabled()
95 if (num_devs <= 0) in device_enabled()
98 for (i = 0; i < (unsigned int)num_devs; i++) in device_enabled()
104 snd_use_case_free_list(list, num_devs); in device_enabled()
808 int num_devs; in ucm_get_sections() local
815 num_devs = snd_use_case_get_list(mgr->mgr, identifier, &list); in ucm_get_sections()
821 for (i = 0; i < num_devs; i += 2) { in ucm_get_sections()
904 if (num_devs > 0) in ucm_get_sections()
905 snd_use_case_free_list(list, num_devs); in ucm_get_sections()
[all …]
Daudio_thread.h148 unsigned int num_devs);
/external/webrtc/talk/media/devices/
Dwin32devicemanager.cc321 int num_devs = waveInGetNumDevs(); in GetWaveDevices() local
322 for (int i = 0; i < num_devs; ++i) { in GetWaveDevices()
331 int num_devs = waveOutGetNumDevs(); in GetWaveDevices() local
332 for (int i = 0; i < num_devs; ++i) { in GetWaveDevices()
/external/adhd/cras/src/tests/
Dcras_test_client.c266 static void print_dev_info(const struct cras_iodev_info *devs, int num_devs) in print_dev_info() argument
271 for (i = 0; i < num_devs; i++) in print_dev_info()
302 size_t num_devs, num_nodes; in print_device_lists() local
305 num_devs = MAX_IODEVS; in print_device_lists()
307 rc = cras_client_get_output_devices(client, devs, nodes, &num_devs, in print_device_lists()
312 print_dev_info(devs, num_devs); in print_device_lists()
316 num_devs = MAX_IODEVS; in print_device_lists()
318 rc = cras_client_get_input_devices(client, devs, nodes, &num_devs, in print_device_lists()
321 print_dev_info(devs, num_devs); in print_device_lists()
549 if (info->num_devs > MAX_DEBUG_DEVS) in print_audio_debug_info()
[all …]
Dcras_monitor.c88 size_t num_devs = CRAS_MAX_IODEVS; in node_name_for_node_id() local
105 &num_devs, &num_nodes); in node_name_for_node_id()
108 &num_devs, &num_nodes); in node_name_for_node_id()
Diodev_list_unittest.cc1636 unsigned int num_devs) in audio_thread_add_stream() argument
1640 audio_thread_add_stream_dev = (num_devs ? devs[0] : NULL); in audio_thread_add_stream()
/external/u-boot/drivers/mtd/
Dmtdconcat.c686 int num_devs, /* number of subdevices */ in mtd_concat_create() argument
701 for (i = 0; i < num_devs; i++) in mtd_concat_create()
706 size = SIZEOF_STRUCT_MTD_CONCAT(num_devs); in mtd_concat_create()
726 for (i = 0; i < num_devs; i++) in mtd_concat_create()
755 for (i = 1; i < num_devs; i++) { in mtd_concat_create()
809 concat->num_subdev = num_devs; in mtd_concat_create()
832 for (i = 0; i < num_devs; i++) { in mtd_concat_create()
897 for (i = 0; i < num_devs; i++) { in mtd_concat_create()
/external/adhd/cras/src/alsa_plugin/
Dctl_cras.c168 size_t num_devs; in get_nodes() local
173 &num_devs, &num_nodes); in get_nodes()
176 &num_devs, &num_nodes); in get_nodes()
/external/u-boot/include/linux/mtd/
Dconcat.h14 int num_devs, /* number of subdevices */
/external/mesa3d/src/gallium/auxiliary/hud/
Dhud_diskstat.c180 int num_devs = hud_get_num_disks(0); in hud_diskstat_graph_install() local
181 if (num_devs <= 0) in hud_diskstat_graph_install()
Dhud_sensors_temp.c207 int num_devs = hud_get_num_sensors(0); in hud_sensors_temp_graph_install() local
208 if (num_devs <= 0) in hud_sensors_temp_graph_install()
/external/adhd/cras/src/libcras/
Dcras_client.h340 size_t *num_devs, size_t *num_nodes);
363 size_t *num_devs, size_t *num_nodes);
Dcras_client.c2809 size_t *num_devs, size_t *num_nodes) in cras_client_get_output_devices() argument
2822 avail_devs = MIN(*num_devs, state->num_output_devs); in cras_client_get_output_devices()
2830 *num_devs = avail_devs; in cras_client_get_output_devices()
2839 size_t *num_devs, size_t *num_nodes) in cras_client_get_input_devices() argument
2852 avail_devs = MIN(*num_devs, state->num_input_devs); in cras_client_get_input_devices()
2860 *num_devs = avail_devs; in cras_client_get_input_devices()
/external/adhd/cras/src/common/
Dcras_types.h279 uint32_t num_devs; member