Home
last modified time | relevance | path

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

/drivers/dma/idxd/
Dinit.c109 for (i = 0; i < idxd->max_wqs; i++) { in idxd_setup_interrupts()
155 idxd->wqs = kcalloc_node(idxd->max_wqs, sizeof(struct idxd_wq *), in idxd_setup_wqs()
160 idxd->wq_enable_map = bitmap_zalloc_node(idxd->max_wqs, GFP_KERNEL, dev_to_node(dev)); in idxd_setup_wqs()
166 for (i = 0; i < idxd->max_wqs; i++) { in idxd_setup_wqs()
339 for (i = 0; i < idxd->max_wqs; i++) in idxd_cleanup_internals()
420 for (i = 0; i < idxd->max_wqs; i++) in idxd_setup_internals()
503 idxd->max_wqs = idxd->hw.wq_cap.num_wqs; in idxd_read_caps()
504 dev_dbg(dev, "max workqueues: %u\n", idxd->max_wqs); in idxd_read_caps()
792 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()
1401 return sysfs_emit(buf, "%u\n", idxd->max_wqs); in max_work_queues_show()
1476 for (i = 0; i < idxd->max_wqs; i++) { in clients_show()
1863 for (i = 0; i < idxd->max_wqs; i++) { in idxd_register_wq_devices()
1874 for (; i < idxd->max_wqs; i++) { in idxd_register_wq_devices()
1919 for (i = 0; i < idxd->max_wqs; i++) in idxd_register_devices()
1930 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.h342 int max_wqs; member
/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()