Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/firmware/efi/libstub/
Drandomalloc.c61 unsigned long total_slots = 0, target_slot; in efi_random_alloc() local
83 total_slots += slots; in efi_random_alloc()
90 total_slots = total_mirrored_slots; in efi_random_alloc()
93 target_slot = (total_slots * (u64)(random_seed & U32_MAX)) >> 32; in efi_random_alloc()
/Linux-v6.6/drivers/input/touchscreen/
Dexc3000.c147 int ret, total_slots; in exc3000_handle_mt_event() local
150 total_slots = buf[3]; in exc3000_handle_mt_event()
151 if (!total_slots || total_slots > EXC3000_NUM_SLOTS) { in exc3000_handle_mt_event()
156 if (total_slots > EXC3000_SLOTS_PER_FRAME) { in exc3000_handle_mt_event()
174 while (total_slots > 0) { in exc3000_handle_mt_event()
175 int slots = min(total_slots, EXC3000_SLOTS_PER_FRAME); in exc3000_handle_mt_event()
178 total_slots -= slots; in exc3000_handle_mt_event()
/Linux-v6.6/drivers/md/
Dmd-cluster.h28 void (*load_bitmaps)(struct mddev *mddev, int total_slots);
Dmd-cluster.c801 static int gather_all_resync_info(struct mddev *mddev, int total_slots) in gather_all_resync_info() argument
810 for (i = 0; i < total_slots; i++) { in gather_all_resync_info()
970 static void load_bitmaps(struct mddev *mddev, int total_slots) in load_bitmaps() argument
975 if (gather_all_resync_info(mddev, total_slots)) in load_bitmaps()
/Linux-v6.6/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()
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-v6.6/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()