Home
last modified time | relevance | path

Searched refs:hw_level (Results 1 – 19 of 19) sorted by relevance

/external/adhd/scripts/audio_thread_log_viewer/
Dlog.test11 496098.545994178 ODEV_NO_STREAMS dev:8 hw_level:992 write:1056
12 496098.546000808 SET_DEV_WAKE dev:8 hw_level:2048 sleep:1024
16 496098.567615773 ODEV_NO_STREAMS dev:8 hw_level:1040 write:1008
17 496098.567622518 SET_DEV_WAKE dev:8 hw_level:2048 sleep:1024
21 496098.589240896 ODEV_NO_STREAMS dev:8 hw_level:992 write:1056
22 496098.589247582 SET_DEV_WAKE dev:8 hw_level:2048 sleep:1024
26 496098.610854808 ODEV_NO_STREAMS dev:8 hw_level:992 write:1056
27 496098.610861519 SET_DEV_WAKE dev:8 hw_level:2048 sleep:1024
31 496098.632476082 ODEV_NO_STREAMS dev:8 hw_level:1040 write:1008
32 496098.632482753 SET_DEV_WAKE dev:8 hw_level:2048 sleep:1024
[all …]
DREADME.md15 2019-07-02T15:30:46.539479158 cras atlog SET_DEV_WAKE dev:7 hw_level:216 sleep:1…
/external/adhd/cras/src/server/
Dcras_iodev.c75 unsigned int hw_level, fr_to_write; in default_no_stream_playback() local
83 hw_level = rc; in default_no_stream_playback()
86 if (hw_level == 0) { in default_no_stream_playback()
87 rc = cras_iodev_output_underrun(odev, hw_level, 0); in default_no_stream_playback()
94 hw_level = rc; in default_no_stream_playback()
98 hw_level, target_hw_level); in default_no_stream_playback()
100 fr_to_write = cras_iodev_buffer_avail(odev, hw_level); in default_no_stream_playback()
101 if (hw_level <= target_hw_level) { in default_no_stream_playback()
102 fr_to_write = MIN(target_hw_level - hw_level, fr_to_write); in default_no_stream_playback()
1315 int cras_iodev_buffer_avail(struct cras_iodev *iodev, unsigned hw_level) in cras_iodev_buffer_avail() argument
[all …]
Ddev_io.c516 snd_pcm_uframes_t remainder, hw_level, cap_limit; in capture_to_streams() local
528 hw_level = rc; in capture_to_streams()
530 cras_iodev_update_highest_hw_level(idev, hw_level); in capture_to_streams()
537 if (hw_level < idev->min_cb_level / 2) in capture_to_streams()
539 else if (hw_level > idev->max_cb_level * 2) in capture_to_streams()
549 !!cras_iodev_update_rate(idev, hw_level, &hw_tstamp); in capture_to_streams()
560 cap_limit = get_stream_limit(adev, hw_level, &cap_limit_stream); in capture_to_streams()
563 remainder = MIN(hw_level, cap_limit); in capture_to_streams()
565 ATLOG(atlog, AUDIO_THREAD_READ_AUDIO, idev->info.idx, hw_level, in capture_to_streams()
736 void update_dev_wakeup_time(struct open_dev *adev, unsigned int *hw_level) in update_dev_wakeup_time() argument
[all …]
Dcras_hfp_iodev.c74 unsigned int hw_level; in no_stream() local
80 hw_level = iodev->frames_queued(iodev, &hw_tstamp); in no_stream()
82 if (!hfpio->drain_complete && (hw_level <= hfpio->filled_zeros)) in no_stream()
95 if (hw_level > hfpio->filled_zeros) in no_stream()
96 valid_samples = hw_level - hfpio->filled_zeros; in no_stream()
99 if (level_target > hw_level) in no_stream()
101 level_target - hw_level); in no_stream()
Dcras_iodev.h277 unsigned int *hw_level,
570 int cras_iodev_buffer_avail(struct cras_iodev *iodev, unsigned hw_level);
675 unsigned int *hw_level,
687 unsigned int *hw_level,
778 int cras_iodev_output_underrun(struct cras_iodev *odev, unsigned int hw_level,
829 unsigned int hw_level);
Dcras_server_metrics.h60 unsigned int hw_level, unsigned int largest_cb_level,
64 int cras_server_metrics_highest_hw_level(unsigned hw_level,
Dcras_a2dp_iodev.c373 unsigned int *hw_level, in frames_to_play_in_sleep() argument
379 *hw_level = frames_queued(iodev, hw_tstamp); in frames_to_play_in_sleep()
380 if (*hw_level < a2dpio->write_block) in frames_to_play_in_sleep()
381 *hw_level = 0; in frames_to_play_in_sleep()
383 *hw_level -= a2dpio->write_block; in frames_to_play_in_sleep()
Dcras_server_metrics.c682 unsigned int hw_level, unsigned int largest_cb_level, in cras_server_metrics_highest_device_delay() argument
704 data.value = hw_level * 1000 / largest_cb_level; in cras_server_metrics_highest_device_delay()
729 int cras_server_metrics_highest_hw_level(unsigned hw_level, in cras_server_metrics_highest_hw_level() argument
736 data.value = hw_level; in cras_server_metrics_highest_hw_level()
Dcras_bt_io.c446 unsigned int *hw_level, in frames_to_play_in_sleep() argument
452 iodev, hw_level, hw_tstamp); in frames_to_play_in_sleep()
454 return dev->frames_to_play_in_sleep(dev, hw_level, hw_tstamp); in frames_to_play_in_sleep()
/external/adhd/cras/src/tests/
Diodev_stub.cc167 int cras_iodev_buffer_avail(struct cras_iodev* iodev, unsigned hw_level) { in cras_iodev_buffer_avail() argument
180 unsigned int hw_level, in cras_iodev_output_underrun() argument
199 unsigned int* hw_level, in cras_iodev_frames_to_play_in_sleep() argument
202 *hw_level = 0; in cras_iodev_frames_to_play_in_sleep()
207 unsigned int hw_level) {} in cras_iodev_update_highest_hw_level() argument
Dmetrics_stub.cc14 unsigned int hw_level, in cras_server_metrics_highest_device_delay() argument
20 int cras_server_metrics_highest_hw_level(unsigned hw_level, in cras_server_metrics_highest_hw_level() argument
Dserver_metrics_unittest.cc84 unsigned int hw_level = 1000; in TEST() local
87 cras_server_metrics_highest_device_delay(hw_level, largest_cb_level, in TEST()
99 cras_server_metrics_highest_device_delay(hw_level, largest_cb_level, in TEST()
112 unsigned int hw_level = 1000; in TEST() local
114 cras_server_metrics_highest_hw_level(hw_level, CRAS_STREAM_INPUT); in TEST()
121 EXPECT_EQ(sent_msgs[0].data.value, hw_level); in TEST()
125 cras_server_metrics_highest_hw_level(hw_level, CRAS_STREAM_OUTPUT); in TEST()
132 EXPECT_EQ(sent_msgs[0].data.value, hw_level); in TEST()
Diodev_unittest.cc1568 unsigned int hw_level = 50; in TEST() local
1594 fr_queued = hw_level; in TEST()
1595 zeros_to_fill = min_cb_level * 2 - hw_level; in TEST()
1611 hw_level = min_cb_level * 2; in TEST()
1612 fr_queued = hw_level; in TEST()
2040 unsigned int min_cb_level = 512, hw_level; in TEST() local
2068 hw_level = min_cb_level + 50; in TEST()
2069 fr_queued = hw_level; in TEST()
2072 EXPECT_EQ(got_hw_level, hw_level); in TEST()
2078 hw_level = min_cb_level + 50; in TEST()
[all …]
Daudio_thread_unittest.cc1310 int cras_iodev_buffer_avail(struct cras_iodev* iodev, unsigned hw_level) { in cras_iodev_buffer_avail() argument
1321 unsigned int hw_level, in cras_iodev_output_underrun() argument
1338 unsigned int* hw_level, in cras_iodev_frames_to_play_in_sleep() argument
1340 *hw_level = cras_iodev_frames_queued(odev, hw_tstamp); in cras_iodev_frames_to_play_in_sleep()
1387 unsigned int hw_level) {} in cras_iodev_update_highest_hw_level() argument
Dbt_io_unittest.cc484 unsigned int* hw_level, in cras_iodev_default_frames_to_play_in_sleep() argument
Dalsa_io_unittest.cc2949 int cras_iodev_buffer_avail(struct cras_iodev* iodev, unsigned hw_level) { in cras_iodev_buffer_avail() argument
3018 unsigned int hw_level, in cras_iodev_output_underrun() argument
/external/mesa3d/src/amd/vulkan/
Dradv_image.c1523 uint32_t hw_level = 0; in radv_image_view_make_descriptor() local
1536 hw_level = iview->base_mip; in radv_image_view_make_descriptor()
1541 hw_level, hw_level + iview->level_count - 1, in radv_image_view_make_descriptor()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_descriptors.c708 unsigned width, height, depth, hw_level; in si_set_shader_image_desc() local
734 hw_level = level; in si_set_shader_image_desc()
745 hw_level = 0; in si_set_shader_image_desc()
749 screen, tex, false, res->b.b.target, view->format, swizzle, hw_level, hw_level, in si_set_shader_image_desc()