Lines Matching refs:newinfo
1239 audio_info_t curinfo, newinfo; in sparcaudio_ioctl() local
1341 newinfo.record.encoding = in sparcaudio_ioctl()
1345 newinfo.record.sample_rate = in sparcaudio_ioctl()
1349 newinfo.record.precision = in sparcaudio_ioctl()
1353 newinfo.record.channels = in sparcaudio_ioctl()
1358 switch (newinfo.record.encoding) { in sparcaudio_ioctl()
1361 if (newinfo.record.precision != 8) { in sparcaudio_ioctl()
1367 if (newinfo.record.channels != 1) { in sparcaudio_ioctl()
1376 if (newinfo.record.precision != 16) { in sparcaudio_ioctl()
1382 if (newinfo.record.channels != 1 && in sparcaudio_ioctl()
1383 newinfo.record.channels != 2) { in sparcaudio_ioctl()
1391 if (newinfo.record.precision != 8) { in sparcaudio_ioctl()
1397 if (newinfo.record.channels != 1 && in sparcaudio_ioctl()
1398 newinfo.record.channels != 2) { in sparcaudio_ioctl()
1433 newinfo.play.encoding = in sparcaudio_ioctl()
1437 newinfo.play.sample_rate = in sparcaudio_ioctl()
1441 newinfo.play.precision = in sparcaudio_ioctl()
1445 newinfo.play.channels = in sparcaudio_ioctl()
1450 switch (newinfo.play.encoding) { in sparcaudio_ioctl()
1453 if (newinfo.play.precision != 8) { in sparcaudio_ioctl()
1459 if (newinfo.play.channels != 1) { in sparcaudio_ioctl()
1468 if (newinfo.play.precision != 16) { in sparcaudio_ioctl()
1474 if (newinfo.play.channels != 1 && in sparcaudio_ioctl()
1475 newinfo.play.channels != 2) { in sparcaudio_ioctl()
1483 if (newinfo.play.precision != 8) { in sparcaudio_ioctl()
1489 if (newinfo.play.channels != 1 && in sparcaudio_ioctl()
1490 newinfo.play.channels != 2) { in sparcaudio_ioctl()
1506 newinfo.record.channels) in sparcaudio_ioctl()
1510 newinfo.play.channels) in sparcaudio_ioctl()
1514 newinfo.record.sample_rate) in sparcaudio_ioctl()
1518 newinfo.play.sample_rate) in sparcaudio_ioctl()
1522 newinfo.record.precision) in sparcaudio_ioctl()
1526 newinfo.play.precision) in sparcaudio_ioctl()
1530 newinfo.record.encoding) in sparcaudio_ioctl()
1534 newinfo.play.encoding) in sparcaudio_ioctl()
1571 newinfo.record.balance = in sparcaudio_ioctl()
1576 newinfo.play.balance = in sparcaudio_ioctl()
1581 newinfo.record.error = in sparcaudio_ioctl()
1586 newinfo.play.error = in sparcaudio_ioctl()
1591 newinfo.output_muted = in sparcaudio_ioctl()
1596 newinfo.record.gain = in sparcaudio_ioctl()
1601 newinfo.play.gain = in sparcaudio_ioctl()
1606 newinfo.record.port = in sparcaudio_ioctl()
1611 newinfo.play.port = in sparcaudio_ioctl()
1616 newinfo.record.samples = in sparcaudio_ioctl()
1621 newinfo.play.samples = in sparcaudio_ioctl()
1626 newinfo.monitor_gain = in sparcaudio_ioctl()
1634 newinfo.record.buffer_size = ainfo.record.buffer_size; in sparcaudio_ioctl()
1637 newinfo.record.buffer_size = drv->buffer_size; in sparcaudio_ioctl()
1641 ainfo.play.eof = newinfo.play.eof; in sparcaudio_ioctl()
1642 newinfo.play.eof = drv->output_eof; in sparcaudio_ioctl()
1645 newinfo.play.eof = drv->output_eof; in sparcaudio_ioctl()
1649 newinfo.record.pause = in sparcaudio_ioctl()
1655 newinfo.record.pause = drv->ops->get_input_pause(drv); in sparcaudio_ioctl()
1657 newinfo.record.pause = 0; in sparcaudio_ioctl()
1661 newinfo.play.pause = in sparcaudio_ioctl()
1667 newinfo.play.pause = drv->ops->get_output_pause(drv); in sparcaudio_ioctl()
1669 newinfo.play.pause = 0; in sparcaudio_ioctl()
1677 copy_to_user((struct audio_info *)arg, &newinfo, in sparcaudio_ioctl()
1678 sizeof(newinfo)); in sparcaudio_ioctl()