Lines Matching refs:ch_data

636 	double ch_data;  in fdc2x1x_channel_get()  local
640 fdc2x1x_raw_to_freq(dev, 0, &ch_data); in fdc2x1x_channel_get()
641 val->val1 = (uint32_t)ch_data; in fdc2x1x_channel_get()
642 val->val2 = ((uint32_t)(ch_data * 1000000)) % 1000000; in fdc2x1x_channel_get()
646 fdc2x1x_raw_to_freq(dev, 1, &ch_data); in fdc2x1x_channel_get()
647 val->val1 = (uint32_t)ch_data; in fdc2x1x_channel_get()
648 val->val2 = ((uint32_t)(ch_data * 1000000)) % 1000000; in fdc2x1x_channel_get()
656 fdc2x1x_raw_to_freq(dev, 2, &ch_data); in fdc2x1x_channel_get()
657 val->val1 = (uint32_t)ch_data; in fdc2x1x_channel_get()
658 val->val2 = ((uint32_t)(ch_data * 1000000)) % 1000000; in fdc2x1x_channel_get()
666 fdc2x1x_raw_to_freq(dev, 3, &ch_data); in fdc2x1x_channel_get()
667 val->val1 = (uint32_t)ch_data; in fdc2x1x_channel_get()
668 val->val2 = ((uint32_t)(ch_data * 1000000)) % 1000000; in fdc2x1x_channel_get()
675 fdc2x1x_raw_to_freq(dev, 0, &ch_data); in fdc2x1x_channel_get()
676 fdc2x1x_raw_to_capacitance(dev, 0, ch_data, &ch_data); in fdc2x1x_channel_get()
677 val->val1 = (uint32_t)ch_data; in fdc2x1x_channel_get()
678 val->val2 = ((uint32_t)(ch_data * 1000000)) % 1000000; in fdc2x1x_channel_get()
682 fdc2x1x_raw_to_freq(dev, 1, &ch_data); in fdc2x1x_channel_get()
683 fdc2x1x_raw_to_capacitance(dev, 1, ch_data, &ch_data); in fdc2x1x_channel_get()
684 val->val1 = (uint32_t)ch_data; in fdc2x1x_channel_get()
685 val->val2 = ((uint32_t)(ch_data * 1000000)) % 1000000; in fdc2x1x_channel_get()
693 fdc2x1x_raw_to_freq(dev, 2, &ch_data); in fdc2x1x_channel_get()
694 fdc2x1x_raw_to_capacitance(dev, 2, ch_data, &ch_data); in fdc2x1x_channel_get()
695 val->val1 = (uint32_t)ch_data; in fdc2x1x_channel_get()
696 val->val2 = ((uint32_t)(ch_data * 1000000)) % 1000000; in fdc2x1x_channel_get()
704 fdc2x1x_raw_to_freq(dev, 3, &ch_data); in fdc2x1x_channel_get()
705 fdc2x1x_raw_to_capacitance(dev, 3, ch_data, &ch_data); in fdc2x1x_channel_get()
706 val->val1 = (uint32_t)ch_data; in fdc2x1x_channel_get()
707 val->val2 = ((uint32_t)(ch_data * 1000000)) % 1000000; in fdc2x1x_channel_get()