Home
last modified time | relevance | path

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

/device/google/accessory/arduino/USB_Host_Shield/
DUsb.h77 byte bmRequestType; // 0 Bit-map of request type
79 byte recipient: 5; // Recipient of the request
80 byte type: 2; // Type of request
81 byte direction: 1; // Direction of data X-fer
84 byte bRequest; // 1 Request
88 byte wValueLo;
89 byte wValueHi;
100byte epAddr; //copy from endpoint descriptor. Bit 7 indicates direction ( ignored for contr…
101 byte Attr; // Endpoint transfer type.
103 byte Interval; // Polling interval in frames.
[all …]
Dch9.h131 byte bLength; // Length of this descriptor.
132 byte bDescriptorType; // DEVICE descriptor type (USB_DESCRIPTOR_DEVICE).
134 byte bDeviceClass; // Class code (assigned by the USB-IF). 0xFF-Vendor specific.
135 byte bDeviceSubClass; // Subclass code (assigned by the USB-IF).
136 byte bDeviceProtocol; // Protocol code (assigned by the USB-IF). 0xFF-Vendor specific.
137 byte bMaxPacketSize0; // Maximum packet size for endpoint 0.
141 byte iManufacturer; // Index of String Descriptor describing the manufacturer.
142 byte iProduct; // Index of String Descriptor describing the product.
143 byte iSerialNumber; // Index of String Descriptor with the device's serial number.
144 byte bNumConfigurations; // Number of possible configurations.
[all …]
DMax3421e.h41 byte getVbusState( void );
43 static void regWr( byte, byte );
44 char * bytesWr( byte, byte, char * );
45 static void gpioWr( byte );
46 byte regRd( byte );
47 char * bytesRd( byte, byte, char * );
48 byte gpioRd( void );
53 byte IntHandler();
54 byte GpxHandler();
55 byte Task();
DUsb.cpp34 static byte usb_error = 0;
35 static byte usb_task_state;
49 byte i; in init()
59 byte USB::getUsbTaskState( void ) in getUsbTaskState()
63 void USB::setUsbTaskState( byte state ) in setUsbTaskState()
67 EP_RECORD* USB::getDevTableEntry( byte addr, byte ep ) in getDevTableEntry()
76 void USB::setDevTableEntry( byte addr, EP_RECORD* eprecord_ptr ) in setDevTableEntry()
86 byte USB::ctrlReq( byte addr, byte ep, byte bmReqType, byte bRequest, byte wValLo, byte wValHi, uns… in ctrlReq()
89 byte rcode; in ctrlReq()
125 byte USB::ctrlStatus( byte ep, boolean direction, unsigned int nak_limit ) in ctrlStatus()
[all …]
DMax3421e.cpp35 static byte vbusState;
91 byte MAX3421E::getVbusState( void ) in getVbusState()
120 void MAX3421E::regWr( byte reg, byte val) in regWr()
132 char * MAX3421E::bytesWr( byte reg, byte nbytes, char * data ) in bytesWr()
148 void MAX3421E::gpioWr( byte val ) in gpioWr()
157 byte MAX3421E::regRd( byte reg ) in regRd()
159 byte tmp; in regRd()
170 char * MAX3421E::bytesRd ( byte reg, byte nbytes, char * data ) in bytesRd()
187 byte MAX3421E::gpioRd( void ) in gpioRd()
189 byte tmpbyte = 0; in gpioRd()
[all …]
DMax_LCD.cpp78 static byte lcdPins; //copy of LCD pins
/device/google/contexthub/firmware/src/cpu/cortexm4f/
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/inc/
Datomic.h29 uint32_t atomicXchgByte(volatile uint8_t *byte, uint32_t newVal);
31 bool atomicCmpXchgByte(volatile uint8_t *byte, uint32_t prevVal, uint32_t newVal);
35 uint32_t atomicAddByte(volatile uint8_t *byte, uint32_t addend);
39 static inline uint32_t atomicReadByte(volatile uint8_t *byte) in atomicReadByte() argument
42 return *byte; in atomicReadByte()
51 static inline void atomicWriteByte(volatile uint8_t *byte, uint32_t val) in atomicWriteByte() argument
53 *byte = val; in atomicWriteByte()
Di2c.h49 int i2cSlaveTxPreamble(uint32_t busId, uint8_t byte,
DsyscallDo.h326 static inline int eOsI2cSlaveTxPreamble(uint32_t busId, uint8_t byte, uint32_t cbkTid, void *cookie) in eOsI2cSlaveTxPreamble() argument
328 …LL_OS_DRIVERS, SYSCALL_OS_DRV_I2C_SLAVE, SYSCALL_OS_DRV_I2CS_TX_PRE), busId, byte, cbkTid, cookie); in eOsI2cSlaveTxPreamble()
/device/google/accessory/arduino/AndroidAccessory/
DAndroidAccessory.h47 int getProtocol(byte addr);
48 void sendString(byte addr, int index, const char *str);
49 bool switchDevice(byte addr);
50 bool findEndpoints(byte addr, EP_RECORD *inEp, EP_RECORD *outEp);
DAndroidAccessory.cpp60 int AndroidAccessory::getProtocol(byte addr) in getProtocol()
71 void AndroidAccessory::sendString(byte addr, int index, const char *str) in sendString()
82 bool AndroidAccessory::switchDevice(byte addr) in switchDevice()
115 bool AndroidAccessory::findEndpoints(byte addr, EP_RECORD *inEp, EP_RECORD *outEp) in findEndpoints()
118 byte err; in findEndpoints()
194 byte err; in configureAndroid()
229 byte err; in isConnected()
/device/google/contexthub/firmware/src/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/accessory/demokit/firmware/demokit/
Ddemokit.pde108 byte b1, b2, b3, b4, c;
141 byte err;
142 byte idle;
143 static byte count = 0;
144 byte msg[3];
150 byte b;
289 byte status = 0;
/device/google/contexthub/firmware/src/platform/stm32f4xx/
Dbl.c965 uint32_t byte = blSpiLoaderTxRxByte(spi, 0); in blSpiLoader() local
966 checksum ^= byte; in blSpiLoader()
967 addr = (addr << 8) + byte; in blSpiLoader()
1007 uint32_t byte = blSpiLoaderTxRxByte(spi, 0); in blSpiLoader() local
1008 checksum ^= byte; in blSpiLoader()
1009 addr = (addr << 8) + byte; in blSpiLoader()
1031 uint32_t byte = blSpiLoaderTxRxByte(spi, 0); in blSpiLoader() local
1032 checksum ^= byte; in blSpiLoader()
1033 data[i] = byte; in blSpiLoader()
1076 uint32_t byte = blSpiLoaderTxRxByte(spi, 0); in blSpiLoader() local
[all …]
Di2c.c136 uint8_t byte; member
392 regs->DR = state->tx.byte; in stmI2cSlaveTxNextByte()
996 static int i2cSlaveTx(uint32_t busId, const void *txBuf, uint8_t byte, in i2cSlaveTx() argument
1010 state->tx.byte = byte; in i2cSlaveTx()
1032 int i2cSlaveTxPreamble(uint32_t busId, uint8_t byte, I2cCallbackF callback, in i2cSlaveTxPreamble() argument
1035 return i2cSlaveTx(busId, NULL, byte, 0, callback, cookie); in i2cSlaveTxPreamble()
/device/google/contexthub/firmware/src/platform/linux/
Di2c.c62 int i2cSlaveTxPreamble(I2cBus busId, uint8_t byte, I2cCallbackF callback, void *cookie) in i2cSlaveTxPreamble() argument
/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/google/contexthub/util/stm32_flash/
Dflash.c46 ssize_t write_byte(int fd, uint8_t byte) in write_byte() argument
51 ret = write(fd, &byte, 1); in write_byte()
/device/lge/bullhead/wifi/
DWCNSS_qcom_cfg.ini44 # Each byte of MAC address is represented in Hex format as XX
203 # Default Country Code is 2 bytes, 3rd byte is optional indoor or out door.
211 # Japan without optional byte, JP
213 # France without optional byte, FR
493 # 0 - Disable both magic pattern match and pattern byte match.
495 # 2 - Enable pattern byte match on all interfaces.
496 # 3 - Enable both magic patter and pattern byte match on all interfaces.
/device/google/contexthub/firmware/misc/variant/common/
Dstm32f4xx.bl.lkr43 /* at least a byte of code is needed, or ld cannot locate "__code_start" symbol properly */
/device/google/contexthub/firmware/src/
DosApi.c428 uint8_t byte = va_arg(args, int); in osExpApiI2cSlvTxPre() local
436 *retValP = i2cSlaveTxPreamble(busId, byte, osExpApiI2cInternalCbk, cbkInfo); in osExpApiI2cSlvTxPre()