/linux-4.4.14/arch/cris/include/arch-v10/arch/ |
H A D | timex.h | 4 * resolution within a jiffie as well. 14 /* The timer0 values gives 40us resolution (1/25000) but interrupts at HZ*/
|
/linux-4.4.14/sound/core/ |
H A D | hrtimer.c | 36 static unsigned int resolution; variable 53 oruns = hrtimer_forward_now(hrt, ns_to_ktime(t->sticks * resolution)); snd_hrtimer_callback() 94 hrtimer_start(&stime->hrt, ns_to_ktime(t->sticks * resolution), snd_hrtimer_start() 127 resolution = hrtimer_resolution; snd_hrtimer_init() 138 timer->hw.resolution = resolution; snd_hrtimer_init() 139 timer->hw.ticks = NANO_SEC / resolution; snd_hrtimer_init()
|
H A D | timer_compat.c | 31 u32 resolution; member in struct:snd_timer_info32 54 info.resolution = t->hw.resolution; snd_timer_user_info_compat() 62 u32 resolution; member in struct:snd_timer_status32 81 status.resolution = snd_timer_resolution(tu->timeri); snd_timer_user_status_compat()
|
H A D | timer.c | 390 return timer->hw.resolution; snd_timer_resolution() 399 unsigned long resolution = 0; snd_timer_notify1() local 412 resolution = snd_timer_resolution(ti); snd_timer_notify1() 414 ti->ccallback(ti, event, &tstamp, resolution); snd_timer_notify1() 425 ts->ccallback(ts, event + 100, &tstamp, resolution); snd_timer_notify1() 673 unsigned long resolution, ticks; snd_timer_tasklet() local 690 resolution = ti->resolution; snd_timer_tasklet() 695 ti->callback(ti, resolution, ticks); snd_timer_tasklet() 711 unsigned long resolution, ticks; snd_timer_interrupt() local 724 /* remember the current resolution */ snd_timer_interrupt() 726 resolution = timer->hw.c_resolution(timer); snd_timer_interrupt() 728 resolution = timer->hw.resolution; snd_timer_interrupt() 740 ti->resolution = resolution; snd_timer_interrupt() 763 ts->resolution = resolution; snd_timer_interrupt() 799 ti->callback(ti, resolution, ticks); snd_timer_interrupt() 900 !timer->hw.resolution && timer->hw.c_resolution == NULL) snd_timer_dev_register() 935 unsigned long resolution); 961 unsigned long resolution = 0; snd_timer_notify() local 976 resolution = timer->hw.c_resolution(timer); snd_timer_notify() 978 resolution = timer->hw.resolution; snd_timer_notify() 982 ti->ccallback(ti, event, tstamp, resolution); snd_timer_notify() 985 ts->ccallback(ts, event, tstamp, resolution); snd_timer_notify() 1078 .resolution = 1000000000L / HZ, 1144 if (timer->hw.resolution) snd_timer_proc_read() 1146 timer->hw.resolution / 1000, snd_timer_proc_read() 1147 timer->hw.resolution % 1000, snd_timer_proc_read() 1193 unsigned long resolution, snd_timer_user_interrupt() 1204 if (r->resolution == resolution) { snd_timer_user_interrupt() 1214 r->resolution = resolution; snd_timer_user_interrupt() 1239 unsigned long resolution) snd_timer_user_ccallback() 1252 r1.val = resolution; snd_timer_user_ccallback() 1261 unsigned long resolution, snd_timer_user_tinterrupt() 1276 if (tu->last_resolution != resolution || ticks > 0) { snd_timer_user_tinterrupt() 1283 tu->last_resolution != resolution) { snd_timer_user_tinterrupt() 1286 r1.val = resolution; snd_timer_user_tinterrupt() 1288 tu->last_resolution = resolution; snd_timer_user_tinterrupt() 1501 ginfo->resolution = t->hw.resolution; snd_timer_user_ginfo() 1565 gstatus.resolution = t->hw.c_resolution(t); snd_timer_user_gstatus() 1567 gstatus.resolution = t->hw.resolution; snd_timer_user_gstatus() 1572 gstatus.resolution_num = gstatus.resolution; snd_timer_user_gstatus() 1662 info->resolution = t->hw.resolution; snd_timer_user_info() 1756 r->resolution = 0; snd_timer_user_params() 1782 status.resolution = snd_timer_resolution(tu->timeri); snd_timer_user_status() 1192 snd_timer_user_interrupt(struct snd_timer_instance *timeri, unsigned long resolution, unsigned long ticks) snd_timer_user_interrupt() argument 1236 snd_timer_user_ccallback(struct snd_timer_instance *timeri, int event, struct timespec *tstamp, unsigned long resolution) snd_timer_user_ccallback() argument 1260 snd_timer_user_tinterrupt(struct snd_timer_instance *timeri, unsigned long resolution, unsigned long ticks) snd_timer_user_tinterrupt() argument
|
H A D | pcm_timer.c | 57 "pcm timer resolution out of range (rate = %u, period_size = %lu)\n", snd_pcm_timer_resolution_change() 94 .resolution = 0,
|
H A D | rtctimer.c | 147 timer->hw.resolution = NANO_SEC / rtctimer_freq; rtctimer_init()
|
/linux-4.4.14/drivers/hwmon/ |
H A D | lm75.c | 83 u8 resolution; /* In bits, between 9 and 12 */ member in struct:lm75_data 101 static inline long lm75_reg_to_mc(s16 temp, u8 resolution) lm75_reg_to_mc() argument 103 return ((temp >> (16 - resolution)) * 1000) >> (resolution - 8); lm75_reg_to_mc() 115 *temp = lm75_reg_to_mc(data->temp[0], data->resolution); lm75_read_temp() 130 data->resolution)); show_temp() 142 u8 resolution; set_temp() local 150 * temperature input register resolution unless given explicitly. set_temp() 153 resolution = data->resolution_limits; set_temp() 155 resolution = data->resolution; set_temp() 159 data->temp[nr] = DIV_ROUND_CLOSEST(temp << (resolution - 8), set_temp() 160 1000) << (16 - resolution); set_temp() 211 /* Set to LM75 resolution (9 bits, 1/2 degree C) and range. lm75_probe() 220 data->resolution = 12; lm75_probe() 228 data->resolution = 11; lm75_probe() 233 data->resolution = 12; lm75_probe() 239 data->resolution = 9; lm75_probe() 243 data->resolution = 11; lm75_probe() 247 data->resolution = 9; lm75_probe() 251 data->resolution = 12; lm75_probe() 256 data->resolution = 9; lm75_probe() 265 data->resolution = 12; lm75_probe() 272 data->resolution = 12; lm75_probe() 281 data->resolution = 12; lm75_probe() 286 data->resolution = 12; lm75_probe()
|
H A D | ltc2945.c | 114 /* 25 mV * 25 uV = 0.625 uV resolution. */ ltc2945_reg_to_val() 117 /* 0.5 mV * 25 uV = 0.0125 uV resolution. */ ltc2945_reg_to_val() 126 /* 25 mV resolution. Convert to mV. */ ltc2945_reg_to_val() 134 /* 0.5mV resolution. Convert to mV. */ ltc2945_reg_to_val() 143 * 25 uV resolution. Convert to current as measured with ltc2945_reg_to_val() 182 /* 25 mV * 25 uV = 0.625 uV resolution. */ ltc2945_val_to_reg() 186 * 0.5 mV * 25 uV = 0.0125 uV resolution. ltc2945_val_to_reg() 198 /* 25 mV resolution. */ ltc2945_val_to_reg() 206 /* 0.5mV resolution. */ ltc2945_val_to_reg() 215 * 25 uV resolution. Convert to current as measured with ltc2945_val_to_reg()
|
H A D | sch56xx-common.c | 274 unsigned int resolution; watchdog_set_timeout() local 278 /* 1 second or 60 second resolution? */ watchdog_set_timeout() 280 resolution = 1; watchdog_set_timeout() 282 resolution = 60; watchdog_set_timeout() 284 if (timeout < resolution || timeout > (resolution * 255)) watchdog_set_timeout() 287 if (resolution == 1) watchdog_set_timeout() 308 data->watchdog_preset = DIV_ROUND_UP(timeout, resolution); watchdog_set_timeout() 309 wddev->timeout = data->watchdog_preset * resolution; watchdog_set_timeout()
|
H A D | ltc4260.c | 58 /* 10 mV resolution. Convert to mV. */ ltc4260_get_value() 62 /* 400 mV resolution. Convert to mV. */ ltc4260_get_value() 67 * 300 uV resolution. Convert to current as measured with ltc4260_get_value()
|
H A D | lm70.c | 96 * resolution 0.0625 degrees celsius. lm70_sense_temp() 100 * resolution 0.0312 degrees celsius. lm70_sense_temp()
|
H A D | ltc4151.c | 108 /* 500uV resolution. Convert to mV. */ ltc4151_get_value() 113 * 20uV resolution. Convert to current as measured with ltc4151_get_value()
|
H A D | mcp3021.c | 34 #define MCP3021_OUTPUT_RES 10 /* 10-bit resolution */ 38 #define MCP3221_OUTPUT_RES 12 /* 12-bit resolution */
|
H A D | ltc4222.c | 72 /* 1.25 mV resolution. Convert to mV. */ ltc4222_get_value() 77 /* 31.25 mV resolution. Convert to mV. */ ltc4222_get_value() 83 * 62.5 uV resolution. Convert to current as measured with ltc4222_get_value()
|
H A D | ds1621.c | 10 * resolution, a thermal alarm output (Tout), and user-defined minimum 88 /* ds1721 conversion rates: {C/LSB, time(ms), resolution bit setting} */ 301 /* Convert rate into resolution bits */ set_convrate()
|
H A D | lm92.c | 9 * its own temperature with a 0.0625 deg resolution and a 0.33 deg 68 * a resolution it's just not worth it. Note that the MAX6635 doesn't 69 * make use of the 4 lower bits for limits (i.e. effective resolution
|
H A D | i5500_temp.c | 45 /* Sensor resolution : 0.5 degree C */ show_temp()
|
H A D | ltc4261.c | 112 /* 2.5mV resolution. Convert to mV. */ ltc4261_get_value() 117 * 62.5uV resolution. Convert to current as measured with ltc4261_get_value()
|
H A D | fschmd.c | 715 int ret, resolution; watchdog_set_timeout() local 718 /* 2 second or 60 second resolution? */ watchdog_set_timeout() 720 resolution = 2; watchdog_set_timeout() 722 resolution = 60; watchdog_set_timeout() 724 if (timeout < resolution || timeout > (resolution * 255)) watchdog_set_timeout() 733 if (resolution == 2) watchdog_set_timeout() 738 data->watchdog_preset = DIV_ROUND_UP(timeout, resolution); watchdog_set_timeout() 748 ret = data->watchdog_preset * resolution; watchdog_set_timeout()
|
H A D | jc42.c | 214 /* convert from 0.001 to 0.0625 resolution */ jc42_temp_to_reg() 222 /* convert from 0.0625 to 0.001 resolution */ jc42_temp_from_reg()
|
H A D | max16065.c | 105 /* ADC registers have 10 bit resolution. */ ADC_TO_MV() 112 * Limit registers have 8 bit resolution and match upper 8 bits of ADC
|
/linux-4.4.14/drivers/acpi/acpica/ |
H A D | hwtimer.c | 57 * PARAMETERS: resolution - Where the resolution is returned 59 * RETURN: Status and timer resolution 61 * DESCRIPTION: Obtains resolution of the ACPI PM Timer (24 or 32 bits). 64 acpi_status acpi_get_timer_resolution(u32 * resolution) acpi_get_timer_resolution() argument 68 if (!resolution) { acpi_get_timer_resolution() 73 *resolution = 24; acpi_get_timer_resolution() 75 *resolution = 32; acpi_get_timer_resolution() 128 * rollovers, the timer resolution, and timer frequency. ACPI_EXPORT_SYMBOL()
|
H A D | exstoren.c | 137 * operand resolution phase. acpi_ex_resolve_object() 185 * resolution (from a reference object) must be performed by
|
H A D | exresolv.c | 3 * Module Name: exresolv - AML Interpreter object resolution 322 * operand - Starting point for resolution
|
/linux-4.4.14/include/sound/ |
H A D | timer.h | 37 #define SNDRV_TIMER_HW_SLAVE 0x00000004 /* only slave timer (variable resolution) */ 58 unsigned long resolution; /* average timer resolution for one tick in nsec */ member in struct:snd_timer_hardware 59 unsigned long resolution_min; /* minimal resolution */ 60 unsigned long resolution_max; /* maximal resolution */ 102 unsigned long ticks, unsigned long resolution); 106 unsigned long resolution); 111 unsigned long resolution; /* current resolution for tasklet */ member in struct:snd_timer_instance
|
H A D | ac97_codec.h | 137 #define AC97_BC_16BIT_DAC 0x0000 /* 16-bit DAC resolution */ 138 #define AC97_BC_18BIT_DAC 0x0040 /* 18-bit DAC resolution */ 139 #define AC97_BC_20BIT_DAC 0x0080 /* 20-bit DAC resolution */ 141 #define AC97_BC_16BIT_ADC 0x0000 /* 16-bit ADC resolution */ 142 #define AC97_BC_18BIT_ADC 0x0100 /* 18-bit ADC resolution */ 143 #define AC97_BC_20BIT_ADC 0x0200 /* 20-bit ADC resolution */ 468 /* static resolution table */ 471 unsigned short bits; /* resolution bitmask */ 481 const struct snd_ac97_res_table *res_table; /* static resolution */ 504 const struct snd_ac97_res_table *res_table; /* static resolution */
|
/linux-4.4.14/drivers/watchdog/ |
H A D | bcm_kona_wdt.c | 39 #define SECS_TO_TICKS(x, w) ((x) << (w)->resolution) 40 #define TICKS_TO_SECS(x, w) ((x) >> (w)->resolution) 47 * One watchdog tick is 1/(2^resolution) seconds. Resolution can take 49 * resolution of 4 means one tick is 62.5ms. 51 * The watchdog counter is 20 bits. Depending on resolution, the maximum 52 * counter value of 0xfffff expires after about 12 days (resolution 0) 53 * down to only 32s (resolution 15). The default resolution of 4 gives 57 int resolution; member in struct:bcm_kona_wdt 131 res, wdt->resolution, bcm_kona_wdt_dbg_show() 215 if (wdt->resolution > SECWDOG_MAX_RES) bcm_kona_wdt_set_resolution_reg() 219 wdt->resolution << SECWDOG_CLKS_SHIFT); bcm_kona_wdt_set_resolution_reg() 312 wdt->resolution = SECWDOG_DEFAULT_RESOLUTION; bcm_kona_wdt_probe() 315 dev_err(dev, "Failed to set resolution (error: %d)", ret); bcm_kona_wdt_probe()
|
H A D | ux500_wdt.c | 26 #define WATCHDOG_MAX28 268435 /* 28 bit resolution in ms == 268435.455 s */ 27 #define WATCHDOG_MAX32 4294967 /* 32 bit resolution in ms == 4294967.295 s */
|
H A D | menf21bmc_wdt.c | 84 * BMC Watchdog does have a resolution of 100ms. menf21bmc_wdt_settimeout()
|
/linux-4.4.14/sound/core/seq/ |
H A D | seq_timer.c | 39 tmr->tick.resolution = (tmr->tempo * 1000) / tmr->ppq; snd_seq_timer_set_tick_resolution() 45 tmr->tick.resolution = (tmr->tempo / tmr->ppq) * 1000; snd_seq_timer_set_tick_resolution() 46 tmr->tick.resolution += s; snd_seq_timer_set_tick_resolution() 48 if (tmr->tick.resolution <= 0) snd_seq_timer_set_tick_resolution() 49 tmr->tick.resolution = 1; snd_seq_timer_set_tick_resolution() 136 unsigned long resolution, snd_seq_timer_interrupt() 154 resolution *= ticks; snd_seq_timer_interrupt() 157 resolution = (resolution >> 16) * tmr->skew + snd_seq_timer_interrupt() 158 (((resolution & 0xffff) * tmr->skew) >> 16); snd_seq_timer_interrupt() 162 snd_seq_inc_time_nsec(&tmr->cur_time, resolution); snd_seq_timer_interrupt() 165 snd_seq_timer_update_tick(&tmr->tick, resolution); snd_seq_timer_interrupt() 371 unsigned long r = t->hw.resolution; initialize_timer() 481 unsigned long resolution; snd_seq_info_timer_read() local 493 resolution = snd_timer_resolution(ti) * tmr->ticks; snd_seq_info_timer_read() 494 snd_iprintf(buffer, " Period time : %lu.%09lu\n", resolution / 1000000000, resolution % 1000000000); snd_seq_info_timer_read() 135 snd_seq_timer_interrupt(struct snd_timer_instance *timeri, unsigned long resolution, unsigned long ticks) snd_seq_timer_interrupt() argument
|
H A D | seq_timer.h | 29 unsigned long resolution; /* time per tick in nsec */ member in struct:snd_seq_timer_tick 40 int ppq; /* time resolution, ticks/quarter */ 50 unsigned long preferred_resolution; /* timer resolution, ticks/sec */ 69 unsigned long resolution) snd_seq_timer_update_tick() 71 if (tick->resolution > 0) { snd_seq_timer_update_tick() 72 tick->fraction += resolution; snd_seq_timer_update_tick() 73 tick->cur_tick += (unsigned int)(tick->fraction / tick->resolution); snd_seq_timer_update_tick() 74 tick->fraction %= tick->resolution; snd_seq_timer_update_tick() 68 snd_seq_timer_update_tick(struct snd_seq_timer_tick *tick, unsigned long resolution) snd_seq_timer_update_tick() argument
|
H A D | seq.c | 76 MODULE_PARM_DESC(seq_default_timer_resolution, "The default timer resolution in Hz.");
|
/linux-4.4.14/include/uapi/linux/ |
H A D | atmarp.h | 14 #define ATMARP_RETRY_DELAY 30 /* request next resolution or forget 29 act_need, /* need address resolution */
|
H A D | mmtimer.h | 33 * The resolution of the clock in femto (10^-15) seconds
|
H A D | timex.h | 106 #define ADJ_MICRO 0x1000 /* select microsecond resolution */ 107 #define ADJ_NANO 0x2000 /* select nanosecond resolution */ 146 #define STA_NANO 0x2000 /* resolution (0 = us, 1 = ns) (ro) */
|
H A D | neighbour.h | 62 and make no address resolution or NUD.
|
H A D | fb.h | 241 __u32 xres; /* visible resolution */ 243 __u32 xres_virtual; /* virtual resolution */ 246 __u32 yoffset; /* resolution */
|
H A D | input.h | 58 * @resolution: specifies resolution for the values reported for 65 * units per millimeter (units/mm), resolution for rotational axes 74 __s32 resolution; member in struct:input_absinfo
|
H A D | ptp_clock.h | 37 * included for sub-nanosecond resolution, should the demand for
|
/linux-4.4.14/include/linux/input/ |
H A D | auo-pixcir-ts.h | 41 * @x_max x-resolution 42 * @y_max y-resolution
|
H A D | kxtj9.h | 45 /* CTRL_REG1: set resolution, g-range, data ready enable */ 46 /* Output resolution: 8-bit valid or 12-bit valid */
|
/linux-4.4.14/drivers/iio/adc/ |
H A D | mcp320x.c | 57 unsigned int resolution; member in struct:mcp320x_chip_info 169 *val2 = adc->chip_info->resolution; mcp320x_read_raw() 245 .resolution = 10 250 .resolution = 10 255 .resolution = 10 260 .resolution = 10 265 .resolution = 12 270 .resolution = 12 275 .resolution = 12 280 .resolution = 12 285 .resolution = 13
|
H A D | exynos_adc.c | 197 /* Enable 12-bit ADC resolution */ exynos_adc_v1_init_hw() 232 .mask = ADC_DATX_MASK, /* 12 bit ADC resolution */ 247 /* Enable 12 bit ADC resolution */ exynos_adc_s3c2416_start_conv() 261 .mask = ADC_DATX_MASK, /* 12 bit ADC resolution */ 282 .mask = ADC_S3C2410_DATX_MASK, /* 10 bit ADC resolution */ 302 .mask = ADC_S3C2410_DATX_MASK, /* 10 bit ADC resolution */ 311 .mask = ADC_DATX_MASK, /* 12 bit ADC resolution */ 370 .mask = ADC_DATX_MASK, /* 12 bit ADC resolution */ 382 .mask = ADC_DATX_MASK, /* 12 bit ADC resolution */ 414 .mask = ADC_DATX_MASK, /* 12 bit ADC resolution */
|
/linux-4.4.14/sound/drivers/pcsp/ |
H A D | pcsp.c | 45 unsigned int resolution = hrtimer_resolution; snd_pcsp_create() local 49 if (resolution > PCSP_MAX_PERIOD_NS) { snd_pcsp_create() 50 printk(KERN_ERR "PCSP: Timer resolution is not sufficient " snd_pcsp_create() 51 "(%unS)\n", resolution); snd_pcsp_create() 59 if (loops_per_jiffy >= PCSP_MIN_LPJ && resolution <= PCSP_MIN_PERIOD_NS) snd_pcsp_create() 65 loops_per_jiffy, min_div, resolution); snd_pcsp_create()
|
/linux-4.4.14/include/video/ |
H A D | auo_k190xfb.h | 40 int resolution; member in struct:auok190xfb_par 82 * @resolution: one of the AUOK190X_RESOLUTION constants 102 int resolution; member in struct:auok190x_board
|
H A D | maxinefb.h | 19 * Begin of DECstation 5000/xx onboard framebuffer memory, default resolution
|
H A D | omap-panel-data.h | 190 * @mo_gpio: selection for resolution(VGA/QVGA) GPIO 229 * @qvga_gpio: selection for resolution(QVGA/WVGA)
|
/linux-4.4.14/arch/cris/include/arch-v32/arch/ |
H A D | timex.h | 15 /* The timer0 values gives 10 ns resolution but interrupts at HZ. */
|
/linux-4.4.14/arch/ia64/include/asm/sn/ |
H A D | clksupport.h | 10 * This file contains definitions for accessing a platform supported high resolution
|
/linux-4.4.14/drivers/iio/common/ms_sensors/ |
H A D | ms_sensors_i2c.h | 23 * @res_index: index to selected sensor resolution 37 * @res_index: index to selected sensor resolution
|
H A D | ms_sensors_i2c.c | 276 * ms_sensors_write_resolution() - Set resolution function 278 * @i: resolution index to set 280 * This function will program the appropriate resolution based on the index
|
/linux-4.4.14/drivers/media/i2c/m5mols/ |
H A D | m5mols.h | 39 * struct m5mols_resolution - structure for the resolution 40 * @type: resolution type according to the pixel code 41 * @width: width of the resolution 42 * @height: height of the resolution 43 * @reg: resolution preset register value 187 * @ffmt: current fmt according to resolution type 188 * @res_type: current resolution type 194 * @resolution: register value for current resolution 242 u8 resolution; member in struct:m5mols_info
|
H A D | m5mols_core.c | 474 * __find_restype - Lookup M-5MOLS resolution type according to pixel code 490 * __find_resolution - Lookup preset and type of M-5MOLS's resolution 491 * @mf: pixel format to find/negotiate the resolution preset for 492 * @type: M-5MOLS resolution type 493 * @resolution: M-5MOLS resolution preset register value 495 * Find nearest resolution matching resolution preset and adjust mf 501 u32 *resolution) __find_resolution() 525 *resolution = match->reg; __find_resolution() 570 u32 resolution = 0; m5mols_set_fmt() local 573 ret = __find_resolution(sd, format, &type, &resolution); m5mols_set_fmt() 589 info->resolution = resolution; m5mols_set_fmt() 689 * Before applying the controls setup the resolution and frame rate 699 ret = m5mols_write(sd, PARM_MON_SIZE, info->resolution); m5mols_start_monitor() 498 __find_resolution(struct v4l2_subdev *sd, struct v4l2_mbus_framefmt *mf, enum m5mols_restype *type, u32 *resolution) __find_resolution() argument
|
H A D | m5mols_capture.c | 113 * Synchronize the controls, set the capture frame resolution and color m5mols_start_capture() 123 ret = m5mols_write(sd, CAPP_MAIN_IMAGE_SIZE, info->resolution); m5mols_start_capture()
|
/linux-4.4.14/drivers/staging/iio/resolver/ |
H A D | ad2s1210.c | 90 u8 resolution; member in struct:ad2s1210_state 179 ad2s1210_res_pins[(st->resolution - 10)/2][0]); ad2s1210_set_resolution_pin() 181 ad2s1210_res_pins[(st->resolution - 10)/2][1]); ad2s1210_set_resolution_pin() 315 st->resolution ad2s1210_store_control() 319 if (data != st->resolution) ad2s1210_store_control() 320 dev_warn(dev, "ad2s1210: resolution settings not match\n"); ad2s1210_store_control() 337 return sprintf(buf, "%d\n", st->resolution); ad2s1210_show_resolution() 351 dev_err(dev, "ad2s1210: resolution out of range\n"); ad2s1210_store_resolution() 373 dev_err(dev, "ad2s1210: setting resolution fail\n"); ad2s1210_store_resolution() 376 st->resolution ad2s1210_store_resolution() 380 if (data != st->resolution) ad2s1210_store_resolution() 381 dev_warn(dev, "ad2s1210: resolution settings not match\n"); ad2s1210_store_resolution() 502 pos >>= 16 - st->resolution; ad2s1210_read_raw() 509 vel >>= 16 - st->resolution; ad2s1210_read_raw() 511 negative = (0xffff >> st->resolution) << st->resolution; ad2s1210_read_raw() 605 st->resolution = ad2s1210_read_resolution_pin(st); ad2s1210_initial() 613 data |= (st->resolution - 10) >> 1; ad2s1210_initial() 693 st->resolution = 12; ad2s1210_probe()
|
/linux-4.4.14/include/media/davinci/ |
H A D | vpbe_types.h | 39 * @xres: x or horizontal resolution of the display 40 * @yres: y or vertical resolution of the display 51 * Structure holding timing and resolution information of a standard.
|
/linux-4.4.14/drivers/staging/comedi/drivers/ |
H A D | das1800.c | 208 int resolution; /* bits of ai resolution */ member in struct:das1800_board 225 .resolution = 12, 236 .resolution = 12, 247 .resolution = 12, 258 .resolution = 12, 269 .resolution = 16, 280 .resolution = 16, 291 .resolution = 12, 302 .resolution = 12, 313 .resolution = 12, 324 .resolution = 12, 335 .resolution = 12, 346 .resolution = 12, 357 .resolution = 16, 368 .resolution = 16, 379 .resolution = 12, 390 .resolution = 12, 401 .resolution = 12, 412 .resolution = 12, 449 sample += 1 << (board->resolution - 1); munge_bipolar_sample() 1105 dpnt += 1 << (board->resolution - 1); das1800_ai_rinsn() 1128 output = data[0] - (1 << (board->resolution - 1)); das1800_ao_winsn() 1376 s->maxdata = (1 << board->resolution) - 1; das1800_attach() 1395 s->maxdata = (1 << board->resolution) - 1; das1800_attach()
|
H A D | das800.c | 103 int resolution; member in struct:das800_board 176 .resolution = 12, 182 .resolution = 12, 188 .resolution = 12, 194 .resolution = 12, 200 .resolution = 12, 206 .resolution = 12, 212 .resolution = 16, 249 if (board->resolution == 16) das800_enable() 396 if (board->resolution == 12 && gain > 0) das800_ai_do_cmd() 701 s->maxdata = (1 << board->resolution) - 1; das800_attach()
|
H A D | jr3_pci.h | 283 * better resolution or dynamic range. For sensors that have 325 * set too high, then resolution is lost as the data is shifted to 327 * maximum full scale is the maximum value at which no resolution is 335 * and resolution. It is usually recommended to compromise in favor 336 * of resolution which means that the recommend maximum full scale 613 * Bits contains the number of bits of resolution of the ADC
|
/linux-4.4.14/drivers/video/fbdev/via/ |
H A D | ioctl.h | 159 /* horizontal resolution of first device */ 161 /* vertical resolution of first device */ 163 /* horizontal resolution of second device */ 165 /* vertical resolution of second device */
|
H A D | hw.c | 1068 /* If resolution > 1280x1024, expire length = 64, else viafb_load_FIFO_reg() 1086 /* If resolution > 1280x1024, expire length = 64, else viafb_load_FIFO_reg() 1101 /* If resolution > 1280x1024, expire length = 64, viafb_load_FIFO_reg() 1220 /* If resolution > 1280x1024, expire length = 64, viafb_load_FIFO_reg() 1235 /* If resolution > 1280x1024, expire length = 64, viafb_load_FIFO_reg() 1250 /* If resolution > 1280x1024, expire length = 64, viafb_load_FIFO_reg() 1959 /* If set mode normally, save resolution information for hot-plug . */ viafb_setmode()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | l2t.h | 42 L2T_STATE_RESOLVING, /* entry needs address resolution */ 52 * packets awaiting address resolution. Second, it is a node of a hash table 67 struct sk_buff_head arpq; /* queue of packets awaiting resolution */ 86 * Callback stored in an skb to handle address resolution failure.
|
H A D | l2t.c | 120 * Add a packet to the an L2T entry's queue of packets awaiting resolution. 153 * resolution. However, because the alloc_skb below can fail, t3_l2t_send_slow() 154 * we allow each packet added to the arpq to retry resolution t3_l2t_send_slow() 203 * resolution. However, because the alloc_skb below can fail, t3_l2t_send_event() 204 * we allow each packet added to the arpq to retry resolution t3_l2t_send_event() 372 * Called when address resolution fails for an L2T entry to handle packets
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | l2t.h | 47 L2T_STATE_RESOLVING, /* entry needs address resolution */ 66 * packets awaiting address resolution. Second, it is a node of a hash table 79 struct sk_buff *arpq_head; /* queue of packets awaiting resolution */ 93 * Callback stored in an skb to handle address resolution failure.
|
H A D | l2t.c | 220 * Add a packet to an L2T entry's queue of packets awaiting resolution. 456 * Called when address resolution fails for an L2T entry to handle packets 530 * address resolution updates do not see them.
|
/linux-4.4.14/arch/alpha/include/uapi/asm/ |
H A D | stat.h | 23 nanosecond resolution times, and padding for expansion. */
|
/linux-4.4.14/fs/cifs/ |
H A D | dns_resolve.h | 3 * Handles host name to IP address resolution
|
H A D | rfc1002pdu.h | 70 implementing broadcast resolution of the server ip address (from
|
/linux-4.4.14/include/linux/platform_data/ |
H A D | sht15.h | 27 * @low_resolution: flag to indicate the temp/humidity resolution to use.
|
/linux-4.4.14/drivers/staging/media/davinci_vpfe/ |
H A D | vpfe_mc_capture.h | 42 /* Based on max resolution supported. QXGA */ 44 /* Based on max resolution supported. VGA */
|
/linux-4.4.14/kernel/time/ |
H A D | tick-oneshot.c | 4 * This file contains functions which manage high resolution tick 124 * tick_init_highres - switch to high resolution mode
|
H A D | hrtimer.c | 8 * High-resolution kernel timers 10 * In contrast to the low-resolution timeout API implemented in 11 * kernel/timer.c, hrtimers provide finer resolution and accuracy 228 * the event source in the high resolution case. The softirq switch_hrtimer_base() 512 /* High resolution timer related functions */ 516 * High resolution timer enabled ? 523 * Enable / Disable high resolution mode 547 * Is the high resolution mode active ? 662 * Initialize the high resolution related parts of cpu_base 689 * Switch to high resolution mode 696 printk(KERN_WARNING "Could not switch to high resolution " hrtimer_switch_to_hres() 748 * We might have to reprogram the high resolution timer interrupt. On retrigger_next_event() 750 * resolution timer interrupts. On UP we just disable interrupts and retrigger_next_event() 751 * call the high resolution interrupt code. retrigger_next_event() 763 * During resume we might have to reprogram the high resolution timer 893 * High resolution timer mode reprograms the clock event device when the 938 * resolution mode is active and the timer is on the current remove_hrtimer() 1320 * High resolution timer interrupt
|
H A D | tick-sched.h | 25 * resolution mode
|
H A D | jiffies.c | 32 * all systems. It has the same coarse resolution as
|
H A D | sched_clock.c | 221 /* Calculate the ns resolution of this counter */ sched_clock_register() 224 pr_info("sched_clock: %u bits at %lu%cHz, resolution %lluns, wraps every %lluns\n", sched_clock_register()
|
H A D | tick-sched.c | 8 * No idle tick implementation for low and high resolution timers 592 * Get the next pending timer. If high resolution tick_nohz_stop_sched_tick() 594 * timers into account. If high resolution timers are tick_nohz_stop_sched_tick() 1049 * High resolution timer specific code 1162 * mode, because high resolution timers are disabled (either compile
|
H A D | time.c | 532 * The TICK_NSEC - 1 rounds up the value to the next resolution. Note 534 * resolution values don't fall on second boundries. I.e. the line: 535 * nsec -= nsec % TICK_NSEC; is NOT a correct resolution rounding.
|
/linux-4.4.14/arch/powerpc/boot/ |
H A D | redboot.h | 41 short x_res; /* Horizontal resolution in pixels */ 42 short y_res; /* Vertical resolution in pixels */
|
/linux-4.4.14/arch/arm/lib/ |
H A D | delay.c | 87 pr_err("Ignoring delay timer %ps, which has insufficient resolution of %lluns\n", register_current_timer_delay() 93 pr_info("Switching to timer-based delay loop, resolution %lluns\n", res); register_current_timer_delay()
|
/linux-4.4.14/drivers/scsi/bnx2fc/ |
H A D | bnx2fc_constants.h | 74 /* E_D_TOV timer resolution in ms */ 77 /* E_D_TOV timer resolution for SDM (4 micro) */ 81 /* REC timer resolution in ms */ 84 /* REC timer resolution for SDM (4 micro) */ 87 /* E_D_TOV timer default wraparound value (2 sec) in 20 ms resolution */ 91 /* REC_TOV timer default wraparound value (3 sec) in 20 ms resolution */
|
/linux-4.4.14/drivers/input/mouse/ |
H A D | lifebook.c | 232 static void lifebook_set_resolution(struct psmouse *psmouse, unsigned int resolution) lifebook_set_resolution() argument 237 if (resolution == 0 || resolution > 400) lifebook_set_resolution() 238 resolution = 400; lifebook_set_resolution() 240 p = params[resolution / 100]; lifebook_set_resolution() 242 psmouse->resolution = 50 << p; lifebook_set_resolution()
|
H A D | psmouse.h | 67 unsigned int resolution; member in struct:psmouse 74 void (*set_resolution)(struct psmouse *psmouse, unsigned int resolution); 115 void psmouse_set_resolution(struct psmouse *psmouse, unsigned int resolution);
|
H A D | logips2pp.c | 177 * Support 800 dpi resolution _only_ if the user wants it (there are good 182 static void ps2pp_set_resolution(struct psmouse *psmouse, unsigned int resolution) ps2pp_set_resolution() argument 184 if (resolution > 400) { ps2pp_set_resolution() 192 psmouse->resolution = 800; ps2pp_set_resolution() 194 psmouse_set_resolution(psmouse, resolution); ps2pp_set_resolution()
|
H A D | cypress_ps2.h | 165 int tp_res_x; /* X resolution in units/mm. */ 166 int tp_res_y; /* Y resolution in units/mm. */
|
H A D | psmouse-base.c | 59 module_param_named(resolution, psmouse_resolution, uint, 0644); 60 MODULE_PARM_DESC(resolution, "Resolution, in dpi."); 84 PSMOUSE_DEFINE_ATTR(resolution, S_IWUSR | S_IRUGO, 85 (void *) offsetof(struct psmouse, resolution), 109 * (connecting, disconnecting, changing rate or resolution via 425 * Here we set the mouse resolution. 428 void psmouse_set_resolution(struct psmouse *psmouse, unsigned int resolution) psmouse_set_resolution() argument 433 if (resolution == 0 || resolution > 200) psmouse_set_resolution() 434 resolution = 200; psmouse_set_resolution() 436 p = params[resolution / 50]; psmouse_set_resolution() 438 psmouse->resolution = 25 << p; psmouse_set_resolution() 774 * does not try to reset rate and resolution, psmouse_extensions() 1212 * We set the mouse report rate, resolution and scaling. psmouse_initialize() 1217 psmouse->set_resolution(psmouse, psmouse->resolution); psmouse_initialize() 1553 psmouse->resolution = psmouse_resolution; psmouse_connect()
|
H A D | elantech.h | 73 * The resolution for older v2 hardware doubled.
|
H A D | synaptics.h | 174 unsigned int x_res, y_res; /* X/Y resolution in units/mm */ 190 * contains position data for a second contact, at half resolution.
|
H A D | focaltech.c | 393 void focaltech_set_resolution(struct psmouse *psmouse, unsigned int resolution) focaltech_set_resolution() argument 444 * rate/resolution/scale changes are not supported yet, and focaltech_init()
|
/linux-4.4.14/include/uapi/linux/dvb/ |
H A D | osd.h | 116 OSD_BITMAP1HR, /* 1 Bit bitmap half resolution */ 117 OSD_BITMAP2HR, /* 2 bit bitmap half resolution */ 118 OSD_BITMAP4HR, /* 4 bit bitmap half resolution */ 119 OSD_BITMAP8HR, /* 8 bit bitmap half resolution */ 122 OSD_YCRCB444HR, /* 4:4:4 YCRCB graphic half resolution */
|
/linux-4.4.14/drivers/video/fbdev/exynos/ |
H A D | exynos_mipi_dsi_regs.h | 25 /* Main display image resolution register */ 31 /* Sub display image resolution register */
|
/linux-4.4.14/include/uapi/sound/ |
H A D | asound.h | 693 unsigned long resolution; /* average period resolution in ns */ member in struct:snd_timer_ginfo 694 unsigned long resolution_min; /* minimal period resolution in ns */ 695 unsigned long resolution_max; /* maximal period resolution in ns */ 709 unsigned long resolution; /* current period resolution in ns */ member in struct:snd_timer_gstatus 710 unsigned long resolution_num; /* precise current period resolution (in seconds) - numerator */ 711 unsigned long resolution_den; /* precise current period resolution (in seconds) - denominator */ 726 unsigned long resolution; /* average period resolution in ns */ member in struct:snd_timer_info 736 unsigned int ticks; /* requested resolution in ticks */ 745 unsigned int resolution; /* current period resolution in ns */ member in struct:snd_timer_status 769 unsigned int resolution; member in struct:snd_timer_read 774 SNDRV_TIMER_EVENT_RESOLUTION = 0, /* val = resolution in ns */ 776 SNDRV_TIMER_EVENT_START, /* val = resolution in ns */ 778 SNDRV_TIMER_EVENT_CONTINUE, /* val = resolution in ns */ 782 SNDRV_TIMER_EVENT_RESUME, /* val = resolution in ns */
|
H A D | asequencer.h | 503 int ppq; /* time resolution, ticks/quarter */ 522 unsigned int resolution; /* resolution in Hz */ member in struct:snd_seq_queue_timer::__anon14656::__anon14657
|
/linux-4.4.14/include/net/ |
H A D | pkt_sched.h | 25 Timer resolution MUST BE < 10% of min_schedulable_packet_size/bandwidth 32 10msec resolution -> <50Kbit/sec.
|
H A D | atmclip.h | 38 struct clip_vcc *vccs; /* active VCCs; NULL if resolution is
|
/linux-4.4.14/arch/s390/include/asm/ |
H A D | cputime.h | 16 /* We want to use full resolution of the CPU timer: 2**-12 micro-seconds. */ 102 * Since cputime and timeval have the same resolution (microseconds)
|
/linux-4.4.14/drivers/media/rc/ |
H A D | ene_ir.h | 144 /* detected RX carrier period (resolution: 500 ns) */ 148 /* detected RX carrier pulse width (resolution: 500 ns) */ 151 /* TX period (resolution: 500 ns, minimum 2)*/ 158 /* TX pulse width (resolution: 500 ns)*/
|
/linux-4.4.14/include/linux/ |
H A D | tfrc.h | 42 * enables a finer resolution of sending rates and avoids problems with
|
H A D | dns_resolver.h | 3 * Handles host name to IP address resolution and DNS query for AFSDB RR.
|
H A D | ktime.h | 4 * ktime_t - nanosecond-resolution time format. 275 * The resolution of the clocks. The resolution value is returned in 278 * this resolution values.
|
H A D | hrtimer.h | 4 * hrtimers - High-resolution kernel timers 174 * @hres_active: State of high resolution mode 294 * The resolution of the clocks. The resolution value is returned in 297 * this resolution values.
|
H A D | posix-clock.h | 43 * @clock_getres: Get the clock resolution
|
/linux-4.4.14/include/uapi/drm/ |
H A D | exynos_drm.h | 174 * @crop_min: crop min resolution. 175 * @crop_max: crop max resolution. 176 * @scale_min: scale min resolution. 177 * @scale_max: scale max resolution.
|
/linux-4.4.14/arch/ia64/include/asm/ |
H A D | timex.h | 23 * Anzinger, 1/CLOCK_TICK_RATE is taken as the resolution of the timer clock. The time
|
/linux-4.4.14/arch/m68k/coldfire/ |
H A D | dma_timer.c | 55 * get a ~213 ns resolution and the 32bit register will overflow almost init_cf_dt_clocksource()
|
/linux-4.4.14/include/rdma/ |
H A D | ib_cm.h | 324 * ID resolution requests, and listen requests. 347 * connection and service ID resolution requests. 350 * and service ID resolution requests. The service ID should be specified 577 * ib_send_cm_sidr_req - Sends a service ID resolution request to the 580 * service ID resolution request. 581 * @param: Service ID resolution request information. 597 * ib_send_cm_sidr_rep - Sends a service ID resolution reply to the 600 * resolution request. 601 * @param: Service ID resolution reply information.
|
H A D | ib_addr.h | 101 * @src_addr: An optional source address to use in the resolution. If a 108 * @timeout_ms: Amount of time to wait for the address resolution to complete. 109 * @callback: Call invoked once address resolution has completed, timed out,
|
/linux-4.4.14/drivers/media/platform/s5p-jpeg/ |
H A D | jpeg-regs.h | 54 /* JPEG vertical resolution register upper byte */ 57 /* JPEG vertical resolution register lower byte */ 60 /* JPEG horizontal resolution register upper byte */ 63 /* JPEG horizontal resolution register lower byte */ 437 /* JPEG vertical resolution register */ 441 /* JPEG horizontal resolution register */
|
/linux-4.4.14/drivers/media/usb/gspca/ |
H A D | jl2005bcd.c | 55 /* Camera has two resolution settings. What they are depends on model. */ 460 PDEBUG(D_STREAM, "Start streaming at vga resolution"); sd_start() 464 PDEBUG(D_STREAM, "Start streaming at qvga resolution"); sd_start() 468 PDEBUG(D_STREAM, "Start streaming at cif resolution"); sd_start() 472 PDEBUG(D_STREAM, "Start streaming at qcif resolution"); sd_start() 476 pr_err("Unknown resolution specified\n"); sd_start()
|
H A D | sq905c.c | 73 * The 0x2770:0x9050 cameras have max resolution of 320x240. 277 PDEBUG(D_STREAM, "Start streaming at high resolution"); sd_start() 283 PDEBUG(D_STREAM, "Start streaming at medium resolution"); sd_start()
|
H A D | sq905.c | 377 PDEBUG(D_STREAM, "Start streaming at high resolution"); sd_start() 381 PDEBUG(D_STREAM, "Start streaming at medium resolution"); sd_start() 385 PDEBUG(D_STREAM, "Start streaming at low resolution"); sd_start()
|
/linux-4.4.14/drivers/rtc/ |
H A D | rtc-m41t80.c | 61 #define M41T80_WATCHDOG_RB2 (1 << 7) /* RB: Watchdog resolution */ 62 #define M41T80_WATCHDOG_RB1 (1 << 1) /* RB: Watchdog resolution */ 63 #define M41T80_WATCHDOG_RB0 (1 << 0) /* RB: Watchdog resolution */ 68 #define M41T80_FEATURE_WD (1 << 3) /* Extra watchdog resolution */ 386 i2c_data[1] = (wdt_margin & 0xFC) | 0x83; /* resolution = 4s */ wdt_ping() 389 * WDS = 1 (0x80), mulitplier = WD_TIMO, resolution = 1s (0x02) wdt_ping() 394 * M41T65 has three bits for watchdog resolution. Don't set bit 7, as wdt_ping() 395 * that would be an invalid resolution. wdt_ping()
|
H A D | rtc-ab8500.c | 161 /* Make the seconds count as per the RTC resolution */ ab8500_rtc_set_time() 247 * Since our RTC doesn't support alarm resolution less than 1min, ab8500_rtc_set_alarm()
|
/linux-4.4.14/drivers/char/ |
H A D | uv_mmtimer.c | 71 * %MMTIMER_GETRES - Returns the resolution of the clock in femto (10^-15) 105 case MMTIMER_GETRES: /* resolution of the clock in 10^-15 s */ uv_mmtimer_ioctl()
|
/linux-4.4.14/include/xen/interface/io/ |
H A D | fbif.h | 126 * Meg framebuffer with a max resolution of 12,800x10,240. 134 * Wart: xenkbd needs to know default resolution. Put it here until a
|
/linux-4.4.14/sound/isa/gus/ |
H A D | gus_timer.c | 129 .resolution = 80000, 138 .resolution = 320000,
|
/linux-4.4.14/drivers/video/fbdev/ |
H A D | macmodes.c | 136 * - increasing resolution 318 * Find the mac_mode with a matching resolution or failing that, the mac_var_to_vmode() 319 * closest larger resolution. Skip modes with a shorter pixel clock period. mac_var_to_vmode() 335 * Having found a good resolution, find the matching pixel clock mac_var_to_vmode()
|
H A D | xilinxfb.c | 48 * controller for a 640x480 resolution TFT or VGA screen. 91 u32 xres, yres; /* resolution of screen in pixels */ 92 u32 xvirt, yvirt; /* resolution of memory buffer */ 460 prop = of_get_property(pdev->dev.of_node, "resolution", &size); xilinxfb_of_probe() 466 prop = of_get_property(pdev->dev.of_node, "virtual-resolution", &size); xilinxfb_of_probe()
|
H A D | au1100fb.h | 76 u32 xres; /* Maximum horizontal resolution */ 77 u32 yres; /* Maximum vertical resolution */
|
H A D | fm2fb.c | 39 * The resolution is to the following both ones: 44 * fixed line width. In case of maximal resolution the frame
|
H A D | hyperv_fb.c | 22 * screen resolution up to Full HD 1920x1080 with 32 bit color on Windows 28 * The default screen resolution is 1152x864, which may be changed by a 261 /* Send screen resolution info to host */ synthvid_send_situ() 669 pr_err("Screen resolution option is out of range: skipped\n"); hvfb_get_option() 800 pr_info("Screen resolution: %dx%d, Color depth: %d\n", hvfb_probe()
|
H A D | ps3fb.c | 187 /* 60 Hz broadcast modes (full resolution versions of modes "1" to "5") */ 210 /* 50 Hz broadcast modes (full resolution versions of modes "6" to "10") */ 281 /* minimum resolution */ ps3fb_cmp_mode() 291 /* resolution + margins may not exceed native parameters */ ps3fb_cmp_mode() 308 /* resolution difference */ ps3fb_cmp_mode() 372 /* minimum resolution */ ps3fb_find_mode() 378 /* minimum virtual resolution */ ps3fb_find_mode()
|
H A D | auo_k1900fb.c | 73 init_param |= AUOK1900_INIT_RESOLUTION(par->resolution); auok1900_init()
|
H A D | sunxvr1000.c | 138 /* Framebuffer length is the same regardless of resolution. */ gfb_probe()
|
H A D | acornfb.c | 41 * Default resolution. 317 * the resolution to fit the rules. 510 * Validate and adjust the resolution to acornfb_check_var() 1059 * Lookup the timing for this resolution. If we can't acornfb_probe() 1061 * the resolution, so we disable this feature. acornfb_probe()
|
H A D | auo_k190x.c | 446 struct panel_info *panel = &panel_table[par->resolution]; auok190xfb_check_var() 1047 /* initialise fix, var, resolution and rotation */ auok190x_common_probe() 1053 panel = &panel_table[board->resolution]; auok190x_common_probe() 1055 par->resolution = board->resolution; auok190x_common_probe()
|
H A D | tridentfb.c | 760 /* Return flat panel's maximum x resolution */ get_nativex() 807 /* For resolutions smaller than FP resolution stretch */ screen_stretch() 818 /* For resolutions smaller than FP resolution center */ screen_center() 1008 /* check whether resolution fits on panel and in memory */ tridentfb_check_var() 1011 /* various resolution checks */ tridentfb_check_var() 1182 * than requested resolution decide whether tridentfb_set_par()
|
/linux-4.4.14/drivers/clocksource/ |
H A D | scx200_hrt.c | 5 * high-resolution timer. The Geode SC-1100 (at least) has a buggy
|
H A D | tcb_clksrc.c | 21 * resolution better than 200 nsec). 89 * A divided clock could be good for high resolution timers, since 90 * 30.5 usec resolution can seem "low".
|
H A D | timer-ti-32k.c | 48 * higher resolution in free-running counter modes (e.g. 12 MHz xtal),
|
H A D | nomadik-mtu.c | 76 * better resolution when scheduling the kernel. 212 * with 16 gives too low timer resolution. nmdk_timer_init()
|
H A D | pxa_timer.c | 44 * This is PXA's sched_clock implementation. This has a resolution
|
/linux-4.4.14/drivers/gpu/drm/msm/mdp/mdp5/ |
H A D | mdp5_cfg.h | 45 uint32_t max_width; /* Maximum output resolution */
|
/linux-4.4.14/arch/um/kernel/ |
H A D | time.c | 68 .min_delta_ns = TIMER_MIN_DELTA, //microsecond resolution should be enough for anyone, same as 640K RAM
|
/linux-4.4.14/arch/x86/kernel/ |
H A D | reboot_fixups_32.c | 40 /* Use the minimum timer resolution */ rdc321x_reset()
|
/linux-4.4.14/include/asm-generic/ |
H A D | cputime_nsecs.h | 2 * Definitions for measuring cputime in nsecs resolution.
|
/linux-4.4.14/arch/m68k/68000/ |
H A D | timers.c | 32 /* with a 33.16 MHz clock, this will give usec resolution to the time functions */
|
/linux-4.4.14/sound/pci/emu10k1/ |
H A D | timer.c | 71 .resolution = 20833, /* 1 sample @ 48KHZ = 20.833...us */
|
/linux-4.4.14/drivers/misc/ |
H A D | ds1682.c | 20 * elapsed_time (u32): Total elapsed event time in ms resolution 74 * resolution, scale them up to milliseconds */ ds1682_show() 102 * resolution, scale input down to quarter-seconds */ ds1682_store()
|
H A D | isl29003.c | 125 /* resolution */ isl29003_get_resolution() 228 /* resolution */ isl29003_show_resolution() 259 static DEVICE_ATTR(resolution, S_IWUSR | S_IRUGO,
|
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/ |
H A D | i40e_txrx.h | 32 #define I40E_MAX_ITR 0x0FF0 /* reg uses 2 usec resolution */ 33 #define I40E_MIN_ITR 0x0001 /* reg uses 2 usec resolution */ 40 #define I40E_MAX_INTRL 0x3B /* reg uses 4 usec resolution */
|
/linux-4.4.14/net/dccp/ccids/lib/ |
H A D | tfrc_equation.c | 69 determines the smallest resolution possible with this lookup table: 633 DCCP_WARN("Value of p (%d) below resolution. " tfrc_calc_x() 675 DCCP_WARN("fvalue %u smaller than resolution\n", fvalue); tfrc_calc_x_reverse_lookup()
|
/linux-4.4.14/drivers/media/pci/ivtv/ |
H A D | ivtvfb.c | 10 the initial resolution is either 640x400 (NTSC) or 640x480 (PAL) at 8bpp. 253 /* Only fail if resolution too high, otherwise fudge the start coords. */ ivtvfb_set_display_window() 435 /* DMA resolution is 32 bits */ ivtvfb_write() 723 /* Check the resolution */ _ivtvfb_check_var() 725 IVTVFB_DEBUG_WARN("Invalid resolution: %dx%d\n", _ivtvfb_check_var() 735 IVTVFB_DEBUG_WARN("Invalid virtual resolution: %dx%d\n", _ivtvfb_check_var() 744 IVTVFB_DEBUG_WARN("Invalid resolution for 8bpp: %d\n", var->xres); _ivtvfb_check_var() 748 IVTVFB_DEBUG_WARN("Invalid virtual resolution for 8bpp: %d)\n", var->xres_virtual); _ivtvfb_check_var() 755 IVTVFB_DEBUG_WARN("Invalid resolution for 16bpp: %d\n", var->xres); _ivtvfb_check_var() 759 IVTVFB_DEBUG_WARN("Invalid virtual resolution for 16bpp: %d)\n", var->xres_virtual); _ivtvfb_check_var()
|
H A D | ivtv-controls.c | 71 /* fix videodecoder resolution */ ivtv_s_video_encoding()
|
/linux-4.4.14/drivers/media/usb/em28xx/ |
H A D | em28xx-camera.c | 356 * desired resolution, since this affects directly the em28xx_init_camera() 413 * resolution setting/switching needs to be modified to em28xx_init_camera() 414 * - switch sensor output resolution (including further em28xx_init_camera()
|
/linux-4.4.14/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_txrx.h | 32 #define I40E_MAX_ITR 0x0FF0 /* reg uses 2 usec resolution */ 33 #define I40E_MIN_ITR 0x0001 /* reg uses 2 usec resolution */ 40 #define I40E_MAX_INTRL 0x3B /* reg uses 4 usec resolution */
|
/linux-4.4.14/kernel/sched/ |
H A D | clock.c | 16 * cpu_clock(i) provides a fast (execution time) high resolution 47 * We use GTOD as base and use sched_clock() deltas to improve resolution. The 362 * As outlined at the top, provides a fast, high resolution, nanosecond
|
H A D | sched.h | 39 * Helpers for converting nanosecond timing to jiffy resolution update_cpu_load_active() 44 * Increase resolution of nice-level calculations for 64-bit architectures. update_cpu_load_active() 45 * The extra resolution improves shares distribution and load balancing of update_cpu_load_active() 50 * We increase resolution only if we have enough bits to allow this increased update_cpu_load_active() 51 * resolution (i.e. BITS_PER_LONG > 32). The costs for increasing resolution update_cpu_load_active()
|
/linux-4.4.14/arch/arm/plat-samsung/ |
H A D | adc.c | 308 /* S3C2416/S3C64XX/S5P ADC resolution is 12-bit */ s3c_adc_irq() 396 /* Enable 12-bit ADC resolution */ s3c_adc_probe() 462 /* Enable 12-bit ADC resolution */ s3c_adc_resume()
|
/linux-4.4.14/drivers/iio/gyro/ |
H A D | adis16130.c | 32 #define ADIS16130_MODE_24BIT (1 << 1) /* 1 = 24-bit resolution; */
|
/linux-4.4.14/arch/x86/boot/ |
H A D | video-mode.c | 81 /* Scan for mode based on fixed ID, position, or resolution */ raw_set_mode()
|
H A D | video.h | 53 /* Video modes given by resolution */
|
/linux-4.4.14/net/core/ |
H A D | secure_seq.c | 34 * we also need to limit the resolution so that the u32 seq seq_scale()
|
/linux-4.4.14/include/media/ |
H A D | tc358743.h | 70 * Calculate CSI parameters with REF_02 for the highest resolution your
|
H A D | adv7842.h | 198 video resolution does not match programmed one. */
|
H A D | rc-core.h | 101 * @rx_resolution : resolution (in ns) of input sampler 102 * @tx_resolution: resolution (in ns) of output sampler
|
/linux-4.4.14/arch/metag/kernel/perf/ |
H A D | perf_event.h | 21 * The Meta core has two performance counters, with 24-bit resolution. Newer
|
/linux-4.4.14/arch/arm/plat-omap/ |
H A D | counter_32k.c | 36 * higher resolution in free-running counter modes (e.g. 12 MHz xtal),
|
/linux-4.4.14/drivers/media/pci/cx23885/ |
H A D | cx23888-ir.c | 801 p->resolution = clock_divider_to_resolution(rxclk_divider); cx23888_ir_rx_s_parameters() 802 o->resolution = p->resolution; cx23888_ir_rx_s_parameters() 804 /* FIXME - make this dependent on resolution for better performance */ cx23888_ir_rx_s_parameters() 919 p->resolution = clock_divider_to_resolution(txclk_divider); cx23888_ir_tx_s_parameters() 920 o->resolution = p->resolution; cx23888_ir_tx_s_parameters() 922 /* FIXME - make this dependent on resolution for better performance */ cx23888_ir_tx_s_parameters()
|
/linux-4.4.14/drivers/gpu/drm/omapdrm/ |
H A D | omap_connector.c | 162 * build table of supported modes.. otherwise (ie. fixed resolution omap_connector_get_modes() 217 * a fixed resolution panel, check if the timings match with the omap_connector_mode_valid()
|
/linux-4.4.14/drivers/media/usb/hdpvr/ |
H A D | hdpvr.h | 251 * 1st and 2nd byte (little endian): horizontal resolution 252 * 3rd and 4th byte (little endian): vertical resolution
|
/linux-4.4.14/drivers/media/i2c/cx25840/ |
H A D | cx25840-ir.c | 828 p->resolution = clock_divider_to_resolution(rxclk_divider); cx25840_ir_rx_s_parameters() 829 o->resolution = p->resolution; cx25840_ir_rx_s_parameters() 831 /* FIXME - make this dependent on resolution for better performance */ cx25840_ir_rx_s_parameters() 1004 p->resolution = clock_divider_to_resolution(txclk_divider); cx25840_ir_tx_s_parameters() 1005 o->resolution = p->resolution; cx25840_ir_tx_s_parameters() 1007 /* FIXME - make this dependent on resolution for better performance */ cx25840_ir_tx_s_parameters()
|
/linux-4.4.14/drivers/gpu/drm/bochs/ |
H A D | bochs_kms.c | 16 MODULE_PARM_DESC(defx, "default x resolution"); 17 MODULE_PARM_DESC(defy, "default y resolution");
|
/linux-4.4.14/arch/mips/sibyte/swarm/ |
H A D | rtc_m41t81.c | 38 #define M41T81REG_WD_RB0 0x01 /* watchdog resolution bit 0 */ 39 #define M41T81REG_WD_RB1 0x02 /* watchdog resolution bit 1 */
|
/linux-4.4.14/drivers/xen/ |
H A D | efi.c | 54 tc->resolution = efi_data(op).u.get_time.resolution; xen_efi_get_time()
|
/linux-4.4.14/drivers/ps3/ |
H A D | ps3av.c | 615 * We mask off the resolution bits we care about and combine the ps3av_resbit2id() 645 /* check native resolution */ ps3av_hdmi_get_id() 687 /* resolution */ ps3av_monitor_info_dump() 887 /* get resolution by video_mode */ ps3av_video_mode2res()
|
/linux-4.4.14/drivers/leds/ |
H A D | leds-asic3.c | 24 * When TimeBase is 4 the clock resolution is about 32Hz.
|
/linux-4.4.14/drivers/gpu/drm/rcar-du/ |
H A D | rcar_du_encoder.c | 84 /* We're not allowed to modify the resolution. */ rcar_du_encoder_atomic_check()
|
/linux-4.4.14/drivers/media/i2c/soc_camera/ |
H A D | ov9640.c | 333 /* select nearest higher resolution for capture */ ov9640_res_roundup() 377 /* Setup registers according to resolution and color encoding */ ov9640_write_regs() 386 /* select register configuration for given resolution */ ov9640_write_regs() 417 dev_err(&client->dev, "Failed to select resolution!\n"); ov9640_write_regs()
|
H A D | ov9740.c | 546 /* select nearest higher resolution for capture */ ov9740_res_roundup() 552 /* Max resolution is 1280x720 (720p). */ ov9740_res_roundup() 560 /* Setup registers according to resolution and color encoding */ ov9740_set_res() 578 * chosen resolution, we can either use the full width of the sensor, ov9740_set_res()
|
/linux-4.4.14/drivers/media/pci/cx18/ |
H A D | cx18-controls.c | 101 /* fix videodecoder resolution */ cx18_s_video_encoding()
|
/linux-4.4.14/drivers/input/touchscreen/ |
H A D | htcpen.c | 70 /* get high resolution value of X and Y using LSB */ htcpen_interrupt()
|
H A D | cyttsp4_core.h | 439 /* x-axis resolution of panel in pixels */ 442 /* y-axis resolution of panel in pixels */
|
/linux-4.4.14/drivers/media/platform/vsp1/ |
H A D | vsp1_hsit.c | 129 /* The HST and HSI output format code and resolution can't be hsit_set_format()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/bus/ |
H A D | hwsq.c | 144 /* Heuristic: sync to head with biggest resolution */ nvkm_hwsq_wait_vblank()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/ |
H A D | memx.c | 134 /* Heuristic: sync to head with biggest resolution */ nvkm_memx_wait_vblank()
|
/linux-4.4.14/drivers/of/ |
H A D | of_pci_irq.c | 68 * resolution. Note that we use the linux bus number which may of_irq_parse_pci()
|
H A D | resolver.c | 2 * Functions for dealing with DT resolution 296 * Perform dynamic Device Tree resolution against the live tree
|
/linux-4.4.14/drivers/pcmcia/ |
H A D | vg468.h | 85 #define VG468_TIMER_RES 0x80 /* Timer resolution */
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_init.h | 306 /* resolution of the rate shaping timer - 400 usec */ 314 /* resolution of Min algorithm 1:100 */ 378 /* this is the resolution of the fairness timer */ bnx2x_init_min() 390 * to pass a credit of the T_FAIR*FAIR_MEM (algorithm resolution) bnx2x_init_min()
|
/linux-4.4.14/drivers/atm/ |
H A D | eni.h | 43 int resolution; /* shaping divider */ member in struct:eni_tx
|
/linux-4.4.14/drivers/gpu/drm/fsl-dcu/ |
H A D | fsl_dcu_drm_drv.h | 36 /*Regisiter value 1/16 of horizontal resolution*/
|
/linux-4.4.14/arch/unicore32/kernel/ |
H A D | puv3-core.c | 28 * a resolution of 271ns, and a maximum value of 32025597s (370 days).
|
/linux-4.4.14/arch/arm/boot/compressed/ |
H A D | ll_char_wr.S | 55 * Go to resolution-dependent routine...
|
/linux-4.4.14/net/dccp/ccids/ |
H A D | ccid3.h | 55 * resolution of HZ < 500 means that the error is below one timer tick (t_gran)
|
/linux-4.4.14/net/dns_resolver/ |
H A D | dns_query.c | 64 * The DNS resolution lookup is performed by upcalling to userspace by way of
|
/linux-4.4.14/arch/sh/include/asm/ |
H A D | sh7760fb.h | 183 * pixels resolution!
|
/linux-4.4.14/arch/arm/plat-orion/ |
H A D | time.c | 60 * Orion's sched_clock implementation. It has a resolution of
|
/linux-4.4.14/drivers/pwm/ |
H A D | pwm-lpc18xx-sct.c | 82 /* SCT conflict resolution */ 138 * resolution action to be taken in such a case. lpc18xx_pwm_set_conflict_res()
|
/linux-4.4.14/drivers/staging/fbtft/ |
H A D | fb_ili9163.c | 94 configure to constrain the memory and resolution to a fixed dimension (in 97 I solved by setup several parameters that dinamically fix the resolution as
|
/linux-4.4.14/Documentation/EDID/ |
H A D | edid.S | 170 /* X resolution, less 31, divided by 8 (256-2288 pixels) */ 172 /* Y resolution, X:Y pixel ratio
|
/linux-4.4.14/drivers/video/fbdev/riva/ |
H A D | fbdev.c | 881 /* use highest possible virtual resolution */ rivafb_do_maximize() 884 "using maximum available virtual resolution\n"); rivafb_do_maximize() 892 "could not find a virtual resolution that fits into video memory!!\n"); rivafb_do_maximize() 900 "virtual resolution set to maximum of %dx%d\n", rivafb_do_maximize() 906 "setting virtual X resolution to %d\n", var->xres_virtual); rivafb_do_maximize() 912 "setting virtual Y resolution to %d\n", var->yres_virtual); rivafb_do_maximize() 917 "mode %dx%dx%d rejected...resolution too high to fit into video memory!\n", rivafb_do_maximize() 926 "virtual X resolution (%d) is too high, lowering to %d\n", rivafb_do_maximize() 933 "virtual X resolution (%d) is smaller than real\n", var->xres_virtual); rivafb_do_maximize() 939 "virtual Y resolution (%d) is smaller than real\n", var->yres_virtual); rivafb_do_maximize()
|
/linux-4.4.14/drivers/hid/ |
H A D | hid-uclogic.c | 794 s32 resolution; uclogic_tablet_enable() local 835 resolution = le16_to_cpu(buf[UCLOGIC_PRM_RESOLUTION]); uclogic_tablet_enable() 836 if (resolution == 0) { uclogic_tablet_enable() 841 1000 / resolution; uclogic_tablet_enable() 843 1000 / resolution; uclogic_tablet_enable()
|
H A D | hid-logitech-hidpp.c | 758 unsigned int resolution; member in struct:wtp_data 779 input_abs_set_res(input_dev, ABS_MT_POSITION_X, wd->resolution); wtp_populate_input() 781 input_abs_set_res(input_dev, ABS_MT_POSITION_Y, wd->resolution); wtp_populate_input() 947 wd->resolution = raw_info.res; wtp_get_config() 948 if (!wd->resolution) wtp_get_config() 949 wd->resolution = WTP_MANUAL_RESOLUTION; wtp_get_config()
|
/linux-4.4.14/drivers/isdn/i4l/ |
H A D | isdn_ttyfax.c | 704 char *rp = &f->resolution; isdn_tty_cmd_FCLASS2() 750 char *rp = &f->resolution; isdn_tty_cmd_FCLASS2() 834 char *rp = &f->resolution; isdn_tty_cmd_FCLASS2()
|
/linux-4.4.14/drivers/net/ethernet/atheros/atl1c/ |
H A D | atl1c.h | 403 u16 tx_imt; /* TX Interrupt Moderator timer ( 2us resolution) */ 404 u16 rx_imt; /* RX Interrupt Moderator timer ( 2us resolution) */ 405 u16 ict; /* Interrupt Clear timer (2us resolution) */
|
/linux-4.4.14/drivers/net/ethernet/atheros/atl1e/ |
H A D | atl1e.h | 349 u16 imt; /* Interrupt Moderator timer ( 2us resolution) */ 350 u16 ict; /* Interrupt Clear timer (2us resolution) */ 355 u16 rx_count_down; /* 2us resolution */
|
/linux-4.4.14/drivers/net/ethernet/atheros/atlx/ |
H A D | atl1.h | 228 /* RX/TX count-down timer to trigger CMB-write. 2us resolution. */ 786 u16 imt; /* interrupt moderator timer (2us resolution) */ 787 u16 ict; /* interrupt clear timer (2us resolution */
|
H A D | atl2.h | 498 /* Interrupt Moderator timer ( 2us resolution) */ 500 /* Interrupt Clear timer (2us resolution) */
|
/linux-4.4.14/drivers/isdn/mISDN/ |
H A D | l1oip_codec.c | 6 * -> compression by reducing the number of sample resolution to 4 34 Each sample is converted to a-LAW with only 16 steps of level resolution.
|
/linux-4.4.14/drivers/media/i2c/ |
H A D | mt9v011.c | 276 * resolution, we're cropping at the middle of the sensor. set_res() 278 * we'll preserve the line timings for 30 fps, no matter what resolution set_res()
|