Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c937 #define T_SLAVE_INTERFACE(v) (_task->slaveConn.v) macro
1254 if (T_SLAVE_INTERFACE(spiInUse)) { in lsm6dsm_spiQueueRead()
1259 *buf = &T_SLAVE_INTERFACE(txrxBuffer[T_SLAVE_INTERFACE(mWbufCnt)]); in lsm6dsm_spiQueueRead()
1261 T_SLAVE_INTERFACE(packets[T_SLAVE_INTERFACE(mRegCnt)]).size = size + 1; in lsm6dsm_spiQueueRead()
1262T_SLAVE_INTERFACE(packets[T_SLAVE_INTERFACE(mRegCnt)]).txBuf = &T_SLAVE_INTERFACE(txrxBuffer[T_SLA… in lsm6dsm_spiQueueRead()
1263 T_SLAVE_INTERFACE(packets[T_SLAVE_INTERFACE(mRegCnt)]).rxBuf = *buf; in lsm6dsm_spiQueueRead()
1264 T_SLAVE_INTERFACE(packets[T_SLAVE_INTERFACE(mRegCnt)]).delay = delay * 1000; in lsm6dsm_spiQueueRead()
1266 T_SLAVE_INTERFACE(txrxBuffer[T_SLAVE_INTERFACE(mWbufCnt)++]) = addr | 0x80; in lsm6dsm_spiQueueRead()
1267 T_SLAVE_INTERFACE(mWbufCnt) += size; in lsm6dsm_spiQueueRead()
1268 T_SLAVE_INTERFACE(mRegCnt)++; in lsm6dsm_spiQueueRead()
[all …]