Searched refs:krange (Results 1 – 3 of 3) sorted by relevance
962 struct comedi_krange *krange; in das16_ai_range() local966 sizeof(*lrange) + sizeof(*krange)); in das16_ai_range()972 krange = lrange->range; in das16_ai_range()973 krange->min = min; in das16_ai_range()974 krange->max = max; in das16_ai_range()975 krange->flags = UNIT_volt; in das16_ai_range()996 struct comedi_krange *krange; in das16_ao_range() local1000 sizeof(*lrange) + sizeof(*krange)); in das16_ao_range()1006 krange = lrange->range; in das16_ao_range()1007 krange->min = min; in das16_ao_range()[all …]
109 const struct comedi_krange *krange = in fake_sawtooth() local115 do_div(binary_amplitude, krange->max - krange->min); in fake_sawtooth()141 const struct comedi_krange *krange = in fake_squarewave() local146 do_div(value, krange->max - krange->min); in fake_squarewave()
2562 const struct comedi_krange *krange; in ni_m_series_ao_config_chanlist() local2566 krange = s->range_table->range + range; in ni_m_series_ao_config_chanlist()2569 switch (krange->max - krange->min) { in ni_m_series_ao_config_chanlist()2593 switch (krange->max + krange->min) { in ni_m_series_ao_config_chanlist()