Home
last modified time | relevance | path

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

/drivers/scsi/mpt3sas/
Dmpt3sas_base.c1653 nr_msix = ioc->reply_queue_count = min(ioc->reply_queue_count, in _base_assign_reply_queues()
1712 ioc->reply_queue_count = min_t(int, ioc->cpu_count, in _base_enable_msix()
1723 ioc->reply_queue_count = min_t(int, max_msix_vectors, in _base_enable_msix()
1724 ioc->reply_queue_count); in _base_enable_msix()
1725 ioc->msix_vector_count = ioc->reply_queue_count; in _base_enable_msix()
1729 entries = kcalloc(ioc->reply_queue_count, sizeof(struct msix_entry), in _base_enable_msix()
1738 for (i = 0, a = entries; i < ioc->reply_queue_count; i++, a++) in _base_enable_msix()
1741 r = pci_enable_msix_exact(ioc->pdev, entries, ioc->reply_queue_count); in _base_enable_msix()
1751 for (i = 0, a = entries; i < ioc->reply_queue_count; i++, a++) { in _base_enable_msix()
1767 ioc->reply_queue_count = 1; in _base_enable_msix()
[all …]
Dmpt3sas_ctl.c2700 u8 reply_queue_count; in _ctl_ioc_reply_queue_count_show() local
2706 reply_queue_count = ioc->reply_queue_count; in _ctl_ioc_reply_queue_count_show()
2708 reply_queue_count = 1; in _ctl_ioc_reply_queue_count_show()
2710 return snprintf(buf, PAGE_SIZE, "%d\n", reply_queue_count); in _ctl_ioc_reply_queue_count_show()
2712 static DEVICE_ATTR(reply_queue_count, S_IRUGO, _ctl_ioc_reply_queue_count_show,
Dmpt3sas_base.h932 u8 reply_queue_count; member
/drivers/scsi/mpt2sas/
Dmpt2sas_base.c1369 nr_msix = ioc->reply_queue_count = min(ioc->reply_queue_count, in _base_assign_reply_queues()
1428 ioc->reply_queue_count = min_t(int, ioc->cpu_count, in _base_enable_msix()
1435 ioc->reply_queue_count = min_t(int, max_msix_vectors, in _base_enable_msix()
1436 ioc->reply_queue_count); in _base_enable_msix()
1437 ioc->msix_vector_count = ioc->reply_queue_count; in _base_enable_msix()
1445 entries = kcalloc(ioc->reply_queue_count, sizeof(struct msix_entry), in _base_enable_msix()
1454 for (i = 0, a = entries; i < ioc->reply_queue_count; i++, a++) in _base_enable_msix()
1457 r = pci_enable_msix_exact(ioc->pdev, entries, ioc->reply_queue_count); in _base_enable_msix()
1466 for (i = 0, a = entries; i < ioc->reply_queue_count; i++, a++) { in _base_enable_msix()
1482 ioc->reply_queue_count = 1; in _base_enable_msix()
[all …]
Dmpt2sas_ctl.c2672 u8 reply_queue_count; in _ctl_ioc_reply_queue_count_show() local
2678 reply_queue_count = ioc->reply_queue_count; in _ctl_ioc_reply_queue_count_show()
2680 reply_queue_count = 1; in _ctl_ioc_reply_queue_count_show()
2681 return snprintf(buf, PAGE_SIZE, "%d\n", reply_queue_count); in _ctl_ioc_reply_queue_count_show()
2683 static DEVICE_ATTR(reply_queue_count, S_IRUGO,
Dmpt2sas_base.h990 u8 reply_queue_count; member