Home
last modified time | relevance | path

Searched refs:cb_desc (Results 1 - 25 of 59) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/base/circbuf/interface/
H A Dia_css_circbuf_desc.h32 * @param cb_desc The pointer to the circular buffer descriptor.
39 ia_css_circbuf_desc_t *cb_desc) in ia_css_circbuf_desc_is_empty()
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()
48 * @param cb_desc The pointer to the circular buffer
56 ia_css_circbuf_desc_t *cb_desc) in ia_css_circbuf_desc_is_full()
58 OP___assert(cb_desc); in ia_css_circbuf_desc_is_full()
59 return (OP_std_modadd(cb_desc->end, 1, cb_desc in ia_css_circbuf_desc_is_full()
38 ia_css_circbuf_desc_is_empty( ia_css_circbuf_desc_t *cb_desc) ia_css_circbuf_desc_is_empty() argument
55 ia_css_circbuf_desc_is_full( ia_css_circbuf_desc_t *cb_desc) ia_css_circbuf_desc_is_full() argument
68 ia_css_circbuf_desc_init( ia_css_circbuf_desc_t *cb_desc, int8_t size) ia_css_circbuf_desc_init() argument
85 ia_css_circbuf_desc_get_pos_at_offset( ia_css_circbuf_desc_t *cb_desc, u32 base, int offset) ia_css_circbuf_desc_get_pos_at_offset() argument
118 ia_css_circbuf_desc_get_offset( ia_css_circbuf_desc_t *cb_desc, u32 src_pos, uint32_t dest_pos) ia_css_circbuf_desc_get_offset() argument
140 ia_css_circbuf_desc_get_num_elems( ia_css_circbuf_desc_t *cb_desc) ia_css_circbuf_desc_get_num_elems() argument
161 ia_css_circbuf_desc_get_free_elems( ia_css_circbuf_desc_t *cb_desc) ia_css_circbuf_desc_get_free_elems() argument
[all...]
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/base/circbuf/interface/
H A Dia_css_circbuf_desc.h32 * @param cb_desc The pointer to the circular buffer descriptor.
39 ia_css_circbuf_desc_t *cb_desc) in ia_css_circbuf_desc_is_empty()
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()
48 * @param cb_desc The pointer to the circular buffer
56 ia_css_circbuf_desc_t *cb_desc) in ia_css_circbuf_desc_is_full()
58 OP___assert(cb_desc); in ia_css_circbuf_desc_is_full()
59 return (OP_std_modadd(cb_desc->end, 1, cb_desc in ia_css_circbuf_desc_is_full()
38 ia_css_circbuf_desc_is_empty( ia_css_circbuf_desc_t *cb_desc) ia_css_circbuf_desc_is_empty() argument
55 ia_css_circbuf_desc_is_full( ia_css_circbuf_desc_t *cb_desc) ia_css_circbuf_desc_is_full() argument
68 ia_css_circbuf_desc_init( ia_css_circbuf_desc_t *cb_desc, int8_t size) ia_css_circbuf_desc_init() argument
85 ia_css_circbuf_desc_get_pos_at_offset( ia_css_circbuf_desc_t *cb_desc, u32 base, int offset) ia_css_circbuf_desc_get_pos_at_offset() argument
118 ia_css_circbuf_desc_get_offset( ia_css_circbuf_desc_t *cb_desc, u32 src_pos, uint32_t dest_pos) ia_css_circbuf_desc_get_offset() argument
140 ia_css_circbuf_desc_get_num_elems( ia_css_circbuf_desc_t *cb_desc) ia_css_circbuf_desc_get_num_elems() argument
161 ia_css_circbuf_desc_get_free_elems( ia_css_circbuf_desc_t *cb_desc) ia_css_circbuf_desc_get_free_elems() argument
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/runtime/queue/src/
H A 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
113 /* a. Load the queue cb_desc from remote */ in ia_css_queue_enqueue()
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 in ia_css_queue_enqueue()
168 ia_css_circbuf_desc_t cb_desc; ia_css_queue_dequeue() local
221 ia_css_circbuf_desc_t cb_desc; ia_css_queue_is_full() local
255 ia_css_circbuf_desc_t cb_desc; ia_css_queue_get_free_space() local
289 ia_css_circbuf_desc_t cb_desc; ia_css_queue_get_used_space() local
330 ia_css_circbuf_desc_t cb_desc; ia_css_queue_peek() local
375 ia_css_circbuf_desc_t cb_desc; ia_css_queue_is_empty() local
409 ia_css_circbuf_desc_t cb_desc; ia_css_queue_get_size() local
[all...]
H A Dqueue_access.c26 ia_css_circbuf_desc_t *cb_desc, in ia_css_queue_load()
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()
84 if (!rdesc || !cb_desc) in ia_css_queue_store()
24 ia_css_queue_load( struct ia_css_queue *rdesc, ia_css_circbuf_desc_t *cb_desc, uint32_t ignore_desc_flags) ia_css_queue_load() argument
79 ia_css_queue_store( struct ia_css_queue *rdesc, ia_css_circbuf_desc_t *cb_desc, uint32_t ignore_desc_flags) ia_css_queue_store() argument
[all...]
H A Dqueue_access.h46 #define QUEUE_CB_DESC_INIT(cb_desc) \
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-6.6/drivers/staging/media/atomisp/pci/runtime/queue/src/
H A 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
106 /* a. Load the queue cb_desc from remote */ in ia_css_queue_enqueue()
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 in ia_css_queue_enqueue()
159 ia_css_circbuf_desc_t cb_desc; ia_css_queue_dequeue() local
210 ia_css_circbuf_desc_t cb_desc; ia_css_queue_is_full() local
242 ia_css_circbuf_desc_t cb_desc; ia_css_queue_get_free_space() local
274 ia_css_circbuf_desc_t cb_desc; ia_css_queue_get_used_space() local
312 ia_css_circbuf_desc_t cb_desc; ia_css_queue_peek() local
355 ia_css_circbuf_desc_t cb_desc; ia_css_queue_is_empty() local
387 ia_css_circbuf_desc_t cb_desc; ia_css_queue_get_size() local
[all...]
H A Dqueue_access.c26 ia_css_circbuf_desc_t *cb_desc, in ia_css_queue_load()
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()
84 if (!rdesc || !cb_desc) in ia_css_queue_store()
24 ia_css_queue_load( struct ia_css_queue *rdesc, ia_css_circbuf_desc_t *cb_desc, uint32_t ignore_desc_flags) ia_css_queue_load() argument
79 ia_css_queue_store( struct ia_css_queue *rdesc, ia_css_circbuf_desc_t *cb_desc, uint32_t ignore_desc_flags) ia_css_queue_store() argument
[all...]
H A Dqueue_access.h46 #define QUEUE_CB_DESC_INIT(cb_desc) \
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/
H A Dr8192E_dev.h31 struct cb_desc *cb_desc, struct sk_buff *skb);
33 struct cb_desc *cb_desc, struct sk_buff *skb);
H A 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()
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 in rtl92e_fill_tx_desc()
1168 rtl92e_fill_tx_desc(struct net_device *dev, struct tx_desc *pdesc, struct cb_desc *cb_desc, struct sk_buff *skb) rtl92e_fill_tx_desc() argument
1281 rtl92e_fill_tx_cmd_desc(struct net_device *dev, struct tx_desc_cmd *entry, struct cb_desc *cb_desc, struct sk_buff *skb) rtl92e_fill_tx_cmd_desc() argument
[all...]
H A 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()
H A Drtl_core.h280 struct cb_desc *cb_desc,
284 struct cb_desc *cb_desc,
/kernel/linux/linux-6.6/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.c922 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()
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 in rtl92e_fill_tx_desc()
934 rtl92e_fill_tx_desc(struct net_device *dev, struct tx_desc *pdesc, struct cb_desc *cb_desc, struct sk_buff *skb) rtl92e_fill_tx_desc() argument
1044 rtl92e_fill_tx_cmd_desc(struct net_device *dev, struct tx_desc_cmd *entry, struct cb_desc *cb_desc, struct sk_buff *skb) 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()
/kernel/linux/linux-5.10/drivers/staging/rtl8192u/ieee80211/
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 struct cb_desc *tcb_desc = (struct cb_desc *)(tx in ieee80211_xmit()
[all...]
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()
/kernel/linux/linux-6.6/drivers/staging/rtl8192u/ieee80211/
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_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()
/kernel/linux/linux-5.10/drivers/staging/rtl8192e/
H A 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()
H A 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()
[all...]
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()

Completed in 16 milliseconds

123