Lines Matching refs:loopback
920 struct cras_loopback *loopback; in cras_iodev_open() local
926 DL_FOREACH (iodev->loopbacks, loopback) { in cras_iodev_open()
927 if (loopback->hook_control) in cras_iodev_open()
928 loopback->hook_control(true, loopback->cb_data); in cras_iodev_open()
1016 struct cras_loopback *loopback; in cras_iodev_close() local
1045 DL_FOREACH (iodev->loopbacks, loopback) { in cras_iodev_close()
1046 if (loopback->hook_control) in cras_iodev_close()
1047 loopback->hook_control(false, loopback->cb_data); in cras_iodev_close()
1091 struct cras_loopback *loopback; in cras_iodev_put_output_buffer() local
1108 DL_FOREACH (iodev->loopbacks, loopback) { in cras_iodev_put_output_buffer()
1109 if (loopback->type == LOOPBACK_POST_MIX_PRE_DSP) in cras_iodev_put_output_buffer()
1110 loopback->hook_data(frames, nframes, iodev->format, in cras_iodev_put_output_buffer()
1111 loopback->cb_data); in cras_iodev_put_output_buffer()
1121 DL_FOREACH (iodev->loopbacks, loopback) { in cras_iodev_put_output_buffer()
1122 if (loopback->type == LOOPBACK_POST_DSP) in cras_iodev_put_output_buffer()
1123 loopback->hook_data(frames, nframes, iodev->format, in cras_iodev_put_output_buffer()
1124 loopback->cb_data); in cras_iodev_put_output_buffer()