Home
last modified time | relevance | path

Searched refs:MSEC_PER_SEC (Results 1 – 25 of 134) sorted by relevance

123456

/OK3568_Linux_fs/kernel/drivers/misc/mei/
H A Dhw-txe-regs.h11 #define SEC_ALIVENESS_TIMER_TIMEOUT (5 * MSEC_PER_SEC)
12 #define SEC_ALIVENESS_WAIT_TIMEOUT (1 * MSEC_PER_SEC)
13 #define SEC_RESET_WAIT_TIMEOUT (1 * MSEC_PER_SEC)
14 #define SEC_READY_WAIT_TIMEOUT (5 * MSEC_PER_SEC)
15 #define START_MESSAGE_RESPONSE_WAIT_TIMEOUT (5 * MSEC_PER_SEC)
16 #define RESET_CANCEL_WAIT_TIMEOUT (1 * MSEC_PER_SEC)
/OK3568_Linux_fs/kernel/drivers/hwmon/
H A Dlm75.c128 .default_sample_time = MSEC_PER_SEC / 10,
159 .default_sample_time = MSEC_PER_SEC / 6,
171 .default_sample_time = MSEC_PER_SEC / 10,
175 .default_sample_time = MSEC_PER_SEC / 10,
179 .default_sample_time = MSEC_PER_SEC / 10,
183 .default_sample_time = MSEC_PER_SEC / 10,
187 .default_sample_time = MSEC_PER_SEC / 7,
191 .default_sample_time = MSEC_PER_SEC / 7,
196 .default_sample_time = MSEC_PER_SEC / 20,
200 .default_sample_time = MSEC_PER_SEC / 18,
[all …]
/OK3568_Linux_fs/kernel/include/linux/
H A Djiffies.h302 #if HZ <= MSEC_PER_SEC && !(MSEC_PER_SEC % HZ)
310 return (m + (MSEC_PER_SEC / HZ) - 1) / (MSEC_PER_SEC / HZ); in _msecs_to_jiffies()
312 #elif HZ > MSEC_PER_SEC && !(HZ % MSEC_PER_SEC)
323 return m * (HZ / MSEC_PER_SEC); in _msecs_to_jiffies()
332 if (HZ > MSEC_PER_SEC && m > jiffies_to_msecs(MAX_JIFFY_OFFSET)) in _msecs_to_jiffies()
/OK3568_Linux_fs/kernel/kernel/time/
H A Dtime.c376 #if HZ <= MSEC_PER_SEC && !(MSEC_PER_SEC % HZ) in jiffies_to_msecs()
377 return (MSEC_PER_SEC / HZ) * j; in jiffies_to_msecs()
378 #elif HZ > MSEC_PER_SEC && !(HZ % MSEC_PER_SEC) in jiffies_to_msecs()
379 return (j + (HZ / MSEC_PER_SEC) - 1)/(HZ / MSEC_PER_SEC); in jiffies_to_msecs()
703 #if HZ <= MSEC_PER_SEC && !(MSEC_PER_SEC % HZ) in jiffies64_to_msecs()
704 return (MSEC_PER_SEC / HZ) * j; in jiffies64_to_msecs()
/OK3568_Linux_fs/kernel/drivers/net/wireguard/selftest/
H A Dratelimiter.c16 [PACKETS_BURSTABLE + 1] = { true, MSEC_PER_SEC / PACKETS_PER_SECOND },
18 [PACKETS_BURSTABLE + 3] = { true, (MSEC_PER_SEC / PACKETS_PER_SECOND) * 2 },
25 unsigned int total_msecs = 2 * MSEC_PER_SEC / PACKETS_PER_SECOND / 3; in maximum_jiffies_at_index()
130 BUILD_BUG_ON(MSEC_PER_SEC % PACKETS_PER_SECOND != 0); in wg_ratelimiter_selftest()
/OK3568_Linux_fs/u-boot/drivers/video/drm/
H A Dsamsung_mipi_dcphy.c27 #define MSEC_PER_SEC 1000L macro
1668 fin = div64_ul(prate, MSEC_PER_SEC); in samsung_mipi_dcphy_pll_round_rate()
1671 fout = div64_ul(rate, MSEC_PER_SEC); in samsung_mipi_dcphy_pll_round_rate()
1682 if (fvco < 2600 * MSEC_PER_SEC || fvco > 6600 * MSEC_PER_SEC) in samsung_mipi_dcphy_pll_round_rate()
1686 min_prediv = DIV_ROUND_UP(fin, 30 * MSEC_PER_SEC); in samsung_mipi_dcphy_pll_round_rate()
1687 max_prediv = DIV_ROUND_CLOSEST(fin, 6 * MSEC_PER_SEC); in samsung_mipi_dcphy_pll_round_rate()
1707 delta = abs(fvco * MSEC_PER_SEC - tmp); in samsung_mipi_dcphy_pll_round_rate()
1714 best_freq = DIV_ROUND_CLOSEST(tmp, 1000) * MSEC_PER_SEC; in samsung_mipi_dcphy_pll_round_rate()
1719 rate += 100 * MSEC_PER_SEC; in samsung_mipi_dcphy_pll_round_rate()
H A Ddw_mipi_dsi2.c169 #define MSEC_PER_SEC 1000L macro
356 return value * MSEC_PER_SEC; in dw_mipi_dsi2_get_lane_rate()
570 pixel_clk = mode->crtc_clock * MSEC_PER_SEC; in dw_mipi_dsi2_ipi_set()
573 phy_hs_clk = DIV_ROUND_CLOSEST(dsi2->lane_hs_rate * MSEC_PER_SEC, 7); in dw_mipi_dsi2_ipi_set()
575 phy_hs_clk = DIV_ROUND_CLOSEST(dsi2->lane_hs_rate * MSEC_PER_SEC, 16); in dw_mipi_dsi2_ipi_set()
920 dsi2->lane_hs_rate = DIV_ROUND_CLOSEST(rate, MSEC_PER_SEC); in dw_mipi_dsi2_set_hs_clk()
978 phy_hsclk = DIV_ROUND_CLOSEST(dsi2->lane_hs_rate * MSEC_PER_SEC, 7); in dw_mipi_dsi2_phy_ratio_cfg()
981 phy_hsclk = DIV_ROUND_CLOSEST(dsi2->lane_hs_rate * MSEC_PER_SEC, 16); in dw_mipi_dsi2_phy_ratio_cfg()
984 pixel_clk = mode->crtc_clock * MSEC_PER_SEC; in dw_mipi_dsi2_phy_ratio_cfg()
1001 hstx_clk = DIV_ROUND_CLOSEST(dsi2->lane_hs_rate * MSEC_PER_SEC, 16); in dw_mipi_dsi2_lp2hs_or_hs2lp_cfg()
/OK3568_Linux_fs/kernel/include/linux/usb/
H A Dtcpm.h33 #define PD_ROLE_SWAP_TIMEOUT (MSEC_PER_SEC * 10)
34 #define PD_PPS_CTRL_TIMEOUT (MSEC_PER_SEC * 10)
/OK3568_Linux_fs/u-boot/include/power/power_delivery/
H A Dtcpm.h33 #define PD_ROLE_SWAP_TIMEOUT (MSEC_PER_SEC * 10)
34 #define PD_PPS_CTRL_TIMEOUT (MSEC_PER_SEC * 10)
/OK3568_Linux_fs/kernel/drivers/input/mouse/
H A Dsynaptics_i2c.c178 #define THREAD_IRQ_SLEEP_MSECS (THREAD_IRQ_SLEEP_SECS * MSEC_PER_SEC)
184 #define NO_DATA_THRES (MSEC_PER_SEC)
185 #define NO_DATA_SLEEP_MSECS (MSEC_PER_SEC / 4)
232 touch->scan_ms = MSEC_PER_SEC / scan_rate; in set_scan_rate()
/OK3568_Linux_fs/kernel/drivers/net/wireless/ti/wl18xx/
H A Dscan.c217 c->long_interval > req->scan_plans[0].interval * MSEC_PER_SEC) { in wl18xx_scan_sched_scan_config()
219 cpu_to_le16(req->scan_plans[0].interval * MSEC_PER_SEC); in wl18xx_scan_sched_scan_config()
225 cpu_to_le16(req->scan_plans[0].interval * MSEC_PER_SEC); in wl18xx_scan_sched_scan_config()
/OK3568_Linux_fs/kernel/drivers/phy/rockchip/
H A Dphy-rockchip-samsung-dcphy.c1524 fin = div64_ul(prate, MSEC_PER_SEC); in samsung_mipi_dcphy_pll_round_rate()
1527 fout = div64_ul(rate, MSEC_PER_SEC); in samsung_mipi_dcphy_pll_round_rate()
1538 if (fvco < 2600 * MSEC_PER_SEC || fvco > 6600 * MSEC_PER_SEC) in samsung_mipi_dcphy_pll_round_rate()
1542 min_prediv = DIV_ROUND_UP_ULL(fin, 30 * MSEC_PER_SEC); in samsung_mipi_dcphy_pll_round_rate()
1543 max_prediv = DIV_ROUND_CLOSEST_ULL(fin, 6 * MSEC_PER_SEC); in samsung_mipi_dcphy_pll_round_rate()
1563 delta = abs(fvco * MSEC_PER_SEC - tmp); in samsung_mipi_dcphy_pll_round_rate()
1570 best_freq = DIV_ROUND_CLOSEST_ULL(tmp, 1000) * MSEC_PER_SEC; in samsung_mipi_dcphy_pll_round_rate()
1575 rate += 100 * MSEC_PER_SEC; in samsung_mipi_dcphy_pll_round_rate()
1802 unsigned long fin = div64_ul(clk_get_rate(samsung->ref_clk), MSEC_PER_SEC); in samsung_mipi_dcphy_pll_ssc_modulation_calc()
/OK3568_Linux_fs/kernel/fs/xfs/
H A Dxfs_sysfs.c466 timeout = jiffies_to_msecs(cfg->retry_timeout) / MSEC_PER_SEC; in retry_timeout_seconds_show()
492 cfg->retry_timeout = msecs_to_jiffies(val * MSEC_PER_SEC); in retry_timeout_seconds_store()
493 ASSERT(msecs_to_jiffies(val * MSEC_PER_SEC) < LONG_MAX); in retry_timeout_seconds_store()
611 init[i].retry_timeout * MSEC_PER_SEC); in xfs_error_sysfs_init_class()
/OK3568_Linux_fs/kernel/drivers/nvmem/
H A Djz4780-efuse.c96 1 * MSEC_PER_SEC, in jz4780_efuse_read()
97 50 * MSEC_PER_SEC); in jz4780_efuse_read()
/OK3568_Linux_fs/kernel/include/vdso/
H A Dtime64.h6 #define MSEC_PER_SEC 1000L macro
/OK3568_Linux_fs/kernel/tools/include/linux/
H A Dtime64.h5 #define MSEC_PER_SEC 1000L macro
/OK3568_Linux_fs/kernel/drivers/tty/serial/8250/
H A D8250_lpc18xx.c66 * baud_clk, MSEC_PER_SEC); in lpc18xx_rs485_config()
72 rs485->delay_rts_after_send = (rs485_dly_reg * MSEC_PER_SEC) in lpc18xx_rs485_config()
/OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath10k/
H A Dwow.c237 pno->fast_scan_period = nd_config->scan_plans[0].interval * MSEC_PER_SEC; in ath10k_wmi_pno_check()
240 nd_config->scan_plans[1].interval * MSEC_PER_SEC; in ath10k_wmi_pno_check()
242 pno->fast_scan_period = nd_config->scan_plans[0].interval * MSEC_PER_SEC; in ath10k_wmi_pno_check()
244 pno->slow_scan_period = nd_config->scan_plans[0].interval * MSEC_PER_SEC; in ath10k_wmi_pno_check()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/
H A Ddw-mipi-dsi2-rockchip.c513 lane_rate = value * MSEC_PER_SEC; in dw_mipi_dsi2_get_lane_rate()
563 dsi2->lane_hs_rate = DIV_ROUND_UP(hs_clk_rate, MSEC_PER_SEC); in dw_mipi_dsi2_set_lane_rate()
623 phy_hsclk = DIV_ROUND_CLOSEST_ULL(dsi2->lane_hs_rate * MSEC_PER_SEC, 7); in dw_mipi_dsi2_phy_ratio_cfg()
625 phy_hsclk = DIV_ROUND_CLOSEST_ULL(dsi2->lane_hs_rate * MSEC_PER_SEC, 16); in dw_mipi_dsi2_phy_ratio_cfg()
628 pixel_clk = mode->crtc_clock * MSEC_PER_SEC; in dw_mipi_dsi2_phy_ratio_cfg()
649 hstx_clk = DIV_ROUND_CLOSEST_ULL(dsi2->lane_hs_rate * MSEC_PER_SEC, 16); in dw_mipi_dsi2_lp2hs_or_hs2lp_cfg()
753 pixel_clk = mode->crtc_clock * MSEC_PER_SEC; in dw_mipi_dsi2_ipi_set()
756 phy_hs_clk = DIV_ROUND_CLOSEST_ULL(dsi2->lane_hs_rate * MSEC_PER_SEC, 7); in dw_mipi_dsi2_ipi_set()
758 phy_hs_clk = DIV_ROUND_CLOSEST_ULL(dsi2->lane_hs_rate * MSEC_PER_SEC, 16); in dw_mipi_dsi2_ipi_set()
/OK3568_Linux_fs/kernel/fs/btrfs/
H A Ddiscard.c59 #define BTRFS_DISCARD_TARGET_MSEC (6 * 60 * 60UL * MSEC_PER_SEC)
354 MSEC_PER_SEC, bps_limit); in __btrfs_discard_schedule_work()
560 MSEC_PER_SEC / iops_limit); in btrfs_discard_calc_delay()
/OK3568_Linux_fs/kernel/drivers/staging/most/i2c/
H A Di2c.c98 delay = msecs_to_jiffies(MSEC_PER_SEC / polling_rate); in configure_channel()
100 pr = MSEC_PER_SEC / jiffies_to_msecs(dev->rx.delay); in configure_channel()
/OK3568_Linux_fs/kernel/lib/kunit/
H A Dtry-catch.c55 return 300 * msecs_to_jiffies(MSEC_PER_SEC); /* 5 min */ in kunit_test_timeout()
/OK3568_Linux_fs/kernel/sound/firewire/
H A Dlib.c70 #define PROBE_DELAY_MS (2 * MSEC_PER_SEC)
/OK3568_Linux_fs/kernel/drivers/watchdog/
H A Ddw_wdt.c167 msec = (u64)timeout->sec * MSEC_PER_SEC + timeout->msec; in dw_wdt_get_max_timeout_ms()
441 msec = (u64)tops[val] * MSEC_PER_SEC; in dw_wdt_handle_tops()
443 tout.msec = msec - ((u64)tout.sec * MSEC_PER_SEC); in dw_wdt_handle_tops()
/OK3568_Linux_fs/kernel/arch/s390/kernel/
H A Dtime.c667 mod_timer(&stp_timer, jiffies + msecs_to_jiffies(14400 * MSEC_PER_SEC)); in stp_check_leap()
672 mod_timer(&stp_timer, jiffies + msecs_to_jiffies(3600 * MSEC_PER_SEC)); in stp_check_leap()
716 mod_timer(&stp_timer, jiffies + msecs_to_jiffies(MSEC_PER_SEC)); in stp_work_fn()

123456