| /openbmc/u-boot/board/keymile/km83xx/ |
| H A D | km83xx_i2c.c | 29 uchar last; in i2c_make_abort() local 41 last = in_8(&base->dr); in i2c_make_abort() 48 while (((last & 0x01) != 0x01) && in i2c_make_abort() 51 last = in_8(&base->dr); in i2c_make_abort() 54 if ((last & 0x01) != 0x01) in i2c_make_abort() 56 if ((last != 0xff) || (nbr_read > 1)) in i2c_make_abort() 58 nbr_read, last); in i2c_make_abort() 69 nbr_read, last); in i2c_make_abort()
|
| /openbmc/qemu/linux-user/ |
| H A D | mmap.c | 79 static void shm_region_add(abi_ptr start, abi_ptr last) in shm_region_add() argument 84 i->last = last; in shm_region_add() 95 return i->last; in shm_region_find() 101 static void shm_region_rm_complete(abi_ptr start, abi_ptr last) in shm_region_rm_complete() argument 105 for (i = interval_tree_iter_first(&shm_regions, start, last); i; i = n) { in shm_region_rm_complete() 106 n = interval_tree_iter_next(i, start, last); in shm_region_rm_complete() 107 if (i->start >= start && i->last <= last) { in shm_region_rm_complete() 182 abi_ulong host_start, host_last, last; in target_mprotect() local 202 last = start + len - 1; in target_mprotect() 204 host_last = ROUND_UP(last, host_page_size) - 1; in target_mprotect() [all …]
|
| /openbmc/u-boot/drivers/watchdog/ |
| H A D | tangier_wdt.c | 30 static unsigned long last; in hw_watchdog_reset() local 39 if (last > now) in hw_watchdog_reset() 40 last = 0; in hw_watchdog_reset() 42 if (unlikely((now - last) > (WDT_PRETIMEOUT / 2) * 1000000)) { in hw_watchdog_reset() 43 last = now; in hw_watchdog_reset()
|
| /openbmc/qemu/util/ |
| H A D | hbitmap.c | 384 static uint64_t hb_count_between(HBitmap *hb, uint64_t start, uint64_t last) in hb_count_between() argument 388 uint64_t end = last + 1; in hb_count_between() 414 static inline bool hb_set_elem(unsigned long *elem, uint64_t start, uint64_t last) in hb_set_elem() argument 419 assert((last >> BITS_PER_LEVEL) == (start >> BITS_PER_LEVEL)); in hb_set_elem() 420 assert(start <= last); in hb_set_elem() 422 mask = 2UL << (last & (BITS_PER_LONG - 1)); in hb_set_elem() 432 uint64_t last) in hb_set_between() argument 435 size_t lastpos = last >> BITS_PER_LEVEL; in hb_set_between() 453 changed |= hb_set_elem(&hb->levels[level][i], start, last); in hb_set_between() 468 uint64_t last = start + count - 1; in hbitmap_set() local [all …]
|
| H A D | interval-tree.c | 655 uint64_t max = node->last; in interval_tree_compute_max() 714 uint64_t start = node->start, last = node->last; in interval_tree_insert() local 722 if (parent->subtree_last < last) { in interval_tree_insert() 723 parent->subtree_last = last; in interval_tree_insert() 733 node->subtree_last = last; in interval_tree_insert() 755 uint64_t last) in interval_tree_subtree_search() argument 779 if (node->start <= last) { /* Cond1 */ in interval_tree_subtree_search() 780 if (start <= node->last) { /* Cond2 */ in interval_tree_subtree_search() 796 uint64_t start, uint64_t last) in interval_tree_iter_first() argument 823 if (leftmost->start > last) { in interval_tree_iter_first() [all …]
|
| /openbmc/u-boot/post/ |
| H A D | post.c | 174 int last; in post_get_env_flags() local 184 last = 0; in post_get_env_flags() 186 while (!last) { in post_get_env_flags() 195 last = 1; in post_get_env_flags() 301 unsigned int last; in post_run() local 306 if (post_bootmode_get(&last) & POST_POWERTEST) { in post_run() 307 if (last & POST_FAIL_SAVE) { in post_run() 308 last &= ~POST_FAIL_SAVE; in post_run() 311 if (last < post_list_size && in post_run() 312 (flags & test_flags[last] & POST_ALWAYS) && in post_run() [all …]
|
| /openbmc/u-boot/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()
|
| /openbmc/qemu/block/ |
| H A D | qed-cluster.c | 37 uint64_t last = table->offsets[index]; in qed_count_contiguous_clusters() local 40 *offset = last; in qed_count_contiguous_clusters() 43 if (qed_offset_is_unalloc_cluster(last)) { in qed_count_contiguous_clusters() 48 } else if (qed_offset_is_zero_cluster(last)) { in qed_count_contiguous_clusters() 55 if (table->offsets[i] != last + s->header.cluster_size) { in qed_count_contiguous_clusters() 58 last = table->offsets[i]; in qed_count_contiguous_clusters()
|
| /openbmc/u-boot/arch/arm/cpu/armv7/sunxi/ |
| H A D | timer.c | 84 ulong now, last = read_timer(); in __udelay() local 88 if (now > last) /* normal (non rollover) */ in __udelay() 89 tmo -= now - last; in __udelay() 91 tmo -= TIMER_LOAD_VAL - last + now; in __udelay() 92 last = now; in __udelay()
|
| /openbmc/u-boot/arch/nds32/cpu/n1213/ag101/ |
| H A D | timer.c | 155 unsigned long now, last = readl(&tmr->timer3_counter); in __udelay() local 160 if (now > last) /* count down timer overflow */ in __udelay() 161 tmo -= TIMER_LOAD_VAL + last - now; in __udelay() 163 tmo -= last - now; in __udelay() 164 last = now; in __udelay()
|
| /openbmc/qemu/tests/unit/ |
| H A D | test-interval-tree.c | 15 static void rand_interval(IntervalTreeNode *n, uint64_t start, uint64_t last) in rand_interval() argument 19 if (last - start > INT32_MAX) { in rand_interval() 22 l_max = last - start; in rand_interval() 28 n->last = start + l_ofs; in rand_interval() 42 nodes[0].last = 1; in test_find_one_point() 66 nodes[0].last = 1; in test_find_two_point() 91 nodes[0].last = 8; in test_find_one_range() 116 nodes[0].last = 190; in test_find_one_range_many()
|
| /openbmc/phosphor-webui/app/common/styles/elements/ |
| H A D | paginate.scss | 45 .pagination li:last-of-type span, 47 .pagination li:nth-last-of-type(2) span { 55 .pagination li:last-child a::after, 57 .pagination li:nth-last-of-type(2) a::after { 87 .pagination li:last-child { 108 .pagination li:last-of-type, 110 .pagination li:nth-last-of-type(2){ 125 .pagination li:last-child {
|
| /openbmc/qemu/include/qemu/ |
| H A D | interval-tree.h | 39 uint64_t last; /* Last location _in_ interval */ member 84 uint64_t start, uint64_t last); 97 uint64_t start, uint64_t last);
|
| /openbmc/phosphor-logging/test/openpower-pels/ |
| H A D | real_pel_test.cpp | 550 auto& last = pel.optionalSections().back(); in TEST_F() local 551 EXPECT_EQ(last->header().id, 0x5544); // "UD" in TEST_F() 555 last->flatten(stream); in TEST_F()
|
| /openbmc/phosphor-webui/app/common/styles/base/ |
| H A D | foundation.scss | 594 .input-group > :last-child > * { 617 .input-group-label:last-child { 822 .column:last-child:not(:first-child), .columns:last-child:not(:first-child) { 824 .column.end:last-child:last-child, .end.columns:last-child:last-child { 1003 .small-up-1 > .column:last-child, .small-up-1 > .columns:last-child { 1013 .small-up-2 > .column:last-child, .small-up-2 > .columns:last-child { 1023 .small-up-3 > .column:last-child, .small-up-3 > .columns:last-child { 1033 .small-up-4 > .column:last-child, .small-up-4 > .columns:last-child { 1043 .small-up-5 > .column:last-child, .small-up-5 > .columns:last-child { 1053 .small-up-6 > .column:last-child, .small-up-6 > .columns:last-child { [all …]
|
| /openbmc/qemu/include/exec/ |
| H A D | translation-block.h | 173 tb_page_addr_t next = tb->itree.last & TARGET_PAGE_MASK; in tb_page_addr1() 193 tb->itree.last = addr; in tb_set_page_addr0() 204 tb->itree.last = addr; in tb_set_page_addr1() 212 tb_page_addr_t last);
|
| /openbmc/u-boot/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 …]
|
| /openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/templatetags/ |
| H A D | projecttags.py | 186 last = list(file_list)[-1].file_name 187 if not filter and last not in result: 188 result.append(last) 196 first,last= slicevar.partition(':')[::2] 198 return strvar[:int(last)] 199 elif last=='': 202 return strvar[int(first):int(last)]
|
| /openbmc/qemu/libdecnumber/dpd/ |
| H A D | decimal64.c | 747 Unit *last=uout; /* will be unit containing msd */ in decDigitsFromDPD() local 776 last=uout; /* record most significant unit */ in decDigitsFromDPD() 785 if (cut==DECDPUN) {*uout=out; if (out) {last=uout; out=0;} uout++; cut=0;} in decDigitsFromDPD() 788 if (cut==DECDPUN) {*uout=out; if (out) {last=uout; out=0;} uout++; cut=0;} in decDigitsFromDPD() 790 if (cut==DECDPUN) {*uout=out; if (out) {last=uout; out=0;} uout++; cut=0;} in decDigitsFromDPD() 800 if (cut==DECDPUN) {*uout=out; if (out) {last=uout; out=0;} uout++; cut=0;} in decDigitsFromDPD() 812 if (cut==DECDPUN) {*uout=out; if (out) {last=uout; out=0;} uout++; cut=0;} in decDigitsFromDPD() 818 if (cut==DECDPUN) {*uout=out; if (out) {last=uout; out=0;} uout++; cut=0;} in decDigitsFromDPD() 822 if (out) last=uout; /* and note if non-zero */ 829 dn->digits=(last-dn->lsu)*DECDPUN+1; /* floor of digits, plus */ [all …]
|
| /openbmc/qemu/bsd-user/ |
| H A D | strace.c | 35 get_comma(int last) in get_comma() argument 37 return (last) ? "" : ","; in get_comma() 45 print_raw_param(const char *fmt, abi_long param, int last) in print_raw_param() argument 49 (void)snprintf(format, sizeof(format), "%s%s", fmt, get_comma(last)); in print_raw_param() 262 print_signal(abi_ulong arg, int last) in print_signal() argument 322 print_raw_param("%ld", arg, last); in print_signal() 325 gemu_log("%s%s", signal_name, get_comma(last)); in print_signal()
|
| /openbmc/u-boot/drivers/usb/gadget/ |
| H A D | aspeed_usbtty.c | 195 endpoint->last = length; in udc_endpoint_write() 274 u32 last; in aspeed_udc_ep0_tx() local 291 last = min((int)(urb->actual_length - endpoint->sent), in aspeed_udc_ep0_tx() 294 if (last) { in aspeed_udc_ep0_tx() 308 endpoint->sent, endpoint->tx_packetSize, last); in aspeed_udc_ep0_tx() 313 ast_udc_write(EP0_TX_LEN(last), AST_VHUB_EP0_CTRL); in aspeed_udc_ep0_tx() 314 ast_udc_write(EP0_TX_LEN(last) | EP0_TX_BUFF_RDY, AST_VHUB_EP0_CTRL); in aspeed_udc_ep0_tx() 317 endpoint->last = last; in aspeed_udc_ep0_tx() 345 endpoint->sent += endpoint->last; in aspeed_udc_ep0_in() 358 endpoint->last != endpoint->tx_packetSize)) { in aspeed_udc_ep0_in()
|
| /openbmc/u-boot/arch/powerpc/lib/ |
| H A D | extable.c | 33 const struct exception_table_entry *last, in search_one_table() argument 37 while (first <= last) { in search_one_table()
|
| /openbmc/phosphor-power/ |
| H A D | json_parser_utils.cpp | 87 const char* last = strValue.data() + strValue.size(); in parseDouble() local 89 auto [ptr, ec] = std::from_chars(first, last, value); in parseDouble() 90 if ((ptr == last) && (ec == std::errc())) in parseDouble() 150 const char* last = strValue.data() + strValue.size(); in parseInteger() local 152 auto [ptr, ec] = std::from_chars(first, last, value); in parseInteger() 153 if ((ptr == last) && (ec == std::errc())) in parseInteger()
|
| /openbmc/u-boot/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 …]
|