OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:txrxBuf
(Results
1 - 5
of
5
) sorted by null
/device/google/contexthub/firmware/src/drivers/ams_tmd2772/
ams_tmd2772.c
162
}
txrxBuf
;
256
xfer->
txrxBuf
.bytes[0] = reg;
257
xfer->
txrxBuf
.bytes[1] = value;
258
ret = i2cMasterTx(I2C_BUS_ID, I2C_ADDR, xfer->
txrxBuf
.bytes, 2, i2cCallback, xfer);
311
xfer->
txrxBuf
.bytes[0] = AMS_TMD2772_REG_ENABLE;
312
xfer->
txrxBuf
.bytes[1] = POWER_ON_BIT | WAIT_ENABLE_BIT |
314
xfer->
txrxBuf
.bytes[2] = AMS_TMD2772_ATIME_SETTING;
315
xfer->
txrxBuf
.bytes[3] = AMS_TMD2772_PTIME_SETTING;
316
xfer->
txrxBuf
.bytes[4] = alsOn ? AMS_TMD2772_WTIME_SETTING_ALS_ON : AMS_TMD2772_WTIME_SETTING_ALS_OFF;
317
i2cMasterTx(I2C_BUS_ID, I2C_ADDR, xfer->
txrxBuf
.bytes, 5, i2cCallback, xfer)
[
all
...]
/device/google/contexthub/firmware/src/drivers/ams_tmd4903/
ams_tmd4903.c
219
uint8_t
txrxBuf
[AMS_TMD4903_MAX_I2C_TRANSFER_SIZE];
309
xfer->
txrxBuf
[0] = reg;
310
xfer->
txrxBuf
[1] = value;
311
ret = i2cMasterTx(I2C_BUS_ID, I2C_ADDR, xfer->
txrxBuf
, 2, i2cCallback, xfer);
640
xfer->
txrxBuf
[0] = AMS_TMD4903_REG_OFFSETNL;
641
*((int16_t*)&xfer->
txrxBuf
[1]) = offsets[0];
642
*((int16_t*)&xfer->
txrxBuf
[3]) = offsets[1];
643
*((int16_t*)&xfer->
txrxBuf
[5]) = offsets[2];
644
*((int16_t*)&xfer->
txrxBuf
[7]) = offsets[3];
645
i2cMasterTx(I2C_BUS_ID, I2C_ADDR, xfer->
txrxBuf
, 9, i2cCallback, xfer)
[
all
...]
/device/google/contexthub/firmware/src/drivers/rohm_rpr0521/
rohm_rpr0521.c
206
uint8_t
txrxBuf
[ROHM_RPR0521_MAX_I2C_TRANSFER_SIZE];
331
xfer->
txrxBuf
[0] = reg;
332
xfer->
txrxBuf
[1] = value;
333
ret = i2cMasterTx(I2C_BUS_ID, I2C_ADDR, xfer->
txrxBuf
, 2, i2cCallback, xfer);
482
xfer->
txrxBuf
[0] = ROHM_RPR0521_REG_PS_OFFSET_LSB;
483
xfer->
txrxBuf
[1] = offset & 0xFF;
484
xfer->
txrxBuf
[2] = (offset >> 8) & 0x3;
485
i2cMasterTx(I2C_BUS_ID, I2C_ADDR, xfer->
txrxBuf
, 3, i2cCallback, xfer);
572
newXfer->
txrxBuf
[0] = ROHM_RPR0521_REG_ID;
573
i2cMasterTxRx(I2C_BUS_ID, I2C_ADDR, newXfer->
txrxBuf
, 1, newXfer->txrxBuf, 1, i2cCallback, newXfer)
[
all
...]
/device/google/contexthub/firmware/src/drivers/synaptics_s3708/
synaptics_s3708.c
119
uint8_t
txrxBuf
[MAX_I2C_TRANSFER_SIZE];
216
memset(mTask.transfers[i].
txrxBuf
, 0x00, sizeof(mTask.transfers[i].
txrxBuf
));
237
ret = i2cMasterTxRx(I2C_BUS_ID, I2C_ADDR, xfer->
txrxBuf
, txBytes, xfer->
txrxBuf
, rxBytes, i2cCallback, xfer);
239
ret = i2cMasterTx(I2C_BUS_ID, I2C_ADDR, xfer->
txrxBuf
, txBytes, i2cCallback, xfer);
256
xfer->
txrxBuf
[0] = reg;
257
xfer->
txrxBuf
[1] = value;
275
xfer->
txrxBuf
[0] = S3708_REG_CTRL_BASE + S3708_REG_CTRL_20_OFFSET;
276
xfer->
txrxBuf
[1] = 0x00
[
all
...]
/device/google/contexthub/firmware/src/drivers/bosch_bmp280/
bosch_bmp280.c
91
uint8_t
txrxBuf
[BOSCH_BMP280_MAX_I2C_TRANSFER_SIZE];
187
xfer->
txrxBuf
[0] = reg;
188
xfer->
txrxBuf
[1] = value;
189
ret = i2cMasterTx(I2C_BUS_ID, I2C_ADDR, xfer->
txrxBuf
, 2, i2cCallback, xfer);
443
newXfer->
txrxBuf
[0] = BOSCH_BMP280_REG_ID;
444
i2cMasterTxRx(I2C_BUS_ID, I2C_ADDR, newXfer->
txrxBuf
, 1, newXfer->
txrxBuf
, 1, i2cCallback, newXfer);
451
if (xfer->err != 0 || xfer->
txrxBuf
[0] != BOSCH_BMP280_ID) {
459
newXfer->
txrxBuf
[0] = BOSCH_BMP280_REG_DIG_T1;
460
i2cMasterTxRx(I2C_BUS_ID, I2C_ADDR, newXfer->
txrxBuf
, 1, (uint8_t*)&mTask.comp, 24, i2cCallback, newXfer)
[
all
...]
Completed in 1159 milliseconds