/drivers/net/wireless/ath/ath9k/ |
D | calib.c | 27 int16_t sort[ATH9K_NF_CAL_HIST_MAX]; in ath9k_hw_get_nf_hist_mid() local 31 sort[i] = nfCalBuffer[i]; in ath9k_hw_get_nf_hist_mid() 35 if (sort[j] > sort[j - 1]) { in ath9k_hw_get_nf_hist_mid() 36 nfval = sort[j]; in ath9k_hw_get_nf_hist_mid() 37 sort[j] = sort[j - 1]; in ath9k_hw_get_nf_hist_mid() 38 sort[j - 1] = nfval; in ath9k_hw_get_nf_hist_mid() 42 nfval = sort[(ATH9K_NF_CAL_HIST_MAX - 1) >> 1]; in ath9k_hw_get_nf_hist_mid()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | qp.c | 797 int sort[MLX4_NUM_QP_REGION]; in mlx4_init_qp_table() local 802 sort[i] = i; in mlx4_init_qp_table() 806 if (dev->caps.reserved_qps_cnt[sort[j]] > in mlx4_init_qp_table() 807 dev->caps.reserved_qps_cnt[sort[j - 1]]) in mlx4_init_qp_table() 808 swap(sort[j], sort[j - 1]); in mlx4_init_qp_table() 813 last_base -= dev->caps.reserved_qps_cnt[sort[i]]; in mlx4_init_qp_table() 814 dev->caps.reserved_qps_base[sort[i]] = last_base; in mlx4_init_qp_table() 816 dev->caps.reserved_qps_cnt[sort[i]]; in mlx4_init_qp_table()
|
/drivers/power/supply/ |
D | twl4030_madc_battery.c | 223 sort(pdata->charging, pdata->charging_size, in twl4030_madc_battery_probe() 226 sort(pdata->discharging, pdata->discharging_size, in twl4030_madc_battery_probe()
|
/drivers/net/wireless/ath/ath5k/ |
D | phy.c | 1564 s16 sort[ATH5K_NF_CAL_HIST_MAX]; in ath5k_hw_get_median_noise_floor() local 1568 memcpy(sort, ah->ah_nfcal_hist.nfval, sizeof(sort)); in ath5k_hw_get_median_noise_floor() 1571 if (sort[j] > sort[j - 1]) { in ath5k_hw_get_median_noise_floor() 1572 tmp = sort[j]; in ath5k_hw_get_median_noise_floor() 1573 sort[j] = sort[j - 1]; in ath5k_hw_get_median_noise_floor() 1574 sort[j - 1] = tmp; in ath5k_hw_get_median_noise_floor() 1580 "cal %d:%d\n", i, sort[i]); in ath5k_hw_get_median_noise_floor() 1582 return sort[(ATH5K_NF_CAL_HIST_MAX - 1) / 2]; in ath5k_hw_get_median_noise_floor()
|
/drivers/staging/comedi/drivers/ |
D | ni_routes.c | 280 sort(valid_routes->routes, valid_routes->n_route_sets, in ni_sort_device_routes() 293 sort(valid_routes->routes[n].src, valid_routes->routes[n].n_src, in ni_sort_device_routes()
|
/drivers/firmware/efi/ |
D | fake_mem.c | 116 sort(fake_mems, nr_fake_mem, sizeof(struct efi_mem_range), in setup_fake_mem()
|
/drivers/firmware/efi/libstub/ |
D | Makefile | 48 arm-deps-$(CONFIG_ARM64) += sort.c
|
D | arm-stub.c | 354 sort(memory_map, map_size / desc_size, desc_size, cmp_mem_desc, in efi_get_virtmap()
|
/drivers/sh/intc/ |
D | core.c | 267 sort(d->prio, hw->nr_prio_regs, sizeof(*d->prio), in register_intc_controller() 280 sort(d->sense, hw->nr_sense_regs, sizeof(*d->sense), in register_intc_controller()
|
/drivers/input/touchscreen/ |
D | ti_am335x_tsc.c | 254 sort(yvals, creads, sizeof(unsigned int), in titsc_read_coordinates() 256 sort(xvals, creads, sizeof(unsigned int), in titsc_read_coordinates()
|
/drivers/gpu/drm/ |
D | drm_blend.c | 457 sort(states, n, sizeof(*states), drm_atomic_state_zpos_cmp, NULL); in drm_atomic_helper_crtc_normalize_zpos()
|
/drivers/of/ |
D | of_reserved_mem.c | 213 sort(reserved_mem, reserved_mem_count, sizeof(reserved_mem[0]), in __rmem_check_for_overlap()
|
/drivers/gpu/drm/i915/ |
D | intel_runtime_pm.c | 195 sort(dbg->owners, dbg->count, sizeof(*dbg->owners), cmphandle, NULL); in __print_intel_runtime_pm_wakeref()
|
/drivers/acpi/ |
D | fan.c | 308 sort(fan->fps, fan->fps_count, sizeof(*fan->fps), in acpi_fan_get_fps()
|
/drivers/staging/comedi/drivers/ni_routing/tools/ |
D | convert_csv_to_c.py | 97 D1.sort(key=lambda i: eval(i, comedi_h.__dict__, Locals))
|
/drivers/net/wireless/intersil/p54/ |
D | eeprom.c | 394 sort(list->channels, list->entries, sizeof(struct p54_channel_entry), in p54_generate_channel_lists() 590 sort(entry, entries, sizeof(*entry), p54_compare_rssichan, NULL); in p54_parse_rssical()
|
/drivers/clk/tegra/ |
D | clk-emc.c | 467 sort(timings_ptr, child_count, sizeof(struct emc_timing), in load_timings_from_dt()
|
/drivers/char/agp/ |
D | Kconfig | 12 as a sort of "AGP driver" for the motherboard's chipset.
|
/drivers/md/bcache/ |
D | sysfs.c | 700 sysfs_print_time_stats(&c->sort.time, btree_sort, ms, us); in SHOW() 1024 sort(p, n, sizeof(uint16_t), __bch_cache_cmp, NULL); in SHOW()
|
D | btree.c | 172 bch_btree_sort(&b->keys, &b->c->sort); in bch_btree_init_next() 174 bch_btree_sort_lazy(&b->keys, &b->c->sort); in bch_btree_init_next() 270 bch_btree_sort_and_fix_extents(&b->keys, iter, &b->c->sort); in bch_btree_node_read_done() 1185 bch_btree_sort_into(&b->keys, &n->keys, &b->c->sort); in btree_node_alloc_replacement()
|
D | bcache.h | 683 struct bset_sort_state sort; member
|
/drivers/memory/tegra/ |
D | tegra20-emc.c | 363 sort(emc->timings, emc->num_timings, sizeof(*timing), cmp_timings, in tegra_emc_load_timings_from_dt()
|
/drivers/regulator/ |
D | vctrl-regulator.c | 359 sort(vctrl->vtable, rdesc->n_voltages, in vctrl_init_vtable()
|
/drivers/gpu/drm/omapdrm/ |
D | omap_drv.c | 309 sort(priv->pipes, priv->num_pipes, sizeof(priv->pipes[0]), in omap_modeset_init()
|
/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | tt.c | 589 sort(cmd.thresholds, idx, sizeof(s16), compare_temps, NULL); in iwl_mvm_send_temp_report_ths_cmd()
|