Searched refs:thres (Results 1 – 1 of 1) sorted by relevance
361 int thres = rc32_cnt/9600; //240*32=7680 300*32= 9600 400*32= 12800 in pm_ble_cal_32k_rc_offset() local362 if(!thres){ in pm_ble_cal_32k_rc_offset()363 thres = 1; in pm_ble_cal_32k_rc_offset()365 thres *= 0x100; in pm_ble_cal_32k_rc_offset()367 if (offset > thres) in pm_ble_cal_32k_rc_offset()369 offset = thres; in pm_ble_cal_32k_rc_offset()371 else if (offset < -thres) in pm_ble_cal_32k_rc_offset()373 offset = -thres; in pm_ble_cal_32k_rc_offset()