/openbmc/linux/drivers/staging/media/atomisp/pci/base/circbuf/interface/ |
H A 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 …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/runtime/queue/src/ |
H A 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 …]
|
H A 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 …]
|
H A 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,
|
/openbmc/linux/drivers/staging/rtl8192e/rtl8192e/ |
H A D | r8192E_dev.h | 30 struct cb_desc *cb_desc, struct sk_buff *skb); 32 struct cb_desc *cb_desc, struct sk_buff *skb);
|
H A D | r8192E_dev.c | 922 static u8 _rtl92e_query_is_short(u8 TxHT, u8 TxRate, struct cb_desc *tcb_desc) in _rtl92e_query_is_short() 935 struct cb_desc *cb_desc, struct sk_buff *skb) in rtl92e_fill_tx_desc() argument 943 pTxFwInfo->TxHT = (cb_desc->data_rate & 0x80) ? 1 : 0; in rtl92e_fill_tx_desc() 944 pTxFwInfo->TxRate = _rtl92e_rate_mgn_to_hw(cb_desc->data_rate); in rtl92e_fill_tx_desc() 945 pTxFwInfo->EnableCPUDur = cb_desc->bTxEnableFwCalcDur; in rtl92e_fill_tx_desc() 947 pTxFwInfo->TxRate, cb_desc); in rtl92e_fill_tx_desc() 949 if (cb_desc->bAMPDUEnable) { in rtl92e_fill_tx_desc() 951 pTxFwInfo->RxMF = cb_desc->ampdu_factor; in rtl92e_fill_tx_desc() 952 pTxFwInfo->RxAMD = cb_desc->ampdu_density; in rtl92e_fill_tx_desc() 959 pTxFwInfo->RtsEnable = (cb_desc->bRTSEnable) ? 1 : 0; in rtl92e_fill_tx_desc() [all …]
|
H A D | r8192E_cmdpkt.c | 19 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 D | rtl_core.c | 454 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 D | ieee80211_crypt_wep.c | 72 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 D | ieee80211_tx.c | 290 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 D | ieee80211_crypt_ccmp.c | 167 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 D | ieee80211_crypt_tkip.c | 275 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 D | ieee80211_rx.c | 342 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 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()
|
H A D | rtllib_tx.c | 267 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 D | rtllib_crypt_ccmp.c | 157 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 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()
|
H A D | rtllib_softmac.c | 193 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 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()
|
/openbmc/linux/drivers/dma/ |
H A 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()
|
/openbmc/linux/drivers/staging/media/atomisp/pci/runtime/queue/interface/ |
H A D | ia_css_queue.h | 27 ia_css_circbuf_desc_t *cb_desc; /*Circbuf desc for local queues*/ member
|
/openbmc/linux/drivers/staging/rtl8192u/ |
H A D | r819xU_firmware.c | 46 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 D | r819xU_cmdpkt.c | 34 struct cb_desc *tcb_desc; in SendTxCommandPacket() 43 tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in SendTxCommandPacket()
|
H A D | r8192U_core.c | 729 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 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()
|