Lines Matching refs:num_hwqs
428 if (afu->num_hwqs == 1) in cmd_to_target_hwq()
433 hwq = afu->hwq_rr_count++ % afu->num_hwqs; in cmd_to_target_hwq()
440 hwq = smp_processor_id() % afu->num_hwqs; in cmd_to_target_hwq()
705 for (i = 0; i < afu->num_hwqs; i++) { in stop_afu()
827 for (k = cfg->afu->num_hwqs - 1; k >= 0; k--) in term_afu()
832 for (k = cfg->afu->num_hwqs - 1; k >= 0; k--) in term_afu()
1314 for (i = 0; i < afu->num_hwqs; i++) { in afu_err_intr_init()
1725 for (i = 0; i < afu->num_hwqs; i++) { in init_pcr()
1763 for (i = 0; i < afu->num_hwqs; i++) { in init_global()
1817 for (i = 0; i < afu->num_hwqs; i++) { in init_global()
1837 for (i = 0; i < afu->num_hwqs; i++) { in init_global()
1879 for (i = 0; i < afu->num_hwqs; i++) { in start_afu()
2103 afu->num_hwqs = afu->desired_hwqs; in init_afu()
2104 for (i = 0; i < afu->num_hwqs; i++) { in init_afu()
2155 for (i = 0; i < afu->num_hwqs; i++) { in init_afu()
2168 for (i = afu->num_hwqs - 1; i >= 0; i--) { in init_afu()
2907 for (i = 0; i < afu->num_hwqs; i++) { in irqpoll_weight_store()
2917 for (i = 0; i < afu->num_hwqs; i++) { in irqpoll_weight_store()
2942 return scnprintf(buf, PAGE_SIZE, "%u\n", afu->num_hwqs); in num_hwqs_show()
2966 int nhwqs, num_hwqs; in num_hwqs_store() local
2973 num_hwqs = nhwqs; in num_hwqs_store()
2975 num_hwqs = num_online_cpus(); in num_hwqs_store()
2977 num_hwqs = num_online_cpus() / abs(nhwqs); in num_hwqs_store()
2979 afu->desired_hwqs = min(num_hwqs, CXLFLASH_MAX_HWQS); in num_hwqs_store()
3103 static DEVICE_ATTR_RW(num_hwqs);