Searched refs:master_dev (Results 1 – 5 of 5) sorted by relevance
239 stream->master_dev.dev_id = NO_DEVICE; in cras_rstream_create()240 stream->master_dev.dev_ptr = NULL; in cras_rstream_create()380 if (rstream->master_dev.dev_id == NO_DEVICE) { in cras_rstream_dev_attach()381 rstream->master_dev.dev_id = dev_id; in cras_rstream_dev_attach()382 rstream->master_dev.dev_ptr = dev_ptr; in cras_rstream_dev_attach()391 if (rstream->master_dev.dev_id == dev_id) { in cras_rstream_dev_detach()396 rstream->master_dev.dev_id = NO_DEVICE; in cras_rstream_dev_detach()397 rstream->master_dev.dev_ptr = NULL; in cras_rstream_dev_detach()401 rstream->master_dev.dev_id = o->id; in cras_rstream_dev_detach()402 rstream->master_dev.dev_ptr = o->data; in cras_rstream_dev_detach()
42 return (struct cras_iodev *)stream->stream->master_dev.dev_ptr; in get_master_dev()50 struct cras_iodev *master_dev; in update_estimated_rate() local55 master_dev = get_master_dev(dev_stream); in update_estimated_rate()56 if (master_dev == NULL) { in update_estimated_rate()64 cras_iodev_get_est_rate_ratio(master_dev), in update_estimated_rate()
79 struct master_dev_info master_dev; member
167 if (dev_stream->dev_id == dev_stream->stream->master_dev.dev_id) { in dev_stream_set_dev_rate()
522 rstream_.master_dev.dev_id = 4; in TEST_F()552 rstream_.master_dev.dev_id = dev_id; in TEST_F()