Home
last modified time | relevance | path

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

/u-boot/cmd/
A Dadc.c38 unsigned int data_mask, ch_mask; in do_adc_info() local
52 ret = adc_channel_mask(dev, &ch_mask); in do_adc_info()
54 printf("channel mask: %x\n", ch_mask); in do_adc_info()
103 unsigned int ch_mask; in do_adc_scan() local
117 ch_mask = simple_strtoul(argv[2], NULL, 0); in do_adc_scan()
118 if (ch_mask) in do_adc_scan()
121 ret = adc_channel_mask(dev, &ch_mask); in do_adc_scan()
129 ret = adc_channels_single_shot(dev->name, ch_mask, ch); in do_adc_scan()
132 dev->name, ch_mask, ret); in do_adc_scan()
137 if (!(ch_mask & ADC_CHANNEL(chan))) in do_adc_scan()

Completed in 3 milliseconds