Searched refs:speed_strings (Results 1 – 2 of 2) sorted by relevance
25 static const struct speed_string speed_strings[] = { variable 62 for (int i = 0; speed_strings[i].speed != NULL; i++) in usbip_speed_string() 63 if (speed_strings[i].num == num) in usbip_speed_string() 64 return speed_strings[i].desc; in usbip_speed_string() 189 for (int i = 0; speed_strings[i].speed != NULL; i++) { in read_attr_speed() 190 if (!strcmp(speed, speed_strings[i].speed)) in read_attr_speed() 191 return speed_strings[i].num; in read_attr_speed()
756 static const char *speed_strings[] = { in pci_speed_string() local 785 if (speed < ARRAY_SIZE(speed_strings)) in pci_speed_string() 786 return speed_strings[speed]; in pci_speed_string()