Home
last modified time | relevance | path

Searched refs:dev_idx (Results 1 – 25 of 34) sorted by relevance

12

/external/adhd/cras/src/server/
Dserver_stream.c50 void server_stream_create(struct stream_list *stream_list, unsigned int dev_idx) in server_stream_create() argument
54 stream_config->dev_idx); in server_stream_create()
68 stream_config->dev_idx = dev_idx; in server_stream_create()
91 unsigned int dev_idx) in server_stream_destroy() argument
93 if (!stream_config || stream_config->dev_idx != dev_idx) { in server_stream_destroy()
Dcras_alsa_card.c214 int dev_idx; in add_controls_and_iodevs_by_matching() local
262 dev_idx = -1; in add_controls_and_iodevs_by_matching()
264 rc = snd_ctl_pcm_next_device(handle, &dev_idx); in add_controls_and_iodevs_by_matching()
267 if (dev_idx < 0) in add_controls_and_iodevs_by_matching()
270 snd_pcm_info_set_device(dev_info, dev_idx); in add_controls_and_iodevs_by_matching()
277 !should_ignore_dev(info, blacklist, dev_idx)) { in add_controls_and_iodevs_by_matching()
285 dev_idx, in add_controls_and_iodevs_by_matching()
306 dev_idx, in add_controls_and_iodevs_by_matching()
361 snd_pcm_info_set_device(dev_info, section->dev_idx); in add_controls_and_iodevs_with_ucm()
387 section->dev_idx, section->dir); in add_controls_and_iodevs_with_ucm()
[all …]
Dcras_alsa_ucm_section.c37 int dev_idx, in ucm_section_create() argument
53 section->dev_idx = dev_idx; in ucm_section_create()
123 section->name, section->dev_idx, in ucm_section_dump()
Dserver_stream.h18 unsigned int dev_idx);
27 unsigned int dev_idx);
Dcras_alsa_ucm_section.h19 int dev_idx; /* Device PCM index. */ member
43 int dev_idx,
Dcras_iodev_list.c46 int dev_idx; member
495 static void cancel_pending_init_retries(unsigned int dev_idx) in cancel_pending_init_retries() argument
500 if (retry->dev_idx != dev_idx) in cancel_pending_init_retries()
700 struct cras_iodev *dev = find_dev(retry->dev_idx); in init_device_cb()
728 retry->dev_idx = dev->info.idx; in schedule_init_device_retry()
Dcras_alsa_ucm.c823 int dev_idx = -1; in ucm_get_sections() local
847 dev_idx = get_device_index_from_target( in ucm_get_sections()
860 if (dev_idx == -1) { in ucm_get_sections()
871 dev_sec = ucm_section_create(dev_name, dev_idx, dir, in ucm_get_sections()
Dcras_rstream.c241 stream->is_pinned = (config->dev_idx != NO_DEVICE); in cras_rstream_create()
242 stream->pinned_dev_idx = config->dev_idx; in cras_rstream_create()
Dcras_rstream.h115 uint32_t dev_idx; member
Dcras_rclient.c66 stream_config.dev_idx = msg->dev_idx; in handle_client_stream_connect()
/external/adhd/cras/src/libcras/
Dcras_helpers.c117 int dev_idx, in cras_helper_add_stream_simple() argument
136 if (dev_idx < 0) in cras_helper_add_stream_simple()
137 dev_idx = NO_DEVICE; in cras_helper_add_stream_simple()
138 rc = cras_client_add_pinned_stream(client, dev_idx, stream_id_out, in cras_helper_add_stream_simple()
153 int dev_idx) in cras_helper_play_buffer() argument
167 frame_rate, num_channels, dev_idx, &stream_id); in cras_helper_play_buffer()
Dcras_helpers.h67 int dev_idx,
89 int dev_idx);
Dcras_client.c94 uint32_t dev_idx; member
1495 uint32_t dev_idx) in send_connect_message() argument
1518 dev_idx); in send_connect_message()
1546 uint32_t dev_idx) in client_thread_add_stream() argument
1554 dev_idx == NO_DEVICE) { in client_thread_add_stream()
1563 dev_idx = hotword_idx; in client_thread_add_stream()
1584 rc = send_connect_message(client, stream, dev_idx); in client_thread_add_stream()
1937 add_msg->dev_idx); in handle_command_message()
2375 uint32_t dev_idx, in cras_client_send_add_stream_command_message() argument
2416 cmd_msg.dev_idx = dev_idx; in cras_client_send_add_stream_command_message()
[all …]
/external/kernel-headers/original/uapi/linux/
Dnfc.h267 __u32 dev_idx; member
275 __u32 dev_idx; member
/external/iproute2/rdma/
Ddev.c219 mnl_attr_put_u32(rd->nlh, RDMA_NLDEV_ATTR_DEV_INDEX, rd->dev_idx); in dev_no_args()
251 rd->dev_idx = dev_map->idx; in dev_show()
264 rd->dev_idx = dev_map->idx; in dev_show()
Dlink.c259 mnl_attr_put_u32(rd->nlh, RDMA_NLDEV_ATTR_DEV_INDEX, rd->dev_idx); in link_no_args()
293 rd->dev_idx = dev_map->idx; in link_show()
311 rd->dev_idx = dev_map->idx; in link_show()
Drdma.h45 uint32_t dev_idx; member
/external/adhd/cras/src/tests/
Dalsa_ucm_unittest.cc1108 int dev_idx = 0; in TEST() local
1123 section = ucm_section_create(name, dev_idx, dir, jack_name, jack_type); in TEST()
1127 EXPECT_EQ(dev_idx, section->dev_idx); in TEST()
1254 EXPECT_EQ(0, section->dev_idx); in TEST()
1270 EXPECT_EQ(0, section->dev_idx); in TEST()
1286 EXPECT_EQ(0, section->dev_idx); in TEST()
1298 EXPECT_EQ(0, section->dev_idx); in TEST()
1313 EXPECT_EQ(2, section->dev_idx); in TEST()
/external/adhd/cras/src/common/
Dcras_messages.h109 uint32_t dev_idx; /* device to attach stream, 0 if none */ member
129 uint32_t dev_idx; /* device to attach stream, 0 if none */ member
141 uint32_t dev_idx) in cras_fill_connect_message() argument
152 m->dev_idx = dev_idx; in cras_fill_connect_message()
Dcras_types.h261 uint32_t dev_idx; member
/external/tensorflow/tensorflow/python/distribute/
Dcross_device_utils.py598 for dev_idx, gv_list in enumerate(replica_grads):
602 key = '%d:%d' % (dev_idx, len(new_gv_list))
631 for dev_idx, gv_list in enumerate(replica_grads):
635 k = '%d:%d' % (dev_idx, i)
/external/autotest/server/cros/servo/
Dpd_device.py758 for dev_idx in range(devices.index(deva) + 1, len(devices)):
759 devb = devices[dev_idx]
/external/syzkaller/sys/linux/
Dsocket_nfc.txt46 dev_idx int32[0:1]
/external/tensorflow/tensorflow/core/common_runtime/
Dring_gatherer_test.cc152 int dev_idx = (wi * num_devices) + di; in Init() local
153 if (dev_idx >= static_cast<int>(gpu_devices_.size())) { in Init()
157 local_devices.push_back(std::move(gpu_devices_[dev_idx])); in Init()
Dring_reducer_test.cc174 int dev_idx = (wi * num_devices) + di; in Init() local
175 if (dev_idx >= static_cast<int>(gpu_devices_.size())) { in Init()
179 local_devices.push_back(std::move(gpu_devices_[dev_idx])); in Init()

12