Home
last modified time | relevance | path

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

/linux-6.6.21/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.c109 const struct comedi_krange *krange = in fake_sawtooth() local
115 do_div(binary_amplitude, krange->max - krange->min); in fake_sawtooth()
141 const struct comedi_krange *krange = in fake_squarewave() local
146 do_div(value, krange->max - krange->min); in fake_squarewave()
Dni_mio_common.c2573 const struct comedi_krange *krange; in ni_m_series_ao_config_chanlist() local
2577 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()
/linux-6.6.21/drivers/gpu/drm/
Ddrm_gpuva_mgr.c640 u64 krange = mgr->kernel_alloc_node.va.range; in drm_gpuva_in_kernel_node() local
641 u64 kend = kstart + krange; in drm_gpuva_in_kernel_node()
643 return krange && addr < kend && kstart < end; in drm_gpuva_in_kernel_node()