Home
last modified time | relevance | path

Searched refs:last (Results 1 – 25 of 126) sorted by relevance

123456

/u-boot/board/keymile/km83xx/
A Dkm83xx_i2c.c30 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()
/u-boot/arch/arm/mach-omap2/
A Dtimer.c63 unsigned long now, last = readl(&timer_base->tcrr); in __udelay() local
67 if (last > now) /* count up timer overflow */ in __udelay()
68 tmo -= TIMER_OVERFLOW_VAL - last + now + 1; in __udelay()
70 tmo -= now - last; in __udelay()
71 last = now; in __udelay()
/u-boot/post/
A Dpost.c182 int last; in post_get_env_flags() local
192 last = 0; in post_get_env_flags()
194 while (!last) { in post_get_env_flags()
203 last = 1; in post_get_env_flags()
309 unsigned int last; in post_run() local
315 if (last & POST_FAIL_SAVE) { in post_run()
316 last &= ~POST_FAIL_SAVE; in post_run()
319 if (last < post_list_size && in post_run()
323 post_run_single(post_list + last, in post_run()
324 test_flags[last], in post_run()
[all …]
/u-boot/arch/arm/cpu/armv7/sunxi/
A Dtimer.c88 ulong now, last = read_timer(); in __udelay() local
92 if (now > last) /* normal (non rollover) */ in __udelay()
93 tmo -= now - last; in __udelay()
95 tmo -= TIMER_LOAD_VAL - last + now; in __udelay()
96 last = now; in __udelay()
/u-boot/lib/efi_loader/
A Defi_var_mem.c67 struct efi_var_entry *var, *last; in efi_var_mem_find() local
69 last = (struct efi_var_entry *) in efi_var_mem_find()
75 if (*next >= last) in efi_var_mem_find()
82 if (next && *next >= last) in efi_var_mem_find()
88 if (var < last) { in efi_var_mem_find()
94 if (pos >= last) in efi_var_mem_find()
112 struct efi_var_entry *next, *last; in efi_var_mem_del() local
117 last = (struct efi_var_entry *) in efi_var_mem_del()
192 struct efi_var_entry *last; in efi_var_mem_bs_del() local
194 last = (struct efi_var_entry *) in efi_var_mem_bs_del()
[all …]
/u-boot/arch/nds32/cpu/n1213/ag101/
A Dtimer.c160 unsigned long now, last = readl(&tmr->timer3_counter); in __udelay() local
165 if (now > last) /* count down timer overflow */ in __udelay()
166 tmo -= TIMER_LOAD_VAL + last - now; in __udelay()
168 tmo -= last - now; in __udelay()
169 last = now; in __udelay()
/u-boot/arch/powerpc/lib/
A Dextable.c34 const struct exception_table_entry *last, in search_one_table() argument
38 while (first <= last) { in search_one_table()
/u-boot/lib/zlib/
A Dinffast.c74 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()
A Dinflate.c18 state->last = 0; in inflateReset()
549 if (state->last) { in inflate()
555 state->last = BITS(1); 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()
744 DROPBITS(last.bits); in inflate()
782 last = this; in inflate()
784 this = state->distcode[last.val + in inflate()
785 (BITS(last.bits + last.op) >> last.bits)]; in inflate()
[all …]
/u-boot/drivers/pinctrl/meson/
A Dpinctrl-meson-axg.h15 unsigned int last; member
29 .last = l, \
A Dpinctrl-meson.h100 unsigned int last; member
118 .last = l, \
/u-boot/arch/microblaze/include/asm/
A Dsystem.h33 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); \
/u-boot/arch/powerpc/cpu/mpc8xxx/
A Dsrio.c79 int idx, first, last; in srio_erratum_a004034() local
143 last = first; in srio_erratum_a004034()
145 last = first + 3; in srio_erratum_a004034()
150 for (idx = first; idx <= last; idx++) in srio_erratum_a004034()
157 for (idx = first; idx <= last; idx++) in srio_erratum_a004034()
167 for (idx = first; idx <= last; idx++) in srio_erratum_a004034()
174 for (idx = first; idx <= last; idx++) in srio_erratum_a004034()
/u-boot/scripts/kconfig/
A Dqconf.cc444 last = item; in updateList()
448 item = last ? last->nextSibling() : firstChild(); in updateList()
595 if (last && !last->goParent) in updateMenuList()
596 last = 0; in updateMenuList()
598 item = last ? last->nextSibling() : parent->firstChild(); in updateMenuList()
634 last = 0; in updateMenuList()
636 last = last->nextSibling(); in updateMenuList()
660 if (last && !last->goParent) in updateMenuList()
661 last = 0; in updateMenuList()
699 last = 0; in updateMenuList()
[all …]
/u-boot/drivers/usb/gadget/
A Ddesignware_udc.c269 u32 last; in dw_write_noniso_tx_fifo() local
274 last = min_t(u32, urb->actual_length - endpoint->sent, in dw_write_noniso_tx_fifo()
277 if (last) { in dw_write_noniso_tx_fifo()
290 last = min(last, sizeof(int) - align); in dw_write_noniso_tx_fifo()
293 endpoint->sent, endpoint->tx_packetSize, last); in dw_write_noniso_tx_fifo()
296 USB_ENDPOINT_NUMBER_MASK, cp, last); in dw_write_noniso_tx_fifo()
298 endpoint->last = last; in dw_write_noniso_tx_fifo()
420 endpoint->sent += endpoint->last; in dw_udc_ep0_tx()
433 (endpoint->last != endpoint->tx_packetSize))) { in dw_udc_ep0_tx()
506 (endpoint->last == endpoint->tx_packetSize) && in dw_udc_epn_tx()
[all …]
/u-boot/arch/mips/include/asm/
A Dsystem.h195 extern asmlinkage void *resume(void *last, void *next);
200 #define switch_to(prev,next,last) \ argument
202 (last) = resume(prev, next); \
/u-boot/drivers/dma/
A Dapbh_dma.c413 struct mxs_dma_desc *last; in mxs_dma_desc_append() local
426 last = list_entry(pchan->active.prev, struct mxs_dma_desc, in mxs_dma_desc_append()
430 last->flags &= ~MXS_DMA_DESC_LAST; in mxs_dma_desc_append()
432 last->cmd.next = mxs_dma_cmd_address(pdesc); in mxs_dma_desc_append()
433 last->cmd.data |= MXS_DMA_DESC_CHAIN; in mxs_dma_desc_append()
435 mxs_dma_flush_desc(last); in mxs_dma_desc_append()
/u-boot/drivers/power/pmic/
A Dda9063.c30 u16 last; member
55 if (reg >= hole->first && reg <= hole->last) in da9063_reg_valid()
/u-boot/drivers/i2c/
A Dmeson_i2c.c57 bool last; /* Whether the message is the last */ member
148 if (i2c->last && i2c->pos + i2c->count >= i2c->msg->len) in meson_i2c_prepare_xfer()
168 int last) in meson_i2c_xfer_msg() argument
177 i2c->last = last; in meson_i2c_xfer_msg()
/u-boot/drivers/mtd/nand/
A Dcore.c170 struct nand_pos pos, last; in nanddev_mtd_erase() local
174 nanddev_offs_to_pos(nand, einfo->addr + einfo->len - 1, &last); in nanddev_mtd_erase()
175 while (nanddev_pos_cmp(&pos, &last) <= 0) { in nanddev_mtd_erase()
/u-boot/fs/ubifs/
A Dorphan.c161 struct ubifs_orphan *orphan, **last; in ubifs_orphan_start_commit() local
164 last = &c->orph_cnext; in ubifs_orphan_start_commit()
170 *last = orphan; in ubifs_orphan_start_commit()
171 last = &orphan->cnext; in ubifs_orphan_start_commit()
173 *last = NULL; in ubifs_orphan_start_commit()
368 struct ubifs_orphan *orphan, **last; in consolidate() local
372 last = &c->orph_cnext; in consolidate()
377 *last = orphan; in consolidate()
378 last = &orphan->cnext; in consolidate()
381 *last = NULL; in consolidate()
/u-boot/test/
A Dut.c49 long ut_check_delta(ulong last) in ut_check_delta() argument
51 return ut_check_free() - last; in ut_check_delta()
/u-boot/drivers/net/mscc_eswitch/
A Dmscc_xfer.c33 int i, count = (buff_len + 3) / 4, last = buff_len % 4; in mscc_send() local
52 QS_INJ_CTRL_VLD_BYTES(buff_len < BUF_CELL_SZ ? 0 : last) | in mscc_send()
/u-boot/arch/mips/mach-ath79/qca953x/
A Dddr.c414 u32 val, pass, tap, cnt, tap_val, last, first; in ddr_tap_tuning() local
421 last = 0; in ddr_tap_tuning()
454 last = tap; in ddr_tap_tuning()
457 last = tap; in ddr_tap_tuning()
465 tap_val = (first + last) / 2; in ddr_tap_tuning()
/u-boot/drivers/mtd/
A Dstm32_flash.c81 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()

Completed in 574 milliseconds

123456