Searched refs:total_slots (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/drivers/firmware/efi/libstub/ |
H A D | randomalloc.c | 62 unsigned long total_slots = 0, target_slot; in efi_random_alloc() local 85 total_slots += slots; in efi_random_alloc() 92 total_slots = total_mirrored_slots; in efi_random_alloc() 95 target_slot = (total_slots * (u64)(random_seed & U32_MAX)) >> 32; in efi_random_alloc()
|
/openbmc/linux/drivers/input/touchscreen/ |
H A D | exc3000.c | 147 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()
|
/openbmc/qemu/hw/hyperv/ |
H A D | trace-events | 35 hv_balloon_map_slot(unsigned int idx, unsigned int total_slots, uint64_t offset) "mapping memslot %… 36 hv_balloon_unmap_slot(unsigned int idx, unsigned int total_slots, uint64_t offset) "unmapping memsl…
|
/openbmc/linux/drivers/md/ |
H A D | md-cluster.h | 28 void (*load_bitmaps)(struct mddev *mddev, int total_slots);
|
H A D | md-cluster.c | 801 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()
|
/openbmc/linux/sound/soc/ti/ |
H 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()
|
/openbmc/linux/sound/soc/tegra/ |
H 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()
|