Home
last modified time | relevance | path

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

/Linux-v4.19/tools/iio/
Diio_generic_buffer.c348 int dev_num = -1, trig_num = -1; in main() local
410 trig_num = strtoul(optarg, &dummy, 10); in main()
469 } else if (trig_num >= 0) { in main()
471 ret = asprintf(&trig_dev_name, "%strigger%d", iio_dir, trig_num); in main()
479 fprintf(stderr, "Failed to read trigger%d name from\n", trig_num); in main()
482 printf("iio trigger number being used is %d\n", trig_num); in main()
499 trig_num = find_type_by_name(trigger_name, "trigger"); in main()
500 if (trig_num < 0) { in main()
511 trig_num = find_type_by_name(trigger_name, "trigger"); in main()
512 if (trig_num < 0) { in main()
[all …]
/Linux-v4.19/drivers/staging/comedi/drivers/
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()
Damplc_pci230.c1178 unsigned int trig_num) in pci230_ao_inttrig_scan_begin() argument
1183 if (trig_num) in pci230_ao_inttrig_scan_begin()
1288 unsigned int trig_num) in pci230_ao_inttrig_start() argument
1292 if (trig_num != cmd->start_src) in pci230_ao_inttrig_start()
1747 unsigned int trig_num) in pci230_ai_inttrig_convert() argument
1753 if (trig_num) in pci230_ai_inttrig_convert()
1789 unsigned int trig_num) in pci230_ai_inttrig_scan_begin() argument
1795 if (trig_num) in pci230_ai_inttrig_scan_begin()
1999 unsigned int trig_num) in pci230_ai_inttrig_start() argument
2003 if (trig_num != cmd->start_arg) in pci230_ai_inttrig_start()
Dni_tiocmd.c75 unsigned int trig_num) in ni_tio_input_inttrig() argument
82 if (trig_num != cmd->start_arg) in ni_tio_input_inttrig()
Dpcmuio.c424 unsigned int trig_num) in pcmuio_inttrig_start_intr() argument
432 if (trig_num != cmd->start_arg) in pcmuio_inttrig_start_intr()
Dusbduxsigma.c594 unsigned int trig_num) in usbduxsigma_ai_inttrig() argument
600 if (trig_num != cmd->start_arg) in usbduxsigma_ai_inttrig()
798 unsigned int trig_num) in usbduxsigma_ao_inttrig() argument
804 if (trig_num != cmd->start_arg) in usbduxsigma_ao_inttrig()
Dpcmmio.c426 unsigned int trig_num) in pcmmio_inttrig_start_intr() argument
432 if (trig_num != cmd->start_arg) in pcmmio_inttrig_start_intr()
Dusbdux.c631 unsigned int trig_num) in usbdux_ai_inttrig() argument
637 if (trig_num != cmd->start_arg) in usbdux_ai_inttrig()
838 unsigned int trig_num) in usbdux_ao_inttrig() argument
844 if (trig_num != cmd->start_arg) in usbdux_ao_inttrig()
Dcomedi_test.c508 unsigned int trig_num) in waveform_ao_inttrig_start() argument
514 if (trig_num != cmd->start_arg) in waveform_ao_inttrig_start()
Damplc_dio200_common.c232 unsigned int trig_num) in dio200_inttrig_start_intr() argument
238 if (trig_num != cmd->start_arg) in dio200_inttrig_start_intr()
Dusbduxfast.c429 unsigned int trig_num) in usbduxfast_ai_inttrig() argument
435 if (trig_num != cmd->start_arg) in usbduxfast_ai_inttrig()
Damplc_pci224.c608 unsigned int trig_num) in pci224_ao_inttrig_start() argument
612 if (trig_num != cmd->start_arg) in pci224_ao_inttrig_start()
Dni_pcidio.c591 unsigned int trig_num) in ni_pcidio_inttrig() argument
596 if (trig_num != cmd->start_arg) in ni_pcidio_inttrig()
Ddt282x.c882 unsigned int trig_num) in dt282x_ao_inttrig() argument
887 if (trig_num != cmd->start_src) in dt282x_ao_inttrig()
Dni_mio_common.c2156 unsigned int trig_num) in ni_ai_inttrig() argument
2161 if (trig_num != cmd->start_arg) in ni_ai_inttrig()
2846 unsigned int trig_num) in ni_ao_inttrig() argument
2859 if (!(trig_num == cmd->start_arg || in ni_ao_inttrig()
2860 (trig_num == 0 && cmd->start_src != TRIG_INT))) in ni_ao_inttrig()
3570 unsigned int trig_num) in ni_cdo_inttrig() argument
3579 if (trig_num != cmd->start_arg) in ni_cdo_inttrig()
Dcb_pcidas.c998 unsigned int trig_num) in cb_pcidas_ao_inttrig() argument
1006 if (trig_num != cmd->start_arg) in cb_pcidas_ao_inttrig()
Dadl_pci9118.c786 unsigned int trig_num) in pci9118_ai_inttrig() argument
790 if (trig_num != cmd->start_arg) in pci9118_ai_inttrig()
Ds626.c1607 unsigned int trig_num) in s626_ai_inttrig() argument
1611 if (trig_num != cmd->start_arg) in s626_ai_inttrig()
Dcb_pcidas64.c3265 unsigned int trig_num) in ao_inttrig() argument
3271 if (trig_num != cmd->start_arg) in ao_inttrig()