Home
last modified time | relevance | path

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

12

/linux-6.1.9/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 …]
/linux-6.1.9/drivers/staging/media/atomisp/pci/runtime/queue/src/ !
Dqueue.c28 || NULL == desc->cb_elems || NULL == desc->cb_desc) { in ia_css_queue_local_init()
39 desc->cb_desc); in ia_css_queue_local_init()
102 ia_css_circbuf_desc_t cb_desc; in ia_css_queue_enqueue() local
107 QUEUE_CB_DESC_INIT(&cb_desc); in ia_css_queue_enqueue()
108 error = ia_css_queue_load(qhandle, &cb_desc, ignore_desc_flags); in ia_css_queue_enqueue()
113 if (ia_css_circbuf_desc_is_full(&cb_desc)) in ia_css_queue_enqueue()
118 error = ia_css_queue_item_store(qhandle, cb_desc.end, &cb_elem); in ia_css_queue_enqueue()
122 cb_desc.end = (cb_desc.end + 1) % cb_desc.size; in ia_css_queue_enqueue()
131 error = ia_css_queue_store(qhandle, &cb_desc, ignore_desc_flags); in ia_css_queue_enqueue()
159 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,
/linux-6.1.9/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.c1032 static u8 _rtl92e_query_is_short(u8 TxHT, u8 TxRate, struct cb_desc *tcb_desc) in _rtl92e_query_is_short()
1045 struct cb_desc *cb_desc, struct sk_buff *skb) in rtl92e_fill_tx_desc() argument
1053 pTxFwInfo->TxHT = (cb_desc->data_rate & 0x80) ? 1 : 0; in rtl92e_fill_tx_desc()
1054 pTxFwInfo->TxRate = _rtl92e_rate_mgn_to_hw(cb_desc->data_rate); in rtl92e_fill_tx_desc()
1055 pTxFwInfo->EnableCPUDur = cb_desc->bTxEnableFwCalcDur; in rtl92e_fill_tx_desc()
1057 pTxFwInfo->TxRate, cb_desc); in rtl92e_fill_tx_desc()
1059 if (cb_desc->bAMPDUEnable) { in rtl92e_fill_tx_desc()
1061 pTxFwInfo->RxMF = cb_desc->ampdu_factor; in rtl92e_fill_tx_desc()
1062 pTxFwInfo->RxAMD = cb_desc->ampdu_density; in rtl92e_fill_tx_desc()
1069 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()
46 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.c481 struct cb_desc *tcb_desc = NULL; in _rtl92e_prepare_beacon()
493 tcb_desc = (struct cb_desc *)(pnewskb->cb + 8); in _rtl92e_prepare_beacon()
1054 struct cb_desc *tcb_desc = NULL; in _rtl92e_tx_check_stuck()
1079 tcb_desc = (struct cb_desc *)(skb->cb + in _rtl92e_tx_check_stuck()
1506 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + in _rtl92e_hard_data_xmit()
1538 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + in _rtl92e_hard_start_xmit()
1599 struct cb_desc *tcb_desc; in _rtl92e_tx_cmd()
1608 tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in _rtl92e_tx_cmd()
1621 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + in _rtl92e_tx()
/linux-6.1.9/drivers/staging/rtl8192u/ieee80211/ !
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_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 tcb_desc = (struct cb_desc *)(txb->fragments[0]->cb + MAX_DEV_ADDR_SIZE); in ieee80211_xmit()
Dieee80211_crypt_ccmp.c167 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in ieee80211_ccmp_encrypt()
235 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()
/linux-6.1.9/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.c268 struct cb_desc *tcb_desc) in rtllib_tx_query_agg_cap()
341 struct cb_desc *tcb_desc) in rtllib_query_ShortPreambleMode()
352 struct cb_desc *tcb_desc) in rtllib_query_HTCapShortGI()
373 struct cb_desc *tcb_desc) in rtllib_query_BandwidthMode()
393 struct cb_desc *tcb_desc, in rtllib_query_protectionmode()
480 struct cb_desc *tcb_desc) in rtllib_txrate_selectmode()
567 struct cb_desc *tcb_desc; in rtllib_xmit_inter()
780 tcb_desc = (struct cb_desc *)(skb_frag->cb + in rtllib_xmit_inter()
882 tcb_desc = (struct cb_desc *) in rtllib_xmit_inter()
Drtllib_crypt_ccmp.c161 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + in rtllib_ccmp_encrypt()
229 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()
2452 struct cb_desc *tcb_desc = NULL; in rtllib_softmac_xmit()
2461 tcb_desc = (struct cb_desc *)(txb->fragments[0]->cb + in rtllib_softmac_xmit()
/linux-6.1.9/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()
/linux-6.1.9/drivers/dma/ !
Dtegra20-apb-dma.c196 struct list_head cb_desc; member
543 &tdc->cb_desc); in tegra_dma_abort_all()
592 list_add_tail(&dma_desc->cb_node, &tdc->cb_desc); in handle_once_dma_done()
626 list_add_tail(&dma_desc->cb_node, &tdc->cb_desc); in handle_cont_sngl_cycle_dma_done()
650 while (!list_empty(&tdc->cb_desc)) { in tegra_dma_tasklet()
651 dma_desc = list_first_entry(&tdc->cb_desc, typeof(*dma_desc), in tegra_dma_tasklet()
787 while (!list_empty(&tdc->cb_desc)) { in tegra_dma_terminate_all()
788 dma_desc = list_first_entry(&tdc->cb_desc, typeof(*dma_desc), in tegra_dma_terminate_all()
1331 INIT_LIST_HEAD(&tdc->cb_desc); in tegra_dma_free_chan_resources()
1527 INIT_LIST_HEAD(&tdc->cb_desc); in tegra_dma_probe()
/linux-6.1.9/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
/linux-6.1.9/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.c729 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in rtl8192_hard_data_xmit()
755 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in rtl8192_hard_start_xmit()
780 struct cb_desc *tcb_desc; in rtl8192_tx_isr()
787 tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in rtl8192_tx_isr()
1002 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in rtl819xU_tx_cmd()
1195 static u8 QueryIsShort(u8 TxHT, u8 TxRate, struct cb_desc *tcb_desc) in QueryIsShort()
1221 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in rtl8192_tx()
/linux-6.1.9/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