Searched refs:prev (Results 1 – 13 of 13) sorted by relevance
/sof-3.4.0/xtos/include/sof/ |
D | list.h | 18 struct list_item *prev; member 28 list->prev = list; in list_init() 37 next->prev = item; in list_item_prepend() 39 item->prev = list; in list_item_prepend() 47 struct list_item *tail = list->prev; in list_item_append() 51 item->prev = tail; in list_item_append() 52 list->prev = item; in list_item_append() 60 item->next->prev = item->prev; in list_item_del() 61 item->prev->next = item->next; in list_item_del() 97 for (item = (list)->prev; item != (list); item = item->prev) [all …]
|
/sof-3.4.0/test/cmocka/src/list/ |
D | list_init.c | 19 struct list_item list = {.prev = NULL, .next = NULL}; in test_list_list_init_prev_equal_to_root() 23 assert_ptr_equal(&list, list.prev); in test_list_list_init_prev_equal_to_root() 30 struct list_item list = {.prev = NULL, .next = NULL}; in test_list_list_init_next_equal_to_root()
|
D | list_item_del.c | 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() 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() 109 assert_ptr_equal(data->head->prev, data->tail); in test_list_list_item_del_when_delete_tail_minus_1_then_head_prev_is_tail() 127 assert_ptr_equal(data->tail->prev, data->head); in test_list_list_item_del_when_delete_tail_minus_1_then_tail_prev_is_head() 145 assert_ptr_equal(data->head->prev, data->tail_minus_1); in test_list_list_item_del_when_delete_tail_then_head_prev_is_tail_minus_1() 163 assert_ptr_equal(data->tail_minus_1->prev, data->head); in test_list_list_item_del_when_delete_tail_then_tail_minus_1_prev_is_head()
|
D | list_item_append.c | 71 assert_ptr_equal(data->head->prev, data->tail); in test_list_list_item_append_head_prev_is_tail() 85 assert_ptr_equal(data->tail_minus_1->prev, data->head); in test_list_list_item_append_tail_minus_1_prev_is_head() 99 assert_ptr_equal(data->tail->prev, data->tail_minus_1); in test_list_list_item_append_tail_prev_is_tail_minus_1()
|
D | list_item_prepend.c | 71 assert_ptr_equal(data->head->prev, data->tail); in test_list_list_item_prepend_head_prev_is_tail() 85 assert_ptr_equal(data->tail_minus_1->prev, data->head); in test_list_list_item_prepend_tail_minus_1_prev_is_head() 99 assert_ptr_equal(data->tail->prev, data->tail_minus_1); in test_list_list_item_prepend_tail_prev_is_tail_minus_1()
|
/sof-3.4.0/src/arch/xtensa/hal/ |
D | interrupts.c | 740 int prev; in xthal_tram_set_sync() local 745 prev = ((Xthal_tram_sync & mask) != 0); in xthal_tram_set_sync() 750 return( prev ); in xthal_tram_set_sync()
|
/sof-3.4.0/src/audio/ |
D | dai-zephyr.c | 447 struct dma_block_config *prev = NULL; in dai_playback_params() local 562 prev = dma_block_cfg; in dai_playback_params() 563 prev->next_block = ++dma_block_cfg; in dai_playback_params() 565 if (prev) in dai_playback_params() 566 prev->next_block = dma_cfg->head_block; in dai_playback_params() 585 struct dma_block_config *prev = NULL; in dai_capture_params() local 717 prev = dma_block_cfg; in dai_capture_params() 718 prev->next_block = ++dma_block_cfg; in dai_capture_params() 720 if (prev) in dai_capture_params() 721 prev->next_block = dma_cfg->head_block; in dai_capture_params()
|
D | buffer.c | 310 buffers_before_exist = head != buf_list->prev; in buffer_detach() 311 needs_sync_prev = uncache_to_cache(buf_list->prev); in buffer_detach()
|
D | kpb.c | 510 kpb->hd.c_hb->prev = kpb->hd.c_hb; in kpb_allocate_history_buffer() 552 new_hb->prev = hb; in kpb_allocate_history_buffer() 554 kpb->hd.c_hb->prev = new_hb; in kpb_allocate_history_buffer() 1581 if (buff->prev == first_buff) { in kpb_init_draining() 1589 buff = buff->prev; in kpb_init_draining() 1596 buff = buff->prev; in kpb_init_draining()
|
/sof-3.4.0/src/include/sof/audio/ |
D | kpb.h | 137 struct history_buffer *prev; /**< next history buffer */ member
|
/sof-3.4.0/scripts/kconfig/ |
D | kconfiglib.py | 2513 def _parse_block(self, end_token, parent, prev): argument 2575 prev.next = prev = node 2618 prev = self._parse_block(None, parent, prev) 2629 prev.next = None 2630 return prev 2641 prev.next = prev = node 2661 prev.next = prev = node 2679 prev.next = prev = node 2715 prev.next = prev = node 2741 prev.next = None [all …]
|
/sof-3.4.0/tools/coredumper/ |
D | sof-coredump-reader.py | 404 prev = "" 406 if prev != c: 407 prev = c
|
/sof-3.4.0/scripts/ |
D | checkpatch.pl | 3570 my $prev = $1; 3573 my $previndex = index($preferred_order, $prev); 3580 "Misordered MAINTAINERS entry - list '$cur:' before '$prev:'\n" . $hereprev); 3581 } elsif ((($prev eq 'F' && $cur eq 'F') || 3582 ($prev eq 'X' && $cur eq 'X')) &&
|