/linux-master/sound/core/ |
H A D | timer.c | 93 unsigned int resolution; /* current period resolution in ns */ member in struct:snd_timer_status32 105 unsigned int resolution; /* current period resolution in ns */ member in struct:snd_timer_status64 476 return timer->hw.resolution; 498 unsigned long resolution = 0; local 512 resolution = snd_timer_hw_resolution(timer); 514 ti->ccallback(ti, event, &tstamp, resolution); 524 ts->ccallback(ts, event, &tstamp, resolution); 749 unsigned long resolution, tick local 807 unsigned long resolution; local 1030 unsigned long resolution = 0; local 1202 unsigned long resolution; local 1275 snd_timer_user_interrupt(struct snd_timer_instance *timeri, unsigned long resolution, unsigned long ticks) argument 1318 snd_timer_user_ccallback(struct snd_timer_instance *timeri, int event, struct timespec64 *tstamp, unsigned long resolution) argument 1350 snd_timer_user_tinterrupt(struct snd_timer_instance *timeri, unsigned long resolution, unsigned long ticks) argument 1774 u64 resolution; local [all...] |
H A D | pcm_timer.c | 44 "pcm timer resolution out of range (rate = %u, period_size = %lu)\n", 81 .resolution = 0,
|
/linux-master/drivers/media/pci/tw5864/ |
H A D | tw5864.h | 47 enum resolution { enum 93 enum resolution resolution; member in struct:tw5864_input
|
/linux-master/drivers/iio/dac/ |
H A D | mcp4821.c | 54 #define MCP4821_CHAN(channel_id, resolution) \ 61 .realbits = (resolution), \ 62 .shift = 12 - (resolution), \
|
/linux-master/drivers/hwmon/ |
H A D | sch56xx-common.c | 356 unsigned int resolution; local 360 /* 1 second or 60 second resolution? */ 362 resolution = 1; 364 resolution = 60; 366 if (timeout < resolution || timeout > (resolution * 255)) 369 if (resolution == 1) 390 data->watchdog_preset = DIV_ROUND_UP(timeout, resolution); 391 wddev->timeout = data->watchdog_preset * resolution;
|
H A D | lm90.c | 9 * one external one) with a 0.125 deg resolution (1 deg for local 413 u8 resolution; /* 16-bit resolution (default 11 bit) */ member in struct:lm90_params 426 .resolution = 8, 451 .resolution = 10, 471 .resolution = 10, 484 .resolution = 8, 510 .resolution = 8, 517 .resolution = 10, 594 .resolution 710 u8 resolution; /* temperature resolution in bit */ member in struct:lm90_data 1336 lm90_temp_from_reg(u32 flags, u16 regval, u8 resolution) argument 1362 lm90_temp_to_reg(u32 flags, long val, u8 resolution) argument [all...] |
H A D | max31827.c | 99 unsigned int resolution; member in struct:max31827_state 237 msleep(max31827_conv_times[st->resolution]); 241 * For 12-bit resolution the conversion time is 140 ms, 245 if (max31827_resolutions[st->resolution] == 12 && 454 * Convert the desired resolution into register 466 st->resolution = idx;
|
/linux-master/drivers/comedi/drivers/ |
H A D | das800.c | 92 int resolution; member in struct:das800_board 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) 385 if (board->resolution [all...] |
/linux-master/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_qos.h | 48 u32 resolution; member in struct:sparx5_lg
|
/linux-master/drivers/media/pci/mgb4/ |
H A D | mgb4_vin.h | 21 u32 resolution; member in struct:mgb4_vin_regs
|
H A D | mgb4_vout.h | 21 u32 resolution; member in struct:mgb4_vout_regs
|
H A D | mgb4_vout.c | 300 u32 config, resolution; local 319 resolution = mgb4_read_reg(video, voutdev->config->regs.resolution); 320 voutdev->width = resolution >> 16; 321 voutdev->height = resolution & 0xFFFF; 425 mgb4_write_reg(video, regs->resolution, 453 voutdev->regs[2].offset = voutdev->config->regs.resolution;
|
H A D | mgb4_vin.c | 144 u32 resolution = mgb4_read_reg(video, regs->resolution); local 153 timings->bt.width = resolution >> 16; 154 timings->bt.height = resolution & 0xFFFF; 657 u32 resolution = mgb4_read_reg(video, vindev->config->regs.resolution); local 658 u32 width = resolution >> 16; 659 u32 height = resolution & 0xFFFF; 766 vindev->regs[2].offset = vindev->config->regs.resolution;
|
/linux-master/sound/isa/gus/ |
H A D | gus_timer.c | 114 .resolution = 80000, 123 .resolution = 320000,
|
/linux-master/drivers/iio/common/scmi_sensors/ |
H A D | scmi_iio.c | 378 u64 resolution, rem; local 384 * All the axes are supposed to have the same value for range and resolution. 390 resolution = sensor->sensor_info->axis[0].resolution; 395 * To provide the raw value for the resolution to the userspace, 396 * need to divide the resolution exponent by the sensor scale 400 rem = do_div(resolution, 405 resolution, rem, max_range); 407 resolution = resolution * int_po [all...] |
/linux-master/drivers/input/mouse/ |
H A D | logips2pp.c | 180 * Support 800 dpi resolution _only_ if the user wants it (there are good 186 unsigned int resolution) 188 if (resolution > 400) { 196 psmouse->resolution = 800; 198 psmouse_set_resolution(psmouse, resolution); 185 ps2pp_set_resolution(struct psmouse *psmouse, unsigned int resolution) argument
|
H A D | psmouse.h | 113 unsigned int resolution; member in struct:psmouse 120 void (*set_resolution)(struct psmouse *psmouse, unsigned int resolution); 139 void psmouse_set_resolution(struct psmouse *psmouse, unsigned int resolution);
|
/linux-master/drivers/iio/adc/ |
H A D | ltc2496.c | 91 .resolution = 16,
|
H A D | mcp3564.c | 338 * @resolution: ADC resolution 344 unsigned int resolution; member in struct:mcp3564_chip_info 673 .resolution = 16, 679 .resolution = 16, 685 .resolution = 16, 691 .resolution = 24, 697 .resolution = 24, 703 .resolution = 24, 709 .resolution [all...] |
H A D | meson_saradc.c | 319 unsigned int resolution; member in struct:meson_sar_adc_param 404 return clamp(tmp, 0, (1 << priv->param->resolution) - 1); 465 fifo_val &= GENMASK(priv->param->resolution - 1, 0); 702 *val2 = priv->param->resolution; 1143 nominal0 = (1 << priv->param->resolution) / 4; 1144 nominal1 = (1 << priv->param->resolution) * 3 / 4; 1204 .resolution = 10, 1215 .resolution = 10, 1226 .resolution = 10, 1237 .resolution [all...] |
/linux-master/drivers/hid/ |
H A D | hid-uclogic-params.c | 240 s32 resolution; local 281 resolution = get_unaligned_le16(buf + 10); 282 if (resolution == 0) { 288 resolution; 291 resolution; 385 s32 resolution; local 443 resolution = get_unaligned_le16(buf + 10); 444 if (resolution == 0) { 450 resolution; 453 resolution; 1112 s32 resolution; local [all...] |
/linux-master/drivers/input/touchscreen/ |
H A D | chipone_icn8505.c | 389 __le16 resolution[2]; local 425 resolution, sizeof(resolution)); 427 dev_err(dev, "Error reading resolution: %d\n", error); 432 le16_to_cpu(resolution[0]) - 1, 0, 0); 434 le16_to_cpu(resolution[1]) - 1, 0, 0);
|
/linux-master/drivers/iio/resolver/ |
H A D | ad2s1210.c | 22 * Encoder resolution | D3:2 | *not implemented* 23 * Resolution | D1:0 | *device tree: assigned-resolution-bits* 150 /** Available raw hysteresis values based on resolution. */ 154 /** The selected resolution */ 155 enum ad2s1210_resolution resolution; member in struct:ad2s1210_state 321 /* Map resolution to settle time in milliseconds. */ 349 msleep(track_time_ms[st->resolution] * 8192000 / st->clkin_hz); 535 *val = ret << (2 * (AD2S1210_RES_16 - st->resolution)); 591 /* map resolution to microradians/LSB for LOT registers */ 637 *val2 = reg_val * ad2s1210_lot_threshold_urad_per_lsb[st->resolution]; [all...] |
/linux-master/drivers/atm/ |
H A D | eni.h | 44 int resolution; /* shaping divider */ member in struct:eni_tx
|
/linux-master/drivers/gpu/drm/i915/gvt/ |
H A D | display.h | 218 int intel_vgpu_init_display(struct intel_vgpu *vgpu, u64 resolution);
|