/linux-6.12.1/drivers/staging/media/atomisp/pci/base/circbuf/interface/ |
D | ia_css_circbuf_desc.h | 39 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.12.1/drivers/staging/media/atomisp/pci/runtime/queue/src/ |
D | queue.c | 28 || 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 …]
|
D | queue_access.c | 26 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 …]
|
D | queue_access.h | 46 #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.12.1/drivers/staging/rtl8192e/rtl8192e/ |
D | r8192E_dev.h | 27 struct cb_desc *cb_desc, struct sk_buff *skb); 29 struct cb_desc *cb_desc, struct sk_buff *skb);
|
D | r8192E_dev.c | 858 static u8 _rtl92e_query_is_short(u8 TxHT, u8 TxRate, struct cb_desc *tcb_desc) in _rtl92e_query_is_short() 871 struct cb_desc *cb_desc, struct sk_buff *skb) in rtl92e_fill_tx_desc() argument 879 pTxFwInfo->TxHT = (cb_desc->data_rate & 0x80) ? 1 : 0; in rtl92e_fill_tx_desc() 880 pTxFwInfo->TxRate = _rtl92e_rate_mgn_to_hw(cb_desc->data_rate); in rtl92e_fill_tx_desc() 881 pTxFwInfo->EnableCPUDur = cb_desc->tx_enable_fw_calc_dur; in rtl92e_fill_tx_desc() 883 pTxFwInfo->TxRate, cb_desc); in rtl92e_fill_tx_desc() 885 if (cb_desc->ampdu_enable) { in rtl92e_fill_tx_desc() 887 pTxFwInfo->RxMF = cb_desc->ampdu_factor; in rtl92e_fill_tx_desc() 888 pTxFwInfo->RxAMD = cb_desc->ampdu_density; in rtl92e_fill_tx_desc() 895 pTxFwInfo->RtsEnable = (cb_desc->rts_enable) ? 1 : 0; in rtl92e_fill_tx_desc() [all …]
|
D | r8192E_cmdpkt.c | 18 struct cb_desc *tcb_desc; in rtl92e_send_cmd_pkt() 43 tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in rtl92e_send_cmd_pkt()
|
D | rtl_core.c | 836 struct cb_desc *tcb_desc = NULL; in _rtl92e_tx_check_stuck() 861 tcb_desc = (struct cb_desc *)(skb->cb + in _rtl92e_tx_check_stuck() 1136 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + in _rtl92e_hard_data_xmit() 1167 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + in _rtl92e_hard_start_xmit() 1228 struct cb_desc *tcb_desc; in _rtl92e_tx_cmd() 1237 tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in _rtl92e_tx_cmd() 1250 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + in _rtl92e_tx()
|
/linux-6.12.1/drivers/staging/rtl8192e/ |
D | rtllib_crypt_wep.c | 65 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + in prism2_wep_encrypt() 134 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + in prism2_wep_decrypt()
|
D | rtllib_tx.c | 267 struct cb_desc *tcb_desc) in rtllib_tx_query_agg_cap() 323 struct cb_desc *tcb_desc) in rtllib_query_short_preamble_mode() 334 struct cb_desc *tcb_desc) in rtllib_query_ht_cap_short_gi() 350 struct cb_desc *tcb_desc) in rtllib_query_bandwidth_mode() 370 struct cb_desc *tcb_desc, in rtllib_query_protectionmode() 454 struct cb_desc *tcb_desc) in rtllib_txrate_selectmode() 540 struct cb_desc *tcb_desc; in rtllib_xmit_inter() 736 tcb_desc = (struct cb_desc *)(skb_frag->cb + in rtllib_xmit_inter() 821 tcb_desc = (struct cb_desc *) in rtllib_xmit_inter()
|
D | rtllib_crypt_ccmp.c | 156 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + in rtllib_ccmp_encrypt() 223 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + in rtllib_ccmp_decrypt()
|
D | rtllib_crypt_tkip.c | 259 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + in rtllib_tkip_encrypt() 334 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + in rtllib_tkip_decrypt()
|
D | rtllib_softmac.c | 189 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + 8); in softmac_mgmt_xmit() 266 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + 8); in softmac_ps_mgmt_xmit() 1804 struct cb_desc *tcb_desc = NULL; in rtllib_softmac_xmit() 1813 tcb_desc = (struct cb_desc *)(txb->fragments[0]->cb + in rtllib_softmac_xmit()
|
D | rtllib_rx.c | 281 struct cb_desc *tcb_desc = (struct cb_desc *) in rtllib_rx_frame_decrypt() 320 struct cb_desc *tcb_desc = (struct cb_desc *) in rtllib_rx_frame_decrypt_msdu()
|
D | rtllib.h | 102 struct cb_desc { struct
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
D | fw.c | 504 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.12.1/drivers/dma/ |
D | tegra20-apb-dma.c | 195 struct list_head cb_desc; member 537 &tdc->cb_desc); in tegra_dma_abort_all() 586 list_add_tail(&dma_desc->cb_node, &tdc->cb_desc); in handle_once_dma_done() 620 list_add_tail(&dma_desc->cb_node, &tdc->cb_desc); in handle_cont_sngl_cycle_dma_done() 644 while (!list_empty(&tdc->cb_desc)) { in tegra_dma_tasklet() 645 dma_desc = list_first_entry(&tdc->cb_desc, typeof(*dma_desc), in tegra_dma_tasklet() 781 while (!list_empty(&tdc->cb_desc)) { in tegra_dma_terminate_all() 782 dma_desc = list_first_entry(&tdc->cb_desc, typeof(*dma_desc), in tegra_dma_terminate_all() 1325 INIT_LIST_HEAD(&tdc->cb_desc); in tegra_dma_free_chan_resources() 1521 INIT_LIST_HEAD(&tdc->cb_desc); in tegra_dma_probe()
|
/linux-6.12.1/drivers/staging/media/atomisp/pci/runtime/queue/interface/ |
D | ia_css_queue.h | 27 ia_css_circbuf_desc_t *cb_desc; /*Circbuf desc for local queues*/ member
|
/linux-6.12.1/drivers/crypto/ |
D | omap-aes.c | 270 struct dma_async_tx_descriptor *tx_in, *tx_out = NULL, *cb_desc; in omap_aes_crypt_dma() local 334 cb_desc = tx_out; in omap_aes_crypt_dma() 336 cb_desc = tx_in; in omap_aes_crypt_dma() 340 cb_desc->callback = omap_aes_gcm_dma_out_callback; in omap_aes_crypt_dma() 342 cb_desc->callback = omap_aes_dma_out_callback; in omap_aes_crypt_dma() 343 cb_desc->callback_param = dd; in omap_aes_crypt_dma()
|