Home
last modified time | relevance | path

Searched refs:read_buf (Results 1 – 3 of 3) sorted by relevance

/hardware/qcom/audio/alsa_sound/
DAudioUsbALSA.cpp100 char *read_buf, *str_start, *channel_start, *ratesStr, *ratesStrForVal, in getCap() local
120 read_buf = (char *)malloc(BUFFSIZE); in getCap()
121 memset(read_buf, 0x0, BUFFSIZE); in getCap()
122 err = read(fd, read_buf, BUFFSIZE); in getCap()
123 str_start = strstr(read_buf, type); in getCap()
127 free(read_buf); in getCap()
135 free(read_buf); in getCap()
142 free(read_buf); in getCap()
157 free(read_buf); in getCap()
165 free(read_buf); in getCap()
[all …]
/hardware/invensense/mlsdk/platform/include/
Di2c.h91 … char *read_buf, unsigned int read_len ));
99 … char *read_buf, unsigned int read_len );
/hardware/qcom/audio/libalsa-intf/
Dalsa_ucm.c2124 char *read_buf = NULL, *next_str = NULL, *current_str = NULL, *buf = NULL; in second_stage_parsing_thread() local
2141 read_buf = (char *) mmap(0, st.st_size, PROT_READ | PROT_WRITE, in second_stage_parsing_thread()
2143 if (read_buf == MAP_FAILED) { in second_stage_parsing_thread()
2148 current_str = read_buf; in second_stage_parsing_thread()
2249 munmap(read_buf, st.st_size); in second_stage_parsing_thread()
2283 char *read_buf, *next_str, *current_str, *buf, *p, *verb_name; in snd_ucm_parse() local
2300 read_buf = (char *) mmap(0, st.st_size, PROT_READ | PROT_WRITE, in snd_ucm_parse()
2302 if (read_buf == MAP_FAILED) { in snd_ucm_parse()
2307 current_str = read_buf; in snd_ucm_parse()
2313 munmap(read_buf, st.st_size); in snd_ucm_parse()
[all …]