Searched defs:sort (Results 1 - 5 of 5) sorted by relevance

/drivers/net/ethernet/mellanox/mlx4/
H A Dqp.c413 int sort[MLX4_NUM_QP_REGION]; local
418 sort[i] = i;
422 if (dev->caps.reserved_qps_cnt[sort[j]] >
423 dev->caps.reserved_qps_cnt[sort[j - 1]]) {
424 tmp = sort[j];
425 sort[j] = sort[j - 1];
426 sort[j - 1] = tmp;
432 last_base -= dev->caps.reserved_qps_cnt[sort[i]];
433 dev->caps.reserved_qps_base[sort[
[all...]
/drivers/net/wireless/ath/ath9k/
H A Dcalib.c27 int16_t sort[ATH9K_NF_CAL_HIST_MAX]; local
31 sort[i] = nfCalBuffer[i];
35 if (sort[j] > sort[j - 1]) {
36 nfval = sort[j];
37 sort[j] = sort[j - 1];
38 sort[j - 1] = nfval;
42 nfval = sort[(ATH9K_NF_CAL_HIST_MAX - 1) >> 1];
/drivers/net/wireless/ath/ath5k/
H A Dphy.c1566 s16 sort[ATH5K_NF_CAL_HIST_MAX]; local
1570 memcpy(sort, ah->ah_nfcal_hist.nfval, sizeof(sort));
1573 if (sort[j] > sort[j - 1]) {
1574 tmp = sort[j];
1575 sort[j] = sort[j - 1];
1576 sort[j - 1] = tmp;
1582 "cal %d:%d\n", i, sort[
[all...]
/drivers/scsi/
H A Du14-34f.c133 * always use direct sort instead of reverse sort.
379 * commands in this queue are sorted by sector address. The sort is chosen
1553 static void sort(unsigned long sk[], unsigned int da[], unsigned int n, function
1638 if (!((rev && r) || (!rev && s))) sort(sl, il, n_ready, rev);
1650 if (overlap) sort(pl, il, n_ready, FALSE);
H A Deata.c177 * always use direct sort instead of reverse sort.
438 * commands in this queue are sorted by sector address. The sort is chosen
2079 static void sort(unsigned long sk[], unsigned int da[], unsigned int n, function
2184 sort(sl, il, n_ready, rev);
2204 sort(pl, il, n_ready, 0);

Completed in 131 milliseconds