Lines Matching refs:pF
63 const struct hpi_format *pF) in hpi_format_to_msg() argument
65 pMF->sample_rate = pF->sample_rate; in hpi_format_to_msg()
66 pMF->bit_rate = pF->bit_rate; in hpi_format_to_msg()
67 pMF->attributes = pF->attributes; in hpi_format_to_msg()
68 pMF->channels = pF->channels; in hpi_format_to_msg()
69 pMF->format = pF->format; in hpi_format_to_msg()
72 static void hpi_msg_to_format(struct hpi_format *pF, in hpi_msg_to_format() argument
75 pF->sample_rate = pMF->sample_rate; in hpi_msg_to_format()
76 pF->bit_rate = pMF->bit_rate; in hpi_msg_to_format()
77 pF->attributes = pMF->attributes; in hpi_msg_to_format()
78 pF->channels = pMF->channels; in hpi_msg_to_format()
79 pF->format = pMF->format; in hpi_msg_to_format()
80 pF->mode_legacy = 0; in hpi_msg_to_format()
81 pF->unused = 0; in hpi_msg_to_format()
386 struct hpi_format *pF = p_format; in hpi_stream_estimate_buffer_size() local
388 channels = pF->channels; in hpi_stream_estimate_buffer_size()
390 switch (pF->format) { in hpi_stream_estimate_buffer_size()
393 bytes_per_second = pF->sample_rate * 2L * channels; in hpi_stream_estimate_buffer_size()
396 bytes_per_second = pF->sample_rate * 3L * channels; in hpi_stream_estimate_buffer_size()
400 bytes_per_second = pF->sample_rate * 4L * channels; in hpi_stream_estimate_buffer_size()
403 bytes_per_second = pF->sample_rate * 1L * channels; in hpi_stream_estimate_buffer_size()
408 bytes_per_second = pF->bit_rate / 8L; in hpi_stream_estimate_buffer_size()