/linux-master/drivers/staging/media/atomisp/pci/ |
H A D | ia_css_metadata.h | 35 struct ia_css_resolution resolution; /** Resolution */ member in struct:ia_css_metadata_config 39 struct ia_css_resolution resolution; /** Resolution */ member in struct:ia_css_metadata_info
|
/linux-master/drivers/staging/media/atomisp/pci/camera/util/interface/ |
H A D | ia_css_util.h | 82 * @param[in] a resolution 83 * @param[in] b resolution 94 * @brief Check if resolution is zero 96 * @param[in] resolution The resolution to check 98 * @returns true if resolution is zero 101 const struct ia_css_resolution resolution); 105 * @brief Check if resolution is even 107 * @param[in] resolution The resolution t [all...] |
/linux-master/drivers/acpi/acpica/ |
H A D | hwtimer.c | 23 * PARAMETERS: resolution - Where the resolution is returned 25 * RETURN: Status and timer resolution 27 * DESCRIPTION: Obtains resolution of the ACPI PM Timer (24 or 32 bits). 30 acpi_status acpi_get_timer_resolution(u32 * resolution) argument 34 if (!resolution) { 39 *resolution = 24; 41 *resolution = 32; 102 * rollovers, the timer resolution, and timer frequency.
|
/linux-master/include/linux/platform_data/ |
H A D | gsc_hwmon.h | 34 * @resolution: ADC bit resolution 40 unsigned int resolution; member in struct:gsc_hwmon_platform_data
|
/linux-master/sound/core/seq/ |
H A D | seq_timer.h | 14 unsigned long resolution; /* time per tick in nsec */ member in struct:snd_seq_timer_tick 25 int ppq; /* time resolution, ticks/quarter */ 35 unsigned long preferred_resolution; /* timer resolution, ticks/sec */ 54 unsigned long resolution) 56 if (tick->resolution > 0) { 57 tick->fraction += resolution; 58 tick->cur_tick += (unsigned int)(tick->fraction / tick->resolution); 59 tick->fraction %= tick->resolution; 53 snd_seq_timer_update_tick(struct snd_seq_timer_tick *tick, unsigned long resolution) argument
|
H A D | seq_timer.c | 24 tmr->tick.resolution = (tmr->tempo * 1000) / tmr->ppq; 30 tmr->tick.resolution = (tmr->tempo / tmr->ppq) * 1000; 31 tmr->tick.resolution += s; 33 if (tmr->tick.resolution <= 0) 34 tmr->tick.resolution = 1; 115 unsigned long resolution, 131 resolution *= ticks; 134 resolution = (resolution >> 16) * tmr->skew + 135 (((resolution 114 snd_seq_timer_interrupt(struct snd_timer_instance *timeri, unsigned long resolution, unsigned long ticks) argument 437 unsigned long resolution; local [all...] |
/linux-master/drivers/staging/media/atomisp/pci/camera/util/src/ |
H A D | util.c | 140 bool ia_css_util_resolution_is_zero(const struct ia_css_resolution resolution) argument 142 return (resolution.width == 0) || (resolution.height == 0); 146 bool ia_css_util_resolution_is_even(const struct ia_css_resolution resolution) argument 148 return IS_EVEN(resolution.height) && IS_EVEN(resolution.width);
|
/linux-master/drivers/iio/adc/ |
H A D | ltc2497.c | 62 * resolution + 1 position, which is set for positive values only. Given this 63 * bit's value, subtracting BIT(resolution + 1) from the ADC's result is 68 - BIT(ddata->chip_info->resolution + 1); 71 - BIT(ddata->chip_info->resolution + 1); 102 u32 resolution; local 120 resolution = chip_info->resolution; 121 st->recv_size = BITS_TO_BYTES(resolution) + 1; 135 .resolution = 16, 139 .resolution [all...] |
H A D | ltc2497.h | 8 u32 resolution; member in struct:ltc2497_chip_info
|
H A D | mcp320x.c | 67 unsigned int resolution; member in struct:mcp320x_chip_info 223 *val2 = adc->chip_info->resolution; 305 .resolution = 10 310 .resolution = 10 315 .resolution = 10 320 .resolution = 10 325 .resolution = 12 330 .resolution = 12 335 .resolution = 12 340 .resolution [all...] |
H A D | ad7949.c | 58 u8 resolution; member in struct:ad7949_adc_spec 62 [ID_AD7949] = { .num_channels = 8, .resolution = 14 }, 63 [ID_AD7682] = { .num_channels = 4, .resolution = 16 }, 64 [ID_AD7689] = { .num_channels = 8, .resolution = 16 }, 74 * @resolution: resolution of the chip 86 u8 resolution; member in struct:ad7949_adc_chip 170 *val >>= 16 - ad7949_adc->resolution; 179 *val >>= 16 - ad7949_adc->resolution; 248 *val2 = (1 << ad7949_adc->resolution) [all...] |
/linux-master/sound/core/ |
H A D | hrtimer.c | 22 static unsigned int resolution; variable 48 ticks += ktime_divns(delta, ticks * resolution); 54 hrtimer_add_expires_ns(hrt, t->sticks * resolution); 99 hrtimer_start(&stime->hrt, ns_to_ktime(t->sticks * resolution), 133 resolution = hrtimer_resolution; 144 timer->hw.resolution = resolution; 145 timer->hw.ticks = NANO_SEC / resolution;
|
H A D | timer_compat.c | 30 u32 resolution; member in struct:snd_timer_info32 66 info.resolution = t->hw.resolution;
|
/linux-master/drivers/iio/dac/ |
H A D | ti-dac7311.c | 27 u8 resolution; member in struct:ti_dac_spec 31 [ID_DAC5311] = { .resolution = 8 }, 32 [ID_DAC6311] = { .resolution = 10 }, 33 [ID_DAC7311] = { .resolution = 12 }, 44 * @resolution: resolution of the chip 54 u8 resolution; member in struct:ti_dac_chip 68 u8 shift = 14 - ti_dac->resolution; 184 *val2 = ti_dac->resolution; 204 if (val >= (1 << ti_dac->resolution) || va [all...] |
H A D | ti-dac082s085.c | 25 u8 resolution; member in struct:ti_dac_spec 29 [dual_8bit] = { .num_channels = 2, .resolution = 8 }, 30 [dual_10bit] = { .num_channels = 2, .resolution = 10 }, 31 [dual_12bit] = { .num_channels = 2, .resolution = 12 }, 32 [quad_8bit] = { .num_channels = 4, .resolution = 8 }, 33 [quad_10bit] = { .num_channels = 4, .resolution = 10 }, 34 [quad_12bit] = { .num_channels = 4, .resolution = 12 }, 46 * @resolution: resolution of the chip 57 u8 resolution; member in struct:ti_dac_chip [all...] |
H A D | ti-dac5571.c | 33 u8 resolution; member in struct:dac5571_spec 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}, 70 shift = 12 - data->spec->resolution; 84 shift = 16 - data->spec->resolution; 258 *val2 = data->spec->resolution; [all...] |
/linux-master/include/sound/ |
H A D | timer.h | 22 #define SNDRV_TIMER_HW_SLAVE 0x00000004 /* only slave timer (variable resolution) */ 43 unsigned long resolution; /* average timer resolution for one tick in nsec */ member in struct:snd_timer_hardware 44 unsigned long resolution_min; /* minimal resolution */ 45 unsigned long resolution_max; /* maximal resolution */ 89 unsigned long ticks, unsigned long resolution); 93 unsigned long resolution); 99 unsigned long resolution; /* current resolution for work */ member in struct:snd_timer_instance
|
/linux-master/samples/hid/ |
H A D | hid_surface_dial.c | 5 * and depending on the chosen resolution enable or not the haptic feedback: 6 * - a resolution (-r) of 3600 will report 3600 "ticks" in one full rotation 8 * - any other resolution will report N "ticks" in a full rotation with haptic 11 * A good default for low resolution haptic scrolling is 72 (1 "tick" every 5 54 " -r N\t set the given resolution to the device (number of ticks per 360��)\n\n", 58 "and depending on the chosen resolution enable or not the haptic feedback:\n" 59 "- a resolution (-r) of 3600 will report 3600 'ticks' in one full rotation\n" 61 "- any other resolution will report N 'ticks' in a full rotation with haptic\n" 64 "A good default for low resolution haptic scrolling is 72 (1 'tick' every 5\n" 150 int opt, hid_id, resolution local [all...] |
H A D | hid_surface_dial.bpf.c | 36 int resolution = 72; variable 78 /* whenever resolution multiplier is not 3600, we have the fixed report descriptor */ 81 // haptic_data[1] = 72; /* resolution multiplier */ 82 // haptic_data[2] = 0; /* resolution multiplier */ 124 *res = resolution;
|
/linux-master/sound/drivers/pcsp/ |
H A D | pcsp.c | 45 unsigned int resolution = hrtimer_resolution; local 49 if (resolution > PCSP_MAX_PERIOD_NS) { 50 printk(KERN_ERR "PCSP: Timer resolution is not sufficient " 51 "(%unS)\n", resolution); 59 if (loops_per_jiffy >= PCSP_MIN_LPJ && resolution <= PCSP_MIN_PERIOD_NS) 65 loops_per_jiffy, min_div, resolution);
|
/linux-master/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) 40 * One watchdog tick is 1/(2^resolution) seconds. Resolution can take 42 * resolution of 4 means one tick is 62.5ms. 44 * The watchdog counter is 20 bits. Depending on resolution, the maximum 45 * counter value of 0xfffff expires after about 12 days (resolution 0) 46 * down to only 32s (resolution 15). The default resolution of 4 gives 50 int resolution; member in struct:bcm_kona_wdt 124 res, wdt->resolution, [all...] |
/linux-master/drivers/hwmon/ |
H A D | ftsteutates.c | 71 enum WATCHDOG_RESOLUTION resolution; member in struct:fts_data 222 enum WATCHDOG_RESOLUTION resolution) 226 if (data->resolution == resolution) 233 if ((resolution == seconds && ret & BIT(1)) || 234 (resolution == minutes && (ret & BIT(1)) == 0)) { 235 data->resolution = resolution; 239 if (resolution == seconds) 248 data->resolution 221 fts_wd_set_resolution(struct fts_data *data, enum WATCHDOG_RESOLUTION resolution) argument 255 enum WATCHDOG_RESOLUTION resolution = seconds; local [all...] |
H A D | lm75.c | 66 * @resolution_limits: Limit register resolution. Optional. Should be set if 67 * the resolution of limit registers does not match the 68 * resolution of the temperature register. 71 * than 1, and if the resolution changes with sample times. 114 u8 resolution; /* In bits, 9 to 16 */ member in struct:lm75_data 330 static inline long lm75_reg_to_mc(s16 temp, u8 resolution) argument 332 return ((temp >> (16 - resolution)) * 1000) >> (resolution - 8); 427 *val = lm75_reg_to_mc(regval, data->resolution); 439 u8 resolution; local [all...] |
/linux-master/drivers/input/mouse/ |
H A D | lifebook.c | 228 static void lifebook_set_resolution(struct psmouse *psmouse, unsigned int resolution) argument 233 if (resolution == 0 || resolution > 400) 234 resolution = 400; 236 p = params[resolution / 100]; 238 psmouse->resolution = 50 << p;
|
/linux-master/drivers/pwm/ |
H A D | pwm-mediatek.c | 124 u64 resolution; local 136 /* Using resolution in picosecond gets accuracy higher */ 137 resolution = (u64)NSEC_PER_SEC * 1000; 138 do_div(resolution, clk_get_rate(pc->clk_pwms[pwm->hwpwm])); 140 cnt_period = DIV_ROUND_CLOSEST_ULL((u64)period_ns * 1000, resolution); 142 resolution *= 2; 145 resolution); 163 cnt_duty = DIV_ROUND_CLOSEST_ULL((u64)duty_ns * 1000, resolution);
|