Searched refs:tach_ch (Results 1 – 1 of 1) sorted by relevance
86 static bool tach_ch_is_valid(const struct device *dev, int tach_ch) in tach_ch_is_valid() argument95 switch (tach_ch) { in tach_ch_is_valid()120 int tach_ch = config->channel; in tach_it8xxx2_sample_fetch() local127 if (tach_ch_is_valid(dev, tach_ch)) { in tach_it8xxx2_sample_fetch()185 int tach_ch = config->channel; in tach_it8xxx2_init() local188 if (tach_ch > IT8XXX2_TACH_CHANNEL_B) { in tach_it8xxx2_init()189 LOG_ERR("Tach channel %d, only support 0 or 1", tach_ch); in tach_it8xxx2_init()200 if (tach_ch == IT8XXX2_TACH_CHANNEL_A) { in tach_it8xxx2_init()