Lines Matching refs:pF
62 const struct hpi_format *pF) in hpi_format_to_msg() argument
64 pMF->sample_rate = pF->sample_rate; in hpi_format_to_msg()
65 pMF->bit_rate = pF->bit_rate; in hpi_format_to_msg()
66 pMF->attributes = pF->attributes; in hpi_format_to_msg()
67 pMF->channels = pF->channels; in hpi_format_to_msg()
68 pMF->format = pF->format; in hpi_format_to_msg()
71 static void hpi_msg_to_format(struct hpi_format *pF, in hpi_msg_to_format() argument
74 pF->sample_rate = pMF->sample_rate; in hpi_msg_to_format()
75 pF->bit_rate = pMF->bit_rate; in hpi_msg_to_format()
76 pF->attributes = pMF->attributes; in hpi_msg_to_format()
77 pF->channels = pMF->channels; in hpi_msg_to_format()
78 pF->format = pMF->format; in hpi_msg_to_format()
79 pF->mode_legacy = 0; in hpi_msg_to_format()
80 pF->unused = 0; in hpi_msg_to_format()
385 struct hpi_format *pF = p_format; in hpi_stream_estimate_buffer_size() local
387 channels = pF->channels; in hpi_stream_estimate_buffer_size()
389 switch (pF->format) { in hpi_stream_estimate_buffer_size()
392 bytes_per_second = pF->sample_rate * 2L * channels; in hpi_stream_estimate_buffer_size()
395 bytes_per_second = pF->sample_rate * 3L * channels; in hpi_stream_estimate_buffer_size()
399 bytes_per_second = pF->sample_rate * 4L * channels; in hpi_stream_estimate_buffer_size()
402 bytes_per_second = pF->sample_rate * 1L * channels; in hpi_stream_estimate_buffer_size()
407 bytes_per_second = pF->bit_rate / 8L; in hpi_stream_estimate_buffer_size()