Home
last modified time | relevance | path

Searched refs:word (Results 1 – 25 of 29) sorted by relevance

12

/device/google/contexthub/firmware/os/core/
DfloatRt.c61 uint32_t e, word = *(const uint32_t*)&f; in floatToUint64() local
66 if (word & BIT_SIGN) in floatToUint64()
70 if (word < (EXP_ADJUST << EXP_SHIFT)) in floatToUint64()
74 if (word >= (EXP_ADJUST + 64) << EXP_SHIFT) in floatToUint64()
78 ret = (word & ((1 << MANTISSA_BITS) - 1)) | (1 << MANTISSA_BITS); in floatToUint64()
79 e = ((word >> EXP_SHIFT) - EXP_ADJUST); in floatToUint64()
92 uint32_t e, word = *(const uint32_t*)&f; in floatToInt64() local
93 bool neg = (word & BIT_SIGN); in floatToInt64()
98 word &=~ BIT_SIGN; in floatToInt64()
101 if (word < (EXP_ADJUST << EXP_SHIFT)) in floatToInt64()
[all …]
/device/google/contexthub/firmware/os/cpu/cortexm4/
Datomic.c37 uint32_t atomicAdd32bits(volatile uint32_t *word, uint32_t addend) in atomicAdd32bits() argument
46 :"=r"(prevVal), "=r"(storeFailed), "=r"(tmp), "=r"(addend), "=r"(word) in atomicAdd32bits()
47 :"3"(addend), "4"(word) in atomicAdd32bits()
72 uint32_t atomicXchg32bits(volatile uint32_t *word, uint32_t newVal) in atomicXchg32bits() argument
80 :"=r"(prevVal), "=r"(storeFailed), "=r"(newVal), "=r"(word) in atomicXchg32bits()
81 :"2"(newVal), "3"(word) in atomicXchg32bits()
115 bool atomicCmpXchg32bits(volatile uint32_t *word, uint32_t prevVal, uint32_t newVal) in atomicCmpXchg32bits() argument
122 :"=r"(currVal), "=r"(word) in atomicCmpXchg32bits()
123 :"1"(word) in atomicCmpXchg32bits()
132 :"=r"(storeFailed), "=r"(newVal), "=r"(word) in atomicCmpXchg32bits()
[all …]
/device/google/bonito/
Dutils.mk14 define match-word
29 define find-word-in-list
46 define match-word-in-list
49 $(call match-word,$(call find-word-in-list,$(1),$(2)),$(strip $(1))), \
68 $(if $(call match-word-in-list,$(1),$(text)),true,) \
85 $(call match-word,$(1),$(TARGET_BOARD_PLATFORM))
91 $(if $(call match-word,$(1),$(TARGET_BOARD_PLATFORM)),,true)
97 $(call match-word-in-list,$(TARGET_BOARD_PLATFORM),$(1))
104 $(call match-word-in-list,$(TARGET_BOARD_PLATFORM),\
173 $(call match-word-in-list,$(PLATFORM_SDK_VERSION),$($(1)_SDK_VERSIONS)), \
[all …]
/device/google/crosshatch/
Dutils.mk14 define match-word
29 define find-word-in-list
46 define match-word-in-list
49 $(call match-word,$(call find-word-in-list,$(1),$(2)),$(strip $(1))), \
68 $(if $(call match-word-in-list,$(1),$(text)),true,) \
85 $(call match-word,$(1),$(TARGET_BOARD_PLATFORM))
91 $(if $(call match-word,$(1),$(TARGET_BOARD_PLATFORM)),,true)
97 $(call match-word-in-list,$(TARGET_BOARD_PLATFORM),$(1))
104 $(call match-word-in-list,$(TARGET_BOARD_PLATFORM),\
173 $(call match-word-in-list,$(PLATFORM_SDK_VERSION),$($(1)_SDK_VERSIONS)), \
[all …]
/device/google/coral/
Dutils.mk16 define match-word
31 define find-word-in-list
48 define match-word-in-list
51 $(call match-word,$(call find-word-in-list,$(1),$(2)),$(strip $(1))), \
70 $(if $(call match-word-in-list,$(1),$(text)),true,) \
87 $(call match-word,$(1),$(TARGET_BOARD_PLATFORM))
93 $(if $(call match-word,$(1),$(TARGET_BOARD_PLATFORM)),,true)
99 $(call match-word-in-list,$(TARGET_BOARD_PLATFORM),$(1))
106 $(call match-word-in-list,$(TARGET_BOARD_PLATFORM),\
175 $(call match-word-in-list,$(PLATFORM_SDK_VERSION),$($(1)_SDK_VERSIONS)), \
[all …]
/device/google/wahoo/
Dutils.mk14 define match-word
29 define find-word-in-list
46 define match-word-in-list
49 $(call match-word,$(call find-word-in-list,$(1),$(2)),$(strip $(1))), \
68 $(if $(call match-word-in-list,$(1),$(text)),true,) \
85 $(call match-word,$(1),$(TARGET_BOARD_PLATFORM))
91 $(if $(call match-word,$(1),$(TARGET_BOARD_PLATFORM)),,true)
97 $(call match-word-in-list,$(TARGET_BOARD_PLATFORM),$(1))
104 $(call match-word-in-list,$(TARGET_BOARD_PLATFORM),\
173 $(call match-word-in-list,$(PLATFORM_SDK_VERSION),$($(1)_SDK_VERSIONS)), \
[all …]
/device/google/contexthub/firmware/os/inc/
Datomic.h29 uint32_t atomicXchg32bits(volatile uint32_t *word, uint32_t newVal);
31 bool atomicCmpXchg32bits(volatile uint32_t *word, uint32_t prevVal, uint32_t newVal);
35 uint32_t atomicAdd32bits(volatile uint32_t *word, uint32_t addend);
48 static inline uint32_t atomicRead32bits(volatile uint32_t *word) in atomicRead32bits() argument
51 return *word; in atomicRead32bits()
60 static inline void atomicWrite32bits(volatile uint32_t *word, uint32_t val) in atomicWrite32bits() argument
62 *word = val; in atomicWrite32bits()
/device/google/contexthub/firmware/lib/libc/
Dbcopy.c43 typedef int word; /* "word" used for optimal copy speed */ typedef
45 #define wsize sizeof(word)
104 TLOOP(*(word *)dst = *(word *)src; src += wsize; dst += wsize); in memcpy()
125 TLOOP(src -= wsize; dst -= wsize; *(word *)dst = *(word *)src); in memcpy()
/device/google/contexthub/lib/nanohub/
Dsoftcrc.c45 uint32_t word; in soft_crc32() local
56 for (i *= 4, word = 0; i < size; i++) in soft_crc32()
57 word |= (*data8++) << ((i & 0x3) * 8); in soft_crc32()
58 crc = crcOneWord(crc, word, 8); in soft_crc32()
/device/google/contexthub/firmware/os/cpu/x86/
Datomic.c58 uint32_t atomicXchg32bits(volatile uint32_t *word, uint32_t newVal) in atomicXchg32bits() argument
60 return __atomic_exchange_n(word, newVal, __ATOMIC_ACQ_REL); in atomicXchg32bits()
92 bool atomicCmpXchg32bits(volatile uint32_t *word, uint32_t prevVal, uint32_t newVal) in atomicCmpXchg32bits() argument
94 return __sync_bool_compare_and_swap (word, prevVal, newVal); in atomicCmpXchg32bits()
/device/google/contexthub/util/stm32_flash/
Dstm32f4_crc.c48 uint32_t word; in stm32f4_crc32() local
59 for (i*=4, word=0; i<length; i++) in stm32f4_crc32()
60 word |= buffer[i] << ((i & 0x3) * 8); in stm32f4_crc32()
61 crc = crc32_word(crc, word); in stm32f4_crc32()
/device/google/contexthub/firmware/os/platform/stm32/
Dcrc.c72 uint32_t word = 0; in crc32() local
73 memcpy(&word, words + numWords, leftoverBytes); in crc32()
77 mCrcRegs->DR = word; in crc32()
/device/google/crosshatch/crosshatch/
DAndroidBoard.mk19 $(if $(filter persist/%,$(call word-colon,2,$(pair))),\
20 $(call word-colon,1,$(pair)):$(PRODUCT_OUT)/$(call word-colon,2,$(pair))))
/device/google/bonito/bonito/
DAndroidBoard.mk19 $(if $(filter persist/%,$(call word-colon,2,$(pair))),\
20 $(call word-colon,1,$(pair)):$(PRODUCT_OUT)/$(call word-colon,2,$(pair))))
/device/google/bonito/sargo/
DAndroidBoard.mk19 $(if $(filter persist/%,$(call word-colon,2,$(pair))),\
20 $(call word-colon,1,$(pair)):$(PRODUCT_OUT)/$(call word-colon,2,$(pair))))
/device/google/crosshatch/blueline/
DAndroidBoard.mk19 $(if $(filter persist/%,$(call word-colon,2,$(pair))),\
20 $(call word-colon,1,$(pair)):$(PRODUCT_OUT)/$(call word-colon,2,$(pair))))
/device/google/contexthub/firmware/os/cpu/cortexm4/inc/cpu/
Datomic.h20 static inline bool atomicCmpXchgPtr(volatile uintptr_t *word, uintptr_t prevVal, uintptr_t newVal) { in atomicCmpXchgPtr() argument
22 return atomicCmpXchg32bits((volatile uint32_t *) word, (uint32_t) prevVal, (uint32_t) newVal); in atomicCmpXchgPtr()
/device/google/contexthub/util/nanotool/
Dnanopacket.cpp55 uint32_t word = 0; in Crc32() local
58 word |= buffer[i] << ((i & 0x3) * 8); in Crc32()
61 crc = Crc32Word(crc, word, 8); in Crc32()
/device/google/contexthub/firmware/lib/libm/
Dfdlibm.h344 __uint32_t word; member
353 (i) = gf_u.word; \
361 sf_u.word = (i); \
/device/generic/goldfish-opengl/
Djson-dump.mk7 …$(foreach obj,$3,$(eval _args+=$(obj))$(if $(word $2,$(_args)),@printf "%s" $(subst ",\",$(_args))…
/device/generic/goldfish/tools/
Dmk_combined_img.py17 word = i.read(4)
18 if magic == int(codecs.encode(word[::-1], 'hex'), 16):
/device/ti/beagle_x15/
Ddevice.mk54 KERNEL_MAJ := $(word 1, $(subst ., ,$(TARGET_KERNEL_USE)))
55 KERNEL_MIN := $(word 2, $(subst ., ,$(TARGET_KERNEL_USE)))
/device/google/contexthub/firmware/external/freebsd/lib/msun/src/
Dmath_private.h174 unsigned int word; member
183 (i) = gf_u.word; \
191 sf_u.word = (i); \
/device/google/cuttlefish/host/frontend/gcastv2/signaling_server/
DReadme.md18 care, prefixing the field names with an applciation specific word is strongly
/device/linaro/hikey/hifi/xaf/hifi-dpf/ipc/xt-shmem/hikey/
Dint_vector.S37 .word XT_CP0_SA, XT_CP1_SA, XT_CP2_SA, XT_CP3_SA
38 .word XT_CP4_SA, XT_CP5_SA, XT_CP6_SA, XT_CP7_SA

12