Searched refs:signal_types (Results 1 – 1 of 1) sorted by relevance
149 } signal_types[] = { variable160 for (i = 0; i < ARRAY_SIZE(signal_types); i++) { in spi_signal_to_string()161 if (type == signal_types[i].value) in spi_signal_to_string()162 return signal_types[i].name; in spi_signal_to_string()170 for (i = 0; i < ARRAY_SIZE(signal_types); i++) { in spi_signal_to_value()171 len = strlen(signal_types[i].name); in spi_signal_to_value()172 if (strncmp(name, signal_types[i].name, len) == 0 && in spi_signal_to_value()174 return signal_types[i].value; in spi_signal_to_value()