Home
last modified time | relevance | path

Searched refs:wq_count (Results 1 – 18 of 18) sorted by relevance

/drivers/scsi/snic/
Dsnic_res.c108 snic->wq_count = svnic_dev_get_res_count(snic->vdev, RES_TYPE_WQ); in snic_get_res_counts()
109 SNIC_BUG_ON(snic->wq_count == 0); in snic_get_res_counts()
122 for (i = 0; i < snic->wq_count; i++) in snic_free_vnic_res()
156 SNIC_INFO("wq %d cq %d intr %d\n", snic->wq_count, in snic_alloc_vnic_res()
162 for (i = 0; i < snic->wq_count; i++) { in snic_alloc_vnic_res()
173 for (i = 0; i < snic->wq_count; i++) { in snic_alloc_vnic_res()
183 SNIC_BUG_ON(snic->cq_count != 2 * snic->wq_count); in snic_alloc_vnic_res()
185 for (i = snic->wq_count; i < snic->cq_count; i++) { in snic_alloc_vnic_res()
209 for (i = 0; i < snic->wq_count; i++) { in snic_alloc_vnic_res()
273 for (i = 0; i < snic->wq_count; i++) { in snic_log_q_error()
Dsnic_isr.c156 if (snic->wq_count < n || snic->cq_count < n + m) in snic_set_intr_mode()
162 snic->wq_count = n; in snic_set_intr_mode()
Dsnic_main.c223 for (i = 0; i < snic->wq_count; i++) { in snic_cleanup()
235 for (i = 0; i < snic->wq_count; i++) in snic_cleanup()
607 for (i = 0; i < snic->wq_count; i++) in snic_probe()
680 for (i = 0; i < snic->wq_count; i++) { in snic_probe()
Dsnic.h278 unsigned int wq_count; member
Dsnic_io.c72 for (i = 0; i < snic->wq_count; i++) { in snic_wq_cmpl_handler()
Dsnic_scsi.c1271 for (cq_idx = snic->wq_count; cq_idx < snic->cq_count; cq_idx++) { in snic_fwcq_cmpl_handler()
/drivers/net/ethernet/cisco/enic/
Denic_res.c178 for (i = 0; i < enic->wq_count; i++) in enic_free_vnic_resources()
190 enic->wq_count = vnic_dev_get_res_count(enic->vdev, RES_TYPE_WQ); in enic_get_res_counts()
198 enic->wq_count, enic->rq_count, in enic_get_res_counts()
242 for (i = 0; i < enic->wq_count; i++) { in enic_init_vnic_resources()
314 enic->wq_count, enic->rq_count, in enic_alloc_vnic_resources()
324 for (i = 0; i < enic->wq_count; i++) { in enic_alloc_vnic_resources()
Denic_main.c160 for (i = 0; i < enic->wq_count; i++) { in enic_set_affinity_hint()
372 for (i = 0; i < enic->wq_count; i++) { in enic_log_q_error()
833 txq_map = skb_get_queue_mapping(skb) % enic->wq_count; in enic_hard_start_xmit()
1755 for (i = 0; i < enic->wq_count; i++) { in enic_request_intr()
1921 for (i = 0; i < enic->wq_count; i++) in enic_open()
1935 for (i = 0; i < enic->wq_count; i++) in enic_open()
1985 for (i = 0; i < enic->wq_count; i++) in enic_stop()
1992 for (i = 0; i < enic->wq_count; i++) { in enic_stop()
2007 for (i = 0; i < enic->wq_count; i++) in enic_stop()
2085 for (i = 0; i < enic->wq_count; i++) { in enic_poll_controller()
[all …]
Denic.h165 unsigned int wq_count; member
258 return enic->rq_count + enic->wq_count; in enic_msix_err_intr()
263 return enic->rq_count + enic->wq_count + 1; in enic_msix_notify_intr()
Denic_ethtool.c366 for (i = 0; i < enic->wq_count; i++) { in enic_set_coalesce()
/drivers/scsi/fnic/
Dfnic_res.c189 fnic->wq_count = vnic_dev_get_res_count(fnic->vdev, RES_TYPE_WQ); in fnic_get_res_counts()
190 fnic->raw_wq_count = fnic->wq_count - 1; in fnic_get_res_counts()
191 fnic->wq_copy_count = fnic->wq_count - fnic->raw_wq_count; in fnic_get_res_counts()
239 fnic->wq_count, fnic->wq_copy_count, fnic->raw_wq_count, in fnic_alloc_vnic_resources()
Dfnic_isr.c249 fnic->wq_count = m + o; in fnic_set_intr_mode()
275 fnic->wq_count = 2; in fnic_set_intr_mode()
Dfnic.h236 unsigned int wq_count; member
/drivers/scsi/elx/efct/
Defct_hw_queues.c27 hw->wq_count = 0; in efct_hw_init_queues()
286 wq->instance = cq->eq->hw->wq_count++; in efct_hw_new_wq()
Defct_hw.h395 u32 wq_count; member
Defct_hw.c1086 for (i = 0; i < hw->wq_count; i++) in efct_hw_init()
3457 for (i = 0; i < hw->wq_count; i++) in efct_hw_teardown()
/drivers/scsi/elx/libefc_sli/
Dsli4.h2273 __le16 wq_count; member
Dsli4.c4238 sli4->qinfo.max_qcount[SLI4_QTYPE_WQ] = le16_to_cpu(conf->wq_count); in sli_get_read_config()