/device/google/contexthub/firmware/os/cpu/cortexm4/ |
D | atomic.c | 19 uint32_t atomicAddByte(volatile uint8_t *byte, uint32_t addend) in atomicAddByte() argument 28 :"=r"(prevVal), "=r"(storeFailed), "=r"(tmp), "=r"(addend), "=r"(byte) in atomicAddByte() 29 :"3"(addend), "4"(byte) in atomicAddByte() 55 uint32_t atomicXchgByte(volatile uint8_t *byte, uint32_t newVal) in atomicXchgByte() argument 63 :"=r"(prevVal), "=r"(storeFailed), "=r"(newVal), "=r"(byte) in atomicXchgByte() 64 :"2"(newVal), "3"(byte) in atomicXchgByte() 89 bool atomicCmpXchgByte(volatile uint8_t *byte, uint32_t prevVal, uint32_t newVal) in atomicCmpXchgByte() argument 96 :"=r"(currVal), "=r"(byte) in atomicCmpXchgByte() 97 :"1"(byte) in atomicCmpXchgByte() 106 :"=r"(storeFailed), "=r"(newVal), "=r"(byte) in atomicCmpXchgByte() [all …]
|
/device/google/contexthub/firmware/os/inc/ |
D | atomic.h | 28 uint32_t atomicXchgByte(volatile uint8_t *byte, uint32_t newVal); 30 bool atomicCmpXchgByte(volatile uint8_t *byte, uint32_t prevVal, uint32_t newVal); 34 uint32_t atomicAddByte(volatile uint8_t *byte, uint32_t addend); 42 static inline uint32_t atomicReadByte(volatile uint8_t *byte) in atomicReadByte() argument 45 return *byte; in atomicReadByte() 54 static inline void atomicWriteByte(volatile uint8_t *byte, uint32_t val) in atomicWriteByte() argument 56 *byte = val; in atomicWriteByte()
|
D | i2c.h | 49 int i2cSlaveTxPreamble(uint32_t busId, uint8_t byte,
|
D | syscallDo.h | 299 static inline int eOsI2cSlaveTxPreamble(uint32_t busId, uint8_t byte, uint32_t cbkTid, void *cookie) in eOsI2cSlaveTxPreamble() argument 301 …LL_OS_DRIVERS, SYSCALL_OS_DRV_I2C_SLAVE, SYSCALL_OS_DRV_I2CS_TX_PRE), busId, byte, cbkTid, cookie); in eOsI2cSlaveTxPreamble()
|
/device/google/contexthub/firmware/app/chre/common/ |
D | chre10_app.c | 110 struct chreSensorByteData byte; in processSingleAxisData() local 112 initDataHeader(&byte.header, src->referenceTime, sensorHandle); in processSingleAxisData() 113 byte.readings[0].timestampDelta = 0; in processSingleAxisData() 117 byte.header.baseTimestamp += src->samples[i].deltaTime; in processSingleAxisData() 118 byte.readings[0].isNear = src->samples[i].fdata == 0.0f; in processSingleAxisData() 119 byte.readings[0].invalid = false; in processSingleAxisData() 120 byte.readings[0].padding0 = 0; in processSingleAxisData() 122 … nanoappHandleEvent(CHRE_INSTANCE_ID, CHRE_EVENT_SENSOR_DATA_EVENT_BASE | sensorType, &byte); in processSingleAxisData() 156 struct chreSensorByteData byte; in processEmbeddedData() local 158 initDataHeader(&byte.header, eOsSensorGetTime(), sensorHandle); in processEmbeddedData() [all …]
|
D | chre_app.c | 110 struct chreSensorByteData byte; in processSingleAxisData() local 112 initDataHeader(&byte.header, src->referenceTime, sensorHandle); in processSingleAxisData() 113 byte.readings[0].timestampDelta = 0; in processSingleAxisData() 117 byte.header.baseTimestamp += src->samples[i].deltaTime; in processSingleAxisData() 118 byte.readings[0].isNear = src->samples[i].fdata == 0.0f; in processSingleAxisData() 119 byte.readings[0].invalid = false; in processSingleAxisData() 120 byte.readings[0].padding0 = 0; in processSingleAxisData() 122 … nanoappHandleEvent(CHRE_INSTANCE_ID, CHRE_EVENT_SENSOR_DATA_EVENT_BASE | sensorType, &byte); in processSingleAxisData() 156 struct chreSensorByteData byte; in processEmbeddedData() local 158 initDataHeader(&byte.header, eOsSensorGetTime(), sensorHandle); in processEmbeddedData() [all …]
|
/device/generic/goldfish-opengl/android-emu/android/base/files/ |
D | Stream.cpp | 150 auto byte = uint8_t(num & 0x7f); in putPackedNum() local 153 byte |= 0x80; in putPackedNum() 155 putByte(byte); in putPackedNum() 161 uint8_t byte; in getPackedNum() local 164 byte = getByte(); in getPackedNum() 165 res |= uint64_t(byte & 0x7f) << (i++ * 7); in getPackedNum() 166 } while (byte & 0x80 && i < 10); in getPackedNum()
|
/device/google/contexthub/firmware/os/cpu/x86/ |
D | atomic.c | 41 uint32_t atomicXchgByte(volatile uint8_t *byte, uint32_t newVal) in atomicXchgByte() argument 43 return __atomic_exchange_n(byte, newVal, __ATOMIC_ACQ_REL); in atomicXchgByte() 75 bool atomicCmpXchgByte(volatile uint8_t *byte, uint32_t prevVal, uint32_t newVal) in atomicCmpXchgByte() argument 77 return __sync_bool_compare_and_swap (byte, prevVal, newVal); in atomicCmpXchgByte()
|
/device/google/contexthub/util/nanotool/ |
D | nanopacket_impl.h | 24 bool NanoPacket::DeserializeWord(T *destination, uint8_t byte) { in DeserializeWord() argument 25 *destination |= byte << (8 * parsing_progress_); in DeserializeWord()
|
D | nanopacket.h | 116 bool DeserializeWord(T *destination, uint8_t byte);
|
/device/google/contexthub/firmware/os/core/ |
D | bl.c | 522 uint32_t byte = blLoaderRxByte(); in blLoader() local 523 checksum ^= byte; in blLoader() 524 addr = (addr << 8) + byte; in blLoader() 564 uint32_t byte = blLoaderRxByte(); in blLoader() local 565 checksum ^= byte; in blLoader() 566 addr = (addr << 8) + byte; in blLoader() 588 uint32_t byte = blLoaderRxByte(); in blLoader() local 589 checksum ^= byte; in blLoader() 590 data[i] = byte; in blLoader() 633 uint32_t byte = blLoaderRxByte(); in blLoader() local [all …]
|
/device/generic/goldfish/network/wifi_forwarder/ |
D | frame.cpp | 65 FrameType frameTypeFromByte(uint8_t byte) { in frameTypeFromByte() argument 66 if (byte == static_cast<uint8_t>(FrameType::Ack)) { in frameTypeFromByte() 68 } else if (byte == static_cast<uint8_t>(FrameType::Data)) { in frameTypeFromByte()
|
D | frame.h | 46 FrameType frameTypeFromByte(uint8_t byte);
|
/device/google/contexthub/firmware/os/platform/native/ |
D | i2c.c | 62 int i2cSlaveTxPreamble(I2cBus busId, uint8_t byte, I2cCallbackF callback, void *cookie) in i2cSlaveTxPreamble() argument
|
/device/google/contexthub/util/nanoapp_sign/ |
D | nanoapp_sign.c | 87 uint8_t byte; in rand32_no_zero_bytes() local 99 if (!fread(&byte, 1, 1, urandom)) { in rand32_no_zero_bytes() 103 } while (!byte); in rand32_no_zero_bytes() 105 v = (v << 8) | byte; in rand32_no_zero_bytes()
|
/device/google/cuttlefish/host/frontend/gcastv2/https/ |
D | SSLSocket.cpp | 542 auto byte = md[i]; in isPeerCertificateValid() local 544 auto nibble = byte >> 4; in isPeerCertificateValid() 547 nibble = byte & 0x0f; in isPeerCertificateValid()
|
/device/google/muskie/ |
D | WCNSS_qcom_cfg.ini | 8 # Each byte of MAC address is represented in Hex format as XX 463 # 0 - Disable both magic pattern match and pattern byte match. 465 # 2 - Enable pattern byte match on all interfaces. 466 # 3 - Enable both magic patter and pattern byte match on all interfaces. 578 # Default Country Code is 2 bytes, 3rd byte is optional indoor or out door. 582 # Japan without optional byte, JP 583 # France without optional byte, FR
|
/device/google/contexthub/util/stm32_flash/ |
D | flash.c | 53 ssize_t write_byte(int fd, uint8_t byte) in write_byte() argument 58 ret = write(fd, &byte, 1); in write_byte()
|
/device/google/taimen/ |
D | WCNSS_qcom_cfg.ini | 8 # Each byte of MAC address is represented in Hex format as XX 463 # 0 - Disable both magic pattern match and pattern byte match. 465 # 2 - Enable pattern byte match on all interfaces. 466 # 3 - Enable both magic patter and pattern byte match on all interfaces. 578 # Default Country Code is 2 bytes, 3rd byte is optional indoor or out door. 582 # Japan without optional byte, JP 583 # France without optional byte, FR
|
/device/google/bonito/ |
D | WCNSS_qcom_cfg.ini | 8 # Each byte of MAC address is represented in Hex format as XX 443 # 0 - Disable both magic pattern match and pattern byte match. 445 # 2 - Enable pattern byte match on all interfaces. 446 # 3 - Enable both magic patter and pattern byte match on all interfaces. 595 # Default Country Code is 2 bytes, 3rd byte is optional indoor or out door. 599 # Japan without optional byte, JP 600 # France without optional byte, FR
|
/device/google/crosshatch/ |
D | WCNSS_qcom_cfg.ini | 8 # Each byte of MAC address is represented in Hex format as XX 443 # 0 - Disable both magic pattern match and pattern byte match. 445 # 2 - Enable pattern byte match on all interfaces. 446 # 3 - Enable both magic patter and pattern byte match on all interfaces. 595 # Default Country Code is 2 bytes, 3rd byte is optional indoor or out door. 599 # Japan without optional byte, JP 600 # France without optional byte, FR
|
/device/google/contexthub/firmware/os/platform/stm32/ |
D | i2c.c | 137 uint8_t byte; member 395 regs->DR = state->tx.byte; in stmI2cSlaveTxNextByte() 1062 static int i2cSlaveTx(uint32_t busId, const void *txBuf, uint8_t byte, in i2cSlaveTx() argument 1076 state->tx.byte = byte; in i2cSlaveTx() 1098 int i2cSlaveTxPreamble(uint32_t busId, uint8_t byte, I2cCallbackF callback, in i2cSlaveTxPreamble() argument 1101 return i2cSlaveTx(busId, NULL, byte, 0, callback, cookie); in i2cSlaveTxPreamble()
|
/device/google/contexthub/firmware/os/platform/stm32/lkr/ |
D | stm32f4xx.bl.lkr | 43 /* at least a byte of code is needed, or ld cannot locate "__code_start" symbol properly */
|
/device/linaro/poplar/wifi/wifi_hal/ |
D | gscan.cpp | 348 memcpy(result->bssid, (byte *) it2.get_data(), sizeof(mac_addr)); in parseScanResults() 840 byte mFlush; 843 GetScanResultsCommand(wifi_interface_handle iface, byte flush, in GetScanResultsCommand() 849 int createRequest(WifiRequest& request, int num, byte flush) { in createRequest() 993 wifi_error wifi_get_cached_gscan_results(wifi_interface_handle iface, byte flush, in wifi_get_cached_gscan_results() 1806 … byte *anqp = (byte *)drv_res + offsetof(wifi_gscan_full_result_t, ie_data) + drv_res->ie_length; in handleEvent() 1809 int networkId = *(int *)((byte *)anqp + anqp_len); in handleEvent()
|
D | cpp_bindings.cpp | 498 byte *data = (byte *)genlmsg_attrdata(mHeader, 0); in log()
|