| /linux/drivers/infiniband/hw/bng_re/ |
| H A D | bng_fw.c | 56 bng_re_free_hwq(rcfw->res, &rcfw->cmdq.hwq); in bng_re_free_rcfw_channel() 57 bng_re_free_hwq(rcfw->res, &rcfw->creq.hwq); in bng_re_free_rcfw_channel() 83 if (bng_re_alloc_init_hwq(&creq->hwq, &hwq_attr)) { in bng_re_alloc_fw_channel() 95 if (bng_re_alloc_init_hwq(&cmdq->hwq, &hwq_attr)) { in bng_re_alloc_fw_channel() 101 rcfw->crsqe_tbl = kzalloc_objs(*rcfw->crsqe_tbl, cmdq->hwq.max_elements); in bng_re_alloc_fw_channel() 119 struct bng_re_hwq *hwq = &rcfw->cmdq.hwq; in bng_re_process_qp_event() local 142 spin_lock_nested(&hwq->lock, SINGLE_DEPTH_NESTING); in bng_re_process_qp_event() 153 spin_unlock(&hwq->lock); in bng_re_process_qp_event() 179 hwq in bng_re_process_qp_event() 220 struct bng_re_hwq *hwq = &creq->hwq; bng_re_service_creq() local 310 struct bng_re_hwq *hwq; __send_message() local 520 struct bng_re_hwq *hwq; bng_re_creq_irq() local [all...] |
| H A D | bng_fw.h | 69 struct bng_re_hwq hwq; member 90 struct bng_re_hwq hwq; member
|
| H A D | bng_re.h | 31 struct bng_re_hwq hwq; member
|
| H A D | bng_dev.c | 335 rattr.dma_arr = creq->hwq.pbl[BNG_PBL_LVL_0].pg_map_arr; in bng_re_dev_init() 336 rattr.pages = creq->hwq.pbl[creq->hwq.level].pg_count; in bng_re_dev_init()
|
| /linux/drivers/infiniband/hw/bnxt_re/ |
| H A D | qplib_rcfw.c | 239 struct bnxt_qplib_hwq *hwq = &cmdq->hwq; in __send_message_no_waiter() local 264 sw_prod = HWQ_CMP(hwq->prod, hwq); in __send_message_no_waiter() 265 cmdqe = bnxt_qplib_get_qe(hwq, sw_prod, NULL); in __send_message_no_waiter() 271 hwq->prod++; in __send_message_no_waiter() 275 cmdq_prod = hwq->prod; in __send_message_no_waiter() 290 struct bnxt_qplib_hwq *hwq; in __send_message() local 297 hwq = &cmdq->hwq; in __send_message() 303 spin_lock_bh(&hwq->lock); in __send_message() 305 free_slots = HWQ_FREE_SLOTS(hwq); in __send_message() 313 spin_unlock_bh(&hwq->lock); in __send_message() [all …]
|
| H A D | ib_verbs.c | 1388 rc = bnxt_qplib_alloc_init_hwq(&sq->hwq, &hwq_attr); in bnxt_re_create_shadow_qp() 1392 pg_sz_lvl = bnxt_qplib_base_pg_size(&sq->hwq) << CMDQ_CREATE_QP_SQ_PG_SIZE_SFT; in bnxt_re_create_shadow_qp() 1393 pg_sz_lvl |= ((sq->hwq.level & CMDQ_CREATE_QP_SQ_LVL_MASK) << in bnxt_re_create_shadow_qp() 1395 sq->hwq.pg_sz_lvl = pg_sz_lvl; in bnxt_re_create_shadow_qp() 1407 rc = bnxt_qplib_alloc_init_hwq(&rq->hwq, &hwq_attr); in bnxt_re_create_shadow_qp() 1410 pg_sz_lvl = bnxt_qplib_base_pg_size(&rq->hwq) << in bnxt_re_create_shadow_qp() 1412 pg_sz_lvl |= ((rq->hwq.level & CMDQ_CREATE_QP_RQ_LVL_MASK) << in bnxt_re_create_shadow_qp() 1414 rq->hwq.pg_sz_lvl = pg_sz_lvl; in bnxt_re_create_shadow_qp() 1425 bnxt_qplib_free_hwq(res, &rq->hwq); in bnxt_re_create_shadow_qp() 1427 bnxt_qplib_free_hwq(res, &sq->hwq); in bnxt_re_create_shadow_qp() [all...] |
| /linux/include/scsi/ |
| H A D | scsi_tcq.h | 26 u16 hwq; in scsi_host_find_tag() local 31 hwq = blk_mq_unique_tag_to_hwq(tag); in scsi_host_find_tag() 32 if (hwq < shost->tag_set.nr_hw_queues) { in scsi_host_find_tag() 33 req = blk_mq_tag_to_rq(shost->tag_set.tags[hwq], in scsi_host_find_tag()
|
| /linux/drivers/net/wireless/ti/wlcore/ |
| H A D | tx.c | 1200 int hwq = wlcore_tx_get_mac80211_queue(wlvif, queue); in wlcore_stop_queue_locked() local 1201 bool stopped = !!wl->queue_stop_reasons[hwq]; in wlcore_stop_queue_locked() 1204 WARN_ON_ONCE(test_and_set_bit(reason, &wl->queue_stop_reasons[hwq])); in wlcore_stop_queue_locked() 1209 ieee80211_stop_queue(wl->hw, hwq); in wlcore_stop_queue_locked() 1226 int hwq = wlcore_tx_get_mac80211_queue(wlvif, queue); in wlcore_wake_queue() local 1231 WARN_ON_ONCE(!test_and_clear_bit(reason, &wl->queue_stop_reasons[hwq])); in wlcore_wake_queue() 1233 if (wl->queue_stop_reasons[hwq]) in wlcore_wake_queue() 1236 ieee80211_wake_queue(wl->hw, hwq); in wlcore_wake_queue() 1303 int hwq = wlcore_tx_get_mac80211_queue(wlvif, queue); in wlcore_is_queue_stopped_by_reason_locked() local 1306 return test_bit(reason, &wl->queue_stop_reasons[hwq]); in wlcore_is_queue_stopped_by_reason_locked() [all …]
|
| /linux/drivers/block/ |
| H A D | nbd.c | 879 u16 hwq; in nbd_handle_reply() local 885 hwq = blk_mq_unique_tag_to_hwq(tag); in nbd_handle_reply() 886 if (hwq < nbd->tag_set.nr_hw_queues) in nbd_handle_reply() 887 req = blk_mq_tag_to_rq(nbd->tag_set.tags[hwq], in nbd_handle_reply()
|
| /linux/drivers/scsi/ibmvscsi/ |
| H A D | ibmvfc.h | 769 u16 hwq; member
|
| H A D | ibmvfc.c | 1602 evt->hwq = 0; in ibmvfc_init_event() 1972 u16 hwq = blk_mq_unique_tag_to_hwq(tag_and_hwq); in ibmvfc_queuecommand() local 1985 scsi_channel = hwq % vhost->scsi_scrqs.active_queues; in ibmvfc_queuecommand() 1990 evt->hwq = hwq % vhost->scsi_scrqs.active_queues; in ibmvfc_queuecommand()
|
| /linux/drivers/ufs/host/ |
| H A D | ufs-qcom.c | 2390 struct ufs_hw_queue *hwq = &hba->uhq[qi->idx]; in ufs_qcom_config_esi() 2393 ufshcd_mcq_poll_cqe_lock(hba, hwq); in ufs_qcom_config_esi() 2377 struct ufs_hw_queue *hwq = &hba->uhq[qi->idx]; ufs_qcom_mcq_esi_handler() local
|
| /linux/drivers/scsi/ |
| H A D | scsi_debug.c | 7538 u16 hwq = blk_mq_unique_tag_to_hwq(unique_tag); 7542 if (hwq != queue_num) 9094 u16 hwq = blk_mq_unique_tag_to_hwq(unique_tag); 9100 if (hwq != queue_num) in sdebug_blk_mq_poll_iter() 7547 u16 hwq = blk_mq_unique_tag_to_hwq(unique_tag); sdebug_submit_queue_iter() local 9104 u16 hwq = blk_mq_unique_tag_to_hwq(unique_tag); sdebug_blk_mq_poll_iter() local
|
| /linux/drivers/scsi/qla2xxx/ |
| H A D | qla_os.c | 879 uint16_t hwq; in qla2xxx_queuecommand() local 883 hwq = blk_mq_unique_tag_to_hwq(tag); in qla2xxx_queuecommand() 884 qpair = ha->queue_pair_map[hwq]; in qla2xxx_queuecommand()
|