/device/google/contexthub/firmware/os/core/ |
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 | 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 | spi.c | 156 SpiCbkF callback = state->rxTxCallback; in spiMasterDone() local 160 callback(cookie, err); in spiMasterDone() 214 SpiCbkF callback = state->finishCallback; in spiSlaveCsInactive() local 220 callback(cookie, 0); in spiSlaveCsInactive() 247 SpiCbkF callback = state->rxTxCallback; in spiSlaveIdle() local 254 callback(cookie, err); in spiSlaveIdle() 275 SpiCbkF callback, void *cookie) in spiSetupRxTx() argument 280 state->rxTxCallback = callback; in spiSetupRxTx() 318 const struct SpiMode *mode, SpiCbkF callback, in spiMasterRxTx() argument 327 ret = spiSetupRxTx(state, packets, n, callback, cookie); in spiMasterRxTx() [all …]
|
/device/generic/goldfish/soundtrigger/ |
D | main.cpp | 61 const sp<V2_0::ISoundTriggerHwCallback>& callback, in loadSoundModel() 65 (void)callback; in loadSoundModel() 72 const sp<V2_0::ISoundTriggerHwCallback>& callback, in loadPhraseSoundModel() 76 (void)callback; in loadPhraseSoundModel() 89 const sp<V2_0::ISoundTriggerHwCallback>& callback, in startRecognition() 93 (void)callback; in startRecognition() 109 const sp<V2_1::ISoundTriggerHwCallback>& callback, in loadSoundModel_2_1() 113 (void)callback; in loadSoundModel_2_1() 120 const sp<V2_1::ISoundTriggerHwCallback>& callback, in loadPhraseSoundModel_2_1() 124 (void)callback; in loadPhraseSoundModel_2_1() [all …]
|
/device/generic/goldfish/network/wifi_forwarder/ |
D | netlink_socket.cpp | 61 Result NetlinkSocket::setOnMsgInCallback(int (*callback)(struct nl_msg*, void*), in setOnMsgInCallback() 63 if (nl_cb_set(mCallback, NL_CB_MSG_IN, NL_CB_CUSTOM, callback, context)) { in setOnMsgInCallback() 69 Result NetlinkSocket::setOnMsgOutCallback(int (*callback)(struct nl_msg*, in setOnMsgOutCallback() 72 if (nl_cb_set(mCallback, NL_CB_MSG_OUT, NL_CB_CUSTOM, callback, context)) { in setOnMsgOutCallback() 78 Result NetlinkSocket::setOnSeqCheckCallback(int (*callback)(struct nl_msg*, in setOnSeqCheckCallback() 82 callback, context)) { in setOnSeqCheckCallback() 88 Result NetlinkSocket::setOnAckCallback(int (*callback)(struct nl_msg*, void*), in setOnAckCallback() 90 if (nl_cb_set(mCallback, NL_CB_ACK, NL_CB_CUSTOM, callback, context)) { in setOnAckCallback() 96 Result NetlinkSocket::setOnErrorCallback(int (*callback)(struct sockaddr_nl*, in setOnErrorCallback() 100 if (nl_cb_err(mCallback, NL_CB_CUSTOM, callback, context)) { in setOnErrorCallback()
|
D | netlink_socket.h | 41 Result setOnMsgInCallback(int (*callback)(struct nl_msg*, void*), 43 Result setOnMsgOutCallback(int (*callback)(struct nl_msg*, void*), 45 Result setOnSeqCheckCallback(int (*callback)(struct nl_msg*, void*), 47 Result setOnAckCallback(int (*callback)(struct nl_msg*, void*), 49 Result setOnErrorCallback(int (*callback)(struct sockaddr_nl*,
|
/device/google/contexthub/firmware/os/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/coral/usb/ |
D | UsbGadget.cpp | 48 Return<void> UsbGadget::getCurrentUsbFunctions(const sp<V1_0::IUsbGadgetCallback> &callback) { in getCurrentUsbFunctions() argument 49 Return<void> ret = callback->getCurrentUsbFunctionsCb( in getCurrentUsbFunctions() 220 const sp<V1_0::IUsbGadgetCallback> &callback, in setupFunctions() argument 263 if (callback) in setupFunctions() 264 callback->setCurrentUsbFunctionsCb(functions, Status::SUCCESS); in setupFunctions() 277 if (callback) { in setupFunctions() 279 Return<void> ret = callback->setCurrentUsbFunctionsCb( in setupFunctions() 289 const sp<V1_0::IUsbGadgetCallback> &callback, in setCurrentUsbFunctions() argument 308 if (callback == NULL) in setCurrentUsbFunctions() 310 Return<void> ret = callback->setCurrentUsbFunctionsCb(functions, Status::SUCCESS); in setCurrentUsbFunctions() [all …]
|
D | UsbGadget.h | 77 Return<void> setCurrentUsbFunctions(uint64_t functions, const sp<IUsbGadgetCallback> &callback, 80 Return<void> getCurrentUsbFunctions(const sp<IUsbGadgetCallback> &callback) override; 84 Status setupFunctions(uint64_t functions, const sp<IUsbGadgetCallback> &callback,
|
/device/google/contexthub/firmware/os/platform/native/ |
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/cuttlefish/guest/hals/gps/ |
D | gps_thread.cpp | 36 if (!r->callback) { in reader_call_callback() 68 D("Sending fix to callback %p", r->callback); in reader_call_callback() 69 r->callback(&r->fix); in reader_call_callback() 159 reader.callback = NULL; in gps_state_thread() 167 reader.callback = state->callbacks.location_cb; in gps_state_thread() 168 D("Thread starting callback=%p", reader.callback); in gps_state_thread()
|
/device/generic/goldfish/gnss/ |
D | gnss.cpp | 50 Return<bool> Gnss20::setCallback_2_0(const sp<ahg20::IGnssCallback>& callback) { in setCallback_2_0() argument 51 if (callback == nullptr) { in setCallback_2_0() 55 callback->gnssSetCapabilitiesCb_2_0(Caps::MEASUREMENTS | 0); in setCallback_2_0() 56 callback->gnssNameCb(kGnssDeviceName); in setCallback_2_0() 57 callback->gnssSetSystemInfoCb({.yearOfHw = 2020}); in setCallback_2_0() 59 m_dataSink.setCallback20(callback); in setCallback_2_0()
|
D | gnss_measurement.h | 37 …entStatus10> setCallback_2_0(const sp<ahg20::IGnssMeasurementCallback>& callback, bool enableFullT… 40 …entStatus10> setCallback_1_1(const sp<ahg11::IGnssMeasurementCallback>& callback, bool enableFullT… 43 …Return<GnssMeasurementStatus10> setCallback(const sp<ahg10::IGnssMeasurementCallback>& callback) o…
|
D | agnss.cpp | 21 Return<void> AGnss20::setCallback(const sp<ahg20::IAGnssCallback>& callback) { in setCallback() argument 22 (void)callback; in setCallback()
|
/device/google/contexthub/firmware/os/platform/stm32/ |
D | i2c.c | 143 I2cCallbackF callback; member 224 I2cCallbackF callback; member 360 state->rx.callback(state->rx.cookie, tx, rx, err); in stmI2cInvokeRxCallback() 367 state->tx.callback(state->tx.cookie, tx, rx, err); in stmI2cInvokeTxCallback() 530 state->tx.callback = xfer->callback; in stmI2cMasterTxRxDone() 535 state->rx.callback = NULL; in stmI2cMasterTxRxDone() 600 size_t size, DmaCallbackF callback, bool rx, bool last) in stmI2cMasterStartDma() argument 613 dmaStart(I2C_DMA_BUS, dmaCfg->stream, buf, size, &mode, callback, pdev); in stmI2cMasterStartDma() 912 I2cCallbackF callback, void *cookie) in i2cMasterTxRx() argument 936 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/wahoo/usb/ |
D | UsbGadget.cpp | 215 const sp<V1_0::IUsbGadgetCallback> &callback) { in getCurrentUsbFunctions() argument 216 Return<void> ret = callback->getCurrentUsbFunctionsCb( in getCurrentUsbFunctions() 422 uint64_t functions, const sp<V1_0::IUsbGadgetCallback> &callback, in setupFunctions() argument 518 if (callback) in setupFunctions() 519 callback->setCurrentUsbFunctionsCb(functions, Status::SUCCESS); in setupFunctions() 551 if (callback) { in setupFunctions() 559 Return<void> ret = callback->setCurrentUsbFunctionsCb( in setupFunctions() 569 uint64_t functions, const sp<V1_0::IUsbGadgetCallback> &callback, in setCurrentUsbFunctions() argument 586 if (callback == NULL) return Void(); in setCurrentUsbFunctions() 588 callback->setCurrentUsbFunctionsCb(functions, Status::SUCCESS); in setCurrentUsbFunctions() [all …]
|
D | UsbGadget.h | 81 const sp<IUsbGadgetCallback>& callback, 85 const sp<IUsbGadgetCallback>& callback) override; 90 const sp<IUsbGadgetCallback>& callback,
|
/device/google/bonito/usb/ |
D | UsbGadget.cpp | 231 const sp<V1_0::IUsbGadgetCallback> &callback) { in getCurrentUsbFunctions() argument 232 Return<void> ret = callback->getCurrentUsbFunctionsCb( in getCurrentUsbFunctions() 447 uint64_t functions, const sp<V1_0::IUsbGadgetCallback> &callback, in setupFunctions() argument 543 if (callback) in setupFunctions() 544 callback->setCurrentUsbFunctionsCb(functions, Status::SUCCESS); in setupFunctions() 576 if (callback) { in setupFunctions() 584 Return<void> ret = callback->setCurrentUsbFunctionsCb( in setupFunctions() 594 uint64_t functions, const sp<V1_0::IUsbGadgetCallback> &callback, in setCurrentUsbFunctions() argument 613 if (callback == NULL) return Void(); in setCurrentUsbFunctions() 615 callback->setCurrentUsbFunctionsCb(functions, Status::SUCCESS); in setCurrentUsbFunctions() [all …]
|
D | UsbGadget.h | 83 const sp<IUsbGadgetCallback>& callback, 87 const sp<IUsbGadgetCallback>& callback) override; 92 const sp<IUsbGadgetCallback>& callback,
|
/device/google/crosshatch/usb/ |
D | UsbGadget.cpp | 231 const sp<V1_0::IUsbGadgetCallback> &callback) { in getCurrentUsbFunctions() argument 232 Return<void> ret = callback->getCurrentUsbFunctionsCb( in getCurrentUsbFunctions() 447 uint64_t functions, const sp<V1_0::IUsbGadgetCallback> &callback, in setupFunctions() argument 543 if (callback) in setupFunctions() 544 callback->setCurrentUsbFunctionsCb(functions, Status::SUCCESS); in setupFunctions() 576 if (callback) { in setupFunctions() 584 Return<void> ret = callback->setCurrentUsbFunctionsCb( in setupFunctions() 594 uint64_t functions, const sp<V1_0::IUsbGadgetCallback> &callback, in setCurrentUsbFunctions() argument 613 if (callback == NULL) return Void(); in setCurrentUsbFunctions() 615 callback->setCurrentUsbFunctionsCb(functions, Status::SUCCESS); in setCurrentUsbFunctions() [all …]
|
D | UsbGadget.h | 83 const sp<IUsbGadgetCallback>& callback, 87 const sp<IUsbGadgetCallback>& callback) override; 92 const sp<IUsbGadgetCallback>& callback,
|
/device/google/vrservices/vrcore/sepolicy/ |
D | vr_hwc.te | 1 # VrCore registers a callback with VR HWC. The callback is then used to post new
|