Home
last modified time | relevance | path

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

/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_wq.c305 int hinic_wqs_alloc(struct hinic_wqs *wqs, int max_wqs, in hinic_wqs_alloc() argument
311 max_wqs = ALIGN(max_wqs, WQS_BLOCKS_PER_PAGE); in hinic_wqs_alloc()
312 if (max_wqs > WQS_MAX_NUM_BLOCKS) { in hinic_wqs_alloc()
313 dev_err(&pdev->dev, "Invalid max_wqs = %d\n", max_wqs); in hinic_wqs_alloc()
318 wqs->num_pages = max_wqs / WQS_BLOCKS_PER_PAGE; in hinic_wqs_alloc()
/drivers/dma/idxd/
Dinit.c162 idxd->wqs = devm_kcalloc(dev, idxd->max_wqs, sizeof(struct idxd_wq), in idxd_setup_internals()
172 for (i = 0; i < idxd->max_wqs; i++) { in idxd_setup_internals()
255 idxd->max_wqs = idxd->hw.wq_cap.num_wqs; in idxd_read_caps()
256 dev_dbg(dev, "max workqueues: %u\n", idxd->max_wqs); in idxd_read_caps()
Dirq.c29 for (i = 0; i < idxd->max_wqs; i++) { in idxd_device_reinit()
82 for (i = 0; i < idxd->max_wqs; i++) { in process_misc_interrupts()
Dsysfs.c290 for (i = 0; i < idxd->max_wqs; i++) { in idxd_config_bus_remove()
302 for (i = 0; i < idxd->max_wqs; i++) { in idxd_config_bus_remove()
641 for (i = 0; i < idxd->max_wqs; i++) { in group_work_queues_show()
896 for (i = 0; i < idxd->max_wqs; i++) { in total_claimed_wq_size()
1221 return sprintf(buf, "%u\n", idxd->max_wqs); in max_work_queues_show()
1312 for (i = 0; i < idxd->max_wqs; i++) { in clients_show()
1533 for (i = 0; i < idxd->max_wqs; i++) { in idxd_setup_wq_sysfs()
1623 for (i = 0; i < idxd->max_wqs; i++) { in idxd_cleanup_sysfs()
Ddevice.c449 for (i = 0; i < idxd->max_wqs; i++) { in idxd_device_wqs_clear_state()
613 for (i = 0; i < idxd->max_wqs; i++) { in idxd_wqs_config_write()
691 for (i = 0; i < idxd->max_wqs; i++) { in idxd_wqs_setup()
Didxd.h196 int max_wqs; member