Lines Matching refs:str_start
325 char *str_start = NULL; in usb_get_capability() local
383 str_start = strstr(read_buf, ((type == USB_PLAYBACK) ? in usb_get_capability()
385 if (str_start == NULL) { in usb_get_capability()
394 if (str_end > str_start) in usb_get_capability()
397 ALOGV("%s: usb_config = %s, check %d\n", __func__, str_start, check); in usb_get_capability()
399 while (str_start != NULL) { in usb_get_capability()
400 str_start = strstr(str_start, "Altset"); in usb_get_capability()
401 if ((str_start == NULL) || (check && (str_start >= str_end))) { in usb_get_capability()
402 ALOGV("%s: done parsing %s\n", __func__, str_start); in usb_get_capability()
405 ALOGV("%s: remaining string %s\n", __func__, str_start); in usb_get_capability()
406 str_start += sizeof("Altset"); in usb_get_capability()
416 bit_width_start = strstr(str_start, "Format: "); in usb_get_capability()
451 channel_start = strstr(str_start, CHANNEL_NUMBER_STR); in usb_get_capability()
461 rates_str_start = strstr(str_start, "Rates: "); in usb_get_capability()
495 interval_str_start = strstr(str_start, DATA_PACKET_INTERVAL_STR); in usb_get_capability()