| /rk3399_rockchip-uboot/lib/ |
| H A D | membuff.c | 19 mb->tail = mb->start; in membuff_purge() 40 if (mb->head >= mb->tail) { in membuff_putrawflex() 54 if ((maxlen < 0 || len < maxlen) && mb->tail != mb->start) { in membuff_putrawflex() 63 len = mb->tail - mb->head - 1; in membuff_putrawflex() 110 if (mb->head > mb->tail) { in membuff_getraw() 112 *data = mb->tail; in membuff_getraw() 113 len = mb->head - mb->tail; in membuff_getraw() 121 mb->tail += len; in membuff_getraw() 129 else if (mb->head < mb->tail) { in membuff_getraw() 131 *data = mb->tail; in membuff_getraw() [all …]
|
| H A D | list_sort.c | 25 struct list_head head, *tail = &head; in merge() local 30 tail->next = a; in merge() 33 tail->next = b; in merge() 36 tail = tail->next; in merge() 38 tail->next = a?:b; in merge() 55 struct list_head *tail = head; in merge_and_restore_back_links() local 60 tail->next = a; in merge_and_restore_back_links() 61 a->prev = tail; in merge_and_restore_back_links() 64 tail->next = b; in merge_and_restore_back_links() 65 b->prev = tail; in merge_and_restore_back_links() [all …]
|
| H A D | strto.c | 55 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()
|
| H A D | circbuf.c | 24 buf->tail = buf->data; in buf_init() 79 p = buf->tail; in buf_push() 98 buf->tail = p; in buf_push()
|
| /rk3399_rockchip-uboot/fs/jffs2/ |
| H A D | mergesort.c | 16 struct b_node *p, *q, *e, **tail; in sort_list() local 23 tail = &list->listHead; in sort_list() 46 *tail = e; in sort_list() 47 tail = &e->next; in sort_list()
|
| /rk3399_rockchip-uboot/drivers/crypto/fsl/ |
| H A D | jr.c | 19 #define CIRC_CNT(head, tail, size) (((head) - (tail)) & (size - 1)) argument 20 #define CIRC_SPACE(head, tail, size) CIRC_CNT((tail), (head) + 1, (size)) argument 141 jr->tail = 0; in jr_sw_cleanup() 263 int tail = jr->tail; in jr_dequeue() local 273 while (sec_in32(®s->orsf) && CIRC_CNT(jr->head, jr->tail, in jr_dequeue() 285 addr_lo = (uint32_t *)(&jr->output_ring[jr->tail].desc); in jr_dequeue() 286 addr_hi = (uint32_t *)(&jr->output_ring[jr->tail].desc) + 1; in jr_dequeue() 288 addr_hi = (uint32_t *)(&jr->output_ring[jr->tail].desc); in jr_dequeue() 289 addr_lo = (uint32_t *)(&jr->output_ring[jr->tail].desc) + 1; in jr_dequeue() 297 addr = (uint32_t *)&jr->output_ring[jr->tail].desc; in jr_dequeue() [all …]
|
| H A D | jr.h | 69 int tail; member
|
| /rk3399_rockchip-uboot/scripts/ |
| H A D | gcc-version.sh | 25 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)
|
| H A D | cleanpatch | 220 my $tail = $5; # doesn't include the final newline 224 $tail);
|
| /rk3399_rockchip-uboot/cmd/ |
| H A D | ximg.c | 191 size_t tail; in do_imgextract() local 198 tail = (l > CHUNKSZ) ? CHUNKSZ : l; in do_imgextract() 200 memmove(to, from, tail); in do_imgextract() 201 to += tail; in do_imgextract() 202 from += tail; in do_imgextract() 203 l -= tail; in do_imgextract()
|
| H A D | setexpr.c | 105 int tail, len; in substitute() local 109 tail = ssize - (p + len - string); in substitute() 111 debug("## tail len %d\n", tail); in substitute() 113 memmove(p + nlen, p + olen, tail); in substitute()
|
| /rk3399_rockchip-uboot/arch/arm/mach-uniphier/clk/ |
| H A D | Makefile | 16 obj-$(CONFIG_ARCH_UNIPHIER_LD4) += clk-ld4.o pll-ld4.o dpll-tail.o 17 obj-$(CONFIG_ARCH_UNIPHIER_PRO4) += clk-pro4.o pll-pro4.o dpll-tail.o 18 obj-$(CONFIG_ARCH_UNIPHIER_SLD8) += clk-ld4.o pll-ld4.o dpll-tail.o
|
| /rk3399_rockchip-uboot/include/ |
| H A D | circbuf.h | 16 char *tail; /* pointer to space for next element */ member
|
| H A D | pc_keyb.h | 116 unsigned long tail;
|
| H A D | membuff.h | 37 char *tail; /** current buffer tail */ member
|
| /rk3399_rockchip-uboot/tools/ |
| H A D | mkimage.c | 644 int tail; in copy_file() local 715 tail = size % 4; in copy_file() 716 if ((pad == 1) && (tail != 0)) { in copy_file() 718 if (write(ifd, (char *)&zero, 4-tail) != 4-tail) { in copy_file()
|
| /rk3399_rockchip-uboot/common/ |
| H A D | image.c | 553 size_t tail = (len > chunksz) ? chunksz : len; in memmove_wd() local 556 to -= tail; in memmove_wd() 557 from -= tail; in memmove_wd() 559 memmove(to, from, tail); in memmove_wd() 561 to += tail; in memmove_wd() 562 from += tail; in memmove_wd() 564 len -= tail; in memmove_wd()
|
| /rk3399_rockchip-uboot/drivers/nvme/ |
| H A D | nvme.c | 168 u16 tail = nvmeq->sq_tail; in nvme_submit_cmd() local 170 memcpy(&nvmeq->sq_cmds[tail], cmd, sizeof(*cmd)); in nvme_submit_cmd() 171 flush_dcache_range((ulong)&nvmeq->sq_cmds[tail], in nvme_submit_cmd() 172 (ulong)&nvmeq->sq_cmds[tail] + sizeof(*cmd)); in nvme_submit_cmd() 174 if (++tail == nvmeq->q_depth) in nvme_submit_cmd() 175 tail = 0; in nvme_submit_cmd() 176 writel(tail, nvmeq->q_db); in nvme_submit_cmd() 177 nvmeq->sq_tail = tail; in nvme_submit_cmd()
|
| /rk3399_rockchip-uboot/drivers/mtd/nand/raw/ |
| H A D | omap_gpmc.c | 432 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()
|
| /rk3399_rockchip-uboot/drivers/net/ |
| H A D | xilinx_axi_emac.c | 80 u32 tail; /* TAILDESC */ member 484 out_be32(&priv->dmarx->tail, (u32)&rx_bd); in axiemac_start() 534 out_be32(&priv->dmatx->tail, (u32)&tx_bd); in axiemac_send() 622 out_be32(&priv->dmarx->tail, (u32)&rx_bd); in axiemac_free_pkt()
|
| H A D | lan91c96.c | 577 byte *tail = (byte *)(net_rx_packets[0] + in smc_rcv() local 582 *tail++ = (byte) (leftover >> (8 * i)) & 0xff; in smc_rcv()
|
| H A D | cpsw.c | 224 struct cpdma_desc *head, *tail; member 747 chan->tail = desc; in cpdma_submit() 753 prev = chan->tail; in cpdma_submit() 755 chan->tail = desc; in cpdma_submit()
|
| H A D | smc91111.c | 730 byte *tail = (byte *)(net_rx_packets[0] + in smc_rcv() local 734 *tail++ = (byte) (leftover >> (8*i)) & 0xff; in smc_rcv()
|
| /rk3399_rockchip-uboot/scripts/kconfig/ |
| H A D | expr.c | 889 char *tail; in expr_parse_string() local 898 val->s = strtoll(str, &tail, 10); in expr_parse_string() 902 val->u = strtoull(str, &tail, 16); in expr_parse_string() 907 val->s = strtoll(str, &tail, 0); in expr_parse_string() 913 return !errno && !*tail && tail > str && isxdigit(tail[-1]) in expr_parse_string()
|