| /drivers/iommu/iommufd/ |
| A D | viommu.c | 270 if (hw_queue->destroy) in iommufd_hw_queue_destroy() 271 hw_queue->destroy(hw_queue); in iommufd_hw_queue_destroy() 272 if (hw_queue->access) in iommufd_hw_queue_destroy() 274 hw_queue->access, in iommufd_hw_queue_destroy() 275 hw_queue->base_addr, in iommufd_hw_queue_destroy() 276 hw_queue->length); in iommufd_hw_queue_destroy() 277 if (hw_queue->viommu) in iommufd_hw_queue_destroy() 402 if (IS_ERR(hw_queue)) { in iommufd_hw_queue_alloc_ioctl() 403 rc = PTR_ERR(hw_queue); in iommufd_hw_queue_alloc_ioctl() 413 hw_queue->viommu = viommu; in iommufd_hw_queue_alloc_ioctl() [all …]
|
| A D | selftest.c | 153 struct mock_hw_queue *hw_queue[IOMMU_TEST_HW_QUEUE_MAX]; member 173 to_mock_hw_queue(struct iommufd_hw_queue *hw_queue) in to_mock_hw_queue() argument 175 return container_of(hw_queue, struct mock_hw_queue, core); in to_mock_hw_queue() 805 struct mock_hw_queue *mock_hw_queue = to_mock_hw_queue(hw_queue); in mock_hw_queue_destroy() 809 mock_viommu->hw_queue[mock_hw_queue->index] = NULL; in mock_hw_queue_destroy() 821 struct mock_hw_queue *mock_hw_queue = to_mock_hw_queue(hw_queue); in mock_hw_queue_init_phys() 830 if (mock_viommu->hw_queue[index]) { in mock_hw_queue_init_phys() 836 prev = mock_viommu->hw_queue[index - 1]; in mock_hw_queue_init_phys() 848 hw_queue->base_addr)) { in mock_hw_queue_init_phys() 861 mock_viommu->hw_queue[index] = mock_hw_queue; in mock_hw_queue_init_phys() [all …]
|
| /drivers/net/ethernet/ibm/ehea/ |
| A D | ehea_qmr.h | 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() 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() 295 struct hw_queue *queue; in ehea_get_next_rwqe() 310 struct hw_queue *queue = &my_qp->hw_squeue; in ehea_get_swqe() 327 struct hw_queue *queue = &qp->hw_rqueue1; in ehea_poll_rq1() 335 hw_qeit_inc(&cq->hw_queue); in ehea_inc_cq() [all …]
|
| A D | ehea_qmr.c | 140 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() 289 hw_qeit_reset(&eq->hw_queue); in ehea_create_eq() 293 hw_queue_dtor(&eq->hw_queue); in ehea_create_eq() 328 hw_queue_dtor(&eq->hw_queue); in ehea_destroy_eq_res() 357 static int ehea_qp_alloc_register(struct ehea_qp *qp, struct hw_queue *hw_queue, in ehea_qp_alloc_register() argument 370 vpage = hw_qpageit_get_inc(hw_queue); in ehea_qp_alloc_register() 384 hw_qeit_reset(hw_queue); in ehea_qp_alloc_register() [all …]
|
| A D | ehea.h | 141 struct hw_queue { struct 260 struct hw_queue hw_queue; member 273 struct hw_queue hw_squeue; 274 struct hw_queue hw_rqueue1; 275 struct hw_queue hw_rqueue2; 276 struct hw_queue hw_rqueue3; 301 struct hw_queue hw_queue; member
|
| /drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
| A D | trx.c | 16 static u8 _rtl92de_map_hwqueue_to_fwqueue(struct sk_buff *skb, u8 hw_queue) in _rtl92de_map_hwqueue_to_fwqueue() argument 49 u8 hw_queue, struct rtl_tcb_desc *ptcb_desc) in rtl92de_tx_fill_desc() argument 61 u8 fw_qsel = _rtl92de_map_hwqueue_to_fwqueue(skb, hw_queue); in rtl92de_tx_fill_desc() 290 u8 hw_queue, u16 index) in rtl92de_is_tx_desc_closed() argument 293 struct rtl8192_tx_ring *ring = &rtlpci->tx_ring[hw_queue]; in rtl92de_is_tx_desc_closed() 306 void rtl92de_tx_polling(struct ieee80211_hw *hw, u8 hw_queue) in rtl92de_tx_polling() argument 309 if (hw_queue == BEACON_QUEUE) in rtl92de_tx_polling() 313 BIT(0) << (hw_queue)); in rtl92de_tx_polling()
|
| A D | trx.h | 128 struct sk_buff *skb, u8 hw_queue, 131 u8 hw_queue, u16 index); 132 void rtl92de_tx_polling(struct ieee80211_hw *hw, u8 hw_queue);
|
| /drivers/gpu/drm/i915/gt/ |
| A D | mock_engine.c | 95 return list_first_entry_or_null(&engine->hw_queue, in first_request() 245 list_add_tail(&request->mock.link, &engine->hw_queue); in mock_submit_request() 246 if (list_is_first(&request->mock.link, &engine->hw_queue)) { in mock_submit_request() 310 list_for_each_entry(rq, &mock->hw_queue, mock.link) { in mock_reset_cancel() 316 INIT_LIST_HEAD(&mock->hw_queue); in mock_reset_cancel() 386 INIT_LIST_HEAD(&engine->hw_queue); in mock_engine() 438 list_for_each_entry_safe(request, rn, &mock->hw_queue, mock.link) in mock_engine_flush()
|
| A D | mock_engine.h | 19 struct list_head hw_queue; member
|
| /drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
| A D | trx.c | 14 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 356 u8 fw_qsel = _rtl92ce_map_hwqueue_to_fwqueue(skb, hw_queue); in rtl92ce_tx_fill_desc() 659 u8 hw_queue, u16 index) in rtl92ce_is_tx_desc_closed() argument 662 struct rtl8192_tx_ring *ring = &rtlpci->tx_ring[hw_queue]; in rtl92ce_is_tx_desc_closed() 675 void rtl92ce_tx_polling(struct ieee80211_hw *hw, u8 hw_queue) in rtl92ce_tx_polling() argument 679 if (hw_queue == BEACON_QUEUE) { in rtl92ce_tx_polling() 683 BIT(0) << (hw_queue)); in rtl92ce_tx_polling()
|
| A D | trx.h | 516 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);
|
| /drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
| A D | trx.c | 14 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 357 u8 fw_qsel = _rtl8723e_map_hwqueue_to_fwqueue(skb, hw_queue); in rtl8723e_tx_fill_desc() 661 u8 hw_queue, u16 index) in rtl8723e_is_tx_desc_closed() argument 664 struct rtl8192_tx_ring *ring = &rtlpci->tx_ring[hw_queue]; in rtl8723e_is_tx_desc_closed() 678 void rtl8723e_tx_polling(struct ieee80211_hw *hw, u8 hw_queue) in rtl8723e_tx_polling() argument 681 if (hw_queue == BEACON_QUEUE) { in rtl8723e_tx_polling() 685 BIT(0) << (hw_queue)); in rtl8723e_tx_polling()
|
| /drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
| A D | trx.c | 16 static u8 _rtl8723be_map_hwqueue_to_fwqueue(struct sk_buff *skb, u8 hw_queue) in _rtl8723be_map_hwqueue_to_fwqueue() argument 406 u8 hw_queue, struct rtl_tcb_desc *ptcb_desc) in rtl8723be_tx_fill_desc() argument 418 u8 fw_qsel = _rtl8723be_map_hwqueue_to_fwqueue(skb, hw_queue); in rtl8723be_tx_fill_desc() 718 u8 hw_queue, u16 index) in rtl8723be_is_tx_desc_closed() argument 721 struct rtl8192_tx_ring *ring = &rtlpci->tx_ring[hw_queue]; in rtl8723be_is_tx_desc_closed() 734 void rtl8723be_tx_polling(struct ieee80211_hw *hw, u8 hw_queue) in rtl8723be_tx_polling() argument 737 if (hw_queue == BEACON_QUEUE) { in rtl8723be_tx_polling() 741 BIT(0) << (hw_queue)); in rtl8723be_tx_polling()
|
| /drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
| A D | trx.h | 11 struct sk_buff *skb, u8 hw_queue, 22 void rtl92se_tx_polling(struct ieee80211_hw *hw, u8 hw_queue);
|
| A D | trx.c | 317 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()
|
| /drivers/net/wireless/intel/iwlwifi/mld/ |
| A D | mld.c | 525 int hw_queue, bool queue_full) in iwl_mld_queue_state_change() argument 534 txq = rcu_dereference(mld->fw_id_to_txq[hw_queue]); in iwl_mld_queue_state_change() 542 hw_queue); in iwl_mld_queue_state_change() 570 iwl_mld_queue_full(struct iwl_op_mode *op_mode, int hw_queue) in iwl_mld_queue_full() argument 572 iwl_mld_queue_state_change(op_mode, hw_queue, true); in iwl_mld_queue_full() 576 iwl_mld_queue_not_full(struct iwl_op_mode *op_mode, int hw_queue) in iwl_mld_queue_not_full() argument 578 iwl_mld_queue_state_change(op_mode, hw_queue, false); in iwl_mld_queue_not_full()
|
| /drivers/iommu/arm/arm-smmu-v3/ |
| A D | tegra241-cmdqv.c | 1090 tegra241_vintf_destroy_lvcmdq_user(struct iommufd_hw_queue *hw_queue) in tegra241_vintf_destroy_lvcmdq_user() argument 1092 struct tegra241_vcmdq *vcmdq = hw_queue_to_vcmdq(hw_queue); in tegra241_vintf_destroy_lvcmdq_user() 1103 static int tegra241_vintf_alloc_lvcmdq_user(struct iommufd_hw_queue *hw_queue, in tegra241_vintf_alloc_lvcmdq_user() argument 1106 struct tegra241_vintf *vintf = viommu_to_vintf(hw_queue->viommu); in tegra241_vintf_alloc_lvcmdq_user() 1107 struct tegra241_vcmdq *vcmdq = hw_queue_to_vcmdq(hw_queue); in tegra241_vintf_alloc_lvcmdq_user() 1115 if (hw_queue->type != IOMMU_HW_QUEUE_TYPE_TEGRA241_CMDQV) in tegra241_vintf_alloc_lvcmdq_user() 1145 if (!is_power_of_2(hw_queue->length) || hw_queue->length < 32 || in tegra241_vintf_alloc_lvcmdq_user() 1146 hw_queue->length > (1 << (max_n_shift + CMDQ_ENT_SZ_SHIFT))) { in tegra241_vintf_alloc_lvcmdq_user() 1150 log2size = ilog2(hw_queue->length) - CMDQ_ENT_SZ_SHIFT; in tegra241_vintf_alloc_lvcmdq_user() 1154 base_addr_pa & (hw_queue->length - 1)) { in tegra241_vintf_alloc_lvcmdq_user() [all …]
|
| /drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
| A D | trx.c | 15 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() 807 bool rtl88ee_is_tx_desc_closed(struct ieee80211_hw *hw, u8 hw_queue, u16 index) in rtl88ee_is_tx_desc_closed() argument 810 struct rtl8192_tx_ring *ring = &rtlpci->tx_ring[hw_queue]; in rtl88ee_is_tx_desc_closed() 823 void rtl88ee_tx_polling(struct ieee80211_hw *hw, u8 hw_queue) in rtl88ee_tx_polling() argument 826 if (hw_queue == BEACON_QUEUE) { in rtl88ee_tx_polling() 830 BIT(0) << (hw_queue)); in rtl88ee_tx_polling()
|
| /drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
| A D | trx.c | 16 static u8 _rtl92ee_map_hwqueue_to_fwqueue(struct sk_buff *skb, u8 hw_queue) in _rtl92ee_map_hwqueue_to_fwqueue() argument 647 u8 hw_queue, struct rtl_tcb_desc *ptcb_desc) in rtl92ee_tx_fill_desc() argument 656 u8 fw_qsel = _rtl92ee_map_hwqueue_to_fwqueue(skb, hw_queue); in rtl92ee_tx_fill_desc() 689 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 1000 struct rtl8192_tx_ring *ring = &rtlpci->tx_ring[hw_queue]; in rtl92ee_is_tx_desc_closed() 1008 get_desc_addr_fr_q_idx(hw_queue)); in rtl92ee_is_tx_desc_closed() 1033 if (hw_queue == BEACON_QUEUE) in rtl92ee_is_tx_desc_closed() 1043 void rtl92ee_tx_polling(struct ieee80211_hw *hw, u8 hw_queue) in rtl92ee_tx_polling() argument
|
| /drivers/net/wireless/realtek/rtlwifi/ |
| A D | pci.c | 417 u8 hw_queue = ac_to_hwq[rtl_tid_to_ac(tid)]; in _rtl_pci_tx_chk_waitq() local 656 u8 hw_queue = 0; in _rtl_pci_rx_interrupt() local 681 hw_queue); in _rtl_pci_rx_interrupt() 716 hw_queue); in _rtl_pci_rx_interrupt() 794 rtlpci->rx_ring[hw_queue].next_rx_rp %= in _rtl_pci_rx_interrupt() 1559 ring = &rtlpci->tx_ring[hw_queue]; in rtl_pci_tx() 1560 if (hw_queue != BEACON_QUEUE) { in rtl_pci_tx() 1580 hw_queue, ring->idx, idx, in rtl_pci_tx() 1607 HW_DESC_OWN, &hw_queue); in rtl_pci_tx() 1614 hw_queue != BEACON_QUEUE) { in rtl_pci_tx() [all …]
|
| A D | usb.c | 870 u16 hw_queue) in _rtl_usb_tx_preprocess() argument 899 hw_queue, &tcb_desc); in _rtl_usb_tx_preprocess() 913 u16 hw_queue; in rtl_usb_tx() local 917 hw_queue = rtlusb->usb_mq_to_hwq(fc, skb_get_queue_mapping(skb)); in rtl_usb_tx() 918 _rtl_usb_tx_preprocess(hw, sta, skb, hw_queue); in rtl_usb_tx() 919 _rtl_usb_transmit(hw, skb, hw_queue); in rtl_usb_tx()
|
| /drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
| A D | trx.c | 16 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() 963 u8 hw_queue, u16 index) in rtl8821ae_is_tx_desc_closed() argument 966 struct rtl8192_tx_ring *ring = &rtlpci->tx_ring[hw_queue]; in rtl8821ae_is_tx_desc_closed() 980 void rtl8821ae_tx_polling(struct ieee80211_hw *hw, u8 hw_queue) in rtl8821ae_tx_polling() argument 984 if (hw_queue == BEACON_QUEUE) { in rtl8821ae_tx_polling() 988 BIT(0) << (hw_queue)); in rtl8821ae_tx_polling()
|
| /drivers/infiniband/hw/cxgb4/ |
| A D | device.c | 993 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() 999 devp->rdev.hw_queue.t4_max_sq_size = in c4iw_alloc() 1000 devp->rdev.hw_queue.t4_max_eq_size - 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() 1004 devp->rdev.hw_queue.t4_max_cq_depth = in c4iw_alloc() 1005 devp->rdev.hw_queue.t4_max_iq_size - 2; in c4iw_alloc() [all …]
|
| /drivers/net/wireless/intel/iwlwifi/mvm/ |
| A D | ops.c | 1871 int hw_queue, bool start) in iwl_mvm_queue_state_change() argument 1883 mvm->tvqm_info[hw_queue].sta_id : in iwl_mvm_queue_state_change() 1884 mvm->queue_info[hw_queue].ra_sta_id; in iwl_mvm_queue_state_change() 1896 if (iwl_mvm_is_static_queue(mvm, hw_queue)) { in iwl_mvm_queue_state_change() 1906 int tid = mvm->tvqm_info[hw_queue].txq_tid; in iwl_mvm_queue_state_change() 1910 tid_bitmap = mvm->queue_info[hw_queue].tid_bitmap; in iwl_mvm_queue_state_change() 1937 static void iwl_mvm_stop_sw_queue(struct iwl_op_mode *op_mode, int hw_queue) in iwl_mvm_stop_sw_queue() argument 1939 iwl_mvm_queue_state_change(op_mode, hw_queue, false); in iwl_mvm_stop_sw_queue() 1942 static void iwl_mvm_wake_sw_queue(struct iwl_op_mode *op_mode, int hw_queue) in iwl_mvm_wake_sw_queue() argument 1944 iwl_mvm_queue_state_change(op_mode, hw_queue, true); in iwl_mvm_wake_sw_queue()
|
| /drivers/accel/habanalabs/common/ |
| A D | Makefile | 11 common/command_buffer.o common/hw_queue.o common/irq.o \
|