Home
last modified time | relevance | path

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

/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/firmware/efi/libstub/
H A Drandomalloc.c66 unsigned long total_slots = 0, target_slot; in efi_random_alloc() local
88 total_slots += slots; in efi_random_alloc()
95 total_slots = total_mirrored_slots; in efi_random_alloc()
98 target_slot = (total_slots * (u64)(random_seed & U32_MAX)) >> 32; in efi_random_alloc()
/linux/drivers/md/
H A Dmd-cluster.h30 void (*load_bitmaps)(struct mddev *mddev, int total_slots);
H A Dmd-cluster.c819 static int gather_all_resync_info(struct mddev *mddev, int total_slots) in gather_all_resync_info() argument
828 for (i = 0; i < total_slots; i++) { in gather_all_resync_info()
988 static void load_bitmaps(struct mddev *mddev, int total_slots) in load_bitmaps() argument
993 if (gather_all_resync_info(mddev, total_slots)) in load_bitmaps()
/linux/sound/soc/ti/
H A Ddavinci-mcasp.c988 int total_slots; in mcasp_i2s_hw_param() local
993 total_slots = mcasp->tdm_slots; in mcasp_i2s_hw_param()
1006 for (i = 0; i < total_slots; i++) { in mcasp_i2s_hw_param()
1014 active_serializers = DIV_ROUND_UP(channels, total_slots); in mcasp_i2s_hw_param()
1018 active_slots = total_slots; in mcasp_i2s_hw_param()
1033 FSXMOD(total_slots), FSXMOD(0x1FF)); in mcasp_i2s_hw_param()
1038 FSRMOD(total_slots), FSRMOD(0x1FF)); in mcasp_i2s_hw_param()
1046 FSXMOD(total_slots), FSXMOD(0x1FF)); in mcasp_i2s_hw_param()
/linux/sound/soc/tegra/
H A Dtegra210_i2s.c40 unsigned int total_slots, in tegra210_i2s_set_slot_ctrl() argument
44 regmap_write(regmap, TEGRA210_I2S_SLOT_CTRL, total_slots - 1); in tegra210_i2s_set_slot_ctrl()