Home
last modified time | relevance | path

Searched refs:hw_queue (Results 1 – 25 of 61) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/net/ethernet/ibm/ehea/
Dehea_qmr.h196 static inline void *hw_qeit_calc(struct hw_queue *queue, u64 q_offset) in hw_qeit_calc()
206 static inline void *hw_qeit_get(struct hw_queue *queue) in hw_qeit_get()
211 static inline void hw_qeit_inc(struct hw_queue *queue) in hw_qeit_inc()
221 static inline void *hw_qeit_get_inc(struct hw_queue *queue) in hw_qeit_get_inc()
228 static inline void *hw_qeit_get_inc_valid(struct hw_queue *queue) in hw_qeit_get_inc_valid()
245 static inline void *hw_qeit_get_valid(struct hw_queue *queue) in hw_qeit_get_valid()
261 static inline void *hw_qeit_reset(struct hw_queue *queue) in hw_qeit_reset()
267 static inline void *hw_qeit_eq_get_inc(struct hw_queue *queue) in hw_qeit_eq_get_inc()
281 static inline void *hw_eqit_eq_get_inc_valid(struct hw_queue *queue) in hw_eqit_eq_get_inc_valid()
295 struct hw_queue *queue; in ehea_get_next_rwqe()
[all …]
Dehea.h140 struct hw_queue { struct
259 struct hw_queue hw_queue; member
272 struct hw_queue hw_squeue;
273 struct hw_queue hw_rqueue1;
274 struct hw_queue hw_rqueue2;
275 struct hw_queue hw_rqueue3;
300 struct hw_queue hw_queue; member
Dehea_qmr.c25 static void *hw_qpageit_get_inc(struct hw_queue *queue) in hw_qpageit_get_inc()
40 static int hw_queue_ctor(struct hw_queue *queue, const u32 nr_of_pages, in hw_queue_ctor()
90 static void hw_queue_dtor(struct hw_queue *queue) in hw_queue_dtor()
134 ret = hw_queue_ctor(&cq->hw_queue, cq->attr.nr_pages, in ehea_create_cq()
140 vpage = hw_qpageit_get_inc(&cq->hw_queue); in ehea_create_cq()
157 vpage = hw_qpageit_get_inc(&cq->hw_queue); in ehea_create_cq()
173 hw_qeit_reset(&cq->hw_queue); in ehea_create_cq()
180 hw_queue_dtor(&cq->hw_queue); in ehea_create_cq()
202 hw_queue_dtor(&cq->hw_queue); in ehea_destroy_cq_res()
255 ret = hw_queue_ctor(&eq->hw_queue, eq->attr.nr_pages, in ehea_create_eq()
[all …]
/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/
Dhw_queue.c401 struct hl_hw_queue *hw_queue; in init_signal_wait_cs() local
413 hw_queue = &hdev->kernel_queues[q_idx]; in init_signal_wait_cs()
416 hw_sob = &hw_queue->hw_sob[hw_queue->curr_sob_offset]; in init_signal_wait_cs()
419 cs_cmpl->sob_val = hw_queue->next_sob_val++; in init_signal_wait_cs()
431 if (hw_queue->next_sob_val == HL_MAX_SOB_VAL) { in init_signal_wait_cs()
438 hw_queue->next_sob_val = 1; in init_signal_wait_cs()
440 hw_queue->curr_sob_offset = in init_signal_wait_cs()
441 (hw_queue->curr_sob_offset + 1) % in init_signal_wait_cs()
445 hw_queue->curr_sob_offset, q_idx); in init_signal_wait_cs()
461 hw_queue->base_mon_id, q_idx); in init_signal_wait_cs()
[all …]
DMakefile4 common/command_buffer.o common/hw_queue.o common/irq.o \
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dtrx.h11 struct sk_buff *skb, u8 hw_queue,
22 void rtl92se_tx_polling(struct ieee80211_hw *hw, u8 hw_queue);
Dtrx.c317 u8 hw_queue, struct rtl_tcb_desc *ptcb_desc) in rtl92se_tx_fill_desc() argument
327 u8 fw_qsel = _rtl92se_map_hwqueue_to_fwqueue(skb, hw_queue); in rtl92se_tx_fill_desc()
634 void rtl92se_tx_polling(struct ieee80211_hw *hw, u8 hw_queue) in rtl92se_tx_polling() argument
637 rtl_write_word(rtlpriv, TP_POLL, BIT(0) << (hw_queue)); in rtl92se_tx_polling()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
Dmock_engine.c86 return list_first_entry_or_null(&engine->hw_queue, in first_request()
228 list_add_tail(&request->mock.link, &engine->hw_queue); in mock_submit_request()
229 if (list_is_first(&request->mock.link, &engine->hw_queue)) { in mock_submit_request()
326 INIT_LIST_HEAD(&engine->hw_queue); in mock_engine()
370 list_for_each_entry_safe(request, rn, &mock->hw_queue, mock.link) in mock_engine_flush()
Dmock_engine.h38 struct list_head hw_queue; member
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dtrx.c14 static u8 _rtl8723e_map_hwqueue_to_fwqueue(struct sk_buff *skb, u8 hw_queue) in _rtl8723e_map_hwqueue_to_fwqueue() argument
346 u8 hw_queue, struct rtl_tcb_desc *ptcb_desc) in rtl8723e_tx_fill_desc() argument
358 u8 fw_qsel = _rtl8723e_map_hwqueue_to_fwqueue(skb, hw_queue); in rtl8723e_tx_fill_desc()
667 u8 hw_queue, u16 index) in rtl8723e_is_tx_desc_closed() argument
670 struct rtl8192_tx_ring *ring = &rtlpci->tx_ring[hw_queue]; in rtl8723e_is_tx_desc_closed()
684 void rtl8723e_tx_polling(struct ieee80211_hw *hw, u8 hw_queue) in rtl8723e_tx_polling() argument
687 if (hw_queue == BEACON_QUEUE) { in rtl8723e_tx_polling()
691 BIT(0) << (hw_queue)); in rtl8723e_tx_polling()
Dtrx.h519 struct sk_buff *skb, u8 hw_queue,
530 u8 hw_queue, u16 index);
531 void rtl8723e_tx_polling(struct ieee80211_hw *hw, u8 hw_queue);
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dtrx.c14 static u8 _rtl92ce_map_hwqueue_to_fwqueue(struct sk_buff *skb, u8 hw_queue) in _rtl92ce_map_hwqueue_to_fwqueue() argument
347 u8 hw_queue, struct rtl_tcb_desc *tcb_desc) in rtl92ce_tx_fill_desc() argument
357 u8 fw_qsel = _rtl92ce_map_hwqueue_to_fwqueue(skb, hw_queue); in rtl92ce_tx_fill_desc()
666 u8 hw_queue, u16 index) in rtl92ce_is_tx_desc_closed() argument
669 struct rtl8192_tx_ring *ring = &rtlpci->tx_ring[hw_queue]; in rtl92ce_is_tx_desc_closed()
682 void rtl92ce_tx_polling(struct ieee80211_hw *hw, u8 hw_queue) in rtl92ce_tx_polling() argument
686 if (hw_queue == BEACON_QUEUE) { in rtl92ce_tx_polling()
690 BIT(0) << (hw_queue)); in rtl92ce_tx_polling()
Dtrx.h516 struct sk_buff *skb, u8 hw_queue,
527 u8 hw_queue, u16 index);
528 void rtl92ce_tx_polling(struct ieee80211_hw *hw, u8 hw_queue);
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dtrx.c16 static u8 _rtl8723be_map_hwqueue_to_fwqueue(struct sk_buff *skb, u8 hw_queue) in _rtl8723be_map_hwqueue_to_fwqueue() argument
408 u8 hw_queue, struct rtl_tcb_desc *ptcb_desc) in rtl8723be_tx_fill_desc() argument
420 u8 fw_qsel = _rtl8723be_map_hwqueue_to_fwqueue(skb, hw_queue); in rtl8723be_tx_fill_desc()
721 u8 hw_queue, u16 index) in rtl8723be_is_tx_desc_closed() argument
724 struct rtl8192_tx_ring *ring = &rtlpci->tx_ring[hw_queue]; in rtl8723be_is_tx_desc_closed()
737 void rtl8723be_tx_polling(struct ieee80211_hw *hw, u8 hw_queue) in rtl8723be_tx_polling() argument
740 if (hw_queue == BEACON_QUEUE) { in rtl8723be_tx_polling()
744 BIT(0) << (hw_queue)); in rtl8723be_tx_polling()
Dtrx.h632 u8 hw_queue, struct rtl_tcb_desc *ptcb_desc);
642 u8 hw_queue, u16 index);
643 void rtl8723be_tx_polling(struct ieee80211_hw *hw, u8 hw_queue);
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dtrx.c16 static u8 _rtl92ee_map_hwqueue_to_fwqueue(struct sk_buff *skb, u8 hw_queue) in _rtl92ee_map_hwqueue_to_fwqueue() argument
645 u8 hw_queue, struct rtl_tcb_desc *ptcb_desc) in rtl92ee_tx_fill_desc() argument
654 u8 fw_qsel = _rtl92ee_map_hwqueue_to_fwqueue(skb, hw_queue); in rtl92ee_tx_fill_desc()
687 rtl92ee_pre_fill_tx_bd_desc(hw, pbd_desc_tx, pdesc8, hw_queue, in rtl92ee_tx_fill_desc()
994 bool rtl92ee_is_tx_desc_closed(struct ieee80211_hw *hw, u8 hw_queue, u16 index) in rtl92ee_is_tx_desc_closed() argument
1001 struct rtl8192_tx_ring *ring = &rtlpci->tx_ring[hw_queue]; in rtl92ee_is_tx_desc_closed()
1009 get_desc_addr_fr_q_idx(hw_queue)); in rtl92ee_is_tx_desc_closed()
1034 if (hw_queue == BEACON_QUEUE) in rtl92ee_is_tx_desc_closed()
1041 if (hw_queue < BEACON_QUEUE) { in rtl92ee_is_tx_desc_closed()
1051 void rtl92ee_tx_polling(struct ieee80211_hw *hw, u8 hw_queue) in rtl92ee_tx_polling() argument
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dtrx.c15 static u8 _rtl88ee_map_hwqueue_to_fwqueue(struct sk_buff *skb, u8 hw_queue) in _rtl88ee_map_hwqueue_to_fwqueue() argument
481 u8 hw_queue, struct rtl_tcb_desc *ptcb_desc) in rtl88ee_tx_fill_desc() argument
492 u8 fw_qsel = _rtl88ee_map_hwqueue_to_fwqueue(skb, hw_queue); in rtl88ee_tx_fill_desc()
809 bool rtl88ee_is_tx_desc_closed(struct ieee80211_hw *hw, u8 hw_queue, u16 index) in rtl88ee_is_tx_desc_closed() argument
812 struct rtl8192_tx_ring *ring = &rtlpci->tx_ring[hw_queue]; in rtl88ee_is_tx_desc_closed()
825 void rtl88ee_tx_polling(struct ieee80211_hw *hw, u8 hw_queue) in rtl88ee_tx_polling() argument
828 if (hw_queue == BEACON_QUEUE) { in rtl88ee_tx_polling()
832 BIT(0) << (hw_queue)); in rtl88ee_tx_polling()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dtrx.c14 static u8 _rtl92de_map_hwqueue_to_fwqueue(struct sk_buff *skb, u8 hw_queue) in _rtl92de_map_hwqueue_to_fwqueue() argument
476 u8 hw_queue, struct rtl_tcb_desc *ptcb_desc) in rtl92de_tx_fill_desc() argument
488 u8 fw_qsel = _rtl92de_map_hwqueue_to_fwqueue(skb, hw_queue); in rtl92de_tx_fill_desc()
798 u8 hw_queue, u16 index) in rtl92de_is_tx_desc_closed() argument
801 struct rtl8192_tx_ring *ring = &rtlpci->tx_ring[hw_queue]; in rtl92de_is_tx_desc_closed()
814 void rtl92de_tx_polling(struct ieee80211_hw *hw, u8 hw_queue) in rtl92de_tx_polling() argument
817 if (hw_queue == BEACON_QUEUE) in rtl92de_tx_polling()
821 BIT(0) << (hw_queue)); in rtl92de_tx_polling()
Dtrx.h553 struct sk_buff *skb, u8 hw_queue,
564 u8 hw_queue, u16 index);
565 void rtl92de_tx_polling(struct ieee80211_hw *hw, u8 hw_queue);
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/
Dpci.c493 u8 hw_queue = ac_to_hwq[rtl_tid_to_ac(tid)]; in _rtl_pci_tx_chk_waitq() local
494 struct rtl8192_tx_ring *ring = &rtlpci->tx_ring[hw_queue]; in _rtl_pci_tx_chk_waitq()
729 u8 hw_queue = 0; in _rtl_pci_rx_interrupt() local
754 hw_queue); in _rtl_pci_rx_interrupt()
789 hw_queue); in _rtl_pci_rx_interrupt()
866 rtlpci->rx_ring[hw_queue].next_rx_rp += 1; in _rtl_pci_rx_interrupt()
867 rtlpci->rx_ring[hw_queue].next_rx_rp %= in _rtl_pci_rx_interrupt()
872 rtlpci->rx_ring[hw_queue].next_rx_rp); in _rtl_pci_rx_interrupt()
1598 u8 hw_queue = _rtl_mac_to_hwqueue(hw, skb); in rtl_pci_tx() local
1626 ring = &rtlpci->tx_ring[hw_queue]; in rtl_pci_tx()
[all …]
Dusb.c924 u16 hw_queue) in _rtl_usb_tx_preprocess() argument
953 hw_queue, &tcb_desc); in _rtl_usb_tx_preprocess()
967 u16 hw_queue; in rtl_usb_tx() local
971 hw_queue = rtlusb->usb_mq_to_hwq(fc, skb_get_queue_mapping(skb)); in rtl_usb_tx()
972 _rtl_usb_tx_preprocess(hw, sta, skb, hw_queue); in rtl_usb_tx()
973 _rtl_usb_transmit(hw, skb, hw_queue); in rtl_usb_tx()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Dops.c1125 int hw_queue, bool start) in iwl_mvm_queue_state_change() argument
1137 mvm->tvqm_info[hw_queue].sta_id : in iwl_mvm_queue_state_change()
1138 mvm->queue_info[hw_queue].ra_sta_id; in iwl_mvm_queue_state_change()
1150 if (iwl_mvm_is_static_queue(mvm, hw_queue)) { in iwl_mvm_queue_state_change()
1160 int tid = mvm->tvqm_info[hw_queue].txq_tid; in iwl_mvm_queue_state_change()
1164 tid_bitmap = mvm->queue_info[hw_queue].tid_bitmap; in iwl_mvm_queue_state_change()
1185 static void iwl_mvm_stop_sw_queue(struct iwl_op_mode *op_mode, int hw_queue) in iwl_mvm_stop_sw_queue() argument
1187 iwl_mvm_queue_state_change(op_mode, hw_queue, false); in iwl_mvm_stop_sw_queue()
1190 static void iwl_mvm_wake_sw_queue(struct iwl_op_mode *op_mode, int hw_queue) in iwl_mvm_wake_sw_queue() argument
1192 iwl_mvm_queue_state_change(op_mode, hw_queue, true); in iwl_mvm_wake_sw_queue()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dtrx.c16 static u8 _rtl8821ae_map_hwqueue_to_fwqueue(struct sk_buff *skb, u8 hw_queue) in _rtl8821ae_map_hwqueue_to_fwqueue() argument
667 u8 hw_queue, struct rtl_tcb_desc *ptcb_desc) in rtl8821ae_tx_fill_desc() argument
678 u8 fw_qsel = _rtl8821ae_map_hwqueue_to_fwqueue(skb, hw_queue); in rtl8821ae_tx_fill_desc()
964 u8 hw_queue, u16 index) in rtl8821ae_is_tx_desc_closed() argument
967 struct rtl8192_tx_ring *ring = &rtlpci->tx_ring[hw_queue]; in rtl8821ae_is_tx_desc_closed()
981 void rtl8821ae_tx_polling(struct ieee80211_hw *hw, u8 hw_queue) in rtl8821ae_tx_polling() argument
985 if (hw_queue == BEACON_QUEUE) { in rtl8821ae_tx_polling()
989 BIT(0) << (hw_queue)); in rtl8821ae_tx_polling()
/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/
Ddevice.c994 devp->rdev.hw_queue.t4_eq_status_entries = in c4iw_alloc()
996 devp->rdev.hw_queue.t4_max_eq_size = 65520; in c4iw_alloc()
997 devp->rdev.hw_queue.t4_max_iq_size = 65520; in c4iw_alloc()
998 devp->rdev.hw_queue.t4_max_rq_size = 8192 - in c4iw_alloc()
999 devp->rdev.hw_queue.t4_eq_status_entries - 1; in c4iw_alloc()
1000 devp->rdev.hw_queue.t4_max_sq_size = in c4iw_alloc()
1001 devp->rdev.hw_queue.t4_max_eq_size - in c4iw_alloc()
1002 devp->rdev.hw_queue.t4_eq_status_entries - 1; in c4iw_alloc()
1003 devp->rdev.hw_queue.t4_max_qp_depth = in c4iw_alloc()
1004 devp->rdev.hw_queue.t4_max_rq_size; in c4iw_alloc()
[all …]
/kernel/linux/linux-5.10/net/mac80211/
Diface.c325 if (WARN_ON_ONCE(sdata->vif.hw_queue[i] == in ieee80211_check_queues()
328 if (WARN_ON_ONCE(sdata->vif.hw_queue[i] >= in ieee80211_check_queues()
903 sdata->vif.hw_queue[i] = IEEE80211_INVAL_HW_QUEUE; in ieee80211_set_default_queues()
905 sdata->vif.hw_queue[i] = i; in ieee80211_set_default_queues()
907 sdata->vif.hw_queue[i] = 0; in ieee80211_set_default_queues()
1052 memcpy(sdata->vif.hw_queue, master->vif.hw_queue, in ieee80211_do_open()
1053 sizeof(sdata->vif.hw_queue)); in ieee80211_do_open()
1288 int ac_queue = sdata->vif.hw_queue[ac]; in ieee80211_do_open()

123