Searched refs:total_slots (Results 1 – 7 of 7) sorted by relevance
/linux-6.3-rc2/drivers/firmware/efi/libstub/ |
A D | randomalloc.c | 59 unsigned long total_slots = 0, target_slot; in efi_random_alloc() local 81 total_slots += slots; in efi_random_alloc() 88 total_slots = total_mirrored_slots; in efi_random_alloc() 91 target_slot = (total_slots * (u64)(random_seed & U32_MAX)) >> 32; in efi_random_alloc()
|
/linux-6.3-rc2/drivers/input/touchscreen/ |
A D | exc3000.c | 145 int ret, total_slots; in exc3000_handle_mt_event() local 148 total_slots = buf[3]; in exc3000_handle_mt_event() 149 if (!total_slots || total_slots > EXC3000_NUM_SLOTS) { in exc3000_handle_mt_event() 154 if (total_slots > EXC3000_SLOTS_PER_FRAME) { in exc3000_handle_mt_event() 172 while (total_slots > 0) { in exc3000_handle_mt_event() 173 int slots = min(total_slots, EXC3000_SLOTS_PER_FRAME); in exc3000_handle_mt_event() 176 total_slots -= slots; in exc3000_handle_mt_event()
|
/linux-6.3-rc2/tools/perf/util/ |
A D | stat-shadow.c | 586 double total_slots; in td_bad_spec() local 593 total_slots = td_total_slots(map_idx, st, rsd); in td_bad_spec() 594 if (total_slots) in td_bad_spec() 595 bad_spec = total / total_slots; in td_bad_spec() 603 double total_slots = td_total_slots(map_idx, st, rsd); in td_retiring() local 607 if (total_slots) in td_retiring() 608 retiring = ret_slots / total_slots; in td_retiring() 616 double total_slots = td_total_slots(map_idx, st, rsd); in td_fe_bound() local 620 if (total_slots) in td_fe_bound() 621 fe_bound = fetch_bub / total_slots; in td_fe_bound()
|
/linux-6.3-rc2/drivers/md/ |
A D | md-cluster.h | 28 void (*load_bitmaps)(struct mddev *mddev, int total_slots);
|
A D | md-cluster.c | 797 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-6.3-rc2/sound/soc/ti/ |
A D | davinci-mcasp.c | 990 int total_slots; in mcasp_i2s_hw_param() local 995 total_slots = mcasp->tdm_slots; in mcasp_i2s_hw_param() 1008 for (i = 0; i < total_slots; i++) { in mcasp_i2s_hw_param() 1016 active_serializers = DIV_ROUND_UP(channels, total_slots); in mcasp_i2s_hw_param() 1020 active_slots = total_slots; in mcasp_i2s_hw_param() 1035 FSXMOD(total_slots), FSXMOD(0x1FF)); in mcasp_i2s_hw_param() 1040 FSRMOD(total_slots), FSRMOD(0x1FF)); in mcasp_i2s_hw_param() 1048 FSXMOD(total_slots), FSXMOD(0x1FF)); in mcasp_i2s_hw_param()
|
/linux-6.3-rc2/sound/soc/tegra/ |
A D | tegra210_i2s.c | 38 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()
|
Completed in 18 milliseconds