Searched refs:max_wqs (Results 1 – 8 of 8) sorted by relevance
/linux/drivers/dma/idxd/ |
H A D | init.c | 117 for (i = 0; i < idxd->max_wqs; i++) { in idxd_setup_interrupts() 163 idxd->wqs = kcalloc_node(idxd->max_wqs, sizeof(struct idxd_wq *), in idxd_setup_wqs() 168 idxd->wq_enable_map = bitmap_zalloc_node(idxd->max_wqs, GFP_KERNEL, dev_to_node(dev)); in idxd_setup_wqs() 174 for (i = 0; i < idxd->max_wqs; i++) { in idxd_setup_wqs() 347 for (i = 0; i < idxd->max_wqs; i++) in idxd_cleanup_internals() 428 for (i = 0; i < idxd->max_wqs; i++) in idxd_setup_internals() 511 idxd->max_wqs = idxd->hw.wq_cap.num_wqs; in idxd_read_caps() 512 dev_dbg(dev, "max workqueues: %u\n", idxd->max_wqs); in idxd_read_caps() 806 for (i = 0; i < idxd->max_wqs; i++) { in idxd_wqs_quiesce()
|
H A D | device.c | 296 for (i = 0; i < idxd->max_wqs; i++) { in idxd_wqs_unmap_portal() 713 for (i = 0; i < idxd->max_wqs; i++) { in idxd_device_wqs_clear_state() 1005 for (i = 0; i < idxd->max_wqs; i++) { in idxd_wqs_config_write() 1081 for (i = 0; i < idxd->max_wqs; i++) { in idxd_wqs_setup() 1182 if (i * 64 >= idxd->max_wqs) in idxd_group_load_config() 1190 if (id >= idxd->max_wqs) in idxd_group_load_config() 1238 for (i = 0; i < idxd->max_wqs; i++) { in idxd_device_load_config() 1585 for (i = 0; i < idxd->max_wqs; i++) { in idxd_device_drv_remove()
|
H A D | sysfs.c | 341 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() 1435 return sysfs_emit(buf, "%u\n", idxd->max_wqs); in max_work_queues_show() 1510 for (i = 0; i < idxd->max_wqs; i++) { in clients_show() 1897 for (i = 0; i < idxd->max_wqs; i++) { in idxd_register_wq_devices() 1908 for (; i < idxd->max_wqs; i++) { in idxd_register_wq_devices() 1953 for (i = 0; i < idxd->max_wqs; i++) in idxd_register_devices() 1964 for (i = 0; i < idxd->max_wqs; i++) { in idxd_unregister_devices()
|
H A D | irq.c | 47 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()
|
H A D | idxd.h | 353 int max_wqs; member
|
/linux/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_hw_wq.c | 304 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()
|
/linux/drivers/crypto/intel/iaa/ |
H A D | iaa_crypto.h | 84 int max_wqs; member
|
H A D | iaa_crypto_main.c | 62 if (WARN_ON(entry->n_wqs == entry->max_wqs)) in wq_table_add() 86 memset(entry->wqs, 0, entry->max_wqs * sizeof(struct idxd_wq *)); in wq_table_clear_entry() 719 static int alloc_wq_table(int max_wqs) in alloc_wq_table() argument 730 entry->wqs = kcalloc(max_wqs, sizeof(struct wq *), GFP_KERNEL); in alloc_wq_table() 736 entry->max_wqs = max_wqs; in alloc_wq_table() 1902 ret = alloc_wq_table(wq->idxd->max_wqs); in iaa_crypto_probe()
|