Lines Matching refs:meta_size
558 size_t meta_len, size_t meta_size) in init_net_buf_simple_from_meta() argument
562 buf->size = meta_size; in init_net_buf_simple_from_meta()
582 static int codec_meta_set_val(uint8_t meta[], size_t meta_len, size_t meta_size, in codec_meta_set_val() argument
603 init_net_buf_simple_from_meta(&buf, meta, meta_len, meta_size); in codec_meta_set_val()
608 static int codec_meta_unset_val(uint8_t meta[], size_t meta_len, size_t meta_size, in codec_meta_unset_val() argument
618 init_net_buf_simple_from_meta(&buf, meta, meta_len, meta_size); in codec_meta_unset_val()
645 static int codec_meta_set_pref_context(uint8_t meta[], size_t meta_len, size_t meta_size, in codec_meta_set_pref_context() argument
662 return codec_meta_set_val(meta, meta_len, meta_size, BT_AUDIO_METADATA_TYPE_PREF_CONTEXT, in codec_meta_set_pref_context()
688 static int codec_meta_set_stream_context(uint8_t meta[], size_t meta_len, size_t meta_size, in codec_meta_set_stream_context() argument
705 return codec_meta_set_val(meta, meta_len, meta_size, BT_AUDIO_METADATA_TYPE_STREAM_CONTEXT, in codec_meta_set_stream_context()
735 static int codec_meta_set_program_info(uint8_t meta[], size_t meta_len, size_t meta_size, in codec_meta_set_program_info() argument
748 return codec_meta_set_val(meta, meta_len, meta_size, BT_AUDIO_METADATA_TYPE_PROGRAM_INFO, in codec_meta_set_program_info()
781 static int codec_meta_set_lang(uint8_t meta[], size_t meta_len, size_t meta_size, in codec_meta_set_lang() argument
794 return codec_meta_set_val(meta, meta_len, meta_size, BT_AUDIO_METADATA_TYPE_LANG, lang, in codec_meta_set_lang()
824 static int codec_meta_set_ccid_list(uint8_t meta[], size_t meta_len, size_t meta_size, in codec_meta_set_ccid_list() argument
837 return codec_meta_set_val(meta, meta_len, meta_size, BT_AUDIO_METADATA_TYPE_CCID_LIST, in codec_meta_set_ccid_list()
863 static int codec_meta_set_parental_rating(uint8_t meta[], size_t meta_len, size_t meta_size, in codec_meta_set_parental_rating() argument
880 return codec_meta_set_val(meta, meta_len, meta_size, BT_AUDIO_METADATA_TYPE_PARENTAL_RATING, in codec_meta_set_parental_rating()
910 static int codec_meta_set_program_info_uri(uint8_t meta[], size_t meta_len, size_t meta_size, in codec_meta_set_program_info_uri() argument
924 return codec_meta_set_val(meta, meta_len, meta_size, in codec_meta_set_program_info_uri()
951 static int codec_meta_set_audio_active_state(uint8_t meta[], size_t meta_len, size_t meta_size, in codec_meta_set_audio_active_state() argument
968 return codec_meta_set_val(meta, meta_len, meta_size, BT_AUDIO_METADATA_TYPE_AUDIO_STATE, in codec_meta_set_audio_active_state()
986 size_t meta_size) in codec_meta_set_bcast_audio_immediate_rend_flag() argument
993 return codec_meta_set_val(meta, meta_len, meta_size, in codec_meta_set_bcast_audio_immediate_rend_flag()
1021 size_t meta_size, in codec_meta_set_assisted_listening_stream() argument
1038 return codec_meta_set_val(meta, meta_len, meta_size, in codec_meta_set_assisted_listening_stream()
1069 static int codec_meta_set_broadcast_name(uint8_t meta[], size_t meta_len, size_t meta_size, in codec_meta_set_broadcast_name() argument
1082 return codec_meta_set_val(meta, meta_len, meta_size, BT_AUDIO_METADATA_TYPE_BROADCAST_NAME, in codec_meta_set_broadcast_name()
1112 static int codec_meta_set_extended(uint8_t meta[], size_t meta_len, size_t meta_size, in codec_meta_set_extended() argument
1125 return codec_meta_set_val(meta, meta_len, meta_size, BT_AUDIO_METADATA_TYPE_EXTENDED, in codec_meta_set_extended()
1154 static int codec_meta_set_vendor(uint8_t meta[], size_t meta_len, size_t meta_size, in codec_meta_set_vendor() argument
1167 return codec_meta_set_val(meta, meta_len, meta_size, BT_AUDIO_METADATA_TYPE_VENDOR, vendor, in codec_meta_set_vendor()