Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/core/
Dspi.c37 const struct SpiPacket *packets; member
75 return dev->ops->masterRxTx(dev, state->packets[0].rxBuf, in spiMasterStart()
76 state->packets[0].txBuf, state->packets[0].size, mode); in spiMasterStart()
103 void *rxBuf = state->packets[i].rxBuf; in spiMasterNext()
104 const void *txBuf = state->packets[i].txBuf; in spiMasterNext()
105 size_t size = state->packets[i].size; in spiMasterNext()
121 if (state->packets[i].delay > 0) { in spiMasterRxTxDone()
122 if (!timTimerSet(state->packets[i].delay, 0, 50, spiDelayCallback, state, true)) { in spiMasterRxTxDone()
234 void *rxBuf = state->packets[i].rxBuf; in spiSlaveNext()
235 const void *txBuf = state->packets[i].txBuf; in spiSlaveNext()
[all …]
/device/google/contexthub/firmware/os/inc/
Dspi.h76 const struct SpiPacket packets[], size_t n,
86 const struct SpiPacket packets[], size_t n,
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c510 struct SpiPacket packets[SPI_PACKET_SIZE]; member
835 T(packets[T(mRegCnt)]).size = 2;
836 T(packets[T(mRegCnt)]).txBuf = &T(txrxBuffer[T(mWbufCnt)]);
837 T(packets[T(mRegCnt)]).rxBuf = &T(txrxBuffer[T(mWbufCnt)]);
838 T(packets[T(mRegCnt)]).delay = delay * 1000;
856 T(packets[T(mRegCnt)]).size = size + 1; // first byte will not contain valid data
857 T(packets[T(mRegCnt)]).txBuf = &T(txrxBuffer[T(mWbufCnt)]);
858 T(packets[T(mRegCnt)]).rxBuf = *buf;
859 T(packets[T(mRegCnt)]).delay = delay * 1000;
895 if (spiMasterRxTx(T(spiDev), T(cs), T(packets), regCount, mode, callback, cookie) < 0) {
[all …]
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/
Dinvensense_icm40600.c617 struct SpiPacket packets[SPI_PACKET_SIZE]; member
834 T(packets[T(mRegCnt)]).size = 2;
835 T(packets[T(mRegCnt)]).txBuf = &T(txrxBuffer[T(mWbufCnt)]);
836 T(packets[T(mRegCnt)]).rxBuf = &T(txrxBuffer[T(mWbufCnt)]);
837 T(packets[T(mRegCnt)]).delay = delay * 1000;
856 T(packets[T(mRegCnt)]).size = size + 1; // first byte will not contain valid data
857 T(packets[T(mRegCnt)]).txBuf = &T(txrxBuffer[T(mWbufCnt)]);
858 T(packets[T(mRegCnt)]).rxBuf = *buf;
859 T(packets[T(mRegCnt)]).delay = delay * 1000;
892 if (spiMasterRxTx(T(spiDev), T(cs), T(packets), regCount, mode, callback, cookie) < 0) {
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c618 struct SpiPacket packets[LSM6DSM_SPI_PACKET_SIZE]; member
1261 T_SLAVE_INTERFACE(packets[T_SLAVE_INTERFACE(mRegCnt)]).size = size + 1; in lsm6dsm_spiQueueRead()
1262 …T_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()
1286 T_SLAVE_INTERFACE(packets[T_SLAVE_INTERFACE(mRegCnt)]).size = 2; in lsm6dsm_spiQueueWrite()
1287 …T_SLAVE_INTERFACE(packets[T_SLAVE_INTERFACE(mRegCnt)]).txBuf = &T_SLAVE_INTERFACE(txrxBuffer[T_SLA… in lsm6dsm_spiQueueWrite()
1288 …T_SLAVE_INTERFACE(packets[T_SLAVE_INTERFACE(mRegCnt)]).rxBuf = &T_SLAVE_INTERFACE(txrxBuffer[T_SLA… in lsm6dsm_spiQueueWrite()
1289 T_SLAVE_INTERFACE(packets[T_SLAVE_INTERFACE(mRegCnt)]).delay = delay * 1000; in lsm6dsm_spiQueueWrite()
1313 T_SLAVE_INTERFACE(packets[T_SLAVE_INTERFACE(mRegCnt)]).size = 1 + size; in lsm6dsm_spiQueueMultiwrite()
[all …]
/device/google/coral/
DWCNSS_qcom_cfg.ini175 # This ini is used to configure the number of Tx/Rx packets during the period of
282 # Use this configuration to blanket drop broadcast/multicast packets at the hardware level
/device/google/muskie/
DWCNSS_qcom_cfg.ini181 # Bus bandwidth threshold values in terms of number of packets
428 # Flags to filter Mcast abd Bcast RX packets.
/device/google/taimen/
DWCNSS_qcom_cfg.ini181 # Bus bandwidth threshold values in terms of number of packets
428 # Flags to filter Mcast abd Bcast RX packets.
/device/generic/opengl-transport/host/commands/emugen/
DREADME103 determine the client endianess and marshal the packets as required.
/device/google/bonito/
DWCNSS_qcom_cfg.ini181 # Bus bandwidth threshold values in terms of number of packets
/device/google/crosshatch/
DWCNSS_qcom_cfg.ini181 # Bus bandwidth threshold values in terms of number of packets