Home
last modified time | relevance | path

Searched refs:cb_desc (Results 1 – 25 of 30) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/base/circbuf/interface/
Dia_css_circbuf_desc.h39 ia_css_circbuf_desc_t *cb_desc) in ia_css_circbuf_desc_is_empty() argument
41 OP___assert(cb_desc); in ia_css_circbuf_desc_is_empty()
42 return (cb_desc->end == cb_desc->start); in ia_css_circbuf_desc_is_empty()
56 ia_css_circbuf_desc_t *cb_desc) in ia_css_circbuf_desc_is_full() argument
58 OP___assert(cb_desc); in ia_css_circbuf_desc_is_full()
59 return (OP_std_modadd(cb_desc->end, 1, cb_desc->size) == cb_desc->start); in ia_css_circbuf_desc_is_full()
69 ia_css_circbuf_desc_t *cb_desc, in ia_css_circbuf_desc_init() argument
72 OP___assert(cb_desc); in ia_css_circbuf_desc_init()
73 cb_desc->size = size; in ia_css_circbuf_desc_init()
86 ia_css_circbuf_desc_t *cb_desc, in ia_css_circbuf_desc_get_pos_at_offset() argument
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/runtime/queue/src/
Dqueue.c30 || NULL == desc->cb_elems || NULL == desc->cb_desc) { in ia_css_queue_local_init()
41 desc->cb_desc); in ia_css_queue_local_init()
109 ia_css_circbuf_desc_t cb_desc; in ia_css_queue_enqueue() local
114 QUEUE_CB_DESC_INIT(&cb_desc); in ia_css_queue_enqueue()
115 error = ia_css_queue_load(qhandle, &cb_desc, ignore_desc_flags); in ia_css_queue_enqueue()
120 if (ia_css_circbuf_desc_is_full(&cb_desc)) in ia_css_queue_enqueue()
125 error = ia_css_queue_item_store(qhandle, cb_desc.end, &cb_elem); in ia_css_queue_enqueue()
129 cb_desc.end = (cb_desc.end + 1) % cb_desc.size; in ia_css_queue_enqueue()
138 error = ia_css_queue_store(qhandle, &cb_desc, ignore_desc_flags); in ia_css_queue_enqueue()
168 ia_css_circbuf_desc_t cb_desc; in ia_css_queue_dequeue() local
[all …]
Dqueue_access.c26 ia_css_circbuf_desc_t *cb_desc, in ia_css_queue_load() argument
29 if (!rdesc || !cb_desc) in ia_css_queue_load()
36 cb_desc->size = sp_dmem_load_uint8(rdesc->proc_id, in ia_css_queue_load()
40 if (cb_desc->size == 0) { in ia_css_queue_load()
52 cb_desc->start = sp_dmem_load_uint8(rdesc->proc_id, in ia_css_queue_load()
57 cb_desc->end = sp_dmem_load_uint8(rdesc->proc_id, in ia_css_queue_load()
62 cb_desc->step = sp_dmem_load_uint8(rdesc->proc_id, in ia_css_queue_load()
69 (void *)cb_desc, in ia_css_queue_load()
81 ia_css_circbuf_desc_t *cb_desc, in ia_css_queue_store() argument
84 if (!rdesc || !cb_desc) in ia_css_queue_store()
[all …]
Dqueue_access.h46 #define QUEUE_CB_DESC_INIT(cb_desc) \ argument
48 (cb_desc)->size = 0; \
49 (cb_desc)->step = 0; \
50 (cb_desc)->start = 0; \
51 (cb_desc)->end = 0; \
69 ia_css_circbuf_desc_t *cb_desc,
74 ia_css_circbuf_desc_t *cb_desc,
/kernel/linux/linux-5.10/drivers/staging/rtl8192e/rtl8192e/
Dr8192E_dev.h31 struct cb_desc *cb_desc, struct sk_buff *skb);
33 struct cb_desc *cb_desc, struct sk_buff *skb);
Dr8192E_dev.c1156 static u8 _rtl92e_query_is_short(u8 TxHT, u8 TxRate, struct cb_desc *tcb_desc) in _rtl92e_query_is_short()
1169 struct cb_desc *cb_desc, struct sk_buff *skb) in rtl92e_fill_tx_desc() argument
1177 pTxFwInfo->TxHT = (cb_desc->data_rate & 0x80) ? 1 : 0; in rtl92e_fill_tx_desc()
1178 pTxFwInfo->TxRate = _rtl92e_rate_mgn_to_hw((u8)cb_desc->data_rate); in rtl92e_fill_tx_desc()
1179 pTxFwInfo->EnableCPUDur = cb_desc->bTxEnableFwCalcDur; in rtl92e_fill_tx_desc()
1181 pTxFwInfo->TxRate, cb_desc); in rtl92e_fill_tx_desc()
1183 if (cb_desc->bAMPDUEnable) { in rtl92e_fill_tx_desc()
1185 pTxFwInfo->RxMF = cb_desc->ampdu_factor; in rtl92e_fill_tx_desc()
1186 pTxFwInfo->RxAMD = cb_desc->ampdu_density; in rtl92e_fill_tx_desc()
1193 pTxFwInfo->RtsEnable = (cb_desc->bRTSEnable) ? 1 : 0; in rtl92e_fill_tx_desc()
[all …]
Dr8192E_cmdpkt.c19 struct cb_desc *tcb_desc; in rtl92e_send_cmd_pkt()
48 tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in rtl92e_send_cmd_pkt()
Drtl_core.h280 struct cb_desc *cb_desc,
284 struct cb_desc *cb_desc,
Drtl_core.c526 struct cb_desc *tcb_desc = NULL; in _rtl92e_prepare_beacon()
538 tcb_desc = (struct cb_desc *)(pnewskb->cb + 8); in _rtl92e_prepare_beacon()
1115 struct cb_desc *tcb_desc = NULL; in _rtl92e_tx_check_stuck()
1140 tcb_desc = (struct cb_desc *)(skb->cb + in _rtl92e_tx_check_stuck()
1600 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + in _rtl92e_hard_data_xmit()
1632 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + in _rtl92e_hard_start_xmit()
1693 struct cb_desc *tcb_desc; in _rtl92e_tx_cmd()
1702 tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in _rtl92e_tx_cmd()
1715 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + in _rtl92e_tx()
/kernel/linux/linux-5.10/drivers/staging/rtl8192u/ieee80211/
Dieee80211_tx.c290 struct sk_buff *skb, struct cb_desc *tcb_desc) in ieee80211_tx_query_agg_cap()
350 struct cb_desc *tcb_desc) in ieee80211_qurey_ShortPreambleMode()
361 ieee80211_query_HTCapShortGI(struct ieee80211_device *ieee, struct cb_desc *tcb_desc) in ieee80211_query_HTCapShortGI()
382 struct cb_desc *tcb_desc) in ieee80211_query_BandwidthMode()
403 struct cb_desc *tcb_desc, in ieee80211_query_protectionmode()
502 struct cb_desc *tcb_desc) in ieee80211_txrate_selectmode()
550 struct cb_desc *tcb_desc; in ieee80211_xmit()
702 tcb_desc = (struct cb_desc *)(skb_frag->cb + MAX_DEV_ADDR_SIZE); in ieee80211_xmit()
798 struct cb_desc *tcb_desc = (struct cb_desc *)(txb->fragments[0]->cb + MAX_DEV_ADDR_SIZE); in ieee80211_xmit()
Dieee80211_crypt_wep.c72 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in prism2_wep_encrypt()
139 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in prism2_wep_decrypt()
Dieee80211_crypt_ccmp.c165 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in ieee80211_ccmp_encrypt()
233 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in ieee80211_ccmp_decrypt()
Dieee80211_crypt_tkip.c275 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in ieee80211_tkip_encrypt()
345 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in ieee80211_tkip_decrypt()
/kernel/linux/linux-5.10/drivers/staging/rtl8192e/
Drtllib_crypt_wep.c67 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + in prism2_wep_encrypt()
137 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + in prism2_wep_decrypt()
Drtllib_tx.c270 struct cb_desc *tcb_desc) in rtllib_tx_query_agg_cap()
343 struct cb_desc *tcb_desc) in rtllib_qurey_ShortPreambleMode()
354 struct cb_desc *tcb_desc) in rtllib_query_HTCapShortGI()
375 struct cb_desc *tcb_desc) in rtllib_query_BandwidthMode()
395 struct cb_desc *tcb_desc, in rtllib_query_protectionmode()
482 struct cb_desc *tcb_desc) in rtllib_txrate_selectmode()
569 struct cb_desc *tcb_desc; in rtllib_xmit_inter()
782 tcb_desc = (struct cb_desc *)(skb_frag->cb + in rtllib_xmit_inter()
884 struct cb_desc *tcb_desc = (struct cb_desc *) in rtllib_xmit_inter()
Drtllib_crypt_ccmp.c159 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + in rtllib_ccmp_encrypt()
227 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + in rtllib_ccmp_decrypt()
Drtllib_crypt_tkip.c273 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + in rtllib_tkip_encrypt()
350 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + in rtllib_tkip_decrypt()
Drtllib_softmac.c207 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + 8); in softmac_mgmt_xmit()
284 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + 8); in softmac_ps_mgmt_xmit()
2455 struct cb_desc *tcb_desc = NULL; in rtllib_softmac_xmit()
2464 tcb_desc = (struct cb_desc *)(txb->fragments[0]->cb + in rtllib_softmac_xmit()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dfw.c504 struct rtl_tcb_desc *cb_desc; in _rtl92s_firmware_set_h2c_cmd() local
539 cb_desc = (struct rtl_tcb_desc *)(skb->cb); in _rtl92s_firmware_set_h2c_cmd()
540 cb_desc->queue_index = TXCMD_QUEUE; in _rtl92s_firmware_set_h2c_cmd()
541 cb_desc->cmd_or_init = DESC_PACKET_TYPE_NORMAL; in _rtl92s_firmware_set_h2c_cmd()
542 cb_desc->last_inipkt = false; in _rtl92s_firmware_set_h2c_cmd()
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/runtime/queue/interface/
Dia_css_queue.h27 ia_css_circbuf_desc_t *cb_desc; /*Circbuf desc for local queues*/ member
/kernel/linux/linux-5.10/drivers/dma/
Dtegra20-apb-dma.c196 struct list_head cb_desc; member
549 &tdc->cb_desc); in tegra_dma_abort_all()
598 list_add_tail(&dma_desc->cb_node, &tdc->cb_desc); in handle_once_dma_done()
632 list_add_tail(&dma_desc->cb_node, &tdc->cb_desc); in handle_cont_sngl_cycle_dma_done()
656 while (!list_empty(&tdc->cb_desc)) { in tegra_dma_tasklet()
657 dma_desc = list_first_entry(&tdc->cb_desc, typeof(*dma_desc), in tegra_dma_tasklet()
793 while (!list_empty(&tdc->cb_desc)) { in tegra_dma_terminate_all()
794 dma_desc = list_first_entry(&tdc->cb_desc, typeof(*dma_desc), in tegra_dma_terminate_all()
1337 INIT_LIST_HEAD(&tdc->cb_desc); in tegra_dma_free_chan_resources()
1533 INIT_LIST_HEAD(&tdc->cb_desc); in tegra_dma_probe()
/kernel/linux/linux-5.10/drivers/staging/rtl8192u/
Dr819xU_firmware.c46 struct cb_desc *tcb_desc; in fw_download_code()
69 tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in fw_download_code()
Dr819xU_cmdpkt.c34 struct cb_desc *tcb_desc; in SendTxCommandPacket()
43 tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in SendTxCommandPacket()
Dr8192U_core.c907 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in rtl8192_hard_data_xmit()
933 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in rtl8192_hard_start_xmit()
958 struct cb_desc *tcb_desc; in rtl8192_tx_isr()
965 tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in rtl8192_tx_isr()
1180 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in rtl819xU_tx_cmd()
1373 static u8 QueryIsShort(u8 TxHT, u8 TxRate, struct cb_desc *tcb_desc) in QueryIsShort()
1399 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in rtl8192_tx()
/kernel/linux/linux-5.10/drivers/crypto/
Domap-aes.c272 struct dma_async_tx_descriptor *tx_in, *tx_out = NULL, *cb_desc; in omap_aes_crypt_dma() local
336 cb_desc = tx_out; in omap_aes_crypt_dma()
338 cb_desc = tx_in; in omap_aes_crypt_dma()
342 cb_desc->callback = omap_aes_gcm_dma_out_callback; in omap_aes_crypt_dma()
344 cb_desc->callback = omap_aes_dma_out_callback; in omap_aes_crypt_dma()
345 cb_desc->callback_param = dd; in omap_aes_crypt_dma()

12