Lines Matching refs:p_cap
111 const tA2DP_SBC_CIE* p_cap, const uint8_t* p_codec_info,
344 const tA2DP_SBC_CIE* p_cap, const uint8_t* p_codec_info, in A2DP_CodecInfoMatchesCapabilitySbc() argument
359 cfg_cie.samp_freq, p_cap->samp_freq); in A2DP_CodecInfoMatchesCapabilitySbc()
361 cfg_cie.ch_mode, p_cap->ch_mode); in A2DP_CodecInfoMatchesCapabilitySbc()
363 cfg_cie.block_len, p_cap->block_len); in A2DP_CodecInfoMatchesCapabilitySbc()
365 cfg_cie.num_subbands, p_cap->num_subbands); in A2DP_CodecInfoMatchesCapabilitySbc()
367 cfg_cie.alloc_method, p_cap->alloc_method); in A2DP_CodecInfoMatchesCapabilitySbc()
369 cfg_cie.min_bitpool, p_cap->min_bitpool); in A2DP_CodecInfoMatchesCapabilitySbc()
371 cfg_cie.max_bitpool, p_cap->max_bitpool); in A2DP_CodecInfoMatchesCapabilitySbc()
374 if ((cfg_cie.samp_freq & p_cap->samp_freq) == 0) return A2DP_NS_SAMP_FREQ; in A2DP_CodecInfoMatchesCapabilitySbc()
377 if ((cfg_cie.ch_mode & p_cap->ch_mode) == 0) return A2DP_NS_CH_MODE; in A2DP_CodecInfoMatchesCapabilitySbc()
380 if ((cfg_cie.block_len & p_cap->block_len) == 0) return A2DP_BAD_BLOCK_LEN; in A2DP_CodecInfoMatchesCapabilitySbc()
383 if ((cfg_cie.num_subbands & p_cap->num_subbands) == 0) in A2DP_CodecInfoMatchesCapabilitySbc()
387 if ((cfg_cie.alloc_method & p_cap->alloc_method) == 0) in A2DP_CodecInfoMatchesCapabilitySbc()
391 if (cfg_cie.min_bitpool > p_cap->max_bitpool) return A2DP_NS_MIN_BITPOOL; in A2DP_CodecInfoMatchesCapabilitySbc()
394 if (cfg_cie.max_bitpool < p_cap->min_bitpool) return A2DP_NS_MAX_BITPOOL; in A2DP_CodecInfoMatchesCapabilitySbc()