Searched refs:pivot (Results 1 – 2 of 2) sorted by relevance
/drivers/infiniband/hw/usnic/ |
D | usnic_uiom_interval_tree.c | 127 long int pivot = start; in usnic_uiom_get_intervals_diff() local 136 if (pivot < interval->start) { in usnic_uiom_get_intervals_diff() 137 MAKE_NODE_AND_APPEND(tmp, pivot, interval->start - 1, in usnic_uiom_get_intervals_diff() 140 pivot = interval->start; in usnic_uiom_get_intervals_diff() 148 if (pivot > interval->last) { in usnic_uiom_get_intervals_diff() 150 } else if (pivot <= interval->last && in usnic_uiom_get_intervals_diff() 153 pivot = interval->last + 1; in usnic_uiom_get_intervals_diff() 157 if (pivot <= last) in usnic_uiom_get_intervals_diff() 158 MAKE_NODE_AND_APPEND(tmp, pivot, last, 1, flags, err, err_out, in usnic_uiom_get_intervals_diff()
|
/drivers/gpu/drm/tegra/ |
D | dp.c | 76 unsigned int i, pivot; in drm_dp_link_add_rate() local 81 for (pivot = 0; pivot < link->num_rates; pivot++) in drm_dp_link_add_rate() 82 if (rate <= link->rates[pivot]) in drm_dp_link_add_rate() 85 if (pivot != link->num_rates && rate == link->rates[pivot]) in drm_dp_link_add_rate() 88 for (i = link->num_rates; i > pivot; i--) in drm_dp_link_add_rate() 91 link->rates[pivot] = rate; in drm_dp_link_add_rate()
|