/device/google/contexthub/firmware/src/ |
D | hostIntfSpi.c | 41 HostIntfCommCallbackF callback = cookie; in hostIntfSpiRxCallback() local 42 callback(NANOHUB_PACKET_SIZE(packet->len), err); in hostIntfSpiRxCallback() 47 HostIntfCommCallbackF callback = cookie; in hostIntfSpiTxCallback() local 48 callback(gTxSize, err); in hostIntfSpiTxCallback() 57 HostIntfCommCallbackF callback) in hostIntfSpiRxPacket() argument 65 err = spiSlaveRxTx(gSpi, &gPacket, 1, hostIntfSpiRxCallback, callback); in hostIntfSpiRxPacket() 67 callback(0, err); in hostIntfSpiRxPacket() 73 HostIntfCommCallbackF callback) in hostIntfSpiTxPacket() argument 83 callback); in hostIntfSpiTxPacket()
|
D | hostIntfI2c.c | 31 HostIntfCommCallbackF callback = cookie; in hostIntfI2cRxCallback() local 34 callback(rx, err); in hostIntfI2cRxCallback() 39 HostIntfCommCallbackF callback = cookie; in hostIntfI2cTxCallback() local 42 callback(tx, err); in hostIntfI2cTxCallback() 51 HostIntfCommCallbackF callback) in hostIntfI2cRxPacket() argument 54 callback); in hostIntfI2cRxPacket() 59 HostIntfCommCallbackF callback) in hostIntfI2cTxPacket() argument 62 callback); in hostIntfI2cTxPacket()
|
D | spi.c | 155 SpiCbkF callback = state->rxTxCallback; in spiMasterDone() local 158 callback(cookie, err); in spiMasterDone() 211 SpiCbkF callback = state->finishCallback; in spiSlaveCsInactive() local 216 callback(cookie, 0); in spiSlaveCsInactive() 242 SpiCbkF callback = state->rxTxCallback; in spiSlaveIdle() local 248 callback(cookie, err); in spiSlaveIdle() 268 SpiCbkF callback, void *cookie) in spiSetupRxTx() argument 273 state->rxTxCallback = callback; in spiSetupRxTx() 310 const struct SpiMode *mode, SpiCbkF callback, in spiMasterRxTx() argument 319 ret = spiSetupRxTx(state, packets, n, callback, cookie); in spiMasterRxTx() [all …]
|
/device/google/contexthub/firmware/inc/ |
D | i2c.h | 33 void *rxBuf, size_t rxSize, I2cCallbackF callback, void *cookie); 35 const void *txBuf, size_t txSize, I2cCallbackF callback, void *cookie) in i2cMasterTx() argument 37 return i2cMasterTxRx(busId, addr, txBuf, txSize, NULL, 0, callback, cookie);} in i2cMasterTx() 39 void *rxBuf, size_t rxSize, I2cCallbackF callback, void *cookie) in i2cMasterRx() argument 41 return i2cMasterTxRx(busId, addr, NULL, 0, rxBuf, rxSize, callback, cookie); in i2cMasterRx() 48 I2cCallbackF callback, void *cookie); 50 I2cCallbackF callback, void *cookie); 52 I2cCallbackF callback, void *cookie);
|
D | spi.h | 77 const struct SpiMode *mode, SpiCbkF callback, 87 SpiCbkF callback, void *cookie); 89 int spiSlaveWaitForInactive(struct SpiDevice *dev, SpiCbkF callback,
|
D | hostIntf_priv.h | 33 int (*rxPacket)(void *rxBuf, size_t rxSize, HostIntfCommCallbackF callback); 35 HostIntfCommCallbackF callback);
|
/device/google/contexthub/firmware/src/platform/linux/ |
D | i2c.c | 41 I2cCallbackF callback, void *cookie) in i2cMasterTxRx() argument 57 I2cCallbackF callback, void *cookie) in i2cSlaveEnableRx() argument 62 int i2cSlaveTxPreamble(I2cBus busId, uint8_t byte, I2cCallbackF callback, void *cookie) in i2cSlaveTxPreamble() argument 67 int i2cSlaveTxPacket(I2cBus busId, const void *txBuf, size_t txSize, I2cCallbackF callback, void *c… in i2cSlaveTxPacket() argument
|
/device/google/contexthub/firmware/src/platform/stm32f4xx/ |
D | i2c.c | 142 I2cCallbackF callback; member 224 I2cCallbackF callback; member 357 state->rx.callback(state->rx.cookie, tx, rx, err); in stmI2cInvokeRxCallback() 364 state->tx.callback(state->tx.cookie, tx, rx, err); in stmI2cInvokeTxCallback() 516 state->tx.callback = xfer->callback; in stmI2cMasterTxRxDone() 521 state->rx.callback = NULL; in stmI2cMasterTxRxDone() 585 size_t size, DmaCallbackF callback, bool rx, bool last) in stmI2cMasterStartDma() argument 598 dmaStart(I2C_DMA_BUS, dmaCfg->stream, buf, size, &mode, callback, pdev); in stmI2cMasterStartDma() 847 I2cCallbackF callback, void *cookie) in i2cMasterTxRx() argument 871 xfer->callback = callback; in i2cMasterTxRx() [all …]
|
D | dma.c | 87 DmaCallbackF callback; member 202 state->callback(state->cookie, regs->NDTR, EIO); in dmaIsrTeif() 215 state->callback(state->cookie, regs->NDTR, 0); in dmaIsrTcif() 223 if (UNLIKELY(!state->callback)) { in dmaIsr() 239 const struct dmaMode *mode, DmaCallbackF callback, void *cookie) in dmaStart() argument 245 state->callback = callback; in dmaStart()
|
/device/google/contexthub/sensorhal/ |
D | activity.h | 59 const activity_recognition_callback_procs_t *callback); 78 const activity_recognition_callback_procs_t *callback);
|
D | activity.cpp | 186 const activity_recognition_callback_procs_t *callback) { in registerActivityCallback() argument 190 mCallback = callback; in registerActivityCallback() 272 const activity_recognition_callback_procs_t *callback) { in RegisterActivityCallbackWrapper() argument 275 ->registerActivityCallback(callback); in RegisterActivityCallbackWrapper()
|
/device/google/contexthub/util/nanotool/ |
D | contexthub.h | 199 std::function<bool(const SensorSpec&)> callback); 212 TransportResult ReadAppEvents(std::function<bool(const AppToHostEvent&)> callback, 221 void ReadSensorEvents(std::function<bool(const SensorEvent&)> callback);
|
D | contexthub.cpp | 339 std::function<bool(const SensorSpec&)> callback) { in ForEachSensor() argument 343 success &= callback(sensors[i]); in ForEachSensor() 408 std::function<bool(const AppToHostEvent&)> callback, int timeout_ms) { in ReadAppEvents() argument 432 keep_going = callback(*app_event); in ReadAppEvents() 448 void ContextHub::ReadSensorEvents(std::function<bool(const SensorEvent&)> callback) { in ReadSensorEvents() argument 458 keep_going = callback(*sensor_event); in ReadSensorEvents()
|
/device/htc/flounder/audio/soundtrigger/ |
D | sound_trigger_hw.c | 309 recognition_callback_t callback = stdev->recognition_callback; in callback_thread_loop() local 316 if (callback != NULL) { in callback_thread_loop() 317 callback(&event->common, cookie); in callback_thread_loop() 370 sound_model_callback_t callback, in stdev_load_sound_model() argument 397 stdev->sound_model_callback = callback; in stdev_load_sound_model() 447 recognition_callback_t callback, in stdev_start_recognition() argument 478 stdev->recognition_callback = callback; in stdev_start_recognition()
|
/device/google/dragon/audio/soundtrigger/ |
D | sound_trigger_hw.c | 274 recognition_callback_t callback = stdev->recognition_callback; in callback_thread_loop() local 288 if (callback != NULL) { in callback_thread_loop() 289 callback(&event->common, cookie); in callback_thread_loop() 337 sound_model_callback_t callback, in stdev_load_sound_model() argument 364 stdev->sound_model_callback = callback; in stdev_load_sound_model() 414 recognition_callback_t callback, in stdev_start_recognition() argument 450 stdev->recognition_callback = callback; in stdev_start_recognition()
|
/device/huawei/angler/location/loc_api/ds_api/ |
D | ds_client.h | 118 ds_client_cb_data *callback,
|
/device/lge/bullhead/location/loc_api/ds_api/ |
D | ds_client.h | 118 ds_client_cb_data *callback,
|
/device/moto/shamu/location/loc_api/ds_api/ |
D | ds_client.h | 118 ds_client_cb_data *callback,
|
/device/asus/fugu/libaudio/ |
D | AudioHotplugThread.h | 44 AudioHotplugThread(Callback& callback);
|
D | AudioHotplugThread.cpp | 127 AudioHotplugThread::AudioHotplugThread(Callback& callback) in AudioHotplugThread() argument 128 : mCallback(callback) in AudioHotplugThread()
|
/device/moto/shamu/camera/QCamera2/HAL/ |
D | QCameraThermalAdapter.h | 72 int (*callback)(int, void *userdata, void *data), void *data);
|
/device/google/contexthub/firmware/inc/platform/stm32f4xx/ |
D | dma.h | 57 const struct dmaMode *mode, DmaCallbackF callback, void *cookie);
|
/device/huawei/angler/camera/QCamera2/HAL/ |
D | QCameraThermalAdapter.h | 77 int (*callback)(int, void *userdata, void *data), void *data);
|
/device/lge/bullhead/camera/QCamera2/HAL/ |
D | QCameraThermalAdapter.h | 77 int (*callback)(int, void *userdata, void *data), void *data);
|
/device/generic/goldfish/gps/ |
D | gps_qemu.c | 187 gps_location_callback callback; member 229 r->callback = NULL; in nmea_reader_init() 239 r->callback = cb; in nmea_reader_set_callback() 242 r->callback( &r->fix ); in nmea_reader_set_callback() 530 if (r->callback) { in nmea_reader_parse() 531 r->callback( &r->fix ); in nmea_reader_parse()
|