Searched refs:ABS_SUB (Results 1 – 1 of 1) sorted by relevance
/hardware/qcom/audio/hal/audio_extn/ |
D | usb.c | 40 #define ABS_SUB(A, B) (((A) > (B)) ? ((A) - (B)):((B) - (A))) macro 578 else if (ABS_SUB(stream_bit_width, dev_info->bit_width) < in usb_get_best_match_for_bit_width() 579 ABS_SUB(stream_bit_width, candidate)) { in usb_get_best_match_for_bit_width() 582 else if ((ABS_SUB(stream_bit_width, dev_info->bit_width) == in usb_get_best_match_for_bit_width() 583 ABS_SUB(stream_bit_width, candidate)) && in usb_get_best_match_for_bit_width() 624 else if (ABS_SUB(stream_ch, dev_info->channel_count) < in usb_get_best_match_for_channels() 625 ABS_SUB(stream_ch, candidate)) { in usb_get_best_match_for_channels() 627 } else if ((ABS_SUB(stream_ch, dev_info->channel_count) == in usb_get_best_match_for_channels() 628 ABS_SUB(stream_ch, candidate)) && in usb_get_best_match_for_channels() 663 if (ABS_SUB(stream_rate, usb_rate) < in usb_find_sample_rate_candidate() [all …]
|