Home
last modified time | relevance | path

Searched refs:chansegment (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/comedi/drivers/
H A Dpcl816.c282 unsigned int chansegment[16]; in check_channel_list() local
293 chansegment[0] = chanlist[0]; in check_channel_list()
299 (CR_CHAN(chansegment[i - 1]) + 1) % chanlen; in check_channel_list()
309 chansegment[i] = chanlist[i]; in check_channel_list()
314 if (chanlist[i] != chansegment[i % seglen]) { in check_channel_list()
317 i, CR_CHAN(chansegment[i]), in check_channel_list()
318 CR_RANGE(chansegment[i]), in check_channel_list()
319 CR_AREF(chansegment[i]), in check_channel_list()
322 CR_AREF(chansegment[i % seglen])); in check_channel_list()
H A Dpcl818.c573 unsigned int chansegment[16]; in check_channel_list() local
584 chansegment[0] = chanlist[0]; in check_channel_list()
592 (CR_CHAN(chansegment[i - 1]) + 1) % s->n_chan; in check_channel_list()
602 chansegment[i] = chanlist[i]; in check_channel_list()
607 if (chanlist[i] != chansegment[i % seglen]) { in check_channel_list()
610 i, CR_CHAN(chansegment[i]), in check_channel_list()
611 CR_RANGE(chansegment[i]), in check_channel_list()
612 CR_AREF(chansegment[i]), in check_channel_list()
615 CR_AREF(chansegment[i % seglen])); in check_channel_list()
H A Dadv_pci1710.c188 unsigned int chansegment[32]; in pci1710_ai_check_chanlist() local
198 chansegment[0] = cmd->chanlist[0]; in pci1710_ai_check_chanlist()
223 chansegment[i] = cmd->chanlist[i]; in pci1710_ai_check_chanlist()
229 if (cmd->chanlist[i] != chansegment[i % seglen]) { in pci1710_ai_check_chanlist()
232 i, CR_CHAN(chansegment[i]), in pci1710_ai_check_chanlist()
233 CR_RANGE(chansegment[i]), in pci1710_ai_check_chanlist()
234 CR_AREF(chansegment[i]), in pci1710_ai_check_chanlist()
237 CR_AREF(chansegment[i % seglen])); in pci1710_ai_check_chanlist()