Home
last modified time | relevance | path

Searched refs:byte (Results 1 – 25 of 27) sorted by relevance

12

/device/google/contexthub/firmware/os/cpu/cortexm4/
Datomic.c19 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/app/chre/common/
Dchre10_app.c110 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 …]
Dchre_app.c110 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/google/contexthub/firmware/os/inc/
Datomic.h28 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()
DsyscallDo.h299 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()
Di2c.h49 int i2cSlaveTxPreamble(uint32_t busId, uint8_t byte,
/device/google/contexthub/firmware/os/core/
Dbl.c522 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 …]
DosApi.c456 uint8_t byte = va_arg(args, int); in osExpApiI2cSlvTxPre() local
464 *retValP = i2cSlaveTxPreamble(busId, byte, osExpApiI2cInternalCbk, cbkInfo); in osExpApiI2cSlvTxPre()
/device/google/cuttlefish/host/commands/cvd_send_sms/
Dpdu_format_builder.cc58 std::byte octets[octects_size]; in Gsm7bitEncode()
59 std::byte* octects_index = octets; in Gsm7bitEncode()
79 std::byte code = in Gsm7bitEncode()
80 (std::byte)std::distance(kGSM7BitDefaultAlphabet.begin(), found_it); in Gsm7bitEncode()
82 std::byte prev_octect_value = *(octects_index - 1); in Gsm7bitEncode()
/device/google/contexthub/firmware/os/cpu/x86/
Datomic.c41 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/
Dnanopacket_impl.h24 bool NanoPacket::DeserializeWord(T *destination, uint8_t byte) { in DeserializeWord() argument
25 *destination |= byte << (8 * parsing_progress_); in DeserializeWord()
Dnanopacket.h116 bool DeserializeWord(T *destination, uint8_t byte);
/device/google/contexthub/firmware/os/platform/stm32/
Di2c.c137 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/util/nanoapp_sign/
Dnanoapp_sign.c87 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/linaro/poplar/wifi/wifi_hal/
Dgscan.cpp348 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()
1806byte *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()
Dcpp_bindings.cpp498 byte *data = (byte *)genlmsg_attrdata(mHeader, 0); in log()
Dwifi_hal.cpp664 byte *mOui;
676 int createRequest(WifiRequest& request, int subcmd, byte *scan_oui) { in createRequest()
/device/google/contexthub/util/stm32_flash/
Dflash.c53 ssize_t write_byte(int fd, uint8_t byte) in write_byte() argument
58 ret = write(fd, &byte, 1); in write_byte()
/device/google/contexthub/firmware/os/platform/native/
Di2c.c62 int i2cSlaveTxPreamble(I2cBus busId, uint8_t byte, I2cCallbackF callback, void *cookie) in i2cSlaveTxPreamble() argument
/device/google/cuttlefish/host/commands/secure_env/
Dtpm_keymaster_context.cpp606 for (uint8_t byte : binary) { in ToHexString() local
608 snprintf(buf, sizeof(buf), "%02x", byte); in ToHexString()
/device/google/contexthub/firmware/os/platform/stm32/lkr/
Dstm32f4xx.bl.lkr43 /* at least a byte of code is needed, or ld cannot locate "__code_start" symbol properly */
/device/google/cuttlefish_vmm/qemu/x86_64-linux-gnu/usr/share/qemu/
Dtrace-events-all1203 m25p80_read_byte(void *s, uint32_t addr, uint8_t v) "[%p] Read byte 0x%"PRIx32"=0x%"PRIx8
1610 bitbang_i2c_send(uint8_t byte) "TX byte 0x%02x"
1611 bitbang_i2c_recv(uint8_t byte) "RX byte 0x%02x"
1639 aspeed_i2c_bus_send(const char *mode, int i, int count, uint8_t byte) "%s send %d/%d 0x%02x"
1640 aspeed_i2c_bus_recv(const char *mode, int i, int count, uint8_t byte) "%s recv %d/%d 0x%02x"
1648 npcm7xx_smbus_send_byte(const char *id, uint8_t value, int success) "%s send byte: 0x%02x, success:…
1649 npcm7xx_smbus_recv_byte(const char *id, uint8_t value) "%s recv byte: 0x%02x"
2745 pmu_debug_protocol_cmd(int cmd, int cmdlen, int rsplen) "Got command byte 0x%02x, clen=%d, rlen=%d"
2746 pmu_debug_protocol_cmdlen(int len) "got cmd length byte: %d"
2748 pmu_debug_protocol_cmd_send_resp_size(int len) "sending length byte: %d"
[all …]
/device/google/cuttlefish_vmm/qemu/aarch64-linux-gnu/usr/share/qemu/
Dtrace-events-all1203 m25p80_read_byte(void *s, uint32_t addr, uint8_t v) "[%p] Read byte 0x%"PRIx32"=0x%"PRIx8
1610 bitbang_i2c_send(uint8_t byte) "TX byte 0x%02x"
1611 bitbang_i2c_recv(uint8_t byte) "RX byte 0x%02x"
1639 aspeed_i2c_bus_send(const char *mode, int i, int count, uint8_t byte) "%s send %d/%d 0x%02x"
1640 aspeed_i2c_bus_recv(const char *mode, int i, int count, uint8_t byte) "%s recv %d/%d 0x%02x"
1648 npcm7xx_smbus_send_byte(const char *id, uint8_t value, int success) "%s send byte: 0x%02x, success:…
1649 npcm7xx_smbus_recv_byte(const char *id, uint8_t value) "%s recv byte: 0x%02x"
2745 pmu_debug_protocol_cmd(int cmd, int cmdlen, int rsplen) "Got command byte 0x%02x, clen=%d, rlen=%d"
2746 pmu_debug_protocol_cmdlen(int len) "got cmd length byte: %d"
2748 pmu_debug_protocol_cmd_send_resp_size(int len) "sending length byte: %d"
[all …]
/device/google/coral/
DWCNSS_qcom_cfg.ini297 # Control to enable TCP limit output byte
/device/google/sunfish/
DWCNSS_qcom_cfg.ini297 # Control to enable TCP limit output byte

12