Home
last modified time | relevance | path

Searched refs:tail (Results 1 – 11 of 11) sorted by relevance

/sof-3.4.0/test/cmocka/src/list/
Dlist_item_del.c19 struct list_item *tail; member
31 data->tail = malloc(sizeof(struct list_item)); in setup()
34 || !data->tail) { in setup()
37 free(data->tail); in setup()
46 list_init(data->tail); in setup()
49 list_item_append(data->tail, data->head); in setup()
61 free(data->tail); in teardown()
73 assert_ptr_equal(data->tail_minus_1->prev, data->tail); in test_list_list_item_del_when_delete_head_then_tail_minus_1_prev_is_tail()
82 assert_ptr_equal(data->tail_minus_1->next, data->tail); in test_list_list_item_del_when_delete_head_then_tail_minus_1_next_is_tail()
91 assert_ptr_equal(data->tail->prev, data->tail_minus_1); in test_list_list_item_del_when_delete_head_then_tail_prev_is_tail_minus_1()
[all …]
Dlist_item_append.c19 struct list_item *tail; member
31 data->tail = malloc(sizeof(struct list_item)); in setup()
34 || !data->tail) { in setup()
37 free(data->tail); in setup()
46 list_init(data->tail); in setup()
49 list_item_append(data->tail, data->head); in setup()
61 free(data->tail); in teardown()
71 assert_ptr_equal(data->head->prev, data->tail); in test_list_list_item_append_head_prev_is_tail()
92 assert_ptr_equal(data->tail_minus_1->next, data->tail); in test_list_list_item_append_tail_minus_1_next_is_tail()
99 assert_ptr_equal(data->tail->prev, data->tail_minus_1); in test_list_list_item_append_tail_prev_is_tail_minus_1()
[all …]
Dlist_item_prepend.c19 struct list_item *tail; member
31 data->tail = malloc(sizeof(struct list_item)); in setup()
34 || !data->tail) { in setup()
37 free(data->tail); in setup()
46 list_init(data->tail); in setup()
48 list_item_prepend(data->tail, data->head); in setup()
61 free(data->tail); in teardown()
71 assert_ptr_equal(data->head->prev, data->tail); in test_list_list_item_prepend_head_prev_is_tail()
92 assert_ptr_equal(data->tail_minus_1->next, data->tail); in test_list_list_item_prepend_tail_minus_1_next_is_tail()
99 assert_ptr_equal(data->tail->prev, data->tail_minus_1); in test_list_list_item_prepend_tail_prev_is_tail_minus_1()
[all …]
Dlist_item_is_last.c19 struct list_item *tail; member
31 data->tail = malloc(sizeof(struct list_item)); in setup()
34 || !data->tail) { in setup()
37 free(data->tail); in setup()
46 list_init(data->tail); in setup()
49 list_item_append(data->tail, data->head); in setup()
61 free(data->tail); in teardown()
85 assert_true(list_item_is_last(data->tail, data->head)); in test_list_list_item_is_last_when_tail_then_true()
/sof-3.4.0/src/debug/gdb/
Dringbuffer.c20 rx->head = rx->tail = 0; in init_buffers()
21 tx->head = tx->tail = 0; in init_buffers()
22 debug->head = debug->tail = 0; in init_buffers()
41 v = rx->data[rx->tail]; in get_debug_char()
42 rx->tail = ring_next_tail(rx); in get_debug_char()
/sof-3.4.0/src/include/sof/debug/gdb/
Dringbuffer.h24 unsigned char tail; member
36 return (ring->tail + 1) & (RING_SIZE - 1); in ring_next_tail()
41 return ring_next_head(ring) != ring->tail; in ring_have_space()
46 return ring->head != ring->tail; in ring_have_data()
/sof-3.4.0/xtos/include/sof/
Dlist.h47 struct list_item *tail = list->prev; in list_item_append() local
49 tail->next = item; in list_item_append()
51 item->prev = tail; in list_item_append()
/sof-3.4.0/src/probe/
Dprobe.c514 uint32_t tail; in copy_to_pbuffer() local
526 tail = bytes - head; in copy_to_pbuffer()
529 tail = 0; in copy_to_pbuffer()
540 if (tail) { in copy_to_pbuffer()
543 (char *)data + head, tail)) { in copy_to_pbuffer()
547 dcache_writeback_region((__sparse_force void __sparse_cache *)pbuf->w_ptr, tail); in copy_to_pbuffer()
548 pbuf->w_ptr = pbuf->w_ptr + tail; in copy_to_pbuffer()
569 uint32_t tail; in copy_from_pbuffer() local
582 tail = bytes - head; in copy_from_pbuffer()
585 tail = 0; in copy_from_pbuffer()
[all …]
/sof-3.4.0/src/drivers/amd/renoir/
Dacp_dma.c88 uint32_t tail, head; in dma_reconfig() local
118 tail = dma_cfg->sys_buff_size - dma_cfg->rd_size; in dma_reconfig()
119 head = bytes - tail; in dma_reconfig()
120 psrc_dscr[strt_idx].trns_cnt.bits.trns_cnt = tail; in dma_reconfig()
122 psrc_dscr[strt_idx+1].dest_addr = dest+tail; in dma_reconfig()
149 tail = dma_cfg->sys_buff_size - dma_cfg->wr_size; in dma_reconfig()
150 head = bytes - tail; in dma_reconfig()
151 psrc_dscr[strt_idx].trns_cnt.bits.trns_cnt = tail; in dma_reconfig()
152 psrc_dscr[strt_idx+1].src_addr = src + tail; in dma_reconfig()
/sof-3.4.0/src/drivers/amd/rembrandt/
Dacp_dma.c87 uint32_t tail = 0, head = 0; in dma_reconfig() local
121 tail = dma_cfg->sys_buff_size - dma_cfg->rd_size; in dma_reconfig()
122 head = bytes - tail; in dma_reconfig()
123 psrc_dscr[strt_idx].trns_cnt.bits.trns_cnt = tail; in dma_reconfig()
125 dest1 = dest+tail; in dma_reconfig()
155 tail = dma_cfg->sys_buff_size - dma_cfg->wr_size; in dma_reconfig()
156 head = bytes - tail; in dma_reconfig()
157 psrc_dscr[strt_idx].trns_cnt.bits.trns_cnt = tail; in dma_reconfig()
158 src1 = src + tail; in dma_reconfig()
/sof-3.4.0/scripts/
Dqemu-check.sh179 tail -n 50 "${SOF_BUILDS}"/dump-"$platform".txt