Home
last modified time | relevance | path

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

12

/u-boot/lib/
A Dmembuff.c19 mb->tail = mb->start; in membuff_purge()
40 if (mb->head >= mb->tail) { in membuff_putrawflex()
110 if (mb->head > mb->tail) { in membuff_getraw()
112 *data = mb->tail; in membuff_getraw()
121 mb->tail += len; in membuff_getraw()
131 *data = mb->tail; in membuff_getraw()
136 mb->tail += len; in membuff_getraw()
138 mb->tail = mb->start; in membuff_getraw()
275 mb->tail = mb->start; in membuff_makecontig()
354 memmove(mb->tail + by, mb->tail, orig - oldtail); in membuff_extend_by()
[all …]
A Dlist_sort.c32 tail->next = a; in merge()
35 tail->next = b; in merge()
38 tail = tail->next; in merge()
40 tail->next = a?:b; in merge()
62 tail->next = a; in merge_and_restore_back_links()
63 a->prev = tail; in merge_and_restore_back_links()
66 tail->next = b; in merge_and_restore_back_links()
70 tail = tail->next; in merge_and_restore_back_links()
81 (*cmp)(priv, tail->next, tail->next); in merge_and_restore_back_links()
83 tail->next->prev = tail; in merge_and_restore_back_links()
[all …]
A Dstrto.c55 char *tail; in strict_strtoul() local
64 val = simple_strtoul(cp, &tail, base); in strict_strtoul()
65 if (tail == cp) in strict_strtoul()
68 if ((*tail == '\0') || in strict_strtoul()
69 ((len == (size_t)(tail - cp) + 1) && (*tail == '\n'))) { in strict_strtoul()
A Dcircbuf.c24 buf->tail = buf->data; in buf_init()
79 p = buf->tail; in buf_push()
98 buf->tail = p; in buf_push()
/u-boot/fs/jffs2/
A Dmergesort.c15 struct b_node *p, *q, *e, **tail; in sort_list() local
22 tail = &list->listHead; in sort_list()
45 *tail = e; in sort_list()
46 tail = &e->next; in sort_list()
/u-boot/scripts/
A Dgcc-version.sh25 MAJOR=$(echo __GNUC__ | $compiler -E -xc - | tail -n 1)
26 MINOR=$(echo __GNUC_MINOR__ | $compiler -E -xc - | tail -n 1)
28 PATCHLEVEL=$(echo __GNUC_PATCHLEVEL__ | $compiler -E -xc - | tail -n 1)
A Dcleanpatch220 my $tail = $5; # doesn't include the final newline
224 $tail);
/u-boot/drivers/crypto/fsl/
A Djr.c25 #define CIRC_CNT(head, tail, size) (((head) - (tail)) & (size - 1)) argument
26 #define CIRC_SPACE(head, tail, size) CIRC_CNT((tail), (head) + 1, (size)) argument
147 jr->tail = 0; in jr_sw_cleanup()
269 int tail = jr->tail; in jr_dequeue() local
291 addr_lo = (uint32_t *)(&jr->output_ring[jr->tail].desc); in jr_dequeue()
303 addr = (uint32_t *)&jr->output_ring[jr->tail].desc; in jr_dequeue()
310 idx = (tail + i) & (jr->size - 1); in jr_dequeue()
329 if (idx == tail) in jr_dequeue()
331 tail = (tail + 1) & (jr->size - 1); in jr_dequeue()
332 } while (jr->info[tail].op_done); in jr_dequeue()
[all …]
A Djr.h70 int tail; member
/u-boot/cmd/
A Dximg.c195 size_t tail; in do_imgextract() local
202 tail = (l > CHUNKSZ) ? CHUNKSZ : l; in do_imgextract()
204 memmove(to, from, tail); in do_imgextract()
205 to += tail; in do_imgextract()
206 from += tail; in do_imgextract()
207 l -= tail; in do_imgextract()
A Dsetexpr.c161 int tail, len; in substitute() local
165 tail = ssize - (p + len - string); in substitute()
167 debug("## tail len %d\n", tail); in substitute()
169 memmove(p + nlen, p + olen, tail); in substitute()
/u-boot/drivers/net/octeontx2/
A Dnix.c510 u32 head, tail; in nix_lf_flush_tx() local
517 tail = op_status.s.tail; in nix_lf_flush_tx()
522 while (head != tail) { in nix_lf_flush_tx()
527 tail = op_status.s.tail; in nix_lf_flush_tx()
598 u32 head, tail; in nix_lf_flush_rx() local
605 tail = op_status.s.tail; in nix_lf_flush_rx()
610 while (head != tail) { in nix_lf_flush_rx()
629 tail = op_status.s.tail; in nix_lf_flush_rx()
663 u32 head, tail; in nix_lf_recv() local
668 tail = op_status.s.tail; in nix_lf_recv()
[all …]
/u-boot/arch/arm/mach-uniphier/clk/
A DMakefile14 obj-$(CONFIG_ARCH_UNIPHIER_LD4) += pll-ld4.o dpll-tail.o
15 obj-$(CONFIG_ARCH_UNIPHIER_PRO4) += clk-pro4.o pll-pro4.o dpll-tail.o
16 obj-$(CONFIG_ARCH_UNIPHIER_SLD8) += pll-ld4.o dpll-tail.o
/u-boot/doc/sphinx/
A Dmaintainers_include.py183 tail = path
184 while tail != "Documentation" and tail != "":
185 (path, tail) = os.path.split(path)
/u-boot/net/
A Ddsa-uclass.c118 int head = priv->headroom, tail = priv->tailroom; in dsa_port_send() local
125 if (length + head + tail > PKTSIZE_ALIGN) in dsa_port_send()
129 memset(dsa_packet_tmp + head + length, 0, tail); in dsa_port_send()
131 length += head + tail; in dsa_port_send()
148 int head = priv->headroom, tail = priv->tailroom; in dsa_port_recv() local
166 if (err || port_index != port_pdata->index || (length <= head + tail)) { in dsa_port_recv()
178 return length - head - tail; in dsa_port_recv()
/u-boot/include/
A Dcircbuf.h15 char *tail; /* pointer to space for next element */ member
A Dmembuff.h36 char *tail; /** current buffer tail */ member
/u-boot/tools/
A Dimx8mimage.c250 int tail; in copy_file() local
290 tail = size % 4; in copy_file()
292 if (pad == 1 && tail != 0) { in copy_file()
293 if (write(ifd, (char *)&zero, 4 - tail) != 4 - tail) { in copy_file()
A Dmkimage.c682 int tail; in copy_file() local
755 tail = size % 4; in copy_file()
756 if ((pad == 1) && (tail != 0)) { in copy_file()
758 if (write(ifd, (char *)&zero, 4-tail) != 4-tail) { in copy_file()
/u-boot/test/
A Dnokia_rx51_test.sh233 tail -F qemu_uboot.log &
245 tail -F qemu_ram.log &
257 tail -F qemu_emmc.log &
269 tail -F qemu_nand.log &
/u-boot/drivers/nvme/
A Dnvme.c171 u16 tail = nvmeq->sq_tail; in nvme_submit_cmd() local
173 memcpy(&nvmeq->sq_cmds[tail], cmd, sizeof(*cmd)); in nvme_submit_cmd()
174 flush_dcache_range((ulong)&nvmeq->sq_cmds[tail], in nvme_submit_cmd()
175 (ulong)&nvmeq->sq_cmds[tail] + sizeof(*cmd)); in nvme_submit_cmd()
177 if (++tail == nvmeq->q_depth) in nvme_submit_cmd()
178 tail = 0; in nvme_submit_cmd()
179 writel(tail, nvmeq->q_db); in nvme_submit_cmd()
180 nvmeq->sq_tail = tail; in nvme_submit_cmd()
/u-boot/drivers/net/octeontx/
A Dnicvf_queues.c145 unsigned long qcount, head, tail, rb_cnt; in nicvf_refill_rbdr() local
161 tail = nicvf_queue_reg_read(nic, NIC_QSET_RBDR_0_1_TAIL, rbdr_idx); in nicvf_refill_rbdr()
168 __func__, __LINE__, qcount, head, tail, rb_cnt); in nicvf_refill_rbdr()
221 sq->tail = 0; in nicvf_init_snd_queue()
284 rbdr->tail = nicvf_queue_reg_read(nic, in nicvf_reclaim_rbdr()
664 qentry = sq->tail; in nicvf_get_sq_desc()
666 sq->tail += desc_cnt; in nicvf_get_sq_desc()
667 sq->tail &= (sq->dmem.q_len - 1); in nicvf_get_sq_desc()
/u-boot/drivers/mtd/nand/raw/
A Domap_gpmc.c432 uint32_t head, tail; in omap_nand_read_prefetch() local
450 tail = len % 4; in omap_nand_read_prefetch()
452 ret = __read_prefetch_aligned(chip, (uint32_t *)buf, len - tail); in omap_nand_read_prefetch()
456 } else if (tail) { in omap_nand_read_prefetch()
457 buf += len - tail; in omap_nand_read_prefetch()
458 omap_nand_read(mtd, buf, tail); in omap_nand_read_prefetch()
/u-boot/common/
A Dimage.c744 size_t tail = (len > chunksz) ? chunksz : len; in memmove_wd() local
747 to -= tail; in memmove_wd()
748 from -= tail; in memmove_wd()
750 memmove(to, from, tail); in memmove_wd()
752 to += tail; in memmove_wd()
753 from += tail; in memmove_wd()
755 len -= tail; in memmove_wd()
/u-boot/drivers/net/
A Dxilinx_axi_emac.c86 u32 tail; /* TAILDESC low 32 bit */ member
516 axienet_dma_write(&rx_bd, &priv->dmarx->tail); in axiemac_start()
570 axienet_dma_write(&tx_bd, &priv->dmatx->tail); in axiemac_send()
665 axienet_dma_write(&rx_bd, &priv->dmarx->tail); in axiemac_free_pkt()

Completed in 45 milliseconds

12