Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/bnxt_re/
H A Dqplib_rcfw.c239 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 Dmain.c1091 mr_hwq = &mr->qplib_mr.hwq; in bnxt_re_fill_res_mr_entry()
1147 cq_hwq = &cq->qplib_cq.hwq; in bnxt_re_fill_res_cq_entry()
1849 nq->hwq.max_elements = BNXT_QPLIB_NQE_MAX_CNT; in bnxt_re_alloc_res()
1857 rattr.dma_arr = nq->hwq.pbl[PBL_LVL_0].pg_map_arr; in bnxt_re_alloc_res()
1858 rattr.pages = nq->hwq.pbl[rdev->nqr->nq[i].hwq.level].pg_count; in bnxt_re_alloc_res()
2253 rattr.dma_arr = creq->hwq.pbl[PBL_LVL_0].pg_map_arr; in bnxt_re_dev_init()
2254 rattr.pages = creq->hwq.pbl[creq->hwq.level].pg_count; in bnxt_re_dev_init()
/linux/include/scsi/
H A Dscsi_tcq.h26 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/mediatek/mt76/mt7603/
H A Ddma.c32 u8 qid, tid = 0, hwq = 0; in mt7603_rx_loopback_skb() local
55 hwq = wmm_queue_map[IEEE80211_AC_BE]; in mt7603_rx_loopback_skb()
60 hwq = wmm_queue_map[qid]; in mt7603_rx_loopback_skb()
64 hwq = wmm_queue_map[IEEE80211_AC_BE]; in mt7603_rx_loopback_skb()
71 hwq = MT_TX_HW_QUEUE_MGMT; in mt7603_rx_loopback_skb()
79 val |= FIELD_PREP(MT_TXD0_Q_IDX, hwq); in mt7603_rx_loopback_skb()
/linux/drivers/scsi/fnic/
H A Dfnic_main.c603 int hwq; in fnic_free_ioreq_tables_mq() local
605 for (hwq = 0; hwq < fnic->wq_copy_count; hwq++) in fnic_free_ioreq_tables_mq()
606 kfree(fnic->sw_copy_wq[hwq].io_req_table); in fnic_free_ioreq_tables_mq()
615 int hwq; in fnic_scsi_drv_init() local
636 for (hwq = 0; hwq < fnic->wq_copy_count; hwq++) { in fnic_scsi_drv_init()
637 fnic->sw_copy_wq[hwq].ioreq_table_size = fnic->fnic_max_tag_id; in fnic_scsi_drv_init()
638 fnic->sw_copy_wq[hwq].io_req_table = in fnic_scsi_drv_init()
639 kzalloc((fnic->sw_copy_wq[hwq].ioreq_table_size + 1) * in fnic_scsi_drv_init()
642 if (!fnic->sw_copy_wq[hwq].io_req_table) { in fnic_scsi_drv_init()
697 int hwq; in fnic_nvme_drv_init() local
[all …]
H A Dfnic.h581 int fnic_count_ioreqs_wq(struct fnic *fnic, u32 hwq, u32 portid);
584 unsigned int fnic_count_lun_ioreqs_wq(struct fnic *fnic, u32 hwq,
593 unsigned int hwq);
/linux/drivers/net/wireless/ti/wlcore/
H A Dtx.c1200 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/net/wireless/mediatek/mt76/
H A Dtx.c448 struct mt76_queue *hwq = phy->q_tx[MT_TXQ_PSD]; in mt76_release_buffered_frames()
451 spin_lock_bh(&hwq->lock); in mt76_release_buffered_frames()
476 dev->queue_ops->kick(dev, hwq); in mt76_release_buffered_frames()
481 spin_unlock_bh(&hwq->lock);
804 struct mt76_queue *hwq; in mt76_stop_tx_queues()
810 hwq = phy->q_tx[mt76_txq_get_qid(txq)]; in mt76_stop_tx_queues()
813 spin_lock_bh(&hwq->lock);
815 spin_unlock_bh(&hwq->lock); in mt76_sta_ps_transition()
445 struct mt76_queue *hwq = phy->q_tx[MT_TXQ_PSD]; mt76_release_buffered_frames() local
798 struct mt76_queue *hwq; mt76_stop_tx_queues() local
H A Dmac80211.c2010 struct mt76_queue *hwq; in mt76_init_queue() local
2013 hwq = devm_kzalloc(dev->dev, sizeof(*hwq), GFP_KERNEL); in mt76_init_queue()
2014 if (!hwq) in mt76_init_queue()
2017 hwq->flags = flags; in mt76_init_queue()
2018 hwq->wed = wed; in mt76_init_queue()
2020 err = dev->queue_ops->alloc(dev, hwq, idx, n_desc, 0, ring_base); in mt76_init_queue()
2024 return hwq; in mt76_init_queue()
/linux/drivers/infiniband/hw/bng_re/
H A Dbng_fw.h69 struct bng_re_hwq hwq; member
90 struct bng_re_hwq hwq; member
H A Dbng_re.h31 struct bng_re_hwq hwq; member
H A Dbng_dev.c335 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/ufs/core/
H A Dufshcd.c523 struct ufs_hw_queue *hwq = ufshcd_mcq_req_to_hwq(hba, rq); in ufshcd_add_command_trace() local
524 if (hwq) in ufshcd_add_command_trace()
525 hwq_id = hwq->id; in ufshcd_add_command_trace()
2395 * @hwq: pointer to hardware queue instance
2399 struct ufs_hw_queue *hwq) in ufshcd_send_command() argument
2423 spin_lock(&hwq->sq_lock); in ufshcd_send_command()
2424 dest = hwq->sqe_base_addr + hwq->sq_tail_slot; in ufshcd_send_command()
2426 ufshcd_inc_sq_tail(hwq); in ufshcd_send_command()
2427 spin_unlock(&hwq in ufshcd_send_command()
3098 struct ufs_hw_queue *hwq = NULL; ufshcd_queuecommand() local
3179 struct ufs_hw_queue *hwq = ufshcd_queue_reserved_command() local
6009 struct ufs_hw_queue *hwq; ufshcd_poll() local
6042 struct ufs_hw_queue *hwq = ufshcd_mcq_req_to_hwq(hba, rq); ufshcd_mcq_force_compl_one() local
6069 struct ufs_hw_queue *hwq = ufshcd_mcq_req_to_hwq(hba, rq); ufshcd_mcq_compl_one() local
7385 struct ufs_hw_queue *hwq; ufshcd_handle_mcq_cq_events() local
7908 struct ufs_hw_queue *hwq = ufshcd_mcq_req_to_hwq(hba, req); ufshcd_clear_lu_cmds() local
[all...]
/linux/drivers/block/
H A Dnbd.c888 u16 hwq; in nbd_handle_reply() local
894 hwq = blk_mq_unique_tag_to_hwq(tag); in nbd_handle_reply()
895 if (hwq < nbd->tag_set.nr_hw_queues) in nbd_handle_reply()
896 req = blk_mq_tag_to_rq(nbd->tag_set.tags[hwq], in nbd_handle_reply()
/linux/drivers/ufs/host/
H A Dufs-qcom.c2399 struct ufs_hw_queue *hwq = &hba->uhq[qi->idx]; in ufs_qcom_mcq_esi_handler() local
2402 ufshcd_mcq_poll_cqe_lock(hba, hwq); in ufs_qcom_mcq_esi_handler()
/linux/drivers/scsi/ibmvscsi/
H A Dibmvfc-core.c1672 evt->hwq = 0; in ibmvfc_init_event()
2048 u16 hwq = blk_mq_unique_tag_to_hwq(tag_and_hwq); in ibmvfc_queuecommand() local
2061 scsi_channel = hwq % vhost->scsi_scrqs.active_queues; in ibmvfc_queuecommand()
2066 evt->hwq = hwq % vhost->scsi_scrqs.active_queues; in ibmvfc_queuecommand()
/linux/drivers/scsi/
H A Dscsi_debug.c7496 u16 hwq = blk_mq_unique_tag_to_hwq(unique_tag); in sdebug_submit_queue_iter() local
7500 if (hwq != queue_num) in sdebug_submit_queue_iter()
9052 u16 hwq = blk_mq_unique_tag_to_hwq(unique_tag); in sdebug_blk_mq_poll_iter() local
9058 if (hwq != queue_num) in sdebug_blk_mq_poll_iter()
/linux/drivers/scsi/qla2xxx/
H A Dqla_os.c884 uint16_t hwq; in qla2xxx_queuecommand() local
888 hwq = blk_mq_unique_tag_to_hwq(tag); in qla2xxx_queuecommand()
889 qpair = ha->queue_pair_map[hwq]; in qla2xxx_queuecommand()