Searched refs:max_res (Results 1 – 3 of 3) 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()
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()