• Home
  • Raw
  • Download

Lines Matching refs:odev

105 	struct cras_iodev *odev = adev->dev;  in fetch_streams()  local
109 delay = cras_iodev_delay_frames(odev); in fetch_streams()
493 struct cras_iodev *odev = adev->dev; in write_streams() local
496 unsigned int frame_bytes = cras_get_format_bytes(odev->ext_format); in write_streams()
501 max_offset = cras_iodev_max_stream_offset(odev); in write_streams()
548 offset = cras_iodev_stream_offset(odev, curr); in write_streams()
551 nwritten = dev_stream_mix(curr, odev->ext_format, in write_streams()
560 cras_iodev_stream_written(odev, curr, nwritten); in write_streams()
563 write_limit = cras_iodev_all_streams_written(odev); in write_streams()
614 struct cras_iodev *odev = adev->dev; in write_output_samples() local
628 rc = cras_iodev_prepare_output_before_write_samples(odev); in write_output_samples()
634 if (cras_iodev_state(odev) != CRAS_IODEV_STATE_NORMAL_RUN) in write_output_samples()
637 rc = cras_iodev_frames_queued(odev, &hw_tstamp); in write_output_samples()
645 if (hw_level < odev->min_cb_level / 2) in write_output_samples()
647 else if (hw_level > odev->max_cb_level * 2) in write_output_samples()
652 if (cras_iodev_update_rate(odev, hw_level, &hw_tstamp)) in write_output_samples()
660 fr_to_req = cras_iodev_buffer_avail(odev, hw_level); in write_output_samples()
667 rc = cras_iodev_get_output_buffer(odev, &area, &frames); in write_output_samples()
698 rc = cras_iodev_put_output_buffer(odev, dst, written, in write_output_samples()
720 total_written, odev->min_cb_level); in write_output_samples()
926 struct open_dev *odev; in dev_io_find_open_dev() local
927 DL_FOREACH(odev_list, odev) in dev_io_find_open_dev()
928 if (odev->dev == dev) in dev_io_find_open_dev()
929 return odev; in dev_io_find_open_dev()
936 struct open_dev *odev; in dev_io_rm_open_dev() local
940 odev = dev_io_find_open_dev(*odev_list, dev_to_rm->dev); in dev_io_rm_open_dev()
941 if (!odev) in dev_io_rm_open_dev()