Searched refs:max_batch_size (Results 1 – 6 of 6) sorted by relevance
940 return sysfs_emit(buf, "%u\n", wq->max_batch_size); in wq_max_batch_size_show()961 if (batch_size > idxd->max_batch_size) in wq_max_batch_size_store()964 wq->max_batch_size = (u32)batch_size; in wq_max_batch_size_store()970 __ATTR(max_batch_size, 0644, wq_max_batch_size_show, wq_max_batch_size_store);1162 return sysfs_emit(buf, "%u\n", idxd->max_batch_size); in max_batch_size_show()1164 static DEVICE_ATTR_RO(max_batch_size);
180 wq->max_batch_size = WQ_DEFAULT_MAX_BATCH; in idxd_setup_wqs()392 idxd->max_batch_size = 1U << idxd->hw.gen_cap.max_batch_shift; in idxd_read_caps()393 dev_dbg(dev, "max batch size: %u\n", idxd->max_batch_size); in idxd_read_caps()
210 u32 max_batch_size; member293 u32 max_batch_size; member
391 wq->max_batch_size = WQ_DEFAULT_MAX_BATCH; in idxd_wq_disable_cleanup()866 wq->wqcfg->max_batch_shift = ilog2(wq->max_batch_size); in idxd_wq_config_write()1034 wq->max_batch_size = 1ULL << wq->wqcfg->max_batch_shift; in idxd_wq_load_config()
20 What: /sys/bus/dsa/devices/dsa<m>/max_batch_size202 What: /sys/bus/dsa/devices/wq<m>.<n>/max_batch_size
982 unsigned int max_batch_size = READ_ONCE(clone->hydration_batch_size); in __batch_hydration() local986 if (batch->nr_batched_regions < max_batch_size && in __batch_hydration()994 if (batch->nr_batched_regions >= max_batch_size || hd) { in __batch_hydration()1005 if (max_batch_size <= 1) { in __batch_hydration()