Home
last modified time | relevance | path

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

/drivers/dma/idxd/
Dinit.c211 idxd->wqs = kcalloc_node(idxd->max_wqs, sizeof(struct idxd_wq *), in idxd_setup_wqs()
216 for (i = 0; i < idxd->max_wqs; i++) { in idxd_setup_wqs()
370 for (i = 0; i < idxd->max_wqs; i++) in idxd_cleanup_internals()
383 idxd->int_handles = kcalloc_node(idxd->max_wqs, sizeof(int), GFP_KERNEL, in idxd_setup_internals()
416 for (i = 0; i < idxd->max_wqs; i++) in idxd_setup_internals()
483 idxd->max_wqs = idxd->hw.wq_cap.num_wqs; in idxd_read_caps()
484 dev_dbg(dev, "max workqueues: %u\n", idxd->max_wqs); in idxd_read_caps()
742 for (i = 0; i < idxd->max_wqs; i++) { in idxd_wqs_quiesce()
Ddevice.c330 for (i = 0; i < idxd->max_wqs; i++) { in idxd_wqs_unmap_portal()
721 for (i = 0; i < idxd->max_wqs; i++) { in idxd_device_wqs_clear_state()
925 for (i = 0; i < idxd->max_wqs; i++) { in idxd_wqs_config_write()
1002 for (i = 0; i < idxd->max_wqs; i++) { in idxd_wqs_setup()
1104 if (i * 64 >= idxd->max_wqs) in idxd_group_load_config()
1112 if (id >= idxd->max_wqs) in idxd_group_load_config()
1160 for (i = 0; i < idxd->max_wqs; i++) { in idxd_device_load_config()
1340 for (i = 0; i < idxd->max_wqs; i++) { in idxd_device_drv_remove()
Dsysfs.c281 for (i = 0; i < idxd->max_wqs; i++) { in group_work_queues_show()
553 for (i = 0; i < idxd->max_wqs; i++) { in total_claimed_wq_size()
1030 return sysfs_emit(buf, "%u\n", idxd->max_wqs); in max_work_queues_show()
1111 for (i = 0; i < idxd->max_wqs; i++) { in clients_show()
1356 for (i = 0; i < idxd->max_wqs; i++) { in idxd_register_wq_devices()
1367 for (; i < idxd->max_wqs; i++) { in idxd_register_wq_devices()
1412 for (i = 0; i < idxd->max_wqs; i++) in idxd_register_devices()
1423 for (i = 0; i < idxd->max_wqs; i++) { in idxd_unregister_devices()
Dirq.c40 for (i = 0; i < idxd->max_wqs; i++) { in idxd_device_reinit()
87 for (i = 0; i < idxd->max_wqs; i++) { in process_misc_interrupts()
Didxd.h282 int max_wqs; member
/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_wq.c306 int hinic_wqs_alloc(struct hinic_wqs *wqs, int max_wqs, in hinic_wqs_alloc() argument
312 max_wqs = ALIGN(max_wqs, WQS_BLOCKS_PER_PAGE); in hinic_wqs_alloc()
313 if (max_wqs > WQS_MAX_NUM_BLOCKS) { in hinic_wqs_alloc()
314 dev_err(&pdev->dev, "Invalid max_wqs = %d\n", max_wqs); in hinic_wqs_alloc()
319 wqs->num_pages = max_wqs / WQS_BLOCKS_PER_PAGE; in hinic_wqs_alloc()