Home
last modified time | relevance | path

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

/linux-6.15/drivers/staging/media/atomisp/pci/base/circbuf/interface/
H A Dia_css_circbuf_desc.h32 OP___assert(cb_desc); in ia_css_circbuf_desc_is_empty()
33 return (cb_desc->end == cb_desc->start); in ia_css_circbuf_desc_is_empty()
49 OP___assert(cb_desc); in ia_css_circbuf_desc_is_full()
50 return (OP_std_modadd(cb_desc->end, 1, cb_desc->size) == cb_desc->start); in ia_css_circbuf_desc_is_full()
63 OP___assert(cb_desc); in ia_css_circbuf_desc_init()
64 cb_desc->size = size; in ia_css_circbuf_desc_init()
83 OP___assert(cb_desc); in ia_css_circbuf_desc_get_pos_at_offset()
116 OP___assert(cb_desc); in ia_css_circbuf_desc_get_offset()
136 OP___assert(cb_desc); in ia_css_circbuf_desc_get_num_elems()
140 cb_desc->end); in ia_css_circbuf_desc_get_num_elems()
[all …]
/linux-6.15/drivers/staging/media/atomisp/pci/runtime/queue/src/
H A Dqueue.c30 desc->cb_desc); in ia_css_queue_local_init()
93 ia_css_circbuf_desc_t cb_desc; in ia_css_queue_enqueue() local
98 QUEUE_CB_DESC_INIT(&cb_desc); in ia_css_queue_enqueue()
113 cb_desc.end = (cb_desc.end + 1) % cb_desc.size; in ia_css_queue_enqueue()
150 ia_css_circbuf_desc_t cb_desc; in ia_css_queue_dequeue() local
154 QUEUE_CB_DESC_INIT(&cb_desc); in ia_css_queue_dequeue()
170 cb_desc.start = OP_std_modadd(cb_desc.start, 1, cb_desc.size); in ia_css_queue_dequeue()
204 QUEUE_CB_DESC_INIT(&cb_desc); in ia_css_queue_is_full()
236 QUEUE_CB_DESC_INIT(&cb_desc); in ia_css_queue_get_free_space()
318 offset = OP_std_modadd(cb_desc.start, offset, cb_desc.size); in ia_css_queue_peek()
[all …]
H A Dqueue_access.c17 ia_css_circbuf_desc_t *cb_desc, in ia_css_queue_load() argument
20 if (!rdesc || !cb_desc) in ia_css_queue_load()
31 if (cb_desc->size == 0) { in ia_css_queue_load()
60 (void *)cb_desc, in ia_css_queue_load()
72 ia_css_circbuf_desc_t *cb_desc, in ia_css_queue_store() argument
75 if (!rdesc || !cb_desc) in ia_css_queue_store()
85 cb_desc->size); in ia_css_queue_store()
91 cb_desc->start); in ia_css_queue_store()
97 cb_desc->end); in ia_css_queue_store()
103 cb_desc->step); in ia_css_queue_store()
[all …]
H A Dqueue_access.h37 #define QUEUE_CB_DESC_INIT(cb_desc) \ argument
39 (cb_desc)->size = 0; \
40 (cb_desc)->step = 0; \
41 (cb_desc)->start = 0; \
42 (cb_desc)->end = 0; \
60 ia_css_circbuf_desc_t *cb_desc,
65 ia_css_circbuf_desc_t *cb_desc,
/linux-6.15/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()
/linux-6.15/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()
/linux-6.15/drivers/staging/media/atomisp/pci/runtime/queue/interface/
H A Dia_css_queue.h18 ia_css_circbuf_desc_t *cb_desc; /*Circbuf desc for local queues*/ member
/linux-6.15/drivers/crypto/
H A Domap-aes.c269 struct dma_async_tx_descriptor *tx_in, *tx_out = NULL, *cb_desc; in omap_aes_crypt_dma() local
333 cb_desc = tx_out; in omap_aes_crypt_dma()
335 cb_desc = tx_in; in omap_aes_crypt_dma()
339 cb_desc->callback = omap_aes_gcm_dma_out_callback; in omap_aes_crypt_dma()
341 cb_desc->callback = omap_aes_dma_out_callback; in omap_aes_crypt_dma()
342 cb_desc->callback_param = dd; in omap_aes_crypt_dma()