Searched refs:aws_chn_index (Results 1 – 2 of 2) sorted by relevance
41 #define aws_chn_index (aws_info->chn_index) macro131 aws_chn_index++; in aws_next_channel()132 if (aws_chn_index >= AWS_MAX_CHN_NUMS) { in aws_next_channel()133 aws_chn_index = 0; /* rollback to start */ in aws_next_channel()136 if (aws_chn_list[aws_chn_index]) { /* valid channel */ in aws_next_channel()141 aws_cur_chn = aws_chn_list[aws_chn_index]; in aws_next_channel()181 int i = aws_chn_index; in aws_switch_dst_chan()192 for (i = 0; i < aws_chn_index; i++) { in aws_switch_dst_chan()202 if (i == aws_chn_index) { /* no need to switch channel. */ in aws_switch_dst_chan()206 aws_chn_index = i; in aws_switch_dst_chan()[all …]
109 static int aws_chn_index = 0; in get_next_channel() local111 aws_chn_index++; in get_next_channel()112 if (aws_chn_index > 13) { in get_next_channel()113 aws_chn_index = 1; /* rollback to start */ in get_next_channel()116 return aws_chn_index; in get_next_channel()
Completed in 5 milliseconds