| /linux/drivers/iio/adc/ |
| H A D | mcp320x.c | 66 unsigned int resolution; member 222 *val2 = adc->chip_info->resolution; in mcp320x_read_raw() 304 .resolution = 10 309 .resolution = 10 314 .resolution = 10 319 .resolution = 10 324 .resolution = 12 329 .resolution = 12 334 .resolution = 12 339 .resolution = 12 [all …]
|
| H A D | ltc2497.c | 67 - BIT(ddata->chip_info->resolution + 1); in ltc2497_result_and_measure() 70 - BIT(ddata->chip_info->resolution + 1); in ltc2497_result_and_measure() 101 u32 resolution; in ltc2497_probe() local 119 resolution = chip_info->resolution; in ltc2497_probe() 120 st->recv_size = BITS_TO_BYTES(resolution) + 1; in ltc2497_probe() 134 .resolution = 16, 138 .resolution = 24,
|
| /linux/sound/core/ |
| H A D | hrtimer.c | 23 static unsigned int resolution __ro_after_init; variable 49 ticks += ktime_divns(delta, ticks * resolution); in snd_hrtimer_callback() 55 hrtimer_add_expires_ns(hrt, t->sticks * resolution); in snd_hrtimer_callback() 99 hrtimer_start(&stime->hrt, ns_to_ktime(t->sticks * resolution), in snd_hrtimer_start() 133 resolution = hrtimer_resolution; in snd_hrtimer_init() 144 timer->hw.resolution = resolution; in snd_hrtimer_init() 145 timer->hw.ticks = NANO_SEC / resolution; in snd_hrtimer_init()
|
| H A D | timer.c | 95 unsigned int resolution; /* current period resolution in ns */ member 107 unsigned int resolution; /* current period resolution in ns */ member 553 return timer->hw.resolution; in snd_timer_hw_resolution() 576 unsigned long resolution = 0; in snd_timer_notify1() local 590 resolution = snd_timer_hw_resolution(timer); in snd_timer_notify1() 592 ti->ccallback(ti, event, &tstamp, resolution); in snd_timer_notify1() 602 ts->ccallback(ts, event, &tstamp, resolution); in snd_timer_notify1() 837 unsigned long resolution, ticks; in snd_timer_process_callbacks() local 849 resolution = ti->resolution; in snd_timer_process_callbacks() 853 ti->callback(ti, resolution, ticks); in snd_timer_process_callbacks() [all …]
|
| /linux/drivers/iio/dac/ |
| H A D | ti-dac082s085.c | 24 u8 resolution; member 28 [dual_8bit] = { .num_channels = 2, .resolution = 8 }, 29 [dual_10bit] = { .num_channels = 2, .resolution = 10 }, 30 [dual_12bit] = { .num_channels = 2, .resolution = 12 }, 31 [quad_8bit] = { .num_channels = 4, .resolution = 8 }, 32 [quad_10bit] = { .num_channels = 4, .resolution = 10 }, 33 [quad_12bit] = { .num_channels = 4, .resolution = 12 }, 56 u8 resolution; member 67 u8 shift = 12 - ti_dac->resolution; in ti_dac_cmd() 204 *val2 = ti_dac->resolution; in ti_dac_read_raw() [all …]
|
| H A D | mcp47feb02.c | 105 unsigned int resolution; member 113 .resolution = 8, 121 .resolution = 8, 129 .resolution = 8, 137 .resolution = 8, 145 .resolution = 10, 153 .resolution = 10, 161 .resolution = 10, 169 .resolution = 10, 177 .resolution = 12, [all …]
|
| H A D | mcp4821.c | 75 #define MCP4821_CHAN(channel_id, resolution) \ argument 83 .realbits = (resolution), \ 84 .shift = 12 - (resolution), \ 156 static void mcp4821_calc_scale(int vref_mv, int resolution, in mcp4821_calc_scale() argument 162 tmp = (s64)vref_mv * MICRO >> resolution; in mcp4821_calc_scale() 224 int resolution) in mcp4821_init_avail_gain() argument 227 state->scale_avail[1] = resolution; in mcp4821_init_avail_gain() 229 state->scale_avail[3] = resolution; in mcp4821_init_avail_gain()
|
| H A D | ti-dac5571.c | 33 u8 resolution; member 37 [single_8bit] = {.num_channels = 1, .resolution = 8}, 38 [single_10bit] = {.num_channels = 1, .resolution = 10}, 39 [single_12bit] = {.num_channels = 1, .resolution = 12}, 40 [quad_8bit] = {.num_channels = 4, .resolution = 8}, 41 [quad_10bit] = {.num_channels = 4, .resolution = 10}, 42 [quad_12bit] = {.num_channels = 4, .resolution = 12}, 69 shift = 12 - data->spec->resolution; in dac5571_cmd_single() 83 shift = 16 - data->spec->resolution; in dac5571_cmd_quad() 257 *val2 = data->spec->resolution; in dac5571_read_raw() [all …]
|
| /linux/sound/core/seq/ |
| H A D | seq_timer.c | 27 tmr->tick.resolution = (tmr->tempo * tmr->tempo_base) / tmr->ppq; in snd_seq_timer_set_tick_resolution() 33 tmr->tick.resolution = (tmr->tempo / tmr->ppq) * tmr->tempo_base; in snd_seq_timer_set_tick_resolution() 34 tmr->tick.resolution += s; in snd_seq_timer_set_tick_resolution() 36 if (tmr->tick.resolution <= 0) in snd_seq_timer_set_tick_resolution() 37 tmr->tick.resolution = 1; in snd_seq_timer_set_tick_resolution() 130 unsigned long resolution, in snd_seq_timer_interrupt() argument 146 resolution *= ticks; in snd_seq_timer_interrupt() 149 resolution = (resolution >> 16) * tmr->skew + in snd_seq_timer_interrupt() 150 (((resolution & 0xffff) * tmr->skew) >> 16); in snd_seq_timer_interrupt() 154 snd_seq_inc_time_nsec(&tmr->cur_time, resolution); in snd_seq_timer_interrupt() [all …]
|
| H A D | seq_timer.h | 14 unsigned long resolution; /* time per tick in nsec */ member 55 unsigned long resolution) in snd_seq_timer_update_tick() argument 57 if (tick->resolution > 0) { in snd_seq_timer_update_tick() 58 tick->fraction += resolution; in snd_seq_timer_update_tick() 59 tick->cur_tick += (unsigned int)(tick->fraction / tick->resolution); in snd_seq_timer_update_tick() 60 tick->fraction %= tick->resolution; in snd_seq_timer_update_tick()
|
| /linux/scripts/kconfig/tests/err_recursive_dep/ |
| H A D | expected_stderr | 3 For a resolution refer to Documentation/kbuild/kconfig-language.rst 8 For a resolution refer to Documentation/kbuild/kconfig-language.rst 14 For a resolution refer to Documentation/kbuild/kconfig-language.rst 20 For a resolution refer to Documentation/kbuild/kconfig-language.rst 26 For a resolution refer to Documentation/kbuild/kconfig-language.rst 32 For a resolution refer to Documentation/kbuild/kconfig-language.rst 37 For a resolution refer to Documentation/kbuild/kconfig-language.rst
|
| /linux/Documentation/timers/ |
| H A D | hrtimers.rst | 2 hrtimers - subsystem for high-resolution kernel timers 5 This patch introduces a new subsystem for high-resolution kernel timers. 9 back and forth trying to integrate high-resolution and high-precision 11 such high-resolution timer implementations in practice, we came to the 18 - the forced handling of low-resolution and high-resolution timers in 30 necessitate a more complex handling of high resolution timers, which 62 high-resolution timer subsystem as well. 64 While this subsystem does not offer high-resolution clock sources just 65 yet, the hrtimer subsystem can be easily extended with high-resolution 73 resolution and low precision use cases - once the precision-sensitive [all …]
|
| H A D | highres.rst | 2 High resolution timers and dynamic ticks design notes 26 - high resolution timer functionality 82 functionality like high resolution timers or dynamic ticks. 102 accounting, profiling, and high resolution timers. 132 utilize the high resolution and dynamic tick functionalities without any change 134 enabling of high resolution timers and dynamic ticks is simply provided by 142 high resolution timer functionality 145 During system boot it is not possible to use the high resolution timer 150 the high resolution functionality can work. Up to the point where hrtimers are 151 initialized, the system works in the usual low resolution periodic mode. The [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-driver-w1_therm | 47 What: /sys/bus/w1/devices/.../resolution 51 (RW) get or set the device resolution (on supported devices, 52 if not, this entry is not present). Note that the resolution 57 * '9..14': device resolution in bit 58 or resolution to set in bit 59 * '-xx': xx is kernel error when reading the resolution 62 Some DS18B20 clones are fixed in 12-bit resolution, so the 63 actual resolution is read back from the chip and verified. Error 82 conversion duration depend on the resolution (if 84 resolution, 750ms for 12bits. [all …]
|
| /linux/samples/hid/ |
| H A D | hid_surface_dial.c | 121 int err, opt, hid_id, resolution = 72; in main() local 143 resolution = (int) l; in main() 183 skel->data->resolution = resolution; in main() 184 skel->data->physical = (int)(resolution / 72); in main()
|
| /linux/drivers/watchdog/ |
| H A D | bcm_kona_wdt.c | 32 #define SECS_TO_TICKS(x, w) ((x) << (w)->resolution) 33 #define TICKS_TO_SECS(x, w) ((x) >> (w)->resolution) 50 int resolution; member 124 res, wdt->resolution, in bcm_kona_show() 192 if (wdt->resolution > SECWDOG_MAX_RES) in bcm_kona_wdt_set_resolution_reg() 196 wdt->resolution << SECWDOG_CLKS_SHIFT); in bcm_kona_wdt_set_resolution_reg() 284 wdt->resolution = SECWDOG_DEFAULT_RESOLUTION; in bcm_kona_wdt_probe()
|
| /linux/sound/drivers/pcsp/ |
| H A D | pcsp.c | 45 unsigned int resolution = hrtimer_resolution; in snd_pcsp_create() local 49 if (resolution > PCSP_MAX_PERIOD_NS) { in snd_pcsp_create() 52 resolution); in snd_pcsp_create() 60 if (loops_per_jiffy >= PCSP_MIN_LPJ && resolution <= PCSP_MIN_PERIOD_NS) in snd_pcsp_create() 66 loops_per_jiffy, min_div, resolution); in snd_pcsp_create()
|
| /linux/drivers/input/mouse/ |
| H A D | lifebook.c | 228 static void lifebook_set_resolution(struct psmouse *psmouse, unsigned int resolution) in lifebook_set_resolution() argument 233 if (resolution == 0 || resolution > 400) in lifebook_set_resolution() 234 resolution = 400; in lifebook_set_resolution() 236 p = params[resolution / 100]; in lifebook_set_resolution() 238 psmouse->resolution = 50 << p; in lifebook_set_resolution()
|
| /linux/drivers/comedi/drivers/ |
| H A D | das800.c | 92 int resolution; member 165 .resolution = 12, 171 .resolution = 12, 177 .resolution = 12, 183 .resolution = 12, 189 .resolution = 12, 195 .resolution = 12, 201 .resolution = 16, 238 if (board->resolution == 16) in das800_enable() 385 if (board->resolution == 12 && gain > 0) in das800_ai_do_cmd() [all …]
|
| /linux/Documentation/hwmon/ |
| H A D | lm73.rst | 32 LSB: 0.25, 0.125, 0.0625, and 0.3125. Changing the resolution mode 34 From userspace, the desired resolution can be specified as a function of 37 maximum times defined for the resolution in the datasheet. 81 Mathematically, the resolution can be derived from the conversion time 87 resolution in degrees C per LSB.
|
| H A D | tmp513.rst | 35 -40 to + 125 degrees with a resolution of 0.0625 degree C. 40 0 to 127.5 degrees with a resolution of 0.5 degree. 54 shunt resistor value. The value resolution will be equal to 10uV/Rshunt. 68 The bus voltage range is read from the chip with a resolution of 4mV. The chip 84 The bus power and bus currents range and resolution depends on the calibration
|
| /linux/Documentation/fb/ |
| H A D | efifb.rst | 36 For GOP displays, efifb can autodetect the display's resolution and framebuffer 55 horizontal and vertical resolution, and optionally bit depth, and set 61 The EFI stub will choose the mode with the highest resolution (product 62 of horizontal and vertical resolution). If there are multiple modes 63 with the highest resolution, it will choose one with the highest color
|
| /linux/lib/fonts/ |
| H A D | Kconfig | 29 This is the "high resolution" font for the VGA frame buffer (the one 35 Given the resolution provided by the frame buffer device, answer N 42 This is the "high resolution" font for the VGA frame buffer (the one 95 This is a high resolution console font for machines with very 104 This is the high resolution console font for Sun machines. Say Y. 111 This is the high resolution console font for Sun machines with very 122 This is the high resolution version made for use with 13-16" laptops. 133 This is the high resolution, large version for use with HiDPI screens.
|
| /linux/Documentation/userspace-api/media/rc/ |
| H A D | lirc-get-rec-resolution.rst | 13 LIRC_GET_REC_RESOLUTION - Obtain the value of receive resolution, in microseconds. 34 Some receivers have maximum resolution which is defined by internal 38 This ioctl returns the integer value with such resolution, with can be
|
| /linux/drivers/hwmon/ |
| H A D | lm75.c | 114 u8 resolution; /* In bits, 9 to 16 */ member 349 static inline long lm75_reg_to_mc(s16 temp, u8 resolution) in lm75_reg_to_mc() argument 351 return ((temp >> (16 - resolution)) * 1000) >> (resolution - 8); in lm75_reg_to_mc() 427 *val = lm75_reg_to_mc(regval, data->resolution); in lm75_read() 439 u8 resolution; in lm75_write_temp() local 458 resolution = data->params->resolution_limits; in lm75_write_temp() 460 resolution = data->resolution; in lm75_write_temp() 463 temp = DIV_ROUND_CLOSEST(temp << (resolution - 8), in lm75_write_temp() 464 1000) << (16 - resolution); in lm75_write_temp() 487 data->resolution = data->params->resolutions[index]; in lm75_update_interval() [all …]
|