| /rk3399_ARM-atf/lib/compiler-rt/builtins/ |
| H A D | udivmoddi4.c | 38 if (n.s.high == 0) { in __udivmoddi4() 39 if (d.s.high == 0) { in __udivmoddi4() 44 *rem = n.s.low % d.s.low; in __udivmoddi4() 45 return n.s.low / d.s.low; in __udivmoddi4() 51 *rem = n.s.low; in __udivmoddi4() 55 if (d.s.low == 0) { in __udivmoddi4() 56 if (d.s.high == 0) { in __udivmoddi4() 61 *rem = n.s.high % d.s.low; in __udivmoddi4() 62 return n.s.high / d.s.low; in __udivmoddi4() 65 if (n.s.low == 0) { in __udivmoddi4() [all …]
|
| H A D | lshrdi3.c | 25 result.s.high = 0; in __lshrdi3() 26 result.s.low = input.s.high >> (b - bits_in_word); in __lshrdi3() 30 result.s.high = input.s.high >> b; in __lshrdi3() 31 result.s.low = (input.s.high << (bits_in_word - b)) | (input.s.low >> b); in __lshrdi3()
|
| H A D | int_div_impl.inc | 15 // Adapted from Figure 3-40 of The PowerPC Compiler Writer's Guide 36 const fixint_t s = (fixint_t)(d - r - 1) >> (N - 1); 37 carry = s & 1; 38 r -= d & s; 65 const fixint_t s = (fixint_t)(d - r - 1) >> (N - 1); 66 carry = s & 1; 67 r -= d & s; 87 fixint_t s = b >> N; // s = b < 0 ? -1 : 0 88 fixuint_t b_u = (fixuint_t)(b ^ s) + (-s); // negate if s == -1 89 s = a >> N; // s = a < 0 ? -1 : 0 [all …]
|
| /rk3399_ARM-atf/lib/libc/ |
| H A D | strtoul.c | 50 const char *s; in strtoul() local 59 s = nptr; in strtoul() 61 c = *s++; in strtoul() 65 c = *s++; in strtoul() 69 c = *s++; in strtoul() 72 c == '0' && (*s == 'x' || *s == 'X') && in strtoul() 73 ((s[1] >= '0' && s[1] <= '9') || in strtoul() 74 (s[1] >= 'A' && s[1] <= 'F') || in strtoul() 75 (s[1] >= 'a' && s[1] <= 'f'))) { in strtoul() 76 c = s[1]; in strtoul() [all …]
|
| H A D | strtoull.c | 51 const char *s; in strtoull() local 60 s = nptr; in strtoull() 62 c = *s++; in strtoull() 66 c = *s++; in strtoull() 70 c = *s++; in strtoull() 73 c == '0' && (*s == 'x' || *s == 'X') && in strtoull() 74 ((s[1] >= '0' && s[1] <= '9') || in strtoull() 75 (s[1] >= 'A' && s[1] <= 'F') || in strtoull() 76 (s[1] >= 'a' && s[1] <= 'f'))) { in strtoull() 77 c = s[1]; in strtoull() [all …]
|
| H A D | strtol.c | 50 const char *s; in strtol() local 62 s = nptr; in strtol() 64 c = *s++; in strtol() 68 c = *s++; in strtol() 72 c = *s++; in strtol() 75 c == '0' && (*s == 'x' || *s == 'X') && in strtol() 76 ((s[1] >= '0' && s[1] <= '9') || in strtol() 77 (s[1] >= 'A' && s[1] <= 'F') || in strtol() 78 (s[1] >= 'a' && s[1] <= 'f'))) { in strtol() 79 c = s[1]; in strtol() [all …]
|
| H A D | strtoll.c | 50 const char *s; in strtoll() local 62 s = nptr; in strtoll() 64 c = *s++; in strtoll() 68 c = *s++; in strtoll() 72 c = *s++; in strtoll() 75 c == '0' && (*s == 'x' || *s == 'X') && in strtoll() 76 ((s[1] >= '0' && s[1] <= '9') || in strtoll() 77 (s[1] >= 'A' && s[1] <= 'F') || in strtoll() 78 (s[1] >= 'a' && s[1] <= 'f'))) { in strtoll() 79 c = s[1]; in strtoll() [all …]
|
| H A D | strtok.c | 40 strtok_r(char *s, const char *delim, char **last) in strtok_r() argument 45 if (s == NULL && (s = *last) == NULL) in strtok_r() 52 c = *s++; in strtok_r() 62 tok = s - 1; in strtok_r() 69 c = *s++; in strtok_r() 74 s = NULL; in strtok_r() 76 s[-1] = '\0'; in strtok_r() 77 *last = s; in strtok_r()
|
| H A D | snprintf.c | 32 static void string_print(char **s, size_t n, size_t *chars_printed, in string_print() argument 36 CHECK_AND_PUT_CHAR(*s, n, *chars_printed, *str); in string_print() 41 static void unsigned_num_print(char **s, size_t n, size_t *chars_printed, in unsigned_num_print() argument 72 CHECK_AND_PUT_CHAR(*s, n, *chars_printed, padc); in unsigned_num_print() 75 CHECK_AND_PUT_CHAR(*s, n, *chars_printed, num_buf[i - 1]); in unsigned_num_print() 78 CHECK_AND_PUT_CHAR(*s, n, *chars_printed, padc); in unsigned_num_print() 109 int vsnprintf(char *s, size_t n, const char *fmt, va_list args) in vsnprintf() argument 125 *s = '\0'; in vsnprintf() 145 CHECK_AND_PUT_CHAR(s, n, chars_printed, '%'); in vsnprintf() 175 CHECK_AND_PUT_CHAR(s, n, chars_printed, in vsnprintf() [all …]
|
| H A D | memcpy_s.c | 14 unsigned int *s = (unsigned int *)src; in memcpy_s() local 44 if (d > s) { in memcpy_s() 45 if ((d) < (s + ssize)) { in memcpy_s() 50 if (s > d) { in memcpy_s() 51 if ((s) < (d + dsize)) { in memcpy_s()
|
| H A D | memchr.c | 12 const unsigned char *s = src; in memchr() local 15 if (*s == (unsigned char)c) in memchr() 16 return (void *) s; in memchr() 17 s++; in memchr()
|
| H A D | puts.c | 9 int puts(const char *s) in puts() argument 13 while (*s != '\0') { in puts() 14 if (putchar(*s) == EOF) in puts() 16 s++; in puts()
|
| H A D | memrchr.c | 13 const unsigned char *s = src + (len - 1); in memrchr() local 16 if (*s == (unsigned char)c) { in memrchr() 17 return (void*) s; in memrchr() 20 s--; in memrchr()
|
| H A D | strlen.c | 9 size_t strlen(const char *s) in strlen() argument 11 const char *cursor = s; in strlen() 16 return cursor - s; in strlen()
|
| /rk3399_ARM-atf/tools/nxp/create_pbl/ |
| H A D | Makefile | 34 $(s)echo " LD $@" 36 $(s)echo 37 $(s)echo "Built $@ successfully" 38 $(s)echo 41 $(s)echo " LD $@" 43 $(s)echo 44 $(s)echo "Built $@ successfully" 45 $(s)echo 48 $(s)echo " CC $<"
|
| /rk3399_ARM-atf/lib/romlib/ |
| H A D | Makefile | 41 WRAPPER_OBJS = $(WRAPPER_DIR)/jmpvar.o $(WRAPPER_SOURCES:.s=.o) 60 $(filter-out %/jmptbl.o,$(OBJS)): $(BUILD_DIR)/%.o: %.s | $$(@D)/ 61 $(s)echo " AS $@" 64 $(BUILD_DIR)/jmptbl.o: $(BUILD_DIR)/jmptbl.s | $$(@D)/ 65 $(s)echo " AS $@" 69 $(s)echo " PP $@" 73 $(s)echo " LD $@" 77 $(s)echo " BIN $@" 80 $(WRAPPER_DIR)/jmpvar.s: $(BUILD_DIR)/romlib.elf | $$(@D)/ 81 $(s)echo " VAR $@" [all …]
|
| /rk3399_ARM-atf/include/common/ |
| H A D | ep_info.h | 23 #define sec_state_is_valid(s) (((s) == SECURE) || \ argument 24 ((s) == NON_SECURE) || \ 25 ((s) == REALM)) 27 #define sec_state_is_valid(s) (((s) == SECURE) || ((s) == NON_SECURE)) argument
|
| /rk3399_ARM-atf/ |
| H A D | Makefile | 982 $(s)echo "Building ${PLAT}" 1074 INITRD_SIZE ?= $(shell printf "0x%x\n" $$(stat -Lc %s $(INITRD_PATH))) 1078 $(s)echo " INITRD $(HW_CONFIG)" 1091 $(s)echo 1092 $(s)echo "Built SP Images successfully" 1093 $(s)echo 1106 $(s)echo " CLEAN" 1116 $(s)echo " REALCLEAN" 1127 $(s)echo " CHECKING STYLE" 1144 $(s)echo " CHECKING STYLE" [all …]
|
| H A D | .versionrc.cjs | 87 const _ver = contents.match(/version\s=.*"(\d+?)\.(\d+?)\.(\d+?)/); 95 return contents.replace(/^(version\s=\s")((\d).?)*$/m, _ver) 107 const _ver = contents.match(/version\s=.*"(\d+?)\.(\d+?)\.(\d+?)/); 116 contents = contents.replace(/^(version\s=\s")((\d).?)*$/m, _ver) 117 contents = contents.replace(/^(release\s=\s")((\d).?)*$/m, _rel) 130 const major = contents.match(/^VERSION_MAJOR\s*:=\s*(\d+?)$/m)[1]; 131 const minor = contents.match(/^VERSION_MINOR\s*:=\s*(\d+?)$/m)[1]; 132 const patch = contents.match(/^VERSION_PATCH\s*:=\s*(\d+?)$/m)[1]; 142 contents = contents.replace(/^(VERSION_MAJOR\s*:=\s*)(\d+?)$/m, `$1${major}`); 143 contents = contents.replace(/^(VERSION_MINOR\s*:=\s*)(\d+?)$/m, `$1${minor}`); [all …]
|
| /rk3399_ARM-atf/plat/mediatek/mt8192/include/ |
| H A D | plat_pm.h | 27 #define IS_CLUSTER_OFF_STATE(s) \ argument 28 is_local_state_off(s->pwr_domain_state[MTK_AFFLVL_CLUSTER]) 29 #define IS_MCUSYS_OFF_STATE(s) \ argument 30 is_local_state_off(s->pwr_domain_state[MTK_AFFLVL_MCUSYS]) 31 #define IS_SYSTEM_SUSPEND_STATE(s) \ argument 32 is_local_state_off(s->pwr_domain_state[MTK_AFFLVL_SYSTEM])
|
| /rk3399_ARM-atf/plat/mediatek/mt8195/include/ |
| H A D | plat_pm.h | 27 #define IS_CLUSTER_OFF_STATE(s) \ argument 28 is_local_state_off(s->pwr_domain_state[MTK_AFFLVL_CLUSTER]) 29 #define IS_MCUSYS_OFF_STATE(s) \ argument 30 is_local_state_off(s->pwr_domain_state[MTK_AFFLVL_MCUSYS]) 31 #define IS_SYSTEM_SUSPEND_STATE(s) \ argument 32 is_local_state_off(s->pwr_domain_state[MTK_AFFLVL_SYSTEM])
|
| /rk3399_ARM-atf/services/spd/trusty/ |
| H A D | generic-arm64-smcall.c | 43 struct dputc_state *s = &dputc_state[!secure]; in trusty_dputc() local 48 s->linebuf[s->l++] = ch; in trusty_dputc() 49 if (s->l == sizeof(s->linebuf) || ch == '\n') { in trusty_dputc() 54 for (i = 0; i < s->l; i++) { in trusty_dputc() 55 putchar(s->linebuf[i]); in trusty_dputc() 60 s->l = 0; in trusty_dputc()
|
| /rk3399_ARM-atf/tools/amlogic/ |
| H A D | Makefile | 30 $(s)echo " HOSTLD $@" 32 $(s)echo 33 $(s)echo "Built $@ successfully" 34 $(s)echo 37 $(s)echo " HOSTCC $<"
|
| /rk3399_ARM-atf/tools/marvell/doimage/ |
| H A D | Makefile | 38 $(s)echo " HOSTLD $@" 40 $(s)echo 41 $(s)echo "Built $@ successfully" 42 $(s)echo 45 $(s)echo " HOSTCC $<"
|
| /rk3399_ARM-atf/tools/sptool/ |
| H A D | Makefile | 31 $(s)echo " HOSTLD $@" 33 $(s)echo 34 $(s)echo "Built $@ successfully" 35 $(s)echo 38 $(s)echo " HOSTCC $<"
|