/drivers/media/rc/img-ir/ |
D | img-ir-hw.c | 176 unsigned int tolerance, in img_ir_timing_range_convert() argument 183 min = min - (min*tolerance >> 7); in img_ir_timing_range_convert() 184 max = max + (max*tolerance >> 7); in img_ir_timing_range_convert() 204 unsigned int tolerance, in img_ir_symbol_timing() argument 214 tolerance, clock_hz, pd_shift); in img_ir_symbol_timing() 216 tolerance, clock_hz, w_shift); in img_ir_symbol_timing() 292 unsigned int tolerance, in img_ir_timings_convert() argument 296 regs->ldr = img_ir_symbol_timing(&timings->ldr, tolerance, clock_hz, in img_ir_timings_convert() 299 regs->s00 = img_ir_symbol_timing(&timings->s00, tolerance, clock_hz, in img_ir_timings_convert() 301 regs->s01 = img_ir_symbol_timing(&timings->s01, tolerance, clock_hz, in img_ir_timings_convert() [all …]
|
D | img-ir-rc5.c | 58 .tolerance = 16,
|
D | img-ir-rc6.c | 80 .tolerance = 20,
|
D | img-ir-sharp.c | 80 .tolerance = 20, /* 20% */
|
D | img-ir-hw.h | 167 unsigned int tolerance; member
|
/drivers/net/wireless/ath/ |
D | dfs_pri_detector.c | 44 static u32 pde_get_multiple(u32 val, u32 fraction, u32 tolerance) in pde_get_multiple() argument 55 if (delta <= tolerance) in pde_get_multiple() 61 if (remainder > tolerance) { in pde_get_multiple() 63 if ((fraction - remainder) <= tolerance) in pde_get_multiple()
|
/drivers/hwmon/ |
D | w83l786ng.c | 135 u8 tolerance[2]; member 208 data->tolerance[0] = reg_tmp & 0x0f; in w83l786ng_update_device() 209 data->tolerance[1] = (reg_tmp >> 4) & 0x0f; in w83l786ng_update_device() 579 return sprintf(buf, "%ld\n", (long)data->tolerance[nr]); in show_tolerance() 602 data->tolerance[nr] = tol_tmp; in store_tolerance()
|
D | w83793.c | 245 u8 tolerance[3]; /* Temp tolerance(Smart Fan I/II) */ member 804 val = data->tolerance[index >> 1] >> ((index & 0x01) ? 4 : 0); in show_sf_ctrl() 857 data->tolerance[i] = in store_sf_ctrl() 860 data->tolerance[i] &= ~(0x0f << shift); in store_sf_ctrl() 861 data->tolerance[i] |= TEMP_TO_REG(val, 0, 0x0f) << shift; in store_sf_ctrl() 863 data->tolerance[i]); in store_sf_ctrl() 1072 SENSOR_ATTR_2(tolerance##index, S_IRUGO | S_IWUSR, show_sf_ctrl,\ 1995 for (i = 0; i < ARRAY_SIZE(data->tolerance); i++) { in w83793_update_nonvolatile() 1996 data->tolerance[i] = in w83793_update_nonvolatile()
|
D | w83627ehf.c | 358 u8 tolerance[4]; member 540 int pwmcfg = 0, tolerance = 0; /* shut up the compiler */ in w83627ehf_update_pwm() local 550 tolerance = w83627ehf_read_value(data, in w83627ehf_update_pwm() 559 data->tolerance[i] = (tolerance >> (i == 1 ? 4 : 0)) & 0x0f; in w83627ehf_update_pwm() 881 show_tol_temp(tolerance) 932 data->tolerance[nr] = val; in store_tolerance()
|
D | w83792d.c | 281 u8 tolerance[3]; /* Fan1,2,3 tolerance(Smart Fan I/II) */ member 797 return sprintf(buf, "%ld\n", (long)data->tolerance[nr-1]); in show_tolerance() 821 data->tolerance[nr] = tol_tmp; in store_tolerance() 1565 data->tolerance[0] = reg_tmp & 0x0f; in w83792d_update_device() 1566 data->tolerance[1] = (reg_tmp >> 4) & 0x0f; in w83792d_update_device() 1567 data->tolerance[2] = w83792d_read_value(client, in w83792d_update_device()
|
D | nct6775.c | 2971 int tolerance = 0; in show_speed_tolerance() local 2984 tolerance = (fan_from_reg16(low, data->fan_div[nr]) in show_speed_tolerance() 2988 return sprintf(buf, "%d\n", tolerance); in show_speed_tolerance()
|
/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_clock_source.c | 198 uint32_t tolerance) in calc_fb_divider_checking_tolerance() argument 233 if (abs_err <= tolerance) { in calc_fb_divider_checking_tolerance() 260 uint32_t tolerance; in calc_pll_dividers_in_range() local 264 tolerance = (pll_settings->adjusted_pix_clk_100hz * err_tolerance) / in calc_pll_dividers_in_range() 266 if (tolerance < CALC_PLL_CLK_SRC_ERR_TOLERANCE) in calc_pll_dividers_in_range() 267 tolerance = CALC_PLL_CLK_SRC_ERR_TOLERANCE; in calc_pll_dividers_in_range() 282 tolerance)) { in calc_pll_dividers_in_range()
|
/drivers/media/usb/pvrusb2/ |
D | pvrusb2-io.h | 38 unsigned int tolerance);
|
D | pvrusb2-io.c | 481 unsigned int tolerance) in pvr2_stream_setup() argument 487 sp->fail_tolerance = tolerance; in pvr2_stream_setup()
|
D | pvrusb2-hdw.c | 59 static int tolerance[PVR_NUM] = { [0 ... PVR_NUM-1] = 0 }; variable 74 module_param_array(tolerance, int, NULL, 0444); 75 MODULE_PARM_DESC(tolerance,"specify stream error tolerance"); 1790 tp = tolerance[unit_number]; in get_default_error_tolerance()
|
/drivers/media/rc/ |
D | nuvoton-cir.c | 170 u8 tolerance, config; in nvt_write_wakeup_codes() local 176 tolerance = DIV_ROUND_UP(count, 10); in nvt_write_wakeup_codes() 182 nvt_cir_wake_reg_write(nvt, tolerance, CIR_WAKE_FIFO_CMP_TOL); in nvt_write_wakeup_codes()
|
/drivers/tty/serial/ |
D | serial-tegra.c | 104 s32 tolerance; member 359 tup->baud_tolerance[i].tolerance) / 10000); in tegra_get_tolerance_rate() 1502 tup->baud_tolerance[index].tolerance = in tegra_uart_parse_dt()
|
/drivers/media/dvb-core/ |
D | dvb_frontend.c | 902 u32 *tolerance) in dvb_frontend_get_frequency_limits() argument 935 if (tolerance) in dvb_frontend_get_frequency_limits() 936 *tolerance = fe->ops.info.frequency_tolerance_hz / kHz; in dvb_frontend_get_frequency_limits() 940 if (tolerance) in dvb_frontend_get_frequency_limits() 941 *tolerance = fe->ops.info.frequency_tolerance_hz; in dvb_frontend_get_frequency_limits()
|
/drivers/tty/serial/8250/ |
D | 8250_port.c | 2678 unsigned int tolerance = port->uartclk / 100; in serial8250_get_baud_rate() local 2689 max = (port->uartclk + tolerance) / 4; in serial8250_get_baud_rate() 2692 max = (port->uartclk + tolerance) / 16; in serial8250_get_baud_rate()
|
/drivers/scsi/ufs/ |
D | ufshcd.h | 1091 void ufshcd_delay_us(unsigned long us, unsigned long tolerance);
|
D | ufshcd.c | 641 void ufshcd_delay_us(unsigned long us, unsigned long tolerance) in ufshcd_delay_us() argument 649 usleep_range(us, us + tolerance); in ufshcd_delay_us()
|