Searched refs:krange (Results 1 – 4 of 4) sorted by relevance
960 struct comedi_krange *krange; in das16_ai_range() local970 krange = lrange->range; in das16_ai_range()971 krange->min = min; in das16_ai_range()972 krange->max = max; in das16_ai_range()973 krange->flags = UNIT_volt; in das16_ai_range()994 struct comedi_krange *krange; in das16_ao_range() local1004 krange = lrange->range; in das16_ao_range()1005 krange->min = min; in das16_ao_range()1006 krange->max = max; in das16_ao_range()1007 krange->flags = UNIT_volt; in das16_ao_range()
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()
2573 const struct comedi_krange *krange; in ni_m_series_ao_config_chanlist() local2577 krange = s->range_table->range + range; in ni_m_series_ao_config_chanlist()2580 switch (krange->max - krange->min) { in ni_m_series_ao_config_chanlist()2604 switch (krange->max + krange->min) { in ni_m_series_ao_config_chanlist()
640 u64 krange = mgr->kernel_alloc_node.va.range; in drm_gpuva_in_kernel_node() local641 u64 kend = kstart + krange; in drm_gpuva_in_kernel_node()643 return krange && addr < kend && kstart < end; in drm_gpuva_in_kernel_node()