Searched refs:max_idx (Results 1 – 3 of 3) sorted by relevance
75 int max_idx; /* Maximum index of section pointer list pool */ member224 slidx_pool.cur_idx = (slidx_pool.cur_idx + 1)%slidx_pool.max_idx; }351 slidx_pool.max_idx = (rec_max_size/sect_min_size) * 2 + 1; in init_record_index_pools()353 kmalloc(slidx_pool.max_idx * sizeof(slidx_list_t), GFP_KERNEL); in init_record_index_pools()
2633 u8 pdadc_i, pdadc_n, pwr_step, pdg, max_idx, table_size; in ath5k_combine_pwr_to_pdadc_curves() local2688 max_idx = (pdadc_n < table_size) ? pdadc_n : table_size; in ath5k_combine_pwr_to_pdadc_curves()2691 while (pdadc_0 < max_idx && pdadc_i < 128) in ath5k_combine_pwr_to_pdadc_curves()2695 if (pdadc_n <= max_idx) in ath5k_combine_pwr_to_pdadc_curves()2709 (pdadc_0 - max_idx) * pwr_step; in ath5k_combine_pwr_to_pdadc_curves()
193 int max_idx = 0; in ad714x_cal_highest_stage() local199 max_idx = i; in ad714x_cal_highest_stage()203 return max_idx; in ad714x_cal_highest_stage()