qcacmn: Create QDF timer multiplier get/set APIs

In order to provide greater flexibility on emulation platforms, replace
the current hard-coded QDF_TIMER_MULTIPLIER with a pair of get/set
methods, configurable at runtime.

Change-Id: I0757da6c2129db08459411eaef75b6183f1aa557
CRs-Fixed: 2049309
This commit is contained in:
Dustin Brown
2017-05-18 14:59:53 -07:00
کامیت شده توسط snandini
والد a17c68d656
کامیت c7e0c63260
3فایلهای تغییر یافته به همراه35 افزوده شده و 13 حذف شده

مشاهده پرونده

@@ -285,4 +285,20 @@ void qdf_timer_module_deinit(void);
*/
void qdf_get_time_of_the_day_in_hr_min_sec_usec(char *tbuf, int len);
void qdf_register_mc_timer_callback(void (*callback) (unsigned long data));
/**
* qdf_timer_set_multiplier() - set the global QDF timer scalar value
* @multiplier: the scalar value to apply
*
* Return: None
*/
void qdf_timer_set_multiplier(uint32_t multiplier);
/**
* qdf_timer_get_multiplier() - get the global QDF timer scalar value
*
* Return: the global QDF timer scalar value
*/
uint32_t qdf_timer_get_multiplier(void);
#endif /* __QDF_MC_TIMER_H */