Home
last modified time | relevance | path

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

123

/Linux-v5.4/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 …]
/Linux-v5.4/drivers/gpu/drm/i915/gt/
Dmock_engine.c68 return list_first_entry_or_null(&engine->hw_queue, in first_request()
194 list_add_tail(&request->mock.link, &engine->hw_queue); in mock_submit_request()
195 if (list_is_first(&request->mock.link, &engine->hw_queue)) { in mock_submit_request()
271 INIT_LIST_HEAD(&engine->hw_queue); in mock_engine()
309 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
/Linux-v5.4/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()
629 void rtl92se_tx_polling(struct ieee80211_hw *hw, u8 hw_queue) in rtl92se_tx_polling() argument
632 rtl_write_word(rtlpriv, TP_POLL, BIT(0) << (hw_queue)); in rtl92se_tx_polling()
/Linux-v5.4/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()
669 u8 hw_queue, u16 index) in rtl8723e_is_tx_desc_closed() argument
672 struct rtl8192_tx_ring *ring = &rtlpci->tx_ring[hw_queue]; in rtl8723e_is_tx_desc_closed()
686 void rtl8723e_tx_polling(struct ieee80211_hw *hw, u8 hw_queue) in rtl8723e_tx_polling() argument
689 if (hw_queue == BEACON_QUEUE) { in rtl8723e_tx_polling()
693 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);
/Linux-v5.4/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
387 u8 hw_queue, struct rtl_tcb_desc *tcb_desc) in rtl92ce_tx_fill_desc() argument
397 u8 fw_qsel = _rtl92ce_map_hwqueue_to_fwqueue(skb, hw_queue); in rtl92ce_tx_fill_desc()
708 u8 hw_queue, u16 index) in rtl92ce_is_tx_desc_closed() argument
711 struct rtl8192_tx_ring *ring = &rtlpci->tx_ring[hw_queue]; in rtl92ce_is_tx_desc_closed()
724 void rtl92ce_tx_polling(struct ieee80211_hw *hw, u8 hw_queue) in rtl92ce_tx_polling() argument
728 if (hw_queue == BEACON_QUEUE) { in rtl92ce_tx_polling()
732 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);
/Linux-v5.4/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()
722 u8 hw_queue, u16 index) in rtl8723be_is_tx_desc_closed() argument
725 struct rtl8192_tx_ring *ring = &rtlpci->tx_ring[hw_queue]; in rtl8723be_is_tx_desc_closed()
738 void rtl8723be_tx_polling(struct ieee80211_hw *hw, u8 hw_queue) in rtl8723be_tx_polling() argument
741 if (hw_queue == BEACON_QUEUE) { in rtl8723be_tx_polling()
745 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);
/Linux-v5.4/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
655 u8 fw_qsel = _rtl92ee_map_hwqueue_to_fwqueue(skb, hw_queue); in rtl92ee_tx_fill_desc()
690 rtl92ee_pre_fill_tx_bd_desc(hw, pbd_desc_tx, pdesc8, hw_queue, in rtl92ee_tx_fill_desc()
1003 bool rtl92ee_is_tx_desc_closed(struct ieee80211_hw *hw, u8 hw_queue, u16 index) in rtl92ee_is_tx_desc_closed() argument
1010 struct rtl8192_tx_ring *ring = &rtlpci->tx_ring[hw_queue]; in rtl92ee_is_tx_desc_closed()
1018 get_desc_addr_fr_q_idx(hw_queue)); in rtl92ee_is_tx_desc_closed()
1044 if (hw_queue == BEACON_QUEUE) in rtl92ee_is_tx_desc_closed()
1051 if (hw_queue < BEACON_QUEUE) { in rtl92ee_is_tx_desc_closed()
1061 void rtl92ee_tx_polling(struct ieee80211_hw *hw, u8 hw_queue) in rtl92ee_tx_polling() argument
/Linux-v5.4/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()
810 bool rtl88ee_is_tx_desc_closed(struct ieee80211_hw *hw, u8 hw_queue, u16 index) in rtl88ee_is_tx_desc_closed() argument
813 struct rtl8192_tx_ring *ring = &rtlpci->tx_ring[hw_queue]; in rtl88ee_is_tx_desc_closed()
826 void rtl88ee_tx_polling(struct ieee80211_hw *hw, u8 hw_queue) in rtl88ee_tx_polling() argument
829 if (hw_queue == BEACON_QUEUE) { in rtl88ee_tx_polling()
833 BIT(0) << (hw_queue)); in rtl88ee_tx_polling()
/Linux-v5.4/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
664 u8 hw_queue, struct rtl_tcb_desc *ptcb_desc) in rtl8821ae_tx_fill_desc() argument
675 u8 fw_qsel = _rtl8821ae_map_hwqueue_to_fwqueue(skb, hw_queue); in rtl8821ae_tx_fill_desc()
962 u8 hw_queue, u16 index) in rtl8821ae_is_tx_desc_closed() argument
965 struct rtl8192_tx_ring *ring = &rtlpci->tx_ring[hw_queue]; in rtl8821ae_is_tx_desc_closed()
979 void rtl8821ae_tx_polling(struct ieee80211_hw *hw, u8 hw_queue) in rtl8821ae_tx_polling() argument
983 if (hw_queue == BEACON_QUEUE) { in rtl8821ae_tx_polling()
987 BIT(0) << (hw_queue)); in rtl8821ae_tx_polling()
Dtrx.h638 u8 hw_queue, struct rtl_tcb_desc *ptcb_desc);
648 u8 hw_queue, u16 index);
649 void rtl8821ae_tx_polling(struct ieee80211_hw *hw, u8 hw_queue);
/Linux-v5.4/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()
730 u8 hw_queue = 0; in _rtl_pci_rx_interrupt() local
755 hw_queue); in _rtl_pci_rx_interrupt()
790 hw_queue); in _rtl_pci_rx_interrupt()
867 rtlpci->rx_ring[hw_queue].next_rx_rp += 1; in _rtl_pci_rx_interrupt()
868 rtlpci->rx_ring[hw_queue].next_rx_rp %= in _rtl_pci_rx_interrupt()
873 rtlpci->rx_ring[hw_queue].next_rx_rp); in _rtl_pci_rx_interrupt()
1603 u8 hw_queue = _rtl_mac_to_hwqueue(hw, skb); in rtl_pci_tx() local
1631 ring = &rtlpci->tx_ring[hw_queue]; in rtl_pci_tx()
[all …]
Dusb.c923 u16 hw_queue) in _rtl_usb_tx_preprocess() argument
952 hw_queue, &tcb_desc); in _rtl_usb_tx_preprocess()
966 u16 hw_queue; in rtl_usb_tx() local
970 hw_queue = rtlusb->usb_mq_to_hwq(fc, skb_get_queue_mapping(skb)); in rtl_usb_tx()
971 _rtl_usb_tx_preprocess(hw, sta, skb, hw_queue); in rtl_usb_tx()
972 _rtl_usb_transmit(hw, skb, hw_queue); in rtl_usb_tx()
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/mvm/
Dops.c1092 int hw_queue, bool start) in iwl_mvm_queue_state_change() argument
1104 mvm->tvqm_info[hw_queue].sta_id : in iwl_mvm_queue_state_change()
1105 mvm->queue_info[hw_queue].ra_sta_id; in iwl_mvm_queue_state_change()
1117 if (iwl_mvm_is_static_queue(mvm, hw_queue)) { in iwl_mvm_queue_state_change()
1127 int tid = mvm->tvqm_info[hw_queue].txq_tid; in iwl_mvm_queue_state_change()
1131 tid_bitmap = mvm->queue_info[hw_queue].tid_bitmap; in iwl_mvm_queue_state_change()
1152 static void iwl_mvm_stop_sw_queue(struct iwl_op_mode *op_mode, int hw_queue) in iwl_mvm_stop_sw_queue() argument
1154 iwl_mvm_queue_state_change(op_mode, hw_queue, false); in iwl_mvm_stop_sw_queue()
1157 static void iwl_mvm_wake_sw_queue(struct iwl_op_mode *op_mode, int hw_queue) in iwl_mvm_wake_sw_queue() argument
1159 iwl_mvm_queue_state_change(op_mode, hw_queue, true); in iwl_mvm_wake_sw_queue()
/Linux-v5.4/drivers/misc/habanalabs/
DMakefile9 command_buffer.o hw_queue.o irq.o sysfs.o hwmon.o memory.o \
/Linux-v5.4/drivers/infiniband/hw/cxgb4/
Ddevice.c993 devp->rdev.hw_queue.t4_eq_status_entries = in c4iw_alloc()
995 devp->rdev.hw_queue.t4_max_eq_size = 65520; in c4iw_alloc()
996 devp->rdev.hw_queue.t4_max_iq_size = 65520; in c4iw_alloc()
997 devp->rdev.hw_queue.t4_max_rq_size = 8192 - in c4iw_alloc()
998 devp->rdev.hw_queue.t4_eq_status_entries - 1; in c4iw_alloc()
999 devp->rdev.hw_queue.t4_max_sq_size = in c4iw_alloc()
1000 devp->rdev.hw_queue.t4_max_eq_size - in c4iw_alloc()
1001 devp->rdev.hw_queue.t4_eq_status_entries - 1; in c4iw_alloc()
1002 devp->rdev.hw_queue.t4_max_qp_depth = in c4iw_alloc()
1003 devp->rdev.hw_queue.t4_max_rq_size; in c4iw_alloc()
[all …]
/Linux-v5.4/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
510 u8 hw_queue, struct rtl_tcb_desc *ptcb_desc) in rtl92de_tx_fill_desc() argument
522 u8 fw_qsel = _rtl92de_map_hwqueue_to_fwqueue(skb, hw_queue); in rtl92de_tx_fill_desc()
824 void rtl92de_tx_polling(struct ieee80211_hw *hw, u8 hw_queue) in rtl92de_tx_polling() argument
827 if (hw_queue == BEACON_QUEUE) in rtl92de_tx_polling()
831 BIT(0) << (hw_queue)); in rtl92de_tx_polling()
/Linux-v5.4/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()
378 sdata->vif.hw_queue[i] = IEEE80211_INVAL_HW_QUEUE; in ieee80211_set_default_queues()
380 sdata->vif.hw_queue[i] = i; in ieee80211_set_default_queues()
382 sdata->vif.hw_queue[i] = 0; in ieee80211_set_default_queues()
523 memcpy(sdata->vif.hw_queue, master->vif.hw_queue, in ieee80211_do_open()
524 sizeof(sdata->vif.hw_queue)); in ieee80211_do_open()
749 int ac_queue = sdata->vif.hw_queue[ac]; in ieee80211_do_open()
Ddebugfs_netdev.c223 sdata->vif.hw_queue[IEEE80211_AC_VO], in ieee80211_if_fmt_hw_queues()
224 sdata->vif.hw_queue[IEEE80211_AC_VI], in ieee80211_if_fmt_hw_queues()
225 sdata->vif.hw_queue[IEEE80211_AC_BE], in ieee80211_if_fmt_hw_queues()
226 sdata->vif.hw_queue[IEEE80211_AC_BK]); in ieee80211_if_fmt_hw_queues()

123