Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/staging/media/atomisp/pci/base/circbuf/interface/
H A Dia_css_circbuf_desc.h41 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()
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()
72 OP___assert(cb_desc); in ia_css_circbuf_desc_init()
73 cb_desc->size = size; in ia_css_circbuf_desc_init()
92 OP___assert(cb_desc); in ia_css_circbuf_desc_get_pos_at_offset()
125 OP___assert(cb_desc); in ia_css_circbuf_desc_get_offset()
145 OP___assert(cb_desc); in ia_css_circbuf_desc_get_num_elems()
149 cb_desc->end); in ia_css_circbuf_desc_get_num_elems()
[all …]
/openbmc/linux/drivers/staging/media/atomisp/pci/runtime/queue/src/
H A Dqueue.c39 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()
122 cb_desc.end = (cb_desc.end + 1) % cb_desc.size; in ia_css_queue_enqueue()
163 QUEUE_CB_DESC_INIT(&cb_desc); in ia_css_queue_dequeue()
179 cb_desc.start = OP_std_modadd(cb_desc.start, 1, cb_desc.size); in ia_css_queue_dequeue()
213 QUEUE_CB_DESC_INIT(&cb_desc); in ia_css_queue_is_full()
245 QUEUE_CB_DESC_INIT(&cb_desc); in ia_css_queue_get_free_space()
277 QUEUE_CB_DESC_INIT(&cb_desc); in ia_css_queue_get_used_space()
327 offset = OP_std_modadd(cb_desc.start, offset, cb_desc.size); in ia_css_queue_peek()
[all …]
H A 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()
40 if (cb_desc->size == 0) { 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()
94 cb_desc->size); in ia_css_queue_store()
100 cb_desc->start); in ia_css_queue_store()
106 cb_desc->end); in ia_css_queue_store()
112 cb_desc->step); in ia_css_queue_store()
[all …]
H A 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,
/openbmc/linux/drivers/staging/rtl8192e/rtl8192e/
H A Dr8192E_dev.h30 struct cb_desc *cb_desc, struct sk_buff *skb);
32 struct cb_desc *cb_desc, struct sk_buff *skb);
H A Dr8192E_dev.c935 struct cb_desc *cb_desc, struct sk_buff *skb) in rtl92e_fill_tx_desc() argument
947 pTxFwInfo->TxRate, cb_desc); in rtl92e_fill_tx_desc()
949 if (cb_desc->bAMPDUEnable) { in rtl92e_fill_tx_desc()
968 (cb_desc->bRTSUseShortGI ? 1 : 0); in rtl92e_fill_tx_desc()
970 if (cb_desc->bPacketBW) { in rtl92e_fill_tx_desc()
997 pdesc->RATid = cb_desc->ratr_index; in rtl92e_fill_tx_desc()
1001 if (cb_desc->bHwSec) { in rtl92e_fill_tx_desc()
1030 cb_desc->queue_index, in rtl92e_fill_tx_desc()
1031 cb_desc->priority); in rtl92e_fill_tx_desc()
1045 struct cb_desc *cb_desc, struct sk_buff *skb) in rtl92e_fill_tx_cmd_desc() argument
[all …]
H A 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()
H A Drtl_core.c454 struct cb_desc *tcb_desc = NULL; in _rtl92e_prepare_beacon()
466 tcb_desc = (struct cb_desc *)(pnewskb->cb + 8); in _rtl92e_prepare_beacon()
933 struct cb_desc *tcb_desc = NULL; in _rtl92e_tx_check_stuck()
958 tcb_desc = (struct cb_desc *)(skb->cb + in _rtl92e_tx_check_stuck()
1373 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + in _rtl92e_hard_data_xmit()
1405 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + in _rtl92e_hard_start_xmit()
1466 struct cb_desc *tcb_desc; in _rtl92e_tx_cmd()
1475 tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in _rtl92e_tx_cmd()
1488 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + in _rtl92e_tx()
/openbmc/linux/drivers/staging/rtl8192u/ieee80211/
H A 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()
H A 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()
H A 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()
H A 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()
H A Dieee80211_rx.c342 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in ieee80211_rx_frame_decrypt()
388 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in ieee80211_rx_frame_decrypt_msdu()
/openbmc/linux/drivers/staging/rtl8192e/
H A Drtllib_crypt_wep.c65 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()
H A Drtllib_tx.c267 struct cb_desc *tcb_desc) in rtllib_tx_query_agg_cap()
340 struct cb_desc *tcb_desc) in rtllib_query_ShortPreambleMode()
351 struct cb_desc *tcb_desc) in rtllib_query_HTCapShortGI()
372 struct cb_desc *tcb_desc) in rtllib_query_BandwidthMode()
392 struct cb_desc *tcb_desc, in rtllib_query_protectionmode()
476 struct cb_desc *tcb_desc) in rtllib_txrate_selectmode()
563 struct cb_desc *tcb_desc; in rtllib_xmit_inter()
773 tcb_desc = (struct cb_desc *)(skb_frag->cb + in rtllib_xmit_inter()
875 tcb_desc = (struct cb_desc *) in rtllib_xmit_inter()
H A Drtllib_crypt_ccmp.c157 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + in rtllib_ccmp_encrypt()
224 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + in rtllib_ccmp_decrypt()
H A Drtllib_crypt_tkip.c259 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()
H A Drtllib_softmac.c193 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + 8); in softmac_mgmt_xmit()
270 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + 8); in softmac_ps_mgmt_xmit()
2193 struct cb_desc *tcb_desc = NULL; in rtllib_softmac_xmit()
2202 tcb_desc = (struct cb_desc *)(txb->fragments[0]->cb + in rtllib_softmac_xmit()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
H A 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()
/openbmc/linux/drivers/staging/media/atomisp/pci/runtime/queue/interface/
H A Dia_css_queue.h27 ia_css_circbuf_desc_t *cb_desc; /*Circbuf desc for local queues*/ member
/openbmc/linux/drivers/dma/
H A Dtegra20-apb-dma.c195 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()
/openbmc/linux/drivers/staging/rtl8192u/
H A 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()
H A Dr819xU_cmdpkt.c34 struct cb_desc *tcb_desc; in SendTxCommandPacket()
43 tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in SendTxCommandPacket()
H A 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()
/openbmc/linux/drivers/crypto/
H A Domap-aes.c270 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()

12