Searched refs:btdm_lpcycle_us_frac (Results 1 – 5 of 5) sorted by relevance
376 static DRAM_ATTR uint8_t btdm_lpcycle_us_frac = 0; variable710 us = (us + (1 << (btdm_lpcycle_us_frac - 1))) >> btdm_lpcycle_us_frac; in btdm_lpcycles_2_us()722 uint64_t cycles = ((uint64_t)(us) << btdm_lpcycle_us_frac) / btdm_lpcycle_us; in btdm_us_2_lpcycles()1085 btdm_lpcycle_us_frac = RTC_CLK_CAL_FRACT; in esp_bt_controller_init()1086 btdm_lpcycle_us = 2 << (btdm_lpcycle_us_frac); in esp_bt_controller_init()1110 btdm_lpcycle_us_frac = RTC_CLK_CAL_FRACT; in esp_bt_controller_init()1111 btdm_lpcycle_us = 2 << (btdm_lpcycle_us_frac); in esp_bt_controller_init()1116 btdm_lpcycle_us_frac = RTC_CLK_CAL_FRACT; in esp_bt_controller_init()
374 static DRAM_ATTR uint8_t btdm_lpcycle_us_frac = 0; variable752 res = (local_error_corr >> btdm_lpcycle_us_frac); in btdm_lpcycles_2_hus()753 local_error_corr -= (res << btdm_lpcycle_us_frac); in btdm_lpcycles_2_hus()769 uint64_t cycles = ((uint64_t)(hus) << btdm_lpcycle_us_frac) / btdm_lpcycle_us; in btdm_hus_2_lpcycles()1097 btdm_lpcycle_us_frac = RTC_CLK_CAL_FRACT; in btdm_low_power_mode_init()1098 btdm_lpcycle_us = 2 << (btdm_lpcycle_us_frac); in btdm_low_power_mode_init()1137 btdm_lpcycle_us_frac = RTC_CLK_CAL_FRACT; in btdm_low_power_mode_init()1138 btdm_lpcycle_us = 1 << (btdm_lpcycle_us_frac); in btdm_low_power_mode_init()1143 btdm_lpcycle_us_frac = RTC_CLK_CAL_FRACT; in btdm_low_power_mode_init()1151 btdm_lpcycle_us_frac = RTC_CLK_CAL_FRACT; in btdm_low_power_mode_init()
372 static DRAM_ATTR uint8_t btdm_lpcycle_us_frac = 0; variable741 res = (local_error_corr >> btdm_lpcycle_us_frac); in btdm_lpcycles_2_hus()742 local_error_corr -= (res << btdm_lpcycle_us_frac); in btdm_lpcycles_2_hus()758 uint64_t cycles = ((uint64_t)(hus) << btdm_lpcycle_us_frac) / btdm_lpcycle_us; in btdm_hus_2_lpcycles()1086 btdm_lpcycle_us_frac = RTC_CLK_CAL_FRACT; in btdm_low_power_mode_init()1087 btdm_lpcycle_us = 2 << (btdm_lpcycle_us_frac); in btdm_low_power_mode_init()1126 btdm_lpcycle_us_frac = RTC_CLK_CAL_FRACT; in btdm_low_power_mode_init()1127 btdm_lpcycle_us = 1 << (btdm_lpcycle_us_frac); in btdm_low_power_mode_init()1132 btdm_lpcycle_us_frac = RTC_CLK_CAL_FRACT; in btdm_low_power_mode_init()1140 btdm_lpcycle_us_frac = RTC_CLK_CAL_FRACT; in btdm_low_power_mode_init()
427 static DRAM_ATTR uint8_t btdm_lpcycle_us_frac = 0; variable740 res = (local_error_corr >> btdm_lpcycle_us_frac); in btdm_lpcycles_2_hus()741 local_error_corr -= (res << btdm_lpcycle_us_frac); in btdm_lpcycles_2_hus()756 uint64_t cycles = ((uint64_t)(hus) << btdm_lpcycle_us_frac) / btdm_lpcycle_us; in btdm_hus_2_lpcycles()1278 btdm_lpcycle_us_frac = RTC_CLK_CAL_FRACT; in btdm_low_power_mode_init()1279 btdm_lpcycle_us = 2 << (btdm_lpcycle_us_frac); in btdm_low_power_mode_init()1318 btdm_lpcycle_us_frac = RTC_CLK_CAL_FRACT; in btdm_low_power_mode_init()1319 btdm_lpcycle_us = 1 << (btdm_lpcycle_us_frac); in btdm_low_power_mode_init()1324 btdm_lpcycle_us_frac = RTC_CLK_CAL_FRACT; in btdm_low_power_mode_init()1332 btdm_lpcycle_us_frac = RTC_CLK_CAL_FRACT; in btdm_low_power_mode_init()
445 static DRAM_ATTR uint8_t btdm_lpcycle_us_frac = 0; // number of fractional bit for btdm_lpcycle_us variable910 us = (us + (1 << (btdm_lpcycle_us_frac - 1))) >> btdm_lpcycle_us_frac; in btdm_lpcycles_2_us()922 uint64_t cycles = ((uint64_t)(us) << btdm_lpcycle_us_frac) / btdm_lpcycle_us; in btdm_us_2_lpcycles()1560 btdm_lpcycle_us_frac = RTC_CLK_CAL_FRACT; in esp_bt_controller_init()1561 btdm_lpcycle_us = 2 << (btdm_lpcycle_us_frac); in esp_bt_controller_init()1588 btdm_lpcycle_us_frac = RTC_CLK_CAL_FRACT; in esp_bt_controller_init()1589 btdm_lpcycle_us = 2 << (btdm_lpcycle_us_frac); in esp_bt_controller_init()1594 btdm_lpcycle_us_frac = RTC_CLK_CAL_FRACT; in esp_bt_controller_init()