Home
last modified time | relevance | path

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

/sof-2.7.6/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-2.7.6/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-2.7.6/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-2.7.6/src/probe/
Dprobe.c502 uint32_t tail; in copy_to_pbuffer() local
510 tail = bytes - head; in copy_to_pbuffer()
513 tail = 0; in copy_to_pbuffer()
524 if (tail) { in copy_to_pbuffer()
527 (char *)data + head, tail)) { in copy_to_pbuffer()
531 dcache_writeback_region((void *)pbuf->w_ptr, tail); in copy_to_pbuffer()
532 pbuf->w_ptr = pbuf->w_ptr + tail; in copy_to_pbuffer()
553 uint32_t tail; in copy_from_pbuffer() local
566 tail = bytes - head; in copy_from_pbuffer()
569 tail = 0; in copy_from_pbuffer()
[all …]
/sof-2.7.6/src/include/sof/
Dlist.h44 struct list_item *tail = list->prev; in list_item_append() local
46 tail->next = item; in list_item_append()
48 item->prev = tail; in list_item_append()
/sof-2.7.6/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-2.7.6/scripts/
Dqemu-check.sh217 tail -n 50 "${SOF_BUILDS}"/dump-"$platform".txt