| /rk3399_rockchip-uboot/board/keymile/km83xx/ |
| H A D | km83xx_i2c.c | 30 uchar last; in i2c_make_abort() local 42 last = in_8(&base->dr); in i2c_make_abort() 49 while (((last & 0x01) != 0x01) && in i2c_make_abort() 52 last = in_8(&base->dr); in i2c_make_abort() 55 if ((last & 0x01) != 0x01) in i2c_make_abort() 57 if ((last != 0xff) || (nbr_read > 1)) in i2c_make_abort() 59 nbr_read, last); in i2c_make_abort() 70 nbr_read, last); in i2c_make_abort()
|
| /rk3399_rockchip-uboot/drivers/watchdog/ |
| H A D | tangier_wdt.c | 31 static unsigned long last; in hw_watchdog_reset() local 40 if (last > now) in hw_watchdog_reset() 41 last = 0; in hw_watchdog_reset() 43 if (unlikely((now - last) > (WDT_PRETIMEOUT / 2) * 1000000)) { in hw_watchdog_reset() 44 last = now; in hw_watchdog_reset()
|
| /rk3399_rockchip-uboot/post/ |
| H A D | post.c | 175 int last; in post_get_env_flags() local 185 last = 0; in post_get_env_flags() 187 while (!last) { in post_get_env_flags() 196 last = 1; in post_get_env_flags() 302 unsigned int last; in post_run() local 307 if (post_bootmode_get(&last) & POST_POWERTEST) { in post_run() 308 if (last & POST_FAIL_SAVE) { in post_run() 309 last &= ~POST_FAIL_SAVE; in post_run() 312 if (last < post_list_size && in post_run() 313 (flags & test_flags[last] & POST_ALWAYS) && in post_run() [all …]
|
| /rk3399_rockchip-uboot/arch/arm/mach-omap2/ |
| H A D | timer.c | 59 unsigned long now, last = readl(&timer_base->tcrr); in __udelay() local 63 if (last > now) /* count up timer overflow */ in __udelay() 64 tmo -= TIMER_OVERFLOW_VAL - last + now + 1; in __udelay() 66 tmo -= now - last; in __udelay() 67 last = now; in __udelay()
|
| /rk3399_rockchip-uboot/arch/arm/cpu/armv7/sunxi/ |
| H A D | timer.c | 85 ulong now, last = read_timer(); in __udelay() local 89 if (now > last) /* normal (non rollover) */ in __udelay() 90 tmo -= now - last; in __udelay() 92 tmo -= TIMER_LOAD_VAL - last + now; in __udelay() 93 last = now; in __udelay()
|
| /rk3399_rockchip-uboot/arch/nds32/cpu/n1213/ag101/ |
| H A D | timer.c | 156 unsigned long now, last = readl(&tmr->timer3_counter); in __udelay() local 161 if (now > last) /* count down timer overflow */ in __udelay() 162 tmo -= TIMER_LOAD_VAL + last - now; in __udelay() 164 tmo -= last - now; in __udelay() 165 last = now; in __udelay()
|
| /rk3399_rockchip-uboot/lib/zlib/ |
| H A D | inffast.c | 74 unsigned char FAR *last; /* while in < last, enough input available */ in inflate_fast() local 101 last = in + (strm->avail_in - 5); in inflate_fast() 102 if (in > last && strm->avail_in > 5) { in inflate_fast() 108 last = in + (strm->avail_in - 5); in inflate_fast() 323 } while (in < last && out < end); in inflate_fast() 334 strm->avail_in = (unsigned)(in < last ? 5 + (last - in) : 5 - (in - last)); in inflate_fast()
|
| H A D | inflate.c | 18 state->last = 0; in inflateReset() 340 code last; /* parent table entry */ in inflate() local 549 if (state->last) { in inflate() 555 state->last = BITS(1); in inflate() 560 state->last ? " (last)" : "")); in inflate() 566 state->last ? " (last)" : "")); in inflate() 571 state->last ? " (last)" : "")); in inflate() 737 last = this; in inflate() 739 this = state->lencode[last.val + in inflate() 740 (BITS(last.bits + last.op) >> last.bits)]; in inflate() [all …]
|
| H A D | trees.c | 329 # define SEPARATOR(i, last, width) \ argument 330 ((i) == (last)? "\n};\n\n" : \ 871 void ZLIB_INTERNAL _tr_stored_block(s, buf, stored_len, last) in _tr_stored_block() argument 875 int last; /* one if this is the last block for a file */ 877 send_bits(s, (STORED_BLOCK<<1)+last, 3); /* send block type */ 925 void ZLIB_INTERNAL _tr_flush_block(s, buf, stored_len, last) in _tr_flush_block() argument 929 int last; /* one if this is the last block for a file */ 985 _tr_stored_block(s, buf, stored_len, last); 992 send_bits(s, (STATIC_TREES<<1)+last, 3); 998 send_bits(s, (DYN_TREES<<1)+last, 3); [all …]
|
| /rk3399_rockchip-uboot/arch/powerpc/lib/ |
| H A D | extable.c | 36 const struct exception_table_entry *last, in search_one_table() argument 40 while (first <= last) { in search_one_table()
|
| /rk3399_rockchip-uboot/scripts/kconfig/ |
| H A D | qconf.cc | 429 ConfigItem* last = 0; in updateList() local 453 last = item; in updateList() 457 item = last ? last->nextSibling() : firstChild(); in updateList() 459 item = new ConfigItem(this, last, rootEntry, true); in updateList() 590 ConfigItem* last; in updateMenuList() local 603 last = parent->firstChild(); in updateMenuList() 604 if (last && !last->goParent) in updateMenuList() 605 last = 0; in updateMenuList() 607 item = last ? last->nextSibling() : parent->firstChild(); in updateMenuList() 628 item = new ConfigItem(parent, last, child, visible); in updateMenuList() [all …]
|
| /rk3399_rockchip-uboot/arch/microblaze/include/asm/ |
| H A D | system.h | 33 extern void *switch_thread (struct thread_struct *last, 35 #define switch_to(prev,next,last) do { \ argument 37 (last) = switch_thread (&prev->thread, &next->thread); \
|
| /rk3399_rockchip-uboot/arch/powerpc/cpu/mpc8xxx/ |
| H A D | srio.c | 77 int idx, first, last; in srio_erratum_a004034() local 141 last = first; in srio_erratum_a004034() 143 last = first + 3; in srio_erratum_a004034() 148 for (idx = first; idx <= last; idx++) in srio_erratum_a004034() 155 for (idx = first; idx <= last; idx++) in srio_erratum_a004034() 165 for (idx = first; idx <= last; idx++) in srio_erratum_a004034() 172 for (idx = first; idx <= last; idx++) in srio_erratum_a004034()
|
| /rk3399_rockchip-uboot/drivers/usb/gadget/ |
| H A D | designware_udc.c | 267 u32 last; in dw_write_noniso_tx_fifo() local 272 last = min_t(u32, urb->actual_length - endpoint->sent, in dw_write_noniso_tx_fifo() 275 if (last) { in dw_write_noniso_tx_fifo() 288 last = min(last, sizeof(int) - align); in dw_write_noniso_tx_fifo() 291 endpoint->sent, endpoint->tx_packetSize, last); in dw_write_noniso_tx_fifo() 294 USB_ENDPOINT_NUMBER_MASK, cp, last); in dw_write_noniso_tx_fifo() 296 endpoint->last = last; in dw_write_noniso_tx_fifo() 418 endpoint->sent += endpoint->last; in dw_udc_ep0_tx() 431 (endpoint->last != endpoint->tx_packetSize))) { in dw_udc_ep0_tx() 504 (endpoint->last == endpoint->tx_packetSize) && in dw_udc_epn_tx() [all …]
|
| /rk3399_rockchip-uboot/arch/mips/include/asm/ |
| H A D | system.h | 194 extern asmlinkage void *resume(void *last, void *next); 199 #define switch_to(prev,next,last) \ argument 201 (last) = resume(prev, next); \
|
| /rk3399_rockchip-uboot/drivers/dma/ |
| H A D | apbh_dma.c | 409 struct mxs_dma_desc *last; in mxs_dma_desc_append() local 422 last = list_entry(pchan->active.prev, struct mxs_dma_desc, in mxs_dma_desc_append() 426 last->flags &= ~MXS_DMA_DESC_LAST; in mxs_dma_desc_append() 428 last->cmd.next = mxs_dma_cmd_address(pdesc); in mxs_dma_desc_append() 429 last->cmd.data |= MXS_DMA_DESC_CHAIN; in mxs_dma_desc_append() 431 mxs_dma_flush_desc(last); in mxs_dma_desc_append()
|
| /rk3399_rockchip-uboot/drivers/pinctrl/meson/ |
| H A D | pinctrl-meson.h | 87 unsigned int last; member 121 .last = l, \
|
| /rk3399_rockchip-uboot/drivers/mtd/nand/ |
| H A D | core.c | 158 struct nand_pos pos, last; in nanddev_mtd_erase() local 162 nanddev_offs_to_pos(nand, einfo->addr + einfo->len - 1, &last); in nanddev_mtd_erase() 163 while (nanddev_pos_cmp(&pos, &last) <= 0) { in nanddev_mtd_erase()
|
| /rk3399_rockchip-uboot/fs/ubifs/ |
| H A D | orphan.c | 160 struct ubifs_orphan *orphan, **last; in ubifs_orphan_start_commit() local 163 last = &c->orph_cnext; in ubifs_orphan_start_commit() 169 *last = orphan; in ubifs_orphan_start_commit() 170 last = &orphan->cnext; in ubifs_orphan_start_commit() 172 *last = NULL; in ubifs_orphan_start_commit() 367 struct ubifs_orphan *orphan, **last; in consolidate() local 371 last = &c->orph_cnext; in consolidate() 376 *last = orphan; in consolidate() 377 last = &orphan->cnext; in consolidate() 380 *last = NULL; in consolidate()
|
| /rk3399_rockchip-uboot/arch/mips/mach-ath79/qca953x/ |
| H A D | ddr.c | 415 u32 val, pass, tap, cnt, tap_val, last, first; in ddr_tap_tuning() local 422 last = 0; in ddr_tap_tuning() 455 last = tap; in ddr_tap_tuning() 458 last = tap; in ddr_tap_tuning() 466 tap_val = (first + last) / 2; in ddr_tap_tuning()
|
| /rk3399_rockchip-uboot/cmd/ |
| H A D | flash.c | 52 int bank, first, last; in abbrev_spec() local 74 last = simple_strtoul (p, &ep, 10); in abbrev_spec() 76 last < first || last >= fp->sector_count) in abbrev_spec() 79 last = first; in abbrev_spec() 84 *psl = last; in abbrev_spec()
|
| /rk3399_rockchip-uboot/drivers/mtd/ |
| H A D | stm32_flash.c | 81 int flash_erase(flash_info_t *info, int first, int last) in flash_erase() argument 97 for (i = first; i <= last; i++) { in flash_erase()
|
| /rk3399_rockchip-uboot/drivers/mtd/ubispl/ |
| H A D | ubispl.c | 720 u32 last) in ubi_load_block() argument 731 ubi_warn("LEB %d of %d is missing", lnum, last); in ubi_load_block() 762 if (be32_to_cpu(vh->used_ebs) != last) { in ubi_load_block() 765 be32_to_cpu(vh->used_ebs), last); in ubi_load_block() 849 u32 lnum, last, len; in ipl_load() local 856 last = vi->last_block + 1; in ipl_load() 859 for (lnum = 0 ; lnum < last; lnum++) { in ipl_load() 860 int res = ubi_load_block(ubi, laddr, vi, vol_id, lnum, last); in ipl_load()
|
| /rk3399_rockchip-uboot/arch/sh/include/asm/ |
| H A D | system.h | 18 #define switch_to(prev, next, last) do { \ argument 60 last = __last; \
|
| /rk3399_rockchip-uboot/scripts/dtc/libfdt/ |
| H A D | fdt.c | 233 const char *last = strtab + tabsize - len; in _fdt_find_string() local 236 for (p = strtab; p <= last; p++) in _fdt_find_string()
|