Lines Matching refs:tmp_start
960 u32 tmp_start; /* this is to make sure start address is divisible by the length needed */ in ibmphp_check_resource() local
1036 tmp_start = range->start; in ibmphp_check_resource()
1039 while ((len_tmp = res_cur->start - 1 - tmp_start) >= res->len) { in ibmphp_check_resource()
1040 if ((tmp_start % tmp_divide) == 0) { in ibmphp_check_resource()
1043 start_cur = tmp_start; in ibmphp_check_resource()
1046 tmp_start += tmp_divide - tmp_start % tmp_divide; in ibmphp_check_resource()
1047 if (tmp_start >= res_cur->start - 1) in ibmphp_check_resource()
1077 tmp_start = res_cur->end + 1; in ibmphp_check_resource()
1080 while ((len_tmp = range->end - tmp_start) >= res->len) { in ibmphp_check_resource()
1081 if ((tmp_start % tmp_divide) == 0) { in ibmphp_check_resource()
1084 start_cur = tmp_start; in ibmphp_check_resource()
1087 tmp_start += tmp_divide - tmp_start % tmp_divide; in ibmphp_check_resource()
1088 if (tmp_start >= range->end) in ibmphp_check_resource()
1116 tmp_start = range->start; in ibmphp_check_resource()
1119 while ((len_tmp = res_cur->start - 1 - tmp_start) >= res->len) { in ibmphp_check_resource()
1120 if ((tmp_start % tmp_divide) == 0) { in ibmphp_check_resource()
1123 start_cur = tmp_start; in ibmphp_check_resource()
1126 tmp_start += tmp_divide - tmp_start % tmp_divide; in ibmphp_check_resource()
1127 if (tmp_start >= res_cur->start - 1) in ibmphp_check_resource()
1153 tmp_start = res_prev->end + 1; in ibmphp_check_resource()
1156 while ((len_tmp = res_cur->start - 1 - tmp_start) >= res->len) { in ibmphp_check_resource()
1157 if ((tmp_start % tmp_divide) == 0) { in ibmphp_check_resource()
1160 start_cur = tmp_start; in ibmphp_check_resource()
1163 tmp_start += tmp_divide - tmp_start % tmp_divide; in ibmphp_check_resource()
1164 if (tmp_start >= res_cur->start - 1) in ibmphp_check_resource()
1214 tmp_start = range->start; in ibmphp_check_resource()
1217 while ((len_tmp = range->end - tmp_start) >= res->len) { in ibmphp_check_resource()
1218 if ((tmp_start % tmp_divide) == 0) { in ibmphp_check_resource()
1221 start_cur = tmp_start; in ibmphp_check_resource()
1224 tmp_start += tmp_divide - tmp_start % tmp_divide; in ibmphp_check_resource()
1225 if (tmp_start >= range->end) in ibmphp_check_resource()
1280 tmp_start = range->start; in ibmphp_check_resource()
1283 while ((len_tmp = range->end - tmp_start) >= res->len) { in ibmphp_check_resource()
1284 if ((tmp_start % tmp_divide) == 0) { in ibmphp_check_resource()
1287 start_cur = tmp_start; in ibmphp_check_resource()
1290 tmp_start += tmp_divide - tmp_start % tmp_divide; in ibmphp_check_resource()
1291 if (tmp_start >= range->end) in ibmphp_check_resource()