Home
last modified time | relevance | path

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

/linux/drivers/firmware/efi/libstub/
H A Drandomalloc.c66 unsigned long total_slots = 0, target_slot; in efi_random_alloc() local
92 total_slots += slots; in efi_random_alloc()
99 total_slots = total_mirrored_slots; in efi_random_alloc()
102 target_slot = (total_slots * (u64)(random_seed & U32_MAX)) >> 32; in efi_random_alloc()
/linux/drivers/input/touchscreen/
H A Dexc3000.c152 int ret, total_slots; in exc3000_handle_mt_event() local
155 total_slots = buf[3]; in exc3000_handle_mt_event()
156 if (!total_slots || total_slots > EXC3000_NUM_SLOTS) { in exc3000_handle_mt_event()
161 if (total_slots > EXC3000_SLOTS_PER_FRAME) { in exc3000_handle_mt_event()
179 while (total_slots > 0) { in exc3000_handle_mt_event()
180 int slots = min(total_slots, EXC3000_SLOTS_PER_FRAME); in exc3000_handle_mt_event()
183 total_slots -= slots; in exc3000_handle_mt_event()
/linux/drivers/md/
H A Dmd-cluster.h32 void (*load_bitmaps)(struct mddev *mddev, int total_slots);
H A Dmd-cluster.c824 static int gather_all_resync_info(struct mddev *mddev, int total_slots) in gather_all_resync_info() argument
833 for (i = 0; i < total_slots; i++) { in gather_all_resync_info()
993 static void load_bitmaps(struct mddev *mddev, int total_slots) in load_bitmaps() argument
998 if (gather_all_resync_info(mddev, total_slots)) in load_bitmaps()
/linux/sound/soc/ti/
H A Ddavinci-mcasp.c1212 int total_slots; in davinci_mcasp_hw_params()
1217 total_slots = mcasp_get_tdm_slots(mcasp, stream); in davinci_mcasp_hw_params()
1230 for (i = 0; i < total_slots; i++) { in davinci_mcasp_hw_params()
1238 active_serializers = DIV_ROUND_UP(channels, total_slots); in davinci_mcasp_hw_params()
1242 active_slots = total_slots; in davinci_mcasp_hw_params()
1260 FSXMOD(total_slots), FSXMOD(0x1FF)); in davinci_mcasp_hw_params()
1265 FSRMOD(total_slots), FSRMOD(0x1FF)); in davinci_mcasp_hw_params()
1274 FSXMOD(total_slots), FSXMOD(0x1FF)); in davinci_mcasp_hw_params()
988 int total_slots; mcasp_i2s_hw_param() local
/linux/sound/soc/tegra/
H A Dtegra210_i2s.c51 unsigned int total_slots, in tegra210_i2s_set_slot_ctrl() argument
56 total_slots - 1); in tegra210_i2s_set_slot_ctrl()