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.c678 #define T_SLAVE_INTERFACE(v) (_task->slaveConn.v) macro
938 if (T_SLAVE_INTERFACE(spiInUse)) { in lsm6dsm_spiQueueRead()
943 *buf = &T_SLAVE_INTERFACE(txrxBuffer[T_SLAVE_INTERFACE(mWbufCnt)]); in lsm6dsm_spiQueueRead()
945 T_SLAVE_INTERFACE(packets[T_SLAVE_INTERFACE(mRegCnt)]).size = size + 1; in lsm6dsm_spiQueueRead()
946T_SLAVE_INTERFACE(packets[T_SLAVE_INTERFACE(mRegCnt)]).txBuf = &T_SLAVE_INTERFACE(txrxBuffer[T_SLA… in lsm6dsm_spiQueueRead()
947 T_SLAVE_INTERFACE(packets[T_SLAVE_INTERFACE(mRegCnt)]).rxBuf = *buf; in lsm6dsm_spiQueueRead()
948 T_SLAVE_INTERFACE(packets[T_SLAVE_INTERFACE(mRegCnt)]).delay = delay * 1000; in lsm6dsm_spiQueueRead()
950 T_SLAVE_INTERFACE(txrxBuffer[T_SLAVE_INTERFACE(mWbufCnt)++]) = addr | 0x80; in lsm6dsm_spiQueueRead()
951 T_SLAVE_INTERFACE(mWbufCnt) += size; in lsm6dsm_spiQueueRead()
952 T_SLAVE_INTERFACE(mRegCnt)++; in lsm6dsm_spiQueueRead()
[all …]