Searched refs:max_dist (Results 1 – 2 of 2) sorted by relevance
481 int cnt, max_dist; in sparx5_dsm_calendar_check() local487 max_dist = data->avg_dist[port]; in sparx5_dsm_calendar_check()510 cnt = distances[idx] - max_dist; in sparx5_dsm_calendar_check()517 cnt = cnt + distances[jdx] - max_dist; in sparx5_dsm_calendar_check()520 if (cnt > max_dist) in sparx5_dsm_calendar_check()529 port, cnt, max_dist); in sparx5_dsm_calendar_check()
390 unsigned int max_dist; in regcache_rbtree_write() local393 max_dist = map->reg_stride * sizeof(*rbnode_tmp) / in regcache_rbtree_write()395 if (reg < max_dist) in regcache_rbtree_write()398 min = reg - max_dist; in regcache_rbtree_write()399 max = reg + max_dist; in regcache_rbtree_write()