Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/dma/idxd/
Dinit.c107 for (i = 0; i < idxd->max_wqs; i++) { in idxd_setup_interrupts()
153 idxd->wqs = kcalloc_node(idxd->max_wqs, sizeof(struct idxd_wq *), in idxd_setup_wqs()
158 idxd->wq_enable_map = bitmap_zalloc_node(idxd->max_wqs, GFP_KERNEL, dev_to_node(dev)); in idxd_setup_wqs()
164 for (i = 0; i < idxd->max_wqs; i++) { in idxd_setup_wqs()
337 for (i = 0; i < idxd->max_wqs; i++) in idxd_cleanup_internals()
418 for (i = 0; i < idxd->max_wqs; i++) in idxd_setup_internals()
501 idxd->max_wqs = idxd->hw.wq_cap.num_wqs; in idxd_read_caps()
502 dev_dbg(dev, "max workqueues: %u\n", idxd->max_wqs); in idxd_read_caps()
788 for (i = 0; i < idxd->max_wqs; i++) { in idxd_wqs_quiesce()
Ddevice.c294 for (i = 0; i < idxd->max_wqs; i++) { in idxd_wqs_unmap_portal()
708 for (i = 0; i < idxd->max_wqs; i++) { in idxd_device_wqs_clear_state()
1000 for (i = 0; i < idxd->max_wqs; i++) { in idxd_wqs_config_write()
1076 for (i = 0; i < idxd->max_wqs; i++) { in idxd_wqs_setup()
1177 if (i * 64 >= idxd->max_wqs) in idxd_group_load_config()
1185 if (id >= idxd->max_wqs) in idxd_group_load_config()
1233 for (i = 0; i < idxd->max_wqs; i++) { in idxd_device_load_config()
1578 for (i = 0; i < idxd->max_wqs; i++) { in idxd_device_drv_remove()
Dsysfs.c341 for (i = 0; i < idxd->max_wqs; i++) { in group_work_queues_show()
720 for (i = 0; i < idxd->max_wqs; i++) { in total_claimed_wq_size()
1378 return sysfs_emit(buf, "%u\n", idxd->max_wqs); in max_work_queues_show()
1453 for (i = 0; i < idxd->max_wqs; i++) { in clients_show()
1840 for (i = 0; i < idxd->max_wqs; i++) { in idxd_register_wq_devices()
1851 for (; i < idxd->max_wqs; i++) { in idxd_register_wq_devices()
1896 for (i = 0; i < idxd->max_wqs; i++) in idxd_register_devices()
1907 for (i = 0; i < idxd->max_wqs; i++) { in idxd_unregister_devices()
Dirq.c47 for (i = 0; i < idxd->max_wqs; i++) { in idxd_device_reinit()
424 for (i = 0; i < idxd->max_wqs; i++) { in idxd_misc_thread()
Didxd.h341 int max_wqs; member
/linux-6.6.21/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_wq.c304 int hinic_wqs_alloc(struct hinic_wqs *wqs, int max_wqs, in hinic_wqs_alloc() argument
310 max_wqs = ALIGN(max_wqs, WQS_BLOCKS_PER_PAGE); in hinic_wqs_alloc()
311 if (max_wqs > WQS_MAX_NUM_BLOCKS) { in hinic_wqs_alloc()
312 dev_err(&pdev->dev, "Invalid max_wqs = %d\n", max_wqs); in hinic_wqs_alloc()
317 wqs->num_pages = max_wqs / WQS_BLOCKS_PER_PAGE; in hinic_wqs_alloc()