Home
last modified time | relevance | path

Searched refs:total_slots (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.1/drivers/firmware/efi/libstub/
Drandomalloc.c58 unsigned long total_slots = 0, target_slot; in efi_random_alloc() local
80 total_slots += slots; in efi_random_alloc()
87 total_slots = total_mirrored_slots; in efi_random_alloc()
90 target_slot = (total_slots * (u64)(random_seed & U32_MAX)) >> 32; in efi_random_alloc()
/Linux-v6.1/drivers/input/touchscreen/
Dexc3000.c140 int ret, total_slots; in exc3000_handle_mt_event() local
143 total_slots = buf[3]; in exc3000_handle_mt_event()
144 if (!total_slots || total_slots > EXC3000_NUM_SLOTS) { in exc3000_handle_mt_event()
149 if (total_slots > EXC3000_SLOTS_PER_FRAME) { in exc3000_handle_mt_event()
167 while (total_slots > 0) { in exc3000_handle_mt_event()
168 int slots = min(total_slots, EXC3000_SLOTS_PER_FRAME); in exc3000_handle_mt_event()
171 total_slots -= slots; in exc3000_handle_mt_event()
/Linux-v6.1/tools/perf/util/
Dstat-shadow.c693 double total_slots; in td_bad_spec() local
700 total_slots = td_total_slots(map_idx, st, rsd); in td_bad_spec()
701 if (total_slots) in td_bad_spec()
702 bad_spec = total / total_slots; in td_bad_spec()
710 double total_slots = td_total_slots(map_idx, st, rsd); in td_retiring() local
714 if (total_slots) in td_retiring()
715 retiring = ret_slots / total_slots; in td_retiring()
723 double total_slots = td_total_slots(map_idx, st, rsd); in td_fe_bound() local
727 if (total_slots) in td_fe_bound()
728 fe_bound = fetch_bub / total_slots; in td_fe_bound()
/Linux-v6.1/drivers/md/
Dmd-cluster.h28 void (*load_bitmaps)(struct mddev *mddev, int total_slots);
Dmd-cluster.c797 static int gather_all_resync_info(struct mddev *mddev, int total_slots) in gather_all_resync_info() argument
806 for (i = 0; i < total_slots; i++) { in gather_all_resync_info()
965 static void load_bitmaps(struct mddev *mddev, int total_slots) in load_bitmaps() argument
970 if (gather_all_resync_info(mddev, total_slots)) in load_bitmaps()
/Linux-v6.1/sound/soc/ti/
Ddavinci-mcasp.c990 int total_slots; in mcasp_i2s_hw_param() local
995 total_slots = mcasp->tdm_slots; in mcasp_i2s_hw_param()
1009 for (i = 0; i < total_slots; i++) { in mcasp_i2s_hw_param()
1017 active_serializers = (channels + total_slots - 1) / total_slots; in mcasp_i2s_hw_param()
1021 active_slots = total_slots; in mcasp_i2s_hw_param()
1036 FSXMOD(total_slots), FSXMOD(0x1FF)); in mcasp_i2s_hw_param()
1041 FSRMOD(total_slots), FSRMOD(0x1FF)); in mcasp_i2s_hw_param()
1049 FSXMOD(total_slots), FSXMOD(0x1FF)); in mcasp_i2s_hw_param()
/Linux-v6.1/sound/soc/tegra/
Dtegra210_i2s.c38 unsigned int total_slots, in tegra210_i2s_set_slot_ctrl() argument
42 regmap_write(regmap, TEGRA210_I2S_SLOT_CTRL, total_slots - 1); in tegra210_i2s_set_slot_ctrl()