Searched refs:signal_types (Results 1 – 1 of 1) sorted by relevance
136 } signal_types[] = { variable147 for (i = 0; i < ARRAY_SIZE(signal_types); i++) { in spi_signal_to_string()148 if (type == signal_types[i].value) in spi_signal_to_string()149 return signal_types[i].name; in spi_signal_to_string()157 for (i = 0; i < ARRAY_SIZE(signal_types); i++) { in spi_signal_to_value()158 len = strlen(signal_types[i].name); in spi_signal_to_value()159 if (strncmp(name, signal_types[i].name, len) == 0 && in spi_signal_to_value()161 return signal_types[i].value; in spi_signal_to_value()