Home
last modified time | relevance | path

Searched refs:tach_ch (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/drivers/sensor/ite/ite_tach_it8xxx2/
Dtach_ite_it8xxx2.c86 static bool tach_ch_is_valid(const struct device *dev, int tach_ch) in tach_ch_is_valid() argument
95 switch (tach_ch) { in tach_ch_is_valid()
120 int tach_ch = config->channel; in tach_it8xxx2_sample_fetch() local
127 if (tach_ch_is_valid(dev, tach_ch)) { in tach_it8xxx2_sample_fetch()
185 int tach_ch = config->channel; in tach_it8xxx2_init() local
188 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()