Lines Matching defs:trig
1298 * @trig: trigger
1300 * Returns trigger extsel value, if trig matches, -EINVAL otherwise.
1303 struct iio_trigger *trig)
1311 * Checking both stm32 timer trigger type and trig name
1314 if ((is_stm32_timer_trigger(trig) ||
1315 is_stm32_lptim_trigger(trig)) &&
1316 !strcmp(adc->cfg->trigs[i].name, trig->name)) {
1327 * @trig: IIO trigger
1330 * - if HW trigger disabled (e.g. trig == NULL, conversion launched by sw)
1334 struct iio_trigger *trig)
1341 if (trig) {
1342 ret = stm32_adc_get_trig_extsel(indio_dev, trig);
1568 iio_trigger_poll(indio_dev->trig);
1582 * @trig: new trigger
1584 * Returns: 0 if trig matches one of the triggers registered by stm32 adc
1588 struct iio_trigger *trig)
1590 return stm32_adc_get_trig_extsel(indio_dev, trig) < 0 ? -EINVAL : 0;
1791 ret = stm32_adc_set_trig(indio_dev, indio_dev->trig);
1864 iio_trigger_notify_done(indio_dev->trig);