Lines Matching refs:formats
61 u8 **formats; in set_stream_format() local
68 formats = oxfw->tx_stream_formats; in set_stream_format()
71 formats = oxfw->rx_stream_formats; in set_stream_format()
77 err = snd_oxfw_stream_parse_format(formats[i], &formation); in set_stream_format()
92 len = 5 + formats[i][4] * 2; in set_stream_format()
94 err = avc_stream_set_format(oxfw->unit, dir, 0, formats[i], len); in set_stream_format()
118 u8 **formats; in start_stream() local
125 formats = oxfw->rx_stream_formats; in start_stream()
128 formats = oxfw->tx_stream_formats; in start_stream()
134 if (formats[i] == NULL) in start_stream()
137 err = snd_oxfw_stream_parse_format(formats[i], &formation); in start_stream()
499 u8 **formats) in assume_stream_formats() argument
521 formats[eid] = kmemdup(buf, *len, GFP_KERNEL); in assume_stream_formats()
522 if (formats[eid] == NULL) { in assume_stream_formats()
539 formats[eid] = kmemdup(buf, *len, GFP_KERNEL); in assume_stream_formats()
540 if (formats[eid] == NULL) { in assume_stream_formats()
544 formats[eid][2] = avc_stream_rate_table[i]; in assume_stream_formats()
557 u8 *buf, **formats; in fill_stream_formats() local
567 formats = oxfw->tx_stream_formats; in fill_stream_formats()
569 formats = oxfw->rx_stream_formats; in fill_stream_formats()
578 formats); in fill_stream_formats()
601 formats[eid] = kmemdup(buf, len, GFP_KERNEL); in fill_stream_formats()
602 if (formats[eid] == NULL) { in fill_stream_formats()