/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/ |
H A D | sntp_opts.h | 100 * Define SNTP_SET_SYSTEM_TIME_US(sec, us) to set the time in microseconds instead of this one 113 #define SNTP_SET_SYSTEM_TIME_US(sec, us) 203 #define SNTP_GET_SYSTEM_TIME(sec, us) do { (sec) = 0; (us) = 0; } while (0)
|
/device/soc/rockchip/common/vendor/drivers/clk/ |
H A D | clk-pvtm.c | 61 unsigned int us = delay % 0x3e8; in rockchip_clock_pvtm_delay() local 65 us += ms * 0x3e8; in rockchip_clock_pvtm_delay() 71 if (us >= 0xa) { in rockchip_clock_pvtm_delay() 72 usleep_range(us, us + 0x64); in rockchip_clock_pvtm_delay() 74 udelay(us); in rockchip_clock_pvtm_delay() 98 /* 24m clk ,24cnt=1us */ in rockchip_clock_pvtm_get_value()
|
/device/soc/rockchip/rk3588/kernel/drivers/clk/rockchip/ |
H A D | clk-pvtm.c | 63 unsigned int us = delay % 1000; in rockchip_clock_pvtm_delay() local 67 us += ms * 1000; in rockchip_clock_pvtm_delay() 72 if (us >= 10) in rockchip_clock_pvtm_delay() 73 usleep_range(us, us + 100); in rockchip_clock_pvtm_delay() 75 udelay(us); in rockchip_clock_pvtm_delay() 100 /* 24m clk ,24cnt=1us */ in rockchip_clock_pvtm_get_value()
|
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/include/ |
H A D | hi_common.h | 38 #define HI_USLEEP(us) \ 41 ts.tv_sec = us / 1000000; \ 42 ts.tv_nsec = (us % 1000000) * 1000; \
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/include/ |
H A D | hi_time.h | 37 * @param us [IN] type #hi_u32,delay period (unit: microsecond). 46 hi_void hi_udelay(hi_u32 us); 107 * @brief Obtains the system time (unit: us).CNcomment:获取系统时间(单位:us)。CNend 110 * Obtains the system time (unit: us).CNcomment:获取系统时间(单位:us)。CNend
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/drivers/cipher/ |
H A D | drv_osal_lib.h | 65 #define crypto_udelay(us) hi_udelay(us)
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/ |
H A D | hi_time.h | 47 * @param us [IN] type #hi_u32,delay period (unit: microsecond). 55 hi_void hi_udelay(hi_u32 us); 126 * @brief Obtains the system time (unit: us).CNcomment:获取系统时间(单位:us)。CNend 129 * Obtains the system time (unit: us).CNcomment:获取系统时间(单位:us)。CNend
|
/device/soc/rockchip/common/vendor/drivers/rockchip/ |
H A D | rockchip_pvtm.c | 235 unsigned int us = delay % 0x3E8;
in rockchip_pvtm_delay() local 239 us += ms * 0x3E8;
in rockchip_pvtm_delay() 245 if (us >= 0xA) {
in rockchip_pvtm_delay() 246 usleep_range(us, us + 0x64);
in rockchip_pvtm_delay() 248 udelay(us);
in rockchip_pvtm_delay() 306 /* clk = 24 Mhz, T = 1 / 24 us */
in rockchip_pvtm_get_value() 375 /* clk = 24 Mhz, T = 1 / 24 us */
in rv1126_pvtm_get_value()
|
/device/soc/rockchip/rk3588/kernel/drivers/soc/rockchip/ |
H A D | rockchip_pvtm.c | 242 unsigned int us = delay % 1000; in rockchip_pvtm_delay() local 246 us += ms * 1000; in rockchip_pvtm_delay() 251 if (us >= 10) in rockchip_pvtm_delay() 252 usleep_range(us, us + 100); in rockchip_pvtm_delay() 254 udelay(us); in rockchip_pvtm_delay() 320 /* clk = 24 Mhz, T = 1 / 24 us */ in rockchip_pvtm_get_value() 394 /* clk = 24 Mhz, T = 1 / 24 us */ in rv1126_pvtm_get_value()
|
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/ |
H A D | bcmutils.h | 113 * Spin at most 'us' microseconds while 'exp' is true. 121 #define SPINWAIT(exp, us) { \ 122 uint countdown = (us) + (SPINWAIT_POLL_PERIOD - 1U); \ 242 #define bcmprinttstamp(us)
|
/device/soc/hisilicon/hi3751v350/sdk_linux/source/msp/drv/i2c/gpio_i2c/ |
H A D | drv_gpio_i2c.c | 69 #define DELAY(i2c_num, us) time_delay_us(i2c_num, us)
|
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/ |
H A D | rockchip_drm_vop.h | 1315 static inline int us_to_vertical_line(struct drm_display_mode *mode, int us) in us_to_vertical_line() argument 1317 return us * mode->clock / mode->htotal / 0x3e8; in us_to_vertical_line()
|
/device/soc/rockchip/common/sdk_linux/drivers/regulator/ |
H A D | core.c | 2008 /* Did the lookup explicitly defer for us? */
in regulator_resolve_supply() 2595 unsigned int us = delay % CORE_ONETHOUSAND;
in _regulator_enable_delay() local 2603 us += ms * CORE_ONETHOUSAND;
in _regulator_enable_delay() 2611 * wakeup sources. For delays shorter than 10 us, don't even
in _regulator_enable_delay() 2615 if (us >= 0xA) {
in _regulator_enable_delay() 2616 usleep_range(us, us + 0x64);
in _regulator_enable_delay() 2618 udelay(us);
in _regulator_enable_delay()
|
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
H A D | dhd.h | 1529 #define SPINWAIT_SLEEP(a, exp, us) do { \ 1530 uint countdown = (us) + 9999; \ 1546 #define SPINWAIT_SLEEP(a, exp, us) do { \ 1547 uint countdown = (us) + 9; \
|