Home
last modified time | relevance | path

Searched refs:arq (Results 1 – 12 of 12) sorted by relevance

/drivers/net/ethernet/intel/iavf/
Diavf_adminq.c24 hw->aq.arq.tail = IAVF_VF_ARQT1; in iavf_adminq_init_regs()
25 hw->aq.arq.head = IAVF_VF_ARQH1; in iavf_adminq_init_regs()
26 hw->aq.arq.len = IAVF_VF_ARQLEN1; in iavf_adminq_init_regs()
27 hw->aq.arq.bal = IAVF_VF_ARQBAL1; in iavf_adminq_init_regs()
28 hw->aq.arq.bah = IAVF_VF_ARQBAH1; in iavf_adminq_init_regs()
66 ret_code = iavf_allocate_dma_mem(hw, &hw->aq.arq.desc_buf, in iavf_alloc_adminq_arq_ring()
96 iavf_free_dma_mem(hw, &hw->aq.arq.desc_buf); in iavf_free_adminq_arq()
115 ret_code = iavf_allocate_virt_mem(hw, &hw->aq.arq.dma_head, in iavf_alloc_arq_bufs()
120 hw->aq.arq.r.arq_bi = (struct iavf_dma_mem *)hw->aq.arq.dma_head.va; in iavf_alloc_arq_bufs()
124 bi = &hw->aq.arq.r.arq_bi[i]; in iavf_alloc_arq_bufs()
[all …]
Diavf_adminq.h65 struct iavf_adminq_ring arq; /* receive queue */ member
Diavf_main.c3257 val = rd32(hw, hw->aq.arq.len); in iavf_adminq_task()
3274 wr32(hw, hw->aq.arq.len, val); in iavf_adminq_task()
/drivers/net/ethernet/intel/i40e/
Di40e_adminq.c26 hw->aq.arq.tail = I40E_VF_ARQT1; in i40e_adminq_init_regs()
27 hw->aq.arq.head = I40E_VF_ARQH1; in i40e_adminq_init_regs()
28 hw->aq.arq.len = I40E_VF_ARQLEN1; in i40e_adminq_init_regs()
29 hw->aq.arq.bal = I40E_VF_ARQBAL1; in i40e_adminq_init_regs()
30 hw->aq.arq.bah = I40E_VF_ARQBAH1; in i40e_adminq_init_regs()
37 hw->aq.arq.tail = I40E_PF_ARQT; in i40e_adminq_init_regs()
38 hw->aq.arq.head = I40E_PF_ARQH; in i40e_adminq_init_regs()
39 hw->aq.arq.len = I40E_PF_ARQLEN; in i40e_adminq_init_regs()
40 hw->aq.arq.bal = I40E_PF_ARQBAL; in i40e_adminq_init_regs()
41 hw->aq.arq.bah = I40E_PF_ARQBAH; in i40e_adminq_init_regs()
[all …]
Di40e_adminq.h65 struct i40e_adminq_ring arq; /* receive queue */ member
Di40e_debugfs.c520 ring = &(hw->aq.arq); in i40e_dbg_dump_aq_desc()
Di40e_main.c10159 val = rd32(&pf->hw, pf->hw.aq.arq.len); in i40e_clean_adminq_subtask()
10178 wr32(&pf->hw, pf->hw.aq.arq.len, val); in i40e_clean_adminq_subtask()
/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_mbx.c207 if (atomic_read(&hdev->arq.count) >= in hclgevf_handle_mbx_msg()
216 memcpy(hdev->arq.msg_q[hdev->arq.tail], &req->msg, in hclgevf_handle_mbx_msg()
218 hclge_mbx_tail_ptr_move_arq(hdev->arq); in hclgevf_handle_mbx_msg()
219 atomic_inc(&hdev->arq.count); in hclgevf_handle_mbx_msg()
314 tail = hdev->arq.tail; in hclgevf_mbx_async_handler()
317 while (tail != hdev->arq.head) { in hclgevf_mbx_async_handler()
325 msg_q = hdev->arq.msg_q[hdev->arq.head]; in hclgevf_mbx_async_handler()
384 hclge_mbx_head_ptr_move_arq(hdev->arq); in hclgevf_mbx_async_handler()
385 atomic_dec(&hdev->arq.count); in hclgevf_mbx_async_handler()
386 msg_q = hdev->arq.msg_q[hdev->arq.head]; in hclgevf_mbx_async_handler()
Dhclgevf_main.h262 struct hclgevf_mbx_arq_ring arq; /* mailbox async rx queue */ member
Dhclgevf_main.c56 hdev->arq.hdev = hdev; in hclgevf_arq_init()
57 hdev->arq.head = 0; in hclgevf_arq_init()
58 hdev->arq.tail = 0; in hclgevf_arq_init()
59 atomic_set(&hdev->arq.count, 0); in hclgevf_arq_init()
/drivers/net/ethernet/hisilicon/hns3/
Dhclge_mbx.h249 #define hclge_mbx_tail_ptr_move_arq(arq) \ argument
250 (arq.tail = (arq.tail + 1) % HCLGE_MBX_MAX_ARQ_MSG_NUM)
251 #define hclge_mbx_head_ptr_move_arq(arq) \ argument
252 (arq.head = (arq.head + 1) % HCLGE_MBX_MAX_ARQ_MSG_NUM)
/drivers/crypto/
Dmxs-dcp.c293 static int mxs_dcp_aes_block_crypt(struct crypto_async_request *arq) in mxs_dcp_aes_block_crypt() argument
297 struct skcipher_request *req = skcipher_request_cast(arq); in mxs_dcp_aes_block_crypt()
298 struct dcp_async_ctx *actx = crypto_tfm_ctx(arq->tfm); in mxs_dcp_aes_block_crypt()
396 struct crypto_async_request *arq; in dcp_chan_thread_aes() local
405 arq = crypto_dequeue_request(&sdcp->queue[chan]); in dcp_chan_thread_aes()
408 if (!backlog && !arq) { in dcp_chan_thread_aes()
418 if (arq) { in dcp_chan_thread_aes()
419 ret = mxs_dcp_aes_block_crypt(arq); in dcp_chan_thread_aes()
420 crypto_request_complete(arq, ret); in dcp_chan_thread_aes()
451 struct crypto_async_request *arq = &req->base; in mxs_dcp_aes_enqueue() local
[all …]