Home
last modified time | relevance | path

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

/linux/tools/iio/
H A Diio_generic_buffer.c360 int dev_num = -1, trig_num = -1; in main() local
435 trig_num = strtoul(optarg, &dummy, 10); in main()
494 } else if (trig_num >= 0) { in main()
496 ret = asprintf(&trig_dev_name, "%strigger%d", iio_dir, trig_num); in main()
508 fprintf(stderr, "Failed to read trigger%d name from\n", trig_num); in main()
511 printf("iio trigger number being used is %d\n", trig_num); in main()
528 trig_num = find_type_by_name(trigger_name, "trigger"); in main()
529 if (trig_num < 0) { in main()
540 trig_num = find_type_by_name(trigger_name, "trigger"); in main()
541 if (trig_num < 0) { in main()
[all …]
/linux/drivers/comedi/drivers/
H A Daddi_apci_1500.c281 unsigned int trig_num) in apci1500_di_inttrig_start() argument
287 unsigned int pa_trig = trig_num & 0x01; in apci1500_di_inttrig_start()
288 unsigned int pb_trig = (trig_num >> 1) & 0x01; in apci1500_di_inttrig_start()
292 if (trig_num != cmd->start_arg) in apci1500_di_inttrig_start()
351 "digital trigger %d is not configured\n", trig_num); in apci1500_di_inttrig_start()
H A Damplc_pci230.c1176 unsigned int trig_num) in pci230_ao_inttrig_scan_begin() argument
1181 if (trig_num) in pci230_ao_inttrig_scan_begin()
1286 unsigned int trig_num) in pci230_ao_inttrig_start() argument
1290 if (trig_num != cmd->start_src) in pci230_ao_inttrig_start()
1745 unsigned int trig_num) in pci230_ai_inttrig_convert() argument
1751 if (trig_num) in pci230_ai_inttrig_convert()
1787 unsigned int trig_num) in pci230_ai_inttrig_scan_begin() argument
1793 if (trig_num) in pci230_ai_inttrig_scan_begin()
1997 unsigned int trig_num) in pci230_ai_inttrig_start() argument
2001 if (trig_num != cmd->start_arg) in pci230_ai_inttrig_start()
H A Dni_tiocmd.c76 unsigned int trig_num) in ni_tio_input_inttrig() argument
83 if (trig_num != cmd->start_arg) in ni_tio_input_inttrig()
H A Dpcmuio.c423 unsigned int trig_num) in pcmuio_inttrig_start_intr() argument
431 if (trig_num != cmd->start_arg) in pcmuio_inttrig_start_intr()
H A Dusbduxsigma.c593 unsigned int trig_num) in usbduxsigma_ai_inttrig() argument
599 if (trig_num != cmd->start_arg) in usbduxsigma_ai_inttrig()
797 unsigned int trig_num) in usbduxsigma_ao_inttrig() argument
803 if (trig_num != cmd->start_arg) in usbduxsigma_ao_inttrig()
H A Dusbdux.c630 unsigned int trig_num) in usbdux_ai_inttrig() argument
636 if (trig_num != cmd->start_arg) in usbdux_ai_inttrig()
837 unsigned int trig_num) in usbdux_ao_inttrig() argument
843 if (trig_num != cmd->start_arg) in usbdux_ao_inttrig()
H A Dpcmmio.c425 unsigned int trig_num) in pcmmio_inttrig_start_intr() argument
431 if (trig_num != cmd->start_arg) in pcmmio_inttrig_start_intr()
H A Damplc_dio200_common.c273 unsigned int trig_num) in dio200_inttrig_start_intr() argument
279 if (trig_num != cmd->start_arg) in dio200_inttrig_start_intr()
H A Dusbduxfast.c436 unsigned int trig_num) in usbduxfast_ai_inttrig() argument
442 if (trig_num != cmd->start_arg) in usbduxfast_ai_inttrig()
H A Dcomedi_test.c524 unsigned int trig_num) in waveform_ao_inttrig_start() argument
530 if (trig_num != cmd->start_arg) in waveform_ao_inttrig_start()
H A Dni_pcidio.c603 unsigned int trig_num) in ni_pcidio_inttrig() argument
608 if (trig_num != cmd->start_arg) in ni_pcidio_inttrig()
H A Damplc_pci224.c606 unsigned int trig_num) in pci224_ao_inttrig_start() argument
610 if (trig_num != cmd->start_arg) in pci224_ao_inttrig_start()
H A Ddt282x.c853 unsigned int trig_num) in dt282x_ao_inttrig() argument
858 if (trig_num != cmd->start_src) in dt282x_ao_inttrig()
H A Dni_mio_common.c2162 unsigned int trig_num) in ni_ai_inttrig() argument
2167 if (trig_num != cmd->start_arg) in ni_ai_inttrig()
2878 unsigned int trig_num) in ni_ao_inttrig() argument
2891 if (!(trig_num == cmd->start_arg || in ni_ao_inttrig()
2892 (trig_num == 0 && cmd->start_src != TRIG_INT))) in ni_ao_inttrig()
3628 unsigned int trig_num) in ni_cdo_inttrig() argument
3637 if (trig_num != cmd->start_arg) in ni_cdo_inttrig()
H A Dcb_pcidas.c997 unsigned int trig_num) in cb_pcidas_ao_inttrig() argument
1005 if (trig_num != cmd->start_arg) in cb_pcidas_ao_inttrig()
H A Dadl_pci9118.c785 unsigned int trig_num) in pci9118_ai_inttrig() argument
789 if (trig_num != cmd->start_arg) in pci9118_ai_inttrig()
H A Ds626.c1604 unsigned int trig_num) in s626_ai_inttrig() argument
1608 if (trig_num != cmd->start_arg) in s626_ai_inttrig()