Home
last modified time | relevance | path

Searched refs:tail (Results 1 - 25 of 46) sorted by relevance

12

/device/soc/rockchip/common/vendor/drivers/staging/android/fiq_debugger/
H A Dfiq_debugger_ringbuf.h26 int tail; member
41 rbuf->tail = 0; in fiq_debugger_ringbuf_alloc()
54 int level = rbuf->head - rbuf->tail; in fiq_debugger_ringbuf_level()
70 return rbuf->buf[(rbuf->tail + i) % rbuf->len]; in fiq_debugger_ringbuf_peek()
77 rbuf->tail = (rbuf->tail + count) % rbuf->len; in fiq_debugger_ringbuf_consume()
H A Dfiq_debugger_arm.c192 static struct frame_tail *user_backtrace(struct fiq_debugger_output *output, struct frame_tail *tail) in user_backtrace() argument
197 if (!access_ok(tail, sizeof(buftail))) { in user_backtrace()
198 output->printf(output, " invalid frame pointer %px\n", tail); in user_backtrace()
201 if (__copy_from_user_inatomic(buftail, tail, sizeof(buftail))) { in user_backtrace()
202 output->printf(output, " failed to copy frame pointer %px\n", tail); in user_backtrace()
210 if (tail >= buftail[0].fp) { in user_backtrace()
220 struct frame_tail *tail; in fiq_debugger_dump_stacktrace() local
247 tail = ((struct frame_tail *)regs->ARM_fp) - 1; in fiq_debugger_dump_stacktrace()
248 while (depth-- && tail && !((unsigned long)tail in fiq_debugger_dump_stacktrace()
[all...]
/device/soc/rockchip/rk3588/kernel/drivers/staging/android/fiq_debugger/
H A Dfiq_debugger_ringbuf.h24 int tail; member
39 rbuf->tail = 0; in fiq_debugger_ringbuf_alloc()
52 int level = rbuf->head - rbuf->tail; in fiq_debugger_ringbuf_level()
68 return rbuf->buf[(rbuf->tail + i) % rbuf->len]; in fiq_debugger_ringbuf_peek()
76 rbuf->tail = (rbuf->tail + count) % rbuf->len; in fiq_debugger_ringbuf_consume()
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
H A Dhnd_pktq.c77 PKTSETLINK(q->tail, p); in pktq_penq()
81 q->tail = p; in pktq_penq()
115 PKTSETLINK(q->tail, p); in spktq_enq()
119 q->tail = p; in spktq_enq()
147 q->tail = p; in pktq_penq_head()
181 q->tail = p; in spktq_enq_head()
212 q->tail = NULL; in pktq_pdeq()
248 q->tail = NULL; in spktq_deq()
283 for (prev = NULL; p != q->tail; p = PKTLINK(p)) in pktq_pdeq_tail()
291 q->tail in pktq_pdeq_tail()
[all...]
H A Dlinux_pkt.c248 skb->tail += len; in linux_pktget()
437 skb->tail = skb->data + PKT_HEADROOM_DEFAULT; in osl_pktget_static()
445 skb->tail = skb->data + len; in osl_pktget_static()
475 skb->tail = skb->data + len; in osl_pktget_static()
498 skb->tail = skb->data + len; in osl_pktget_static()
516 skb->tail = skb->data + len; in osl_pktget_static()
H A Dbcmutils.c2143 bcm_object_rm_list(struct bcm_dbgobj **head, struct bcm_dbgobj **tail, in bcm_object_rm_list() argument
2146 if ((dbgobj == *head) && (dbgobj == *tail)) { in bcm_object_rm_list()
2148 *tail = NULL; in bcm_object_rm_list()
2151 } else if (dbgobj == *tail) { in bcm_object_rm_list()
2152 *tail = (*tail)->prior; in bcm_object_rm_list()
2159 bcm_object_add_list(struct bcm_dbgobj **head, struct bcm_dbgobj **tail, in bcm_object_add_list() argument
2162 if (!(*head) && !(*tail)) { in bcm_object_add_list()
2164 *tail = dbgobj; in bcm_object_add_list()
2167 } else if ((*head) && (*tail)) { in bcm_object_add_list()
2182 bcm_object_movetoend(struct bcm_dbgobj **head, struct bcm_dbgobj **tail, struct bcm_dbgobj *dbgobj, int movetotail) bcm_object_movetoend() argument
[all...]
H A Ddhd_flowring.c125 queue->head = queue->tail = NULL; in dhd_flow_queue_reinit()
175 FLOW_QUEUE_PKT_SETNEXT(queue->tail, pkt); in dhd_flow_queue_enqueue()
182 queue->tail = pkt; /* at tail */ in dhd_flow_queue_enqueue()
205 ASSERT((queue->len == 0) && (queue->tail == NULL)); in dhd_flow_queue_dequeue()
211 queue->tail = NULL; in dhd_flow_queue_dequeue()
230 queue->tail = pkt; in dhd_flow_queue_reinsert()
H A Ddhd_wlfc.c109 * @param[in] qHead if TRUE, enqueue to head instead of tail. Used to maintain d11 seq order.
135 q->tail = p; in _dhd_wlfc_prec_enque()
139 p2 = qHead ? q->head : q->tail; in _dhd_wlfc_prec_enque()
162 /* insert tail */ in _dhd_wlfc_prec_enque()
164 q->tail = p; in _dhd_wlfc_prec_enque()
178 PKTSETLINK(q->tail, p); in _dhd_wlfc_prec_enque()
179 q->tail = p; in _dhd_wlfc_prec_enque()
482 q->tail = NULL; in _dhd_wlfc_deque_afq()
491 q->tail = b; in _dhd_wlfc_deque_afq()
753 * @param[in] qHead When TRUE, queue packet at head instead of tail, t
1684 void *pkt = NULL, *head = NULL, *tail = NULL; _dhd_wlfc_cleanup_txq() local
2498 void *pkt = NULL, *head = NULL, *tail = NULL; _dhd_wlfc_suppress_txq() local
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/extend/
H A Dext_sm3.c69 hi_u8 tail[SM3_BLOCK_SIZE]; member
201 if (memcpy_s(ctx->tail + ctx->tail_len, left, data, data_len) != EOK) { in sm3_update()
208 if (memcpy_s(ctx->tail + ctx->tail_len, left, data, left) != EOK) { in sm3_update()
212 ret = sm3_compress(ctx->state, ctx->tail, sizeof(ctx->tail)); in sm3_update()
236 if (memcpy_s(ctx->tail, SM3_BLOCK_SIZE, data, data_len) != EOK) { in sm3_update()
257 ctx->tail[ctx->tail_len] = SM3_BYTE_MSB; in sm3_final()
262 (hi_void)memset_s(ctx->tail + ctx->tail_len + idx, SM3_BLOCK_SIZE - ctx->tail_len - idx, in sm3_final()
266 (hi_void)memset_s(ctx->tail + ctx->tail_len + idx, SM3_BLOCK_SIZE - ctx->tail_len - idx, in sm3_final()
268 ret = sm3_compress(ctx->state, ctx->tail, sizeo in sm3_final()
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/hi_ir/
H A Dhiir.c80 #define BUF_TAIL g_hiir_dev.buf[g_hiir_dev.tail]
86 unsigned int tail; member
314 g_hiir_dev.tail = 0; in hiir_ioctl()
424 return (g_hiir_dev.head != g_hiir_dev.tail); in hiir_wait_condition_callback()
435 hiir_dbg("Enter hiir_read : head=%u, tail=%u, buf_len=%u\n", g_hiir_dev.head, g_hiir_dev.tail, g_hiir_dev.buf_len); in hiir_read()
437 if ((g_hiir_dev.head) == (g_hiir_dev.tail)) { in hiir_read()
444 while (((g_hiir_dev.head) != (g_hiir_dev.tail)) && ((res + (int)sizeof(irkey_info_s)) <= count)) { in hiir_read()
446 g_hiir_dev.tail = inc_buf(g_hiir_dev.tail, g_hiir_de in hiir_read()
[all...]
/device/soc/rockchip/rk2206/hardware/
H A Dbuild.py61 def tail(self): member in BuildGn
62 tail = "}\n"
63 self.fp.write(tail)
95 gn.tail()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/
H A Dmali_kbase_kinstr_jm.c165 * Must be held when updating the tail of the circular buffer.
171 * @tail: The tail of the circular buffer. Can be used with Linux @c CIRC_
187 u32 tail; member
282 * tail to the physical end of the buffer
300 return CIRC_CNT_TO_END(head, changes->tail, changes->size); in reader_changes_count_locked()
305 * tail to the physical end of the buffer
333 u32 head, tail, size, space; in reader_changes_push() local
347 tail = smp_load_acquire(&changes->tail); in reader_changes_push()
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/
H A Dmali_kbase_kinstr_jm.c165 * Must be held when updating the tail of the circular buffer.
171 * @tail: The tail of the circular buffer. Can be used with Linux @c CIRC_
187 u32 tail; member
283 * tail to the physical end of the buffer
301 return CIRC_CNT_TO_END(head, changes->tail, changes->size); in reader_changes_count_locked()
306 * tail to the physical end of the buffer
335 u32 head, tail, size, space; in reader_changes_push() local
348 tail = smp_load_acquire(&changes->tail); in reader_changes_push()
[all...]
/device/qemu/riscv32_virt/liteos_m/board/driver/
H A Dvirtnet.c126 uint16_t tail; /* tail pbuf's index to Tx vq[1].desc[] */ member
205 uint16_t count, idx, tail; in FreeTxEntry() local
212 tail = nic->tbufRec[idx].tail; in FreeTxEntry()
216 q->desc[tail].next = nic->tFreeHdr; in FreeTxEntry()
217 q->desc[tail].flag = VIRTQ_DESC_F_NEXT; in FreeTxEntry()
321 uint16_t head, tail, idx; in GetTxFreeEntry() local
335 tail = idx; in GetTxFreeEntry()
340 nic->dev.vq[1].desc[tail] in GetTxFreeEntry()
[all...]
/device/soc/hisilicon/hi3751v350/sdk_linux/source/msp/drv/gpio/
H A Ddrv_gpio.c40 #define GPIO_BUF_TAIL g_st_gpio_attr.gpio_int_buf[g_st_gpio_attr.tail]
60 hi_u32 tail; member
592 if (g_st_gpio_attr.head != g_st_gpio_attr.tail) { in osal_wait_condition()
611 while ((g_st_gpio_attr.head) == (g_st_gpio_attr.tail)) { in drv_gpio_query_int()
631 if ((g_st_gpio_attr.head) != (g_st_gpio_attr.tail)) { in drv_gpio_query_int()
633 g_st_gpio_attr.tail = inc_buf(g_st_gpio_attr.tail, g_st_gpio_attr.gpio_buf_len); in drv_gpio_query_int()
643 g_st_gpio_attr.tail = 0; in drv_gpio_open()
650 g_st_gpio_attr.tail = 0; in drv_gpio_close()
946 g_st_gpio_attr.tail in gpio_set_gpio_attr()
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/crypto/
H A Dcryp_hash.c120 hi_u8 tail[HASH_BLOCK_SIZE_128 * MUL_VAL_2]; /* buffer to store the tail and padding data, len is 256 bytes. */ member
121 hi_u32 tail_len; /* length of the tail message */
537 /* left tail len to make up a block */ in cryp_hash_update()
545 /* try to make up the tail data to be a block */ in cryp_hash_update()
546 ret = cryp_hash_chunk_copy(chunk, inverse_len, hisi_ctx->tail + hisi_ctx->tail_len, inverse_len, src); in cryp_hash_update()
557 /* process tail block */ in cryp_hash_update()
559 ret = cryp_hash_process(hisi_ctx, hisi_ctx->tail, hisi_ctx->tail_len, HASH_CHUNCK_SRC_LOCAL); in cryp_hash_update()
565 /* new tail len */ in cryp_hash_update()
571 /* save new tail */ in cryp_hash_update()
[all...]
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/
H A Dhnd_pktq.h59 void *tail; /**< last packet to dequeue */ member
219 #define pktqprec_peek_tail(pq, prec) ((pq)->q[prec].tail)
220 #define spktq_peek_tail(pq) ((pq)->q.tail)
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/
H A Doal_netbuf.h108 #define oal_netbuf_expand_head(nb, head, tail, mask) NetBufResizeRoom(nb, head, tail)
109 #define oal_netbuf_realloc_tailroom(nb, tail) (NetBufResizeRoom(nb, 0, tail) == 0 ? nb : NULL)
/device/soc/rockchip/common/sdk_linux/drivers/tty/serial/8250/
H A D8250_dma.c34 xmit->tail += dma->tx_size; in _dma_tx_complete()
35 xmit->tail &= UART_XMIT_SIZE - 1; in _dma_tx_complete()
130 dma->tx_size = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in serial8250_tx_dma()
137 desc = dmaengine_prep_slave_single(dma->txchan, dma->tx_addr + xmit->tail, dma->tx_size, DMA_MEM_TO_DEV, in serial8250_tx_dma()
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/libcoap/include/coap2/
H A Duthash.h185 (head)->hh.tbl->tail = &((head)->hh); \
237 (add)->hh.prev = ELMT_FROM_HH((head)->hh.tbl, (head)->hh.tbl->tail); \
238 (head)->hh.tbl->tail->next = (add); \
239 (head)->hh.tbl->tail = &((add)->hh); \
382 if (_hd_hh_del == (head)->hh.tbl->tail) { \
383 (head)->hh.tbl->tail = HH_FROM_ELMT((head)->hh.tbl, _hd_hh_del->prev); \
953 (head)->hh.tbl->tail = _hs_tail; \
1068 struct UT_hash_handle *tail; /* tail hh in app order, for fast append */ member
/device/qemu/riscv32_virt/liteos_m/board/
H A Dlos_start.S63 tail main
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/
H A Dpbuf.h407 void pbuf_cat(struct pbuf *head, struct pbuf *tail);
408 void pbuf_chain(struct pbuf *head, struct pbuf *tail);
H A Dnetbuf.h100 void netbuf_chain (struct netbuf *head, struct netbuf *tail);
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_fwif.h118 u32 tail; member
198 * Buffer descriptor holds tail and head fields that represents active data
199 * stream. The tail field is updated by the data producer (sender), and head
209 * | tail | ^---------tail-----------------^
251 u32 tail; /* offset updated by owner */ member
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/common/
H A Dmali_timeline.c342 /* Waiter time must be between timeline head and tail, and there must in mali_timeline_insert_waiter()
351 /* Iterating backwards from head (newest) to tail (oldest) until we in mali_timeline_insert_waiter()
368 /* insert at tail */ in mali_timeline_insert_waiter()
604 /* This tracker was the tail */ in mali_timeline_tracker_release()
631 void mali_timeline_system_release_waiter_list(struct mali_timeline_system *system, struct mali_timeline_waiter *tail, in mali_timeline_system_release_waiter_list() argument
636 MALI_DEBUG_ASSERT_POINTER(tail); in mali_timeline_system_release_waiter_list()
640 system->waiter_empty_list = tail; in mali_timeline_system_release_waiter_list()
1120 struct mali_timeline_waiter **tail,
1128 MALI_DEBUG_ASSERT_POINTER(tail);
1133 *head = *tail
1119 mali_timeline_system_allocate_waiters(struct mali_timeline_system *system, struct mali_timeline_waiter **tail, struct mali_timeline_waiter **head, int max_num_waiters) global() argument
[all...]

Completed in 30 milliseconds

12