Searched refs:iodev1 (Results 1 – 2 of 2) sorted by relevance
130 struct cras_iodev iodev1, iodev2; in TEST_F() local132 iodev1.direction = CRAS_STREAM_OUTPUT; in TEST_F()134 enabled_dev = &iodev1; in TEST_F()148 device_disabled_callback_cb(&iodev1, device_enabled_callback_cb_data); in TEST_F()
1472 struct cras_iodev iodev1, iodev2; in TEST() local1476 memset(&iodev1, 0, sizeof(iodev1)); in TEST()1482 iodev1.configure_dev = configure_dev; in TEST()1483 iodev1.format = &audio_fmt; in TEST()1484 iodev1.state = CRAS_IODEV_STATE_NORMAL_RUN; in TEST()1485 iodev1.get_buffer = get_buffer; in TEST()1486 iodev1.put_buffer = put_buffer; in TEST()1497 iodev1.direction = CRAS_STREAM_INPUT; in TEST()1498 cras_iodev_open(&iodev1, 1024, &audio_fmt); in TEST()1499 cras_iodev_add_stream(&iodev1, &stream1); in TEST()