Searched refs:max_res (Results 1 – 4 of 4) sorted by relevance
402 struct resource *res, *max_res = NULL; in ofdrm_find_fb_resource() local413 if (!max_res || resource_size(res) > resource_size(max_res)) in ofdrm_find_fb_resource()414 max_res = res; /* store largest resource as fallback */ in ofdrm_find_fb_resource()417 return max_res; in ofdrm_find_fb_resource()
2199 uint8_t max_res = 15; in ipmi_picmg_main() local2202 max_res = 0; in ipmi_picmg_main()2207 for(clk_res=0;clk_res<=max_res;clk_res++) { in ipmi_picmg_main()2216 for(clk_res=0;clk_res<=max_res;clk_res++) { in ipmi_picmg_main()2225 for(clk_res=0;clk_res<=max_res;clk_res++) { in ipmi_picmg_main()
280 u64 max_res; in lpg_calc_freq() local305 max_res = LPG_RESOLUTION_15BIT; in lpg_calc_freq()311 max_res = LPG_RESOLUTION_9BIT; in lpg_calc_freq()320 max_period = div64_u64((u64)NSEC_PER_SEC * max_res * LPG_MAX_PREDIV * (1 << LPG_MAX_M), in lpg_calc_freq()
163 int max_res = 0; in ad714x_cal_highest_stage() local168 if (ad714x->sensor_val[i] > max_res) { in ad714x_cal_highest_stage()169 max_res = ad714x->sensor_val[i]; in ad714x_cal_highest_stage()