/linux-master/tools/include/uapi/sound/ |
H A D | asound.h | 915 unsigned long resolution; /* average period resolution in ns */ member in struct:snd_timer_ginfo 916 unsigned long resolution_min; /* minimal period resolution in ns */ 917 unsigned long resolution_max; /* maximal period resolution in ns */ 931 unsigned long resolution; /* current period resolution in ns */ member in struct:snd_timer_gstatus 932 unsigned long resolution_num; /* precise current period resolution (in seconds) - numerator */ 933 unsigned long resolution_den; /* precise current period resolution (in seconds) - denominator */ 948 unsigned long resolution; /* average period resolution i member in struct:snd_timer_info 968 unsigned int resolution; /* current period resolution in ns */ member in struct:snd_timer_status 1002 unsigned int resolution; member in struct:snd_timer_read [all...] |
/linux-master/tools/power/x86/turbostat/ |
H A D | turbostat.c | 6197 unsigned int resolution; local 6203 resolution = (msr >> 27) & 0xF; 6205 cpu, msr, tj_max - dts, resolution);
|
/linux-master/drivers/iio/temperature/ |
H A D | ltc2983.c | 307 * the number of integer and fractional bits are specified. The resolution 308 * is given by 1/@resolution and tell us the number of fractional bits. For 309 * instance a resolution of 2^-10 means we have 10 fractional bits. 311 static u32 __convert_to_raw(const u64 val, const u32 resolution) argument 313 u64 __res = val * resolution; 321 static u32 __convert_to_raw_sign(const u64 val, const u32 resolution) argument 325 __res = __convert_to_raw(__res, resolution); 417 const u32 resolution, const bool has_signed) 471 * of resolution. Temperatures also come in Kelvin, so signed values 491 temp = __convert_to_raw_sign(temp, resolution); 415 __ltc2983_custom_sensor_new(struct ltc2983_data *st, const struct fwnode_handle *fn, const char *propname, const bool is_steinhart, const u32 resolution, const bool has_signed) argument [all...] |
/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/iio/adc/ |
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 | ad4130.c | 1541 unsigned int resolution = ad4130_resolution(st); local 1556 chan->scan_type.realbits = resolution; 1557 chan->scan_type.storagebits = resolution;
|
/linux-master/drivers/gpu/drm/amd/display/dc/resource/dcn32/ |
H A D | dcn32_resource.h | 56 struct resolution { struct in struct:subvp_high_refresh_list
|
/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 | timer_compat.c | 30 u32 resolution; member in struct:snd_timer_info32 66 info.resolution = t->hw.resolution;
|
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;
|
/linux-master/include/linux/ |
H A D | input.h | 85 * resolution) 501 INPUT_GENERATE_ABS_ACCESSORS(res, resolution)
|
H A D | scmi_protocol.h | 249 * @resolution: Extended attribute representing the resolution of the axes. 252 * is applied to the resolution field. Set to 0 if not reported by 263 unsigned int resolution; member in struct:scmi_sensor_axis_info 329 * @resolution: Extended attribute representing the resolution of the sensor. 333 * applied to the resolution field. 387 unsigned int resolution; member in struct:scmi_sensor_info
|
H A D | efi.h | 245 u32 resolution; member in struct:__anon1098
|
/linux-master/samples/vfio-mdev/ |
H A D | mdpy.c | 636 static DEVICE_ATTR_RO(resolution);
|
/linux-master/drivers/staging/media/atomisp/pci/ |
H A D | sh_css.c | 831 if (stream_cfg->metadata_config.resolution.height > 0) { 842 stream_cfg->metadata_config.resolution.width; 844 stream_cfg->metadata_config.resolution.height; 4758 * if the resolution is different. 7760 * equal to IF output resolution(IF may do cropping on sensor output) 7990 if ((mdc->resolution.height > 0) ^ (mdc->resolution.width > 0)) 7993 md->resolution = mdc->resolution; 7998 md->stride = CEIL_MUL(mdc->resolution [all...] |
H A D | atomisp_compat_css20.c | 395 dev_dbg(isp->dev, "stream_config.metadata_config.resolution w=%d, h=%d.\n", 396 s_config->metadata_config.resolution.width, 397 s_config->metadata_config.resolution.height); 1295 stream_config.metadata_config.resolution.width; 1793 metadata_config.resolution.width = metadata_width; 1795 metadata_config.resolution.height = metadata_height; 1948 * downscaling input resolution. 2043 * 1: Bayer Downscaling: between effective resolution and 2091 /* first decide the yuv_ds input resolution */ 2164 * destination resolution, th [all...] |
H A D | atomisp_cmd.c | 1707 * Function to get DVS2 BQ resolution settings 1727 /* the GDC output resolution */ 1733 /* the GDC input resolution */ 1740 * ISP filter resolution should be given by CSS/FW, but for now 1863 dev_err(asd->isp->dev, "%s err effective resolution" 1868 if (dz_config->zoom_region.resolution.width 1870 || dz_config->zoom_region.resolution.height 1875 dz_config->zoom_region.resolution.width = eff_res.width; 1876 dz_config->zoom_region.resolution.height = eff_res.height; 1893 dz_config->zoom_region.resolution [all...] |
/linux-master/sound/pci/ |
H A D | azt3328.c | 71 * with 1us resolution (see below!) 2126 /*** NOTE: the physical timer resolution actually is 1024000 ticks per second 2193 .resolution = 977, /* 1000000/1024000 = 0.9765625us */ 2213 snd_azf3328_timer_hw.resolution *= seqtimer_scaling;
|
/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/sound/drivers/ |
H A D | aloop.c | 722 unsigned long resolution) 724 if (resolution != runtime->timer_resolution) { 727 /* Worst case estimation of possible values for resolution 728 * resolution <= (512 * 1024) frames / 8kHz in nsec 729 * resolution <= 65.536.000.000 nsec 737 resolution / 1000 * runtime->rate; 743 "Period size (%lu frames) of loopback device is not corresponding to timer resolution (%lu nsec = %lu frames) of card timer %d,%d,%d. Use period size of %lu frames for loopback device.", 744 runtime->period_size, resolution, period_size, 756 unsigned long resolution) 792 /* resolution i 721 loopback_snd_timer_check_resolution(struct snd_pcm_runtime *runtime, unsigned long resolution) argument 754 loopback_snd_timer_period_elapsed(struct loopback_cable *cable, int event, unsigned long resolution) argument 831 loopback_snd_timer_function(struct snd_timer_instance *timeri, unsigned long resolution, unsigned long ticks) argument 849 loopback_snd_timer_event(struct snd_timer_instance *timeri, int event, struct timespec64 *tstamp, unsigned long resolution) argument [all...] |
/linux-master/sound/core/seq/ |
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/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);
|
/linux-master/drivers/leds/rgb/ |
H A D | leds-qcom-lpg.c | 152 * @pwm_resolution_sel: pwm resolution selector 419 unsigned int resolution; local 429 * resolution * pre_div * 2^M 434 * 2^{8, 9, 10, 11, 12, 13, 14, 15} bits for high resolution PWM 439 * 3uS and 24576s for high resolution PWMs. 470 * Search for the pre_div, refclk, resolution and M by solving the rewritten formula 471 * for each refclk, resolution and pre_div value: 475 * NSEC_PER_SEC * pre_div * resolution 479 resolution = 1 << pwm_resolution_arr[i]; 485 resolution; 1256 unsigned int resolution; local [all...] |
/linux-master/drivers/hwmon/ |
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/hid/ |
H A D | wacom_wac.c | 11 /* resolution for penabled devices */ 1928 int resolution = hidinput_calc_abs_res(field, resolution_code); local 1951 if ((code == ABS_X || code == ABS_Y) && !resolution) { 1952 resolution = WACOM_INTUOS_RES; 1954 "Wacom usage (%d) missing resolution \n", 1957 input_abs_set_res(input, code, resolution); 2101 * this usage may overwrite the axis resolution and range. 3770 /* penabled devices have fixed resolution for each model */
|