Searched refs:speed_strings (Results 1 – 3 of 3) sorted by relevance
25 static const struct speed_string speed_strings[] = { variable62 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()
22 static const char * const speed_strings[] = { in get_speed_string() local31 return speed_strings[speed]; in get_speed_string()
698 static const char *speed_strings[] = { in pci_speed_string() local727 if (speed < ARRAY_SIZE(speed_strings)) in pci_speed_string()728 return speed_strings[speed]; in pci_speed_string()