Searched refs:sample_cnt (Results 1 – 5 of 5) sorted by relevance
28 static int sample_cnt; variable44 atomic_inc(&sample_cnt); in process_sample()183 cnt = atomic_xchg(&sample_cnt, 0); in test_ringbuf()190 cnt = atomic_xchg(&sample_cnt, 0); in test_ringbuf()207 cnt = atomic_xchg(&sample_cnt, 0); in test_ringbuf()237 cnt = atomic_xchg(&sample_cnt, 0); in test_ringbuf()254 cnt = atomic_xchg(&sample_cnt, 0); in test_ringbuf()284 cnt = atomic_xchg(&sample_cnt, 0); in test_ringbuf()
635 unsigned int sample_cnt) in mtk_i2c_get_clk_div_restri() argument642 if (sample_cnt == 1) { in mtk_i2c_get_clk_div_restri()675 unsigned int sample_cnt) in mtk_i2c_check_ac_timing() argument680 unsigned int sample_ns = div_u64(1000000000ULL * (sample_cnt + 1), in mtk_i2c_check_ac_timing()728 (sample_cnt << 12) | (high_cnt << 8); in mtk_i2c_check_ac_timing()730 i2c->ac_timing.ltiming |= (sample_cnt << 12) | in mtk_i2c_check_ac_timing()745 i2c->ac_timing.htiming = (sample_cnt << 8) | (high_cnt); in mtk_i2c_check_ac_timing()746 i2c->ac_timing.ltiming = (sample_cnt << 6) | (low_cnt); in mtk_i2c_check_ac_timing()779 unsigned int sample_cnt; in mtk_i2c_calculate_speed() local804 for (sample_cnt = 1; sample_cnt <= MAX_SAMPLE_CNT_DIV; sample_cnt++) { in mtk_i2c_calculate_speed()[all …]
91 u16 sample_cnt; member172 if (ca->sample_cnt < 8) { in tcp_cdg_hystart_update()173 ca->sample_cnt++; in tcp_cdg_hystart_update()281 ca->sample_cnt = 0; in tcp_cdg_cong_avoid()
99 u8 sample_cnt; /* number of samples to decide curr_rtt */ member126 ca->sample_cnt = 0; in bictcp_hystart_reset()431 if (ca->sample_cnt < HYSTART_MIN_SAMPLES) { in hystart_update()432 ca->sample_cnt++; in hystart_update()
86 __u8 sample_cnt; /* number of samples to decide curr_rtt */ member169 ca->sample_cnt = 0; in bictcp_hystart_reset()481 if (ca->sample_cnt < HYSTART_MIN_SAMPLES) { in hystart_update()482 ca->sample_cnt++; in hystart_update()