/drivers/watchdog/ |
D | sbc_fitpc2_wdt.c | 30 static unsigned int margin = 60; /* (secs) Default is 1 minute */ variable 57 wdt_send_data(REBOOT_COMMAND, margin); in wdt_enable() 155 margin = time; in fitpc2_wdt_ioctl() 160 ret = put_user(margin, (int __user *)arg); in fitpc2_wdt_ioctl() 223 if (margin < 31 || margin > 255) { in fitpc2_wdt_init() 225 margin); in fitpc2_wdt_init() 260 module_param(margin, int, 0); 261 MODULE_PARM_DESC(margin, "Watchdog margin in seconds (default 60s)");
|
D | scx200_wdt.c | 38 static int margin = 60; /* in seconds */ variable 39 module_param(margin, int, 0); 40 MODULE_PARM_DESC(margin, "Watchdog margin in seconds"); 67 pr_info("timer margin %d seconds\n", margin); in scx200_wdt_update_margin() 68 wdto_restart = margin * W_SCALE; in scx200_wdt_update_margin() 186 margin = new_margin; in scx200_wdt_ioctl() 191 if (put_user(margin, p)) in scx200_wdt_ioctl()
|
D | it8712f_wdt.c | 41 static int margin = 60; /* in seconds */ variable 42 module_param(margin, int, 0); 43 MODULE_PARM_DESC(margin, "Watchdog margin in seconds"); 151 int units = margin; in it8712f_wdt_update_margin() 295 margin = value; in it8712f_wdt_ioctl() 307 if (put_user(margin, p)) in it8712f_wdt_ioctl() 390 if (margin > (max_units * 60)) in it8712f_wdt_find() 391 margin = (max_units * 60); in it8712f_wdt_find()
|
D | ar7_wdt.c | 37 static int margin = 60; variable 38 module_param(margin, int, 0); 39 MODULE_PARM_DESC(margin, "Watchdog margin in seconds"); 140 margin = change * prescale_value / vbus_rate; in ar7_wdt_update_margin() 142 margin, prescale_value, change, vbus_rate); in ar7_wdt_update_margin() 240 if (put_user(margin, (int *)arg)) in ar7_wdt_ioctl() 282 ar7_wdt_update_margin(margin); in ar7_wdt_probe()
|
D | sa1100_wdt.c | 155 static int margin __initdata = 60; /* (secs) Default is 1 minute */ 185 pre_margin = oscr_freq * margin; in sa1100dog_init() 190 margin); in sa1100dog_init() 213 module_param(margin, int, 0); 214 MODULE_PARM_DESC(margin, "Watchdog margin in seconds (default 60s)");
|
/drivers/media/rc/ |
D | rc-core-priv.h | 167 static inline bool geq_margin(unsigned d1, unsigned d2, unsigned margin) in geq_margin() argument 169 return d1 > (d2 - margin); in geq_margin() 172 static inline bool eq_margin(unsigned d1, unsigned d2, unsigned margin) in eq_margin() argument 174 return ((d1 > (d2 - margin)) && (d1 < (d2 + margin))); in eq_margin()
|
/drivers/staging/media/atomisp/pci/isp/kernels/sdis/common/ |
D | ia_css_sdis_common.host.h | 67 s32 margin[DVS2_PROJ_MARGIN]; member 74 s32 margin[DVS2_PROJ_MARGIN]; member
|
/drivers/gpu/drm/ |
D | drm_modes.c | 1593 unsigned int deg, margin, rotation = 0; in drm_mode_parse_cmdline_options() local 1635 if (drm_mode_parse_cmdline_int(delim, &margin)) in drm_mode_parse_cmdline_options() 1638 mode->tv_margins.right = margin; in drm_mode_parse_cmdline_options() 1640 if (drm_mode_parse_cmdline_int(delim, &margin)) in drm_mode_parse_cmdline_options() 1643 mode->tv_margins.left = margin; in drm_mode_parse_cmdline_options() 1645 if (drm_mode_parse_cmdline_int(delim, &margin)) in drm_mode_parse_cmdline_options() 1648 mode->tv_margins.top = margin; in drm_mode_parse_cmdline_options() 1650 if (drm_mode_parse_cmdline_int(delim, &margin)) in drm_mode_parse_cmdline_options() 1653 mode->tv_margins.bottom = margin; in drm_mode_parse_cmdline_options()
|
/drivers/gpu/drm/i915/display/ |
D | intel_ddi_buf_trans.h | 22 u8 margin; /* swing value */ member
|
D | intel_dpio_phy.h | 21 enum port port, u32 margin, u32 scale,
|
D | intel_dpio_phy.c | 270 enum port port, u32 margin, u32 scale, in bxt_ddi_phy_set_signal_level() argument 289 val |= margin << MARGIN_000_SHIFT | scale << UNIQ_TRANS_SCALE_SHIFT; in bxt_ddi_phy_set_signal_level()
|
D | intel_ddi.c | 991 ddi_translations->entries[level].bxt.margin, in bxt_ddi_vswing_sequence()
|
/drivers/net/wireless/mediatek/mt76/ |
D | mt76x02_dfs.c | 183 static int mt76x02_dfs_get_multiple(int val, int frac, int margin) in mt76x02_dfs_get_multiple() argument 190 if (abs(val - frac) <= margin) in mt76x02_dfs_get_multiple() 196 if (remainder > margin) { in mt76x02_dfs_get_multiple() 197 if ((frac - remainder) <= margin) in mt76x02_dfs_get_multiple()
|
/drivers/video/backlight/ |
D | pwm_bl.c | 395 unsigned int margin = (max_val - min_val) / 20; /* 5% */ in pwm_backlight_is_linear() local 402 if (delta > margin) in pwm_backlight_is_linear()
|
/drivers/tty/vt/ |
D | vt.c | 4801 int margin = c->vc_size_row * 4; in vc_scrolldelta_helper() local 4811 if (rolled_over > scr_end + margin) { in vc_scrolldelta_helper() 4823 if (avail < 2 * margin) in vc_scrolldelta_helper() 4824 margin = 0; in vc_scrolldelta_helper() 4825 if (from_off < margin) in vc_scrolldelta_helper() 4827 if (from_off > avail - margin) in vc_scrolldelta_helper()
|
/drivers/char/ |
D | Kconfig | 388 out to lunch past a certain margin. It can reboot the system
|
/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | display_mode_vba_30.c | 3096 double margin = (v->MaxVStartupLines[k] - v->VStartup[k]) * v->HTotal[k] in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() local 3099 v->VStartupMargin = margin; in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 3102 v->VStartupMargin = dml_min(v->VStartupMargin, margin); in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation()
|
/drivers/gpu/drm/radeon/ |
D | si_dpm.c | 2236 u64 margin = (u64)SISLANDS_DPM2_PWREFFICIENCYRATIO_MARGIN; in si_calculate_power_efficiency_ratio() local 2244 n = div64_u64((u64)1024 * curr_vddc * curr_vddc * ((u64)1000 + margin), (u64)1000); in si_calculate_power_efficiency_ratio()
|
/drivers/gpu/drm/amd/pm/powerplay/ |
D | si_dpm.c | 2328 u64 margin = (u64)SISLANDS_DPM2_PWREFFICIENCYRATIO_MARGIN; in si_calculate_power_efficiency_ratio() local 2336 n = div64_u64((u64)1024 * curr_vddc * curr_vddc * ((u64)1000 + margin), (u64)1000); in si_calculate_power_efficiency_ratio()
|