Searched refs:bit_width_str (Results 1 – 1 of 1) sorted by relevance
334 char *bit_width_str = NULL; in usb_get_capability() local427 if ((bit_width_str = (char *)malloc(size + 1)) == NULL) { in usb_get_capability()434 memcpy(bit_width_str, bit_width_start, size); in usb_get_capability()435 bit_width_str[size] = '\0'; in usb_get_capability()436 if (strstr(bit_width_str, "S16_LE")) in usb_get_capability()438 else if (strstr(bit_width_str, "S24_LE")) in usb_get_capability()440 else if (strstr(bit_width_str, "S24_3LE")) in usb_get_capability()442 else if (strstr(bit_width_str, "S32_LE")) in usb_get_capability()445 if (bit_width_str) in usb_get_capability()446 free(bit_width_str); in usb_get_capability()