Lines Matching full:formats
60 u8 **formats; in set_stream_format() local
67 formats = oxfw->tx_stream_formats; in set_stream_format()
70 formats = oxfw->rx_stream_formats; in set_stream_format()
76 err = snd_oxfw_stream_parse_format(formats[i], &formation); in set_stream_format()
91 len = 5 + formats[i][4] * 2; in set_stream_format()
93 err = avc_stream_set_format(oxfw->unit, dir, 0, formats[i], len); in set_stream_format()
202 u8 **formats; in keep_resources() local
210 formats = oxfw->rx_stream_formats; in keep_resources()
214 formats = oxfw->tx_stream_formats; in keep_resources()
225 if (formats[i] == NULL) in keep_resources()
228 err = snd_oxfw_stream_parse_format(formats[i], &fmt); in keep_resources()
597 u8 **formats) in assume_stream_formats() argument
619 formats[eid] = devm_kmemdup(&oxfw->card->card_dev, buf, *len, in assume_stream_formats()
621 if (!formats[eid]) { in assume_stream_formats()
638 formats[eid] = devm_kmemdup(&oxfw->card->card_dev, buf, *len, in assume_stream_formats()
640 if (formats[eid] == NULL) { in assume_stream_formats()
644 formats[eid][2] = avc_stream_rate_table[i]; in assume_stream_formats()
657 u8 *buf, **formats; in fill_stream_formats() local
667 formats = oxfw->tx_stream_formats; in fill_stream_formats()
669 formats = oxfw->rx_stream_formats; in fill_stream_formats()
678 formats); in fill_stream_formats()
701 formats[eid] = devm_kmemdup(&oxfw->card->card_dev, buf, len, in fill_stream_formats()
703 if (!formats[eid]) { in fill_stream_formats()