Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/comedi/drivers/
Ddas16.c960 struct comedi_krange *krange; in das16_ai_range() local
970 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() local
1004 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()
Dcomedi_test.c111 const struct comedi_krange *krange = in fake_sawtooth() local
117 do_div(binary_amplitude, krange->max - krange->min); in fake_sawtooth()
143 const struct comedi_krange *krange = in fake_squarewave() local
148 do_div(value, krange->max - krange->min); in fake_squarewave()
Dni_mio_common.c2588 const struct comedi_krange *krange; in ni_m_series_ao_config_chanlist() local
2592 krange = s->range_table->range + range; in ni_m_series_ao_config_chanlist()
2595 switch (krange->max - krange->min) { in ni_m_series_ao_config_chanlist()
2619 switch (krange->max + krange->min) { in ni_m_series_ao_config_chanlist()
/linux-6.12.1/drivers/gpu/drm/
Ddrm_gpuvm.c914 u64 krange = gpuvm->kernel_alloc_node.va.range; in drm_gpuvm_in_kernel_node() local
915 u64 kend = kstart + krange; in drm_gpuvm_in_kernel_node()
917 return krange && addr < kend && kstart < end; in drm_gpuvm_in_kernel_node()