Lines Matching defs:trig
1045 * @trig: trigger
1047 * Returns trigger extsel value, if trig matches, -EINVAL otherwise.
1050 struct iio_trigger *trig)
1058 * Checking both stm32 timer trigger type and trig name
1061 if ((is_stm32_timer_trigger(trig) ||
1062 is_stm32_lptim_trigger(trig)) &&
1063 !strcmp(adc->cfg->trigs[i].name, trig->name)) {
1074 * @trig: IIO trigger
1077 * - if HW trigger disabled (e.g. trig == NULL, conversion launched by sw)
1081 struct iio_trigger *trig)
1088 if (trig) {
1089 ret = stm32_adc_get_trig_extsel(indio_dev, trig);
1312 iio_trigger_poll(indio_dev->trig);
1326 * @trig: new trigger
1328 * Returns: 0 if trig matches one of the triggers registered by stm32 adc
1332 struct iio_trigger *trig)
1334 return stm32_adc_get_trig_extsel(indio_dev, trig) < 0 ? -EINVAL : 0;
1541 ret = stm32_adc_set_trig(indio_dev, indio_dev->trig);
1630 iio_trigger_notify_done(indio_dev->trig);