Home
last modified time | relevance | path

Searched refs:margin (Results 1 – 19 of 19) sorted by relevance

/drivers/watchdog/
Dsbc_fitpc2_wdt.c30 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)");
Dscx200_wdt.c38 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()
Dit8712f_wdt.c41 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()
Dar7_wdt.c37 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()
Dsa1100_wdt.c155 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/
Drc-core-priv.h167 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/
Dia_css_sdis_common.host.h67 s32 margin[DVS2_PROJ_MARGIN]; member
74 s32 margin[DVS2_PROJ_MARGIN]; member
/drivers/gpu/drm/
Ddrm_modes.c1593 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/
Dintel_ddi_buf_trans.h22 u8 margin; /* swing value */ member
Dintel_dpio_phy.h21 enum port port, u32 margin, u32 scale,
Dintel_dpio_phy.c270 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()
Dintel_ddi.c991 ddi_translations->entries[level].bxt.margin, in bxt_ddi_vswing_sequence()
/drivers/net/wireless/mediatek/mt76/
Dmt76x02_dfs.c183 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/
Dpwm_bl.c395 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/
Dvt.c4801 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/
DKconfig388 out to lunch past a certain margin. It can reboot the system
/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_mode_vba_30.c3096 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/
Dsi_dpm.c2236 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/
Dsi_dpm.c2328 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()