Searched refs:idev (Results 1 – 9 of 9) sorted by relevance
/external/adhd/cras/src/server/ |
D | dev_io.c | 379 struct cras_iodev *idev = adev->dev; in capture_to_streams() local 389 rc = cras_iodev_frames_queued(idev, &hw_tstamp); in capture_to_streams() 394 cras_iodev_update_highest_hw_level(idev, hw_level); in capture_to_streams() 396 ATLOG(atlog, AUDIO_THREAD_READ_AUDIO_TSTAMP, idev->info.idx, in capture_to_streams() 399 if (hw_level < idev->min_cb_level / 2) in capture_to_streams() 401 else if (hw_level > idev->max_cb_level * 2) in capture_to_streams() 405 if (cras_iodev_update_rate(idev, hw_level, &hw_tstamp)) in capture_to_streams() 414 ATLOG(atlog, AUDIO_THREAD_READ_AUDIO, idev->info.idx, in capture_to_streams() 417 if (cras_iodev_state(idev) != CRAS_IODEV_STATE_NORMAL_RUN) in capture_to_streams() 426 rc = cras_iodev_get_input_buffer(idev, &nread); in capture_to_streams() [all …]
|
D | cras_hfp_info.c | 51 struct cras_iodev *idev; member 65 if (info->idev) in hfp_info_add_iodev() 67 info->idev = dev; in hfp_info_add_iodev() 82 } else if (dev->direction == CRAS_STREAM_INPUT && info->idev == dev){ in hfp_info_rm_iodev() 83 info->idev = NULL; in hfp_info_rm_iodev() 92 return info->odev || info->idev; in hfp_info_has_iodev() 282 if (!info->idev) in hfp_info_callback()
|
D | cras_hfp_ag_profile.c | 87 struct cras_iodev *idev; member 104 if (ag->idev) in destroy_audio_gateway() 105 hfp_iodev_destroy(ag->idev); in destroy_audio_gateway() 328 ag->idev = hfp_iodev_create(CRAS_STREAM_INPUT, ag->device, in cras_hfp_ag_start() 335 if (!ag->idev && !ag->odev) { in cras_hfp_ag_start()
|
D | cras_bt_device.c | 460 struct cras_iodev *idev = device->bt_iodevs[CRAS_STREAM_INPUT]; in cras_bt_device_can_switch_to_a2dp() local 463 (!idev || !cras_iodev_is_open(idev)); in cras_bt_device_can_switch_to_a2dp()
|
/external/iproute2/tc/ |
D | f_fw.c | 156 struct rtattr *idev = tb[TCA_FW_INDEV]; in fw_print_opt() local 158 fprintf(f, "input dev %s ", rta_getattr_str(idev)); in fw_print_opt()
|
D | f_u32.c | 1333 struct rtattr *idev = tb[TCA_U32_INDEV]; in u32_print_opt() local 1335 fprintf(f, "\n input dev %s\n", rta_getattr_str(idev)); in u32_print_opt()
|
/external/adhd/cras/src/tests/ |
D | audio_thread_unittest.cc | 283 struct cras_iodev idev; in TEST_F() local 291 SetupDevice(&idev, CRAS_STREAM_INPUT); in TEST_F() 314 thread_add_open_dev(thread_, &idev); in TEST_F() 317 EXPECT_EQ(adev->dev, &idev); in TEST_F() 321 thread_rm_open_dev(thread_, &idev); in TEST_F()
|
/external/iproute2/ip/ |
D | iproute.c | 1681 char *idev = NULL; in iproute_get() local 1715 idev = *argv; in iproute_get() 1775 if (idev || odev) { in iproute_get() 1778 if (idev) { in iproute_get() 1779 if ((idx = ll_name_to_index(idev)) == 0) { in iproute_get() 1780 fprintf(stderr, "Cannot find device \"%s\"\n", idev); in iproute_get() 1841 if (!idev && tb[RTA_IIF]) in iproute_get()
|
/external/toybox/toys/pending/ |
D | ip.c | 1446 int tb,idev,odev,proto; member 1589 if (attr[RTA_IIF] && !gfilter.idev) in display_route_info() 1671 char *idev = NULL, *odev = NULL; in route_get() local 1707 if (idx == 1) idev = *argv, flag = RTA_IIF; in route_get() 1747 if (!idev && attr[RTA_IIF]) attr[RTA_IIF]->rta_type = 0; in route_get() 1790 if (idx == 3) gfilter.idev = dev; in route_show_flush()
|