Searched refs:ar (Results 1 – 4 of 4) sorted by relevance
73 struct audio_route *ar; member92 static inline struct mixer_ctl *index_to_ctl(struct audio_route *ar, in index_to_ctl() argument95 return ar->mixer_state[ctl_index].ctl; in index_to_ctl()98 static void path_print(struct audio_route *ar, struct mixer_path *path) in path_print() argument105 struct mixer_ctl *ctl = index_to_ctl(ar, path->setting[i].ctl_index); in path_print()113 static void path_free(struct audio_route *ar) in path_free() argument117 for (i = 0; i < ar->num_mixer_paths; i++) { in path_free()118 if (ar->mixer_path[i].name) in path_free()119 free(ar->mixer_path[i].name); in path_free()120 if (ar->mixer_path[i].setting) { in path_free()[all …]
26 void audio_route_free(struct audio_route *ar);29 int audio_route_apply_path(struct audio_route *ar, const char *name);32 int audio_route_apply_and_update_path(struct audio_route *ar, const char *name);35 int audio_route_reset_path(struct audio_route *ar, const char *name);38 int audio_route_reset_and_update_path(struct audio_route *ar, const char *name);41 void audio_route_reset(struct audio_route *ar);44 int audio_route_update_mixer(struct audio_route *ar);
102 #define SBC_PRTC_CHK_INIT(ar) {if(sbc_prtc_cb.init == 0){sbc_prtc_cb.init=1; ar[0] &= ~SBC_PRTC_SYN… argument105 #define SBC_PRTC_GETC(ar) {p_cur->use = ar[SBC_PRTC_CRC_IDX] & SBC_PRTC_USE_MASK; \ argument106 p_cur->idx = SBC_PRTC_IDX(ar[SBC_PRTC_CRC_IDX]);}107 #define SBC_PRTC_CHK_CRC(ar) {SBC_PRTC_C2L();SBC_PRTC_GETC(ar);sbc_prtc_cb.index = (p_cur->use)?SBC… argument108 #define SBC_PRTC_SCRMB(ar) {idx = sbc_prtc_cb.fr[sbc_prtc_cb.index].idx; \ argument109 …PacketLength > (sbc_prtc_cb.base+(idx<<1)))) {tmp2=idx<<1; tmp=ar[idx];ar[idx]=ar[tmp2];ar[tmp2]=t…110 else{tmp2=ar[idx]; tmp=(tmp2>>5)+(tmp2<<3);ar[idx]=(UINT8)tmp;}}}
66 ./ar/bta_ar.c \