Searched refs:max_res (Results 1 – 3 of 3) sorted by relevance
401 struct resource *res, *max_res = NULL; in ofdrm_find_fb_resource() local412 if (!max_res || resource_size(res) > resource_size(max_res)) in ofdrm_find_fb_resource()413 max_res = res; /* store largest resource as fallback */ in ofdrm_find_fb_resource()416 return max_res; in ofdrm_find_fb_resource()
430 u64 max_res; in lpg_calc_freq() local455 max_res = LPG_RESOLUTION_15BIT; in lpg_calc_freq()461 max_res = LPG_RESOLUTION_9BIT; in lpg_calc_freq()470 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()