chanlist 165 drivers/net/wireless/mediatek/mt76/mac80211.c void *chanlist; chanlist 169 drivers/net/wireless/mediatek/mt76/mac80211.c chanlist = devm_kmemdup(dev->dev, chan, size, GFP_KERNEL); chanlist 170 drivers/net/wireless/mediatek/mt76/mac80211.c if (!chanlist) chanlist 178 drivers/net/wireless/mediatek/mt76/mac80211.c sband->channels = chanlist; chanlist 523 drivers/net/wireless/mediatek/mt7601u/init.c void *chanlist; chanlist 527 drivers/net/wireless/mediatek/mt7601u/init.c chanlist = devm_kmemdup(dev->dev, chan, size, GFP_KERNEL); chanlist 528 drivers/net/wireless/mediatek/mt7601u/init.c if (!chanlist) chanlist 531 drivers/net/wireless/mediatek/mt7601u/init.c sband->channels = chanlist; chanlist 1223 drivers/scsi/esas2r/atioctl.h struct atto_channel_list chanlist; chanlist 1320 drivers/scsi/esas2r/esas2r_ioctl.c ioctl->data.chanlist.num_channels = 0; chanlist 1324 drivers/scsi/esas2r/esas2r_ioctl.c ioctl->data.chanlist.num_channels++; chanlist 1325 drivers/scsi/esas2r/esas2r_ioctl.c ioctl->data.chanlist.channel[k] = i; chanlist 608 drivers/staging/comedi/comedi.h unsigned int *chanlist; chanlist 60 drivers/staging/comedi/comedi_compat32.c compat_uptr_t chanlist; /* 32-bit 'unsigned int *' */ chanlist 195 drivers/staging/comedi/comedi_compat32.c err |= __get_user(temp.uptr, &cmd32->chanlist); chanlist 197 drivers/staging/comedi/comedi_compat32.c &cmd->chanlist); chanlist 739 drivers/staging/comedi/comedi_fops.c kfree(async->cmd.chanlist); chanlist 740 drivers/staging/comedi/comedi_fops.c async->cmd.chanlist = NULL; chanlist 1733 drivers/staging/comedi/comedi_fops.c unsigned int *chanlist; chanlist 1737 drivers/staging/comedi/comedi_fops.c cmd->chanlist = NULL; chanlist 1738 drivers/staging/comedi/comedi_fops.c chanlist = memdup_user(user_chanlist, chanlist 1740 drivers/staging/comedi/comedi_fops.c if (IS_ERR(chanlist)) chanlist 1741 drivers/staging/comedi/comedi_fops.c return PTR_ERR(chanlist); chanlist 1744 drivers/staging/comedi/comedi_fops.c ret = comedi_check_chanlist(s, cmd->chanlist_len, chanlist); chanlist 1746 drivers/staging/comedi/comedi_fops.c kfree(chanlist); chanlist 1750 drivers/staging/comedi/comedi_fops.c cmd->chanlist = chanlist; chanlist 1786 drivers/staging/comedi/comedi_fops.c user_chanlist = (unsigned int __user *)cmd.chanlist; chanlist 1824 drivers/staging/comedi/comedi_fops.c cmd.chanlist = (unsigned int __force *)user_chanlist; chanlist 1895 drivers/staging/comedi/comedi_fops.c user_chanlist = (unsigned int __user *)cmd.chanlist; chanlist 1909 drivers/staging/comedi/comedi_fops.c kfree(cmd.chanlist); /* free kernel copy of user chanlist */ chanlist 1912 drivers/staging/comedi/comedi_fops.c cmd.chanlist = (unsigned int __force *)user_chanlist; chanlist 178 drivers/staging/comedi/comedidev.h unsigned int *chanlist; /* driver-owned chanlist (not used) */ chanlist 600 drivers/staging/comedi/comedidev.h unsigned int *chanlist); chanlist 135 drivers/staging/comedi/drivers/addi_apci_2032.c enabled_isns |= 1 << CR_CHAN(cmd->chanlist[n]); chanlist 196 drivers/staging/comedi/drivers/addi_apci_2032.c unsigned int chan = CR_CHAN(cmd->chanlist[i]); chanlist 391 drivers/staging/comedi/drivers/addi_apci_3120.c int n_chan, unsigned int *chanlist) chanlist 398 drivers/staging/comedi/drivers/addi_apci_3120.c unsigned int chan = CR_CHAN(chanlist[i]); chanlist 399 drivers/staging/comedi/drivers/addi_apci_3120.c unsigned int range = CR_RANGE(chanlist[i]); chanlist 553 drivers/staging/comedi/drivers/addi_apci_3120.c apci3120_set_chanlist(dev, s, cmd->chanlist_len, cmd->chanlist); chanlist 574 drivers/staging/comedi/drivers/addi_apci_3xxx.c ret = apci3xxx_ai_setup(dev, cmd->chanlist[0]); chanlist 205 drivers/staging/comedi/drivers/adl_pci9111.c unsigned int range0 = CR_RANGE(cmd->chanlist[0]); chanlist 206 drivers/staging/comedi/drivers/adl_pci9111.c unsigned int aref0 = CR_AREF(cmd->chanlist[0]); chanlist 210 drivers/staging/comedi/drivers/adl_pci9111.c unsigned int chan = CR_CHAN(cmd->chanlist[i]); chanlist 211 drivers/staging/comedi/drivers/adl_pci9111.c unsigned int range = CR_RANGE(cmd->chanlist[i]); chanlist 212 drivers/staging/comedi/drivers/adl_pci9111.c unsigned int aref = CR_AREF(cmd->chanlist[i]); chanlist 327 drivers/staging/comedi/drivers/adl_pci9111.c if (cmd->chanlist && cmd->chanlist_len > 0) chanlist 341 drivers/staging/comedi/drivers/adl_pci9111.c unsigned int last_chan = CR_CHAN(cmd->chanlist[cmd->chanlist_len - 1]); chanlist 342 drivers/staging/comedi/drivers/adl_pci9111.c unsigned int range0 = CR_RANGE(cmd->chanlist[0]); chanlist 292 drivers/staging/comedi/drivers/adl_pci9118.c unsigned int range0 = CR_RANGE(cmd->chanlist[0]); chanlist 293 drivers/staging/comedi/drivers/adl_pci9118.c unsigned int aref0 = CR_AREF(cmd->chanlist[0]); chanlist 301 drivers/staging/comedi/drivers/adl_pci9118.c unsigned int chan = CR_CHAN(cmd->chanlist[i]); chanlist 302 drivers/staging/comedi/drivers/adl_pci9118.c unsigned int range = CR_RANGE(cmd->chanlist[i]); chanlist 303 drivers/staging/comedi/drivers/adl_pci9118.c unsigned int aref = CR_AREF(cmd->chanlist[i]); chanlist 329 drivers/staging/comedi/drivers/adl_pci9118.c int n_chan, unsigned int *chanlist, chanlist 333 drivers/staging/comedi/drivers/adl_pci9118.c unsigned int chan0 = CR_CHAN(chanlist[0]); chanlist 334 drivers/staging/comedi/drivers/adl_pci9118.c unsigned int range0 = CR_RANGE(chanlist[0]); chanlist 335 drivers/staging/comedi/drivers/adl_pci9118.c unsigned int aref0 = CR_AREF(chanlist[0]); chanlist 370 drivers/staging/comedi/drivers/adl_pci9118.c unsigned int chan = CR_CHAN(chanlist[i]); chanlist 371 drivers/staging/comedi/drivers/adl_pci9118.c unsigned int range = CR_RANGE(chanlist[i]); chanlist 1028 drivers/staging/comedi/drivers/adl_pci9118.c pci9118_set_chanlist(dev, s, cmd->chanlist_len, cmd->chanlist, chanlist 1293 drivers/staging/comedi/drivers/adl_pci9118.c if (cmd->chanlist) chanlist 186 drivers/staging/comedi/drivers/adv_pci1710.c unsigned int chan0 = CR_CHAN(cmd->chanlist[0]); chanlist 187 drivers/staging/comedi/drivers/adv_pci1710.c unsigned int last_aref = CR_AREF(cmd->chanlist[0]); chanlist 199 drivers/staging/comedi/drivers/adv_pci1710.c chansegment[0] = cmd->chanlist[0]; chanlist 202 drivers/staging/comedi/drivers/adv_pci1710.c unsigned int chan = CR_CHAN(cmd->chanlist[i]); chanlist 203 drivers/staging/comedi/drivers/adv_pci1710.c unsigned int aref = CR_AREF(cmd->chanlist[i]); chanlist 205 drivers/staging/comedi/drivers/adv_pci1710.c if (cmd->chanlist[0] == cmd->chanlist[i]) chanlist 224 drivers/staging/comedi/drivers/adv_pci1710.c chansegment[i] = cmd->chanlist[i]; chanlist 230 drivers/staging/comedi/drivers/adv_pci1710.c if (cmd->chanlist[i] != chansegment[i % seglen]) { chanlist 236 drivers/staging/comedi/drivers/adv_pci1710.c CR_CHAN(cmd->chanlist[i % seglen]), chanlist 237 drivers/staging/comedi/drivers/adv_pci1710.c CR_RANGE(cmd->chanlist[i % seglen]), chanlist 249 drivers/staging/comedi/drivers/adv_pci1710.c unsigned int *chanlist, chanlist 254 drivers/staging/comedi/drivers/adv_pci1710.c unsigned int first_chan = CR_CHAN(chanlist[0]); chanlist 255 drivers/staging/comedi/drivers/adv_pci1710.c unsigned int last_chan = CR_CHAN(chanlist[seglen - 1]); chanlist 259 drivers/staging/comedi/drivers/adv_pci1710.c unsigned int chan = CR_CHAN(chanlist[i]); chanlist 260 drivers/staging/comedi/drivers/adv_pci1710.c unsigned int range = CR_RANGE(chanlist[i]); chanlist 261 drivers/staging/comedi/drivers/adv_pci1710.c unsigned int aref = CR_AREF(chanlist[i]); chanlist 279 drivers/staging/comedi/drivers/adv_pci1710.c devpriv->act_chanlist[i] = CR_CHAN(chanlist[i]); chanlist 527 drivers/staging/comedi/drivers/adv_pci1710.c pci1710_ai_setup_chanlist(dev, s, cmd->chanlist, cmd->chanlist_len, chanlist 207 drivers/staging/comedi/drivers/amplc_dio200_common.c if (cmd->chanlist) { chanlist 209 drivers/staging/comedi/drivers/amplc_dio200_common.c isn_bits |= (1U << CR_CHAN(cmd->chanlist[n])); chanlist 249 drivers/staging/comedi/drivers/amplc_dio200_common.c ch = CR_CHAN(cmd->chanlist[n]); chanlist 630 drivers/staging/comedi/drivers/amplc_pci224.c range_check_0 = board->ao_range_check[CR_RANGE(cmd->chanlist[0])]; chanlist 632 drivers/staging/comedi/drivers/amplc_pci224.c unsigned int chan = CR_CHAN(cmd->chanlist[i]); chanlist 642 drivers/staging/comedi/drivers/amplc_pci224.c if (board->ao_range_check[CR_RANGE(cmd->chanlist[i])] != chanlist 798 drivers/staging/comedi/drivers/amplc_pci224.c if (cmd->chanlist && cmd->chanlist_len > 0) chanlist 843 drivers/staging/comedi/drivers/amplc_pci224.c if (!cmd->chanlist || cmd->chanlist_len == 0) chanlist 850 drivers/staging/comedi/drivers/amplc_pci224.c ch = CR_CHAN(cmd->chanlist[i]); chanlist 854 drivers/staging/comedi/drivers/amplc_pci224.c if (CR_CHAN(cmd->chanlist[j]) < ch) chanlist 864 drivers/staging/comedi/drivers/amplc_pci224.c range = CR_RANGE(cmd->chanlist[0]); chanlist 929 drivers/staging/comedi/drivers/amplc_pci224.c if ((board->ao_hwrange[CR_RANGE(cmd->chanlist[0])] & chanlist 853 drivers/staging/comedi/drivers/amplc_pci230.c unsigned int prev_chan = CR_CHAN(cmd->chanlist[0]); chanlist 854 drivers/staging/comedi/drivers/amplc_pci230.c unsigned int range0 = CR_RANGE(cmd->chanlist[0]); chanlist 858 drivers/staging/comedi/drivers/amplc_pci230.c unsigned int chan = CR_CHAN(cmd->chanlist[i]); chanlist 859 drivers/staging/comedi/drivers/amplc_pci230.c unsigned int range = CR_RANGE(cmd->chanlist[i]); chanlist 999 drivers/staging/comedi/drivers/amplc_pci230.c if (cmd->chanlist && cmd->chanlist_len > 0) chanlist 1074 drivers/staging/comedi/drivers/amplc_pci230.c unsigned int chan = CR_CHAN(cmd->chanlist[i]); chanlist 1145 drivers/staging/comedi/drivers/amplc_pci230.c unsigned int chan = CR_CHAN(cmd->chanlist[i]); chanlist 1320 drivers/staging/comedi/drivers/amplc_pci230.c range = CR_RANGE(cmd->chanlist[0]); chanlist 1330 drivers/staging/comedi/drivers/amplc_pci230.c dacen |= 1 << CR_CHAN(cmd->chanlist[i]); chanlist 1417 drivers/staging/comedi/drivers/amplc_pci230.c unsigned int chanspec = cmd->chanlist[i]; chanlist 1439 drivers/staging/comedi/drivers/amplc_pci230.c cmd->chanlist[i % subseq_len] != chanspec) { chanlist 1495 drivers/staging/comedi/drivers/amplc_pci230.c if (subseq_len > 1 && CR_CHAN(cmd->chanlist[0])) { chanlist 1578 drivers/staging/comedi/drivers/amplc_pci230.c if (cmd->chanlist && cmd->chanlist_len > 0) { chanlist 1580 drivers/staging/comedi/drivers/amplc_pci230.c if (CR_AREF(cmd->chanlist[0]) == AREF_DIFF) chanlist 1703 drivers/staging/comedi/drivers/amplc_pci230.c if (cmd->chanlist && cmd->chanlist_len > 0) chanlist 2132 drivers/staging/comedi/drivers/amplc_pci230.c if (CR_AREF(cmd->chanlist[0]) == AREF_DIFF) { chanlist 2142 drivers/staging/comedi/drivers/amplc_pci230.c range = CR_RANGE(cmd->chanlist[0]); chanlist 2152 drivers/staging/comedi/drivers/amplc_pci230.c chan = CR_CHAN(cmd->chanlist[i]); chanlist 2153 drivers/staging/comedi/drivers/amplc_pci230.c range = CR_RANGE(cmd->chanlist[i]); chanlist 652 drivers/staging/comedi/drivers/cb_pcidas.c unsigned int chan0 = CR_CHAN(cmd->chanlist[0]); chanlist 653 drivers/staging/comedi/drivers/cb_pcidas.c unsigned int range0 = CR_RANGE(cmd->chanlist[0]); chanlist 657 drivers/staging/comedi/drivers/cb_pcidas.c unsigned int chan = CR_CHAN(cmd->chanlist[i]); chanlist 658 drivers/staging/comedi/drivers/cb_pcidas.c unsigned int range = CR_RANGE(cmd->chanlist[i]); chanlist 776 drivers/staging/comedi/drivers/cb_pcidas.c if (cmd->chanlist && cmd->chanlist_len > 0) chanlist 792 drivers/staging/comedi/drivers/cb_pcidas.c unsigned int range0 = CR_RANGE(cmd->chanlist[0]); chanlist 804 drivers/staging/comedi/drivers/cb_pcidas.c bits = PCIDAS_AI_FIRST(CR_CHAN(cmd->chanlist[0])) | chanlist 805 drivers/staging/comedi/drivers/cb_pcidas.c PCIDAS_AI_LAST(CR_CHAN(cmd->chanlist[cmd->chanlist_len - 1])) | chanlist 811 drivers/staging/comedi/drivers/cb_pcidas.c if (CR_AREF(cmd->chanlist[0]) != AREF_DIFF) chanlist 874 drivers/staging/comedi/drivers/cb_pcidas.c unsigned int chan0 = CR_CHAN(cmd->chanlist[0]); chanlist 877 drivers/staging/comedi/drivers/cb_pcidas.c unsigned int chan1 = CR_CHAN(cmd->chanlist[1]); chanlist 953 drivers/staging/comedi/drivers/cb_pcidas.c if (cmd->chanlist && cmd->chanlist_len > 0) chanlist 1042 drivers/staging/comedi/drivers/cb_pcidas.c unsigned int chan = CR_CHAN(cmd->chanlist[i]); chanlist 1043 drivers/staging/comedi/drivers/cb_pcidas.c unsigned int range = CR_RANGE(cmd->chanlist[i]); chanlist 2068 drivers/staging/comedi/drivers/cb_pcidas64.c unsigned int aref0 = CR_AREF(cmd->chanlist[0]); chanlist 2072 drivers/staging/comedi/drivers/cb_pcidas64.c unsigned int aref = CR_AREF(cmd->chanlist[i]); chanlist 2082 drivers/staging/comedi/drivers/cb_pcidas64.c unsigned int chan0 = CR_CHAN(cmd->chanlist[0]); chanlist 2085 drivers/staging/comedi/drivers/cb_pcidas64.c unsigned int chan = CR_CHAN(cmd->chanlist[i]); chanlist 2220 drivers/staging/comedi/drivers/cb_pcidas64.c if (cmd->chanlist && cmd->chanlist_len > 0) chanlist 2405 drivers/staging/comedi/drivers/cb_pcidas64.c if (CR_CHAN(cmd->chanlist[i + 1]) != chanlist 2406 drivers/staging/comedi/drivers/cb_pcidas64.c CR_CHAN(cmd->chanlist[i]) + 1) chanlist 2408 drivers/staging/comedi/drivers/cb_pcidas64.c if (CR_RANGE(cmd->chanlist[i + 1]) != chanlist 2409 drivers/staging/comedi/drivers/cb_pcidas64.c CR_RANGE(cmd->chanlist[i])) chanlist 2411 drivers/staging/comedi/drivers/cb_pcidas64.c if (CR_AREF(cmd->chanlist[i + 1]) != CR_AREF(cmd->chanlist[i])) chanlist 2432 drivers/staging/comedi/drivers/cb_pcidas64.c bits |= adc_chan_bits(CR_CHAN(cmd->chanlist[0])); chanlist 2435 drivers/staging/comedi/drivers/cb_pcidas64.c CR_RANGE(cmd->chanlist[0])); chanlist 2438 drivers/staging/comedi/drivers/cb_pcidas64.c CR_AREF(cmd->chanlist[0]) == chanlist 2440 drivers/staging/comedi/drivers/cb_pcidas64.c if (CR_AREF(cmd->chanlist[0]) == AREF_COMMON) chanlist 2444 drivers/staging/comedi/drivers/cb_pcidas64.c (CR_CHAN(cmd->chanlist[cmd->chanlist_len - 1])), chanlist 2465 drivers/staging/comedi/drivers/cb_pcidas64.c unsigned int chanspec = cmd->chanlist[i]; chanlist 2480 drivers/staging/comedi/drivers/cb_pcidas64.c if (CR_AREF(cmd->chanlist[i]) == AREF_COMMON) chanlist 2506 drivers/staging/comedi/drivers/cb_pcidas64.c unsigned int channel = CR_CHAN(cmd->chanlist[i]); chanlist 2507 drivers/staging/comedi/drivers/cb_pcidas64.c unsigned int range = CR_RANGE(cmd->chanlist[i]); chanlist 2605 drivers/staging/comedi/drivers/cb_pcidas64.c adc_lo_chan_4020_bits(CR_CHAN(cmd->chanlist[0])); chanlist 2608 drivers/staging/comedi/drivers/cb_pcidas64.c adc_hi_chan_4020_bits(CR_CHAN(cmd->chanlist chanlist 3164 drivers/staging/comedi/drivers/cb_pcidas64.c channel = CR_CHAN(cmd->chanlist[i]); chanlist 3165 drivers/staging/comedi/drivers/cb_pcidas64.c range = CR_RANGE(cmd->chanlist[i]); chanlist 3181 drivers/staging/comedi/drivers/cb_pcidas64.c first_channel = CR_CHAN(cmd->chanlist[0]); chanlist 3182 drivers/staging/comedi/drivers/cb_pcidas64.c last_channel = CR_CHAN(cmd->chanlist[cmd->chanlist_len - 1]); chanlist 3323 drivers/staging/comedi/drivers/cb_pcidas64.c unsigned int chan0 = CR_CHAN(cmd->chanlist[0]); chanlist 3327 drivers/staging/comedi/drivers/cb_pcidas64.c unsigned int chan = CR_CHAN(cmd->chanlist[i]); chanlist 3410 drivers/staging/comedi/drivers/cb_pcidas64.c if (cmd->chanlist && cmd->chanlist_len > 0) chanlist 211 drivers/staging/comedi/drivers/comedi_test.c unsigned int chanspec = cmd->chanlist[async->cur_chan]; chanlist 474 drivers/staging/comedi/drivers/comedi_test.c unsigned int chan = CR_CHAN(cmd->chanlist[i]); chanlist 561 drivers/staging/comedi/drivers/das16.c unsigned int chan0 = CR_CHAN(cmd->chanlist[0]); chanlist 562 drivers/staging/comedi/drivers/das16.c unsigned int range0 = CR_RANGE(cmd->chanlist[0]); chanlist 566 drivers/staging/comedi/drivers/das16.c unsigned int chan = CR_CHAN(cmd->chanlist[i]); chanlist 567 drivers/staging/comedi/drivers/das16.c unsigned int range = CR_RANGE(cmd->chanlist[i]); chanlist 676 drivers/staging/comedi/drivers/das16.c if (cmd->chanlist && cmd->chanlist_len > 0) chanlist 701 drivers/staging/comedi/drivers/das16.c unsigned int first_chan = CR_CHAN(cmd->chanlist[0]); chanlist 702 drivers/staging/comedi/drivers/das16.c unsigned int last_chan = CR_CHAN(cmd->chanlist[cmd->chanlist_len - 1]); chanlist 703 drivers/staging/comedi/drivers/das16.c unsigned int range = CR_RANGE(cmd->chanlist[0]); chanlist 155 drivers/staging/comedi/drivers/das16m1.c unsigned int chan = CR_CHAN(cmd->chanlist[i]); chanlist 230 drivers/staging/comedi/drivers/das16m1.c if (cmd->chanlist && cmd->chanlist_len > 0) chanlist 264 drivers/staging/comedi/drivers/das16m1.c das16m1_ai_set_queue(dev, cmd->chanlist, cmd->chanlist_len); chanlist 617 drivers/staging/comedi/drivers/das1800.c unsigned int range = CR_RANGE(cmd->chanlist[0]); chanlist 622 drivers/staging/comedi/drivers/das1800.c range = CR_RANGE(cmd->chanlist[i]); chanlist 718 drivers/staging/comedi/drivers/das1800.c if (cmd->chanlist && cmd->chanlist_len > 0) chanlist 807 drivers/staging/comedi/drivers/das1800.c unsigned int *chanlist, unsigned int len) chanlist 821 drivers/staging/comedi/drivers/das1800.c unsigned int chan = CR_CHAN(chanlist[i]); chanlist 822 drivers/staging/comedi/drivers/das1800.c unsigned int range = CR_RANGE(chanlist[i]); chanlist 842 drivers/staging/comedi/drivers/das1800.c unsigned int range0 = CR_RANGE(cmd->chanlist[0]); chanlist 877 drivers/staging/comedi/drivers/das1800.c control_c = das1800_ai_chanspec_bits(s, cmd->chanlist[0]); chanlist 896 drivers/staging/comedi/drivers/das1800.c das1800_ai_set_chanlist(dev, cmd->chanlist, cmd->chanlist_len); chanlist 228 drivers/staging/comedi/drivers/das6402.c unsigned int chan_lo = CR_CHAN(cmd->chanlist[0]); chanlist 229 drivers/staging/comedi/drivers/das6402.c unsigned int chan_hi = CR_CHAN(cmd->chanlist[cmd->chanlist_len - 1]); chanlist 231 drivers/staging/comedi/drivers/das6402.c das6402_ai_set_mode(dev, s, cmd->chanlist[0], DAS6402_MODE_FIFONEPTY); chanlist 252 drivers/staging/comedi/drivers/das6402.c unsigned int chan0 = CR_CHAN(cmd->chanlist[0]); chanlist 253 drivers/staging/comedi/drivers/das6402.c unsigned int range0 = CR_RANGE(cmd->chanlist[0]); chanlist 254 drivers/staging/comedi/drivers/das6402.c unsigned int aref0 = CR_AREF(cmd->chanlist[0]); chanlist 258 drivers/staging/comedi/drivers/das6402.c unsigned int chan = CR_CHAN(cmd->chanlist[i]); chanlist 259 drivers/staging/comedi/drivers/das6402.c unsigned int range = CR_RANGE(cmd->chanlist[i]); chanlist 260 drivers/staging/comedi/drivers/das6402.c unsigned int aref = CR_AREF(cmd->chanlist[i]); chanlist 343 drivers/staging/comedi/drivers/das6402.c if (cmd->chanlist && cmd->chanlist_len > 0) chanlist 269 drivers/staging/comedi/drivers/das800.c unsigned int chan0 = CR_CHAN(cmd->chanlist[0]); chanlist 270 drivers/staging/comedi/drivers/das800.c unsigned int range0 = CR_RANGE(cmd->chanlist[0]); chanlist 274 drivers/staging/comedi/drivers/das800.c unsigned int chan = CR_CHAN(cmd->chanlist[i]); chanlist 275 drivers/staging/comedi/drivers/das800.c unsigned int range = CR_RANGE(cmd->chanlist[i]); chanlist 357 drivers/staging/comedi/drivers/das800.c if (cmd->chanlist && cmd->chanlist_len > 0) chanlist 372 drivers/staging/comedi/drivers/das800.c unsigned int gain = CR_RANGE(cmd->chanlist[0]); chanlist 373 drivers/staging/comedi/drivers/das800.c unsigned int start_chan = CR_CHAN(cmd->chanlist[0]); chanlist 237 drivers/staging/comedi/drivers/dmm32at.c unsigned int chan0 = CR_CHAN(cmd->chanlist[0]); chanlist 238 drivers/staging/comedi/drivers/dmm32at.c unsigned int range0 = CR_RANGE(cmd->chanlist[0]); chanlist 242 drivers/staging/comedi/drivers/dmm32at.c unsigned int chan = CR_CHAN(cmd->chanlist[i]); chanlist 243 drivers/staging/comedi/drivers/dmm32at.c unsigned int range = CR_RANGE(cmd->chanlist[i]); chanlist 323 drivers/staging/comedi/drivers/dmm32at.c if (cmd->chanlist && cmd->chanlist_len > 0) chanlist 369 drivers/staging/comedi/drivers/dmm32at.c dmm32at_ai_set_chanspec(dev, s, cmd->chanlist[0], cmd->chanlist_len); chanlist 302 drivers/staging/comedi/drivers/dt2811.c dt2811_ai_set_chanspec(dev, cmd->chanlist[0]); chanlist 179 drivers/staging/comedi/drivers/dt2814.c chan = CR_CHAN(cmd->chanlist[0]); chanlist 567 drivers/staging/comedi/drivers/dt282x.c unsigned int *chanlist) chanlist 575 drivers/staging/comedi/drivers/dt282x.c unsigned int chan = CR_CHAN(chanlist[i]); chanlist 576 drivers/staging/comedi/drivers/dt282x.c unsigned int range = CR_RANGE(chanlist[i]); chanlist 754 drivers/staging/comedi/drivers/dt282x.c dt282x_load_changain(dev, cmd->chanlist_len, cmd->chanlist); chanlist 463 drivers/staging/comedi/drivers/dt3000.c chan = CR_CHAN(cmd->chanlist[i]); chanlist 464 drivers/staging/comedi/drivers/dt3000.c range = CR_RANGE(cmd->chanlist[i]); chanlist 468 drivers/staging/comedi/drivers/dt3000.c aref = CR_AREF(cmd->chanlist[0]); chanlist 337 drivers/staging/comedi/drivers/gsc_hpdi.c unsigned int chan = CR_CHAN(cmd->chanlist[i]); chanlist 382 drivers/staging/comedi/drivers/gsc_hpdi.c if (!cmd->chanlist_len || !cmd->chanlist) { chanlist 401 drivers/staging/comedi/drivers/gsc_hpdi.c if (cmd->chanlist && cmd->chanlist_len > 0) chanlist 538 drivers/staging/comedi/drivers/me4000.c unsigned int aref0 = CR_AREF(cmd->chanlist[0]); chanlist 542 drivers/staging/comedi/drivers/me4000.c unsigned int chan = CR_CHAN(cmd->chanlist[i]); chanlist 543 drivers/staging/comedi/drivers/me4000.c unsigned int range = CR_RANGE(cmd->chanlist[i]); chanlist 544 drivers/staging/comedi/drivers/me4000.c unsigned int aref = CR_AREF(cmd->chanlist[i]); chanlist 634 drivers/staging/comedi/drivers/me4000.c unsigned int chan = CR_CHAN(cmd->chanlist[i]); chanlist 635 drivers/staging/comedi/drivers/me4000.c unsigned int range = CR_RANGE(cmd->chanlist[i]); chanlist 636 drivers/staging/comedi/drivers/me4000.c unsigned int aref = CR_AREF(cmd->chanlist[i]); chanlist 911 drivers/staging/comedi/drivers/me4000.c if (cmd->chanlist && cmd->chanlist_len > 0) chanlist 356 drivers/staging/comedi/drivers/ni_at_a2150.c unsigned int chan0 = CR_CHAN(cmd->chanlist[0]); chanlist 357 drivers/staging/comedi/drivers/ni_at_a2150.c unsigned int aref0 = CR_AREF(cmd->chanlist[0]); chanlist 373 drivers/staging/comedi/drivers/ni_at_a2150.c unsigned int chan = CR_CHAN(cmd->chanlist[i]); chanlist 374 drivers/staging/comedi/drivers/ni_at_a2150.c unsigned int aref = CR_AREF(cmd->chanlist[i]); chanlist 455 drivers/staging/comedi/drivers/ni_at_a2150.c if (cmd->chanlist && cmd->chanlist_len > 0) chanlist 483 drivers/staging/comedi/drivers/ni_at_a2150.c if (a2150_set_chanlist(dev, CR_CHAN(cmd->chanlist[0]), chanlist 488 drivers/staging/comedi/drivers/ni_at_a2150.c if (CR_AREF(cmd->chanlist[0]) == AREF_OTHER) chanlist 492 drivers/staging/comedi/drivers/ni_at_a2150.c if (CR_AREF(cmd->chanlist[2]) == AREF_OTHER) chanlist 325 drivers/staging/comedi/drivers/ni_atmio16d.c chan = CR_CHAN(cmd->chanlist[i]); chanlist 326 drivers/staging/comedi/drivers/ni_atmio16d.c gain = CR_RANGE(cmd->chanlist[i]); chanlist 425 drivers/staging/comedi/drivers/ni_labpc_common.c if (!cmd->chanlist) chanlist 428 drivers/staging/comedi/drivers/ni_labpc_common.c chan0 = CR_CHAN(cmd->chanlist[0]); chanlist 429 drivers/staging/comedi/drivers/ni_labpc_common.c chan1 = CR_CHAN(cmd->chanlist[1]); chanlist 445 drivers/staging/comedi/drivers/ni_labpc_common.c unsigned int chan0 = CR_CHAN(cmd->chanlist[0]); chanlist 446 drivers/staging/comedi/drivers/ni_labpc_common.c unsigned int range0 = CR_RANGE(cmd->chanlist[0]); chanlist 447 drivers/staging/comedi/drivers/ni_labpc_common.c unsigned int aref0 = CR_AREF(cmd->chanlist[0]); chanlist 451 drivers/staging/comedi/drivers/ni_labpc_common.c unsigned int chan = CR_CHAN(cmd->chanlist[i]); chanlist 452 drivers/staging/comedi/drivers/ni_labpc_common.c unsigned int range = CR_RANGE(cmd->chanlist[i]); chanlist 453 drivers/staging/comedi/drivers/ni_labpc_common.c unsigned int aref = CR_AREF(cmd->chanlist[i]); chanlist 604 drivers/staging/comedi/drivers/ni_labpc_common.c if (cmd->chanlist && cmd->chanlist_len > 0) chanlist 621 drivers/staging/comedi/drivers/ni_labpc_common.c cmd->chanlist[cmd->chanlist_len - 1] : chanlist 622 drivers/staging/comedi/drivers/ni_labpc_common.c cmd->chanlist[0]; chanlist 2181 drivers/staging/comedi/drivers/ni_mio_common.c ni_load_channelgain_list(dev, s, cmd->chanlist_len, cmd->chanlist); chanlist 2529 drivers/staging/comedi/drivers/ni_mio_common.c unsigned int range = CR_RANGE(cmd->chanlist[chan_index]); chanlist 3173 drivers/staging/comedi/drivers/ni_mio_common.c int chan = CR_CHAN(cmd->chanlist[i]); chanlist 3181 drivers/staging/comedi/drivers/ni_mio_common.c ni_ao_config_chanlist(dev, s, cmd->chanlist, cmd->chanlist_len, 1); chanlist 3195 drivers/staging/comedi/drivers/ni_mio_common.c CR_CHAN(cmd->chanlist[0])); chanlist 3536 drivers/staging/comedi/drivers/ni_mio_common.c unsigned int chan = CR_CHAN(cmd->chanlist[i]); chanlist 3598 drivers/staging/comedi/drivers/ni_mio_common.c if (cmd->chanlist && cmd->chanlist_len > 0) chanlist 343 drivers/staging/comedi/drivers/pcl711.c pcl711_set_changain(dev, s, cmd->chanlist[0]); chanlist 712 drivers/staging/comedi/drivers/pcl812.c pcl812_ai_set_chan_range(dev, cmd->chanlist[0], 1); chanlist 717 drivers/staging/comedi/drivers/pcl812.c if (cmd->chanlist[0] != cmd->chanlist[i]) { chanlist 792 drivers/staging/comedi/drivers/pcl812.c if (cmd->chanlist[chan] != cmd->chanlist[next_chan]) chanlist 793 drivers/staging/comedi/drivers/pcl812.c pcl812_ai_set_chan_range(dev, cmd->chanlist[next_chan], 0); chanlist 153 drivers/staging/comedi/drivers/pcl816.c unsigned int *chanlist, chanlist 156 drivers/staging/comedi/drivers/pcl816.c unsigned int first_chan = CR_CHAN(chanlist[0]); chanlist 163 drivers/staging/comedi/drivers/pcl816.c last_chan = CR_CHAN(chanlist[i]); chanlist 164 drivers/staging/comedi/drivers/pcl816.c range = CR_RANGE(chanlist[i]); chanlist 281 drivers/staging/comedi/drivers/pcl816.c unsigned int *chanlist, chanlist 295 drivers/staging/comedi/drivers/pcl816.c chansegment[0] = chanlist[0]; chanlist 298 drivers/staging/comedi/drivers/pcl816.c if (chanlist[0] == chanlist[i]) chanlist 302 drivers/staging/comedi/drivers/pcl816.c if (nowmustbechan != CR_CHAN(chanlist[i])) { chanlist 306 drivers/staging/comedi/drivers/pcl816.c i, CR_CHAN(chanlist[i]), nowmustbechan, chanlist 307 drivers/staging/comedi/drivers/pcl816.c CR_CHAN(chanlist[0])); chanlist 311 drivers/staging/comedi/drivers/pcl816.c chansegment[i] = chanlist[i]; chanlist 316 drivers/staging/comedi/drivers/pcl816.c if (chanlist[i] != chansegment[i % seglen]) { chanlist 322 drivers/staging/comedi/drivers/pcl816.c CR_CHAN(chanlist[i % seglen]), chanlist 323 drivers/staging/comedi/drivers/pcl816.c CR_RANGE(chanlist[i % seglen]), chanlist 396 drivers/staging/comedi/drivers/pcl816.c if (cmd->chanlist) { chanlist 397 drivers/staging/comedi/drivers/pcl816.c if (!check_channel_list(dev, s, cmd->chanlist, chanlist 416 drivers/staging/comedi/drivers/pcl816.c seglen = check_channel_list(dev, s, cmd->chanlist, cmd->chanlist_len); chanlist 419 drivers/staging/comedi/drivers/pcl816.c pcl816_ai_setup_chanlist(dev, cmd->chanlist, seglen); chanlist 342 drivers/staging/comedi/drivers/pcl818.c unsigned int *chanlist, chanlist 346 drivers/staging/comedi/drivers/pcl818.c unsigned int first_chan = CR_CHAN(chanlist[0]); chanlist 356 drivers/staging/comedi/drivers/pcl818.c last_chan = CR_CHAN(chanlist[i]); chanlist 357 drivers/staging/comedi/drivers/pcl818.c range = CR_RANGE(chanlist[i]); chanlist 573 drivers/staging/comedi/drivers/pcl818.c unsigned int *chanlist, unsigned int n_chan) chanlist 586 drivers/staging/comedi/drivers/pcl818.c chansegment[0] = chanlist[0]; chanlist 591 drivers/staging/comedi/drivers/pcl818.c if (chanlist[0] == chanlist[i]) chanlist 595 drivers/staging/comedi/drivers/pcl818.c if (nowmustbechan != CR_CHAN(chanlist[i])) { chanlist 599 drivers/staging/comedi/drivers/pcl818.c i, CR_CHAN(chanlist[i]), nowmustbechan, chanlist 600 drivers/staging/comedi/drivers/pcl818.c CR_CHAN(chanlist[0])); chanlist 604 drivers/staging/comedi/drivers/pcl818.c chansegment[i] = chanlist[i]; chanlist 609 drivers/staging/comedi/drivers/pcl818.c if (chanlist[i] != chansegment[i % seglen]) { chanlist 615 drivers/staging/comedi/drivers/pcl818.c CR_CHAN(chanlist[i % seglen]), chanlist 616 drivers/staging/comedi/drivers/pcl818.c CR_RANGE(chanlist[i % seglen]), chanlist 699 drivers/staging/comedi/drivers/pcl818.c if (cmd->chanlist) { chanlist 700 drivers/staging/comedi/drivers/pcl818.c if (!check_channel_list(dev, s, cmd->chanlist, chanlist 720 drivers/staging/comedi/drivers/pcl818.c seglen = check_channel_list(dev, s, cmd->chanlist, cmd->chanlist_len); chanlist 723 drivers/staging/comedi/drivers/pcl818.c pcl818_ai_setup_chanlist(dev, cmd->chanlist, seglen); chanlist 341 drivers/staging/comedi/drivers/pcmmio.c unsigned int chan = CR_CHAN(cmd->chanlist[i]); chanlist 392 drivers/staging/comedi/drivers/pcmmio.c if (cmd->chanlist) { chanlist 394 drivers/staging/comedi/drivers/pcmmio.c unsigned int chanspec = cmd->chanlist[i]; chanlist 320 drivers/staging/comedi/drivers/pcmuio.c unsigned int chan = CR_CHAN(cmd->chanlist[i]); chanlist 388 drivers/staging/comedi/drivers/pcmuio.c if (cmd->chanlist) { chanlist 390 drivers/staging/comedi/drivers/pcmuio.c unsigned int chanspec = cmd->chanlist[i]; chanlist 502 drivers/staging/comedi/drivers/quatech_daqp_cs.c daqp_ai_set_one_scanlist_entry(dev, cmd->chanlist[i], start); chanlist 584 drivers/staging/comedi/drivers/rtd520.c unsigned int range = CR_RANGE(cmd->chanlist[async->cur_chan]); chanlist 847 drivers/staging/comedi/drivers/rtd520.c rtd_load_channelgain_list(dev, cmd->chanlist_len, cmd->chanlist); chanlist 1592 drivers/staging/comedi/drivers/s626.c if (CR_RANGE(cmd->chanlist[n]) == 0) chanlist 1593 drivers/staging/comedi/drivers/s626.c ppl[n] = CR_CHAN(cmd->chanlist[n]) | S626_RANGE_5V; chanlist 1595 drivers/staging/comedi/drivers/s626.c ppl[n] = CR_CHAN(cmd->chanlist[n]) | S626_RANGE_10V; chanlist 255 drivers/staging/comedi/drivers/usbdux.c unsigned int range = CR_RANGE(cmd->chanlist[i]); chanlist 392 drivers/staging/comedi/drivers/usbdux.c unsigned int chan = CR_CHAN(cmd->chanlist[i]); chanlist 676 drivers/staging/comedi/drivers/usbdux.c unsigned int chan = CR_CHAN(cmd->chanlist[i]); chanlist 677 drivers/staging/comedi/drivers/usbdux.c unsigned int range = CR_RANGE(cmd->chanlist[i]); chanlist 323 drivers/staging/comedi/drivers/usbduxfast.c unsigned int gain0 = CR_RANGE(cmd->chanlist[0]); chanlist 332 drivers/staging/comedi/drivers/usbduxfast.c unsigned int chan = CR_CHAN(cmd->chanlist[i]); chanlist 333 drivers/staging/comedi/drivers/usbduxfast.c unsigned int gain = CR_RANGE(cmd->chanlist[i]); chanlist 426 drivers/staging/comedi/drivers/usbduxfast.c if (cmd->chanlist && cmd->chanlist_len > 0) chanlist 493 drivers/staging/comedi/drivers/usbduxfast.c if (CR_RANGE(cmd->chanlist[0]) > 0) chanlist 576 drivers/staging/comedi/drivers/usbduxfast.c if (CR_RANGE(cmd->chanlist[0]) > 0) chanlist 587 drivers/staging/comedi/drivers/usbduxfast.c if (CR_RANGE(cmd->chanlist[1]) > 0) chanlist 610 drivers/staging/comedi/drivers/usbduxfast.c if (CR_RANGE(cmd->chanlist[0]) > 0) chanlist 634 drivers/staging/comedi/drivers/usbduxfast.c if (CR_RANGE(cmd->chanlist[j]) > 0) chanlist 647 drivers/staging/comedi/drivers/usbduxfast.c if (CR_RANGE(cmd->chanlist[j + 1]) > 0) chanlist 667 drivers/staging/comedi/drivers/usbduxfast.c if (CR_RANGE(cmd->chanlist[0]) > 0) chanlist 682 drivers/staging/comedi/drivers/usbduxfast.c if (CR_RANGE(cmd->chanlist[0]) > 0) chanlist 352 drivers/staging/comedi/drivers/usbduxsigma.c unsigned int chan = CR_CHAN(cmd->chanlist[i]); chanlist 651 drivers/staging/comedi/drivers/usbduxsigma.c unsigned int chan = CR_CHAN(cmd->chanlist[i]); chanlist 109 drivers/staging/comedi/range.c unsigned int *chanlist) chanlist 116 drivers/staging/comedi/range.c chanspec = chanlist[i];