Lines Matching refs:channel
87 int channel = data->channel_mapping[sbus_channel]; in input_sbus_report() local
90 if (channel == -1) { in input_sbus_report()
94 if (value >= (data->last_reported_value[channel] + REPORT_FILTER) || in input_sbus_report()
95 value <= (data->last_reported_value[channel] - REPORT_FILTER)) { in input_sbus_report()
96 switch (config->channel_info[channel].type) { in input_sbus_report()
99 input_report(dev, config->channel_info[channel].type, in input_sbus_report()
100 config->channel_info[channel].zephyr_code, value, false, in input_sbus_report()
106 input_report_key(dev, config->channel_info[channel].zephyr_code, 1, in input_sbus_report()
109 input_report_key(dev, config->channel_info[channel].zephyr_code, 0, in input_sbus_report()
113 data->last_reported_value[channel] = value; in input_sbus_report()
124 uint8_t i, channel; in input_sbus_input_report_thread() local
172 channel = 0; in input_sbus_input_report_thread()
186 input_sbus_report(dev, channel, value & SBUS_SERVO_CH_MASK); in input_sbus_input_report_thread()
191 channel++; in input_sbus_input_report_thread()
342 BUILD_ASSERT(IN_RANGE(DT_PROP(input_channel_id, channel), 1, 16), \
351 .sbus_channel = DT_PROP(input_channel_id, channel), \