Lines Matching refs:rates_str
225 static int usb_get_sample_rates(int type, char *rates_str, in usb_get_sample_rates() argument
237 ALOGV("%s: rates_str %s", __func__, rates_str); in usb_get_sample_rates()
238 next_sr_string = strtok_r(rates_str, "Rates: ", &temp_ptr); in usb_get_sample_rates()
243 if (strstr(rates_str, "continuous") != NULL) { in usb_get_sample_rates()
332 char *rates_str = NULL; in usb_get_capability() local
474 if ((rates_str = (char *)malloc(size + 1)) == NULL) { in usb_get_capability()
481 memcpy(rates_str, rates_str_start, size); in usb_get_capability()
482 rates_str[size] = '\0'; in usb_get_capability()
483 ret = usb_get_sample_rates(type, rates_str, usb_device_info); in usb_get_capability()
484 if (rates_str) in usb_get_capability()
485 free(rates_str); in usb_get_capability()