Home
last modified time | relevance | path

Searched refs:func (Results 1 – 25 of 73) sorted by relevance

123

/device/google/contexthub/firmware/os/platform/stm32/inc/plat/
Di2c.h33 enum StmGpioAltFunc func; member
51 #define I2C1_GPIO_SCL_PB6 { .gpioNum = GPIO_PB(6), .func = GPIO_AF_I2C1 }
52 #define I2C1_GPIO_SCL_PB8 { .gpioNum = GPIO_PB(8), .func = GPIO_AF_I2C1 }
53 #define I2C1_GPIO_SDA_PB7 { .gpioNum = GPIO_PB(7), .func = GPIO_AF_I2C1 }
54 #define I2C1_GPIO_SDA_PB9 { .gpioNum = GPIO_PB(9), .func = GPIO_AF_I2C1 }
61 #define I2C2_GPIO_SCL_PB10 { .gpioNum = GPIO_PB(10), .func = GPIO_AF_I2C2_A }
62 #define I2C2_GPIO_SDA_PB3 { .gpioNum = GPIO_PB(3), .func = GPIO_AF_I2C2_B }
63 #define I2C2_GPIO_SDA_PB9 { .gpioNum = GPIO_PB(9), .func = GPIO_AF_I2C2_B }
64 #define I2C2_GPIO_SDA_PB11 { .gpioNum = GPIO_PB(11), .func = GPIO_AF_I2C2_A }
69 #define I2C3_GPIO_SCL_PA8 { .gpioNum = GPIO_PA(8), .func = GPIO_AF_I2C3_A }
[all …]
/device/google/coral/vibrator/tests/
Dtest-hwapi.cpp111 static auto MakeParam(std::string name, std::function<T> func) { in MakeParam() argument
112 return std::make_tuple(name, func); in MakeParam()
120 auto func = std::get<1>(param); in TEST_P() local
122 EXPECT_TRUE(func(*mHwApi)); in TEST_P()
127 auto func = std::get<1>(param); in TEST_P() local
129 EXPECT_FALSE(func(*mNoApi)); in TEST_P()
145 auto func = std::get<1>(param); in TEST_P() local
151 EXPECT_TRUE(func(*mHwApi, &actual)); in TEST_P()
158 auto func = std::get<1>(param); in TEST_P() local
164 EXPECT_TRUE(func(*mHwApi, &actual)); in TEST_P()
[all …]
/device/google/contexthub/firmware/os/core/
DosApi.c493 [SYSCALL_OS_MAIN_EVTQ_SUBCRIBE] = { .func = osExpApiEvtqSubscribe, }, in osApiExport()
494 [SYSCALL_OS_MAIN_EVTQ_UNSUBCRIBE] = { .func = osExpApiEvtqUnsubscribe, }, in osApiExport()
495 [SYSCALL_OS_MAIN_EVTQ_ENQUEUE] = { .func = osExpApiEvtqEnqueue, }, in osApiExport()
496 [SYSCALL_OS_MAIN_EVTQ_ENQUEUE_PRIVATE] = { .func = osExpApiEvtqEnqueuePrivate, }, in osApiExport()
497 [SYSCALL_OS_MAIN_EVTQ_RETAIN_EVT] = { .func = osExpApiEvtqRetainEvt, }, in osApiExport()
498 [SYSCALL_OS_MAIN_EVTQ_FREE_RETAINED] = { .func = osExpApiEvtqFreeRetained, }, in osApiExport()
505 [SYSCALL_OS_MAIN_LOG_LOGV] = { .func = osExpApiLogLogv, }, in osApiExport()
512 [SYSCALL_OS_MAIN_SENSOR_SIGNAL] = { .func = osExpApiSensorSignal, }, in osApiExport()
513 [SYSCALL_OS_MAIN_SENSOR_REG] = { .func = osExpApiSensorReg, }, in osApiExport()
514 [SYSCALL_OS_MAIN_SENSOR_UNREG] = { .func = osExpApiSensorUnreg, }, in osApiExport()
[all …]
Dnanohub_chre.c651 [SYSCALL_CHRE_MAIN_API_LOG_OLD] = { .func = osChreApiLogLogvOld },
652 [SYSCALL_CHRE_MAIN_API_LOG] = { .func = osChreApiLogLogv },
653 [SYSCALL_CHRE_MAIN_API_GET_APP_ID] = { .func = osChreApiGetAppId },
654 [SYSCALL_CHRE_MAIN_API_GET_INST_ID] = { .func = osChreApiGetInstanceId },
655 [SYSCALL_CHRE_MAIN_API_GET_TIME] = { .func = osChreApiGetTime },
656 [SYSCALL_CHRE_MAIN_API_GET_HOST_TIME_OFFSET] = { .func = osChreApiGetHostTimeOffset },
657 [SYSCALL_CHRE_MAIN_API_TIMER_SET] = { .func = osChreApiTimerSet },
658 [SYSCALL_CHRE_MAIN_API_TIMER_CANCEL] = { .func = osChreApiTimerCancel },
659 [SYSCALL_CHRE_MAIN_API_ABORT] = { .func = osChreApiAbort },
660 [SYSCALL_CHRE_MAIN_API_HEAP_ALLOC] = { .func = osChreApiHeapAlloc },
[all …]
Dsyscall.c71 return &tab->entry[idx].func; in syscallFindHandlerLoc()
79 bool syscallAddFunc(uint32_t path, SyscallFunc func) in syscallAddFunc() argument
86 *f = func; in syscallAddFunc()
/device/generic/goldfish-opengl/android-emu/android/base/threads/
DAndroidFunctorThread.h36 explicit FunctorThread(const Functor& func,
38 : FunctorThread(Functor(func), flags) {} in FunctorThread() argument
40 explicit FunctorThread(Functor&& func,
45 explicit FunctorThread(Func&& func,
47 : Thread(flags), mThreadFunc([func = std::move(func)]() { in Thread()
48 func(); in Thread()
DAndroidFunctorThread.cpp23 FunctorThread::FunctorThread(Functor&& func, ThreadFlags flags) in FunctorThread() argument
25 , mThreadFunc(std::move(func)) { in FunctorThread()
/device/google/contexthub/firmware/os/algos/common/math/
Dlevenberg_marquardt.c16 static bool computeResidualAndGradients(ResidualAndJacobianFunction func,
32 ResidualAndJacobianFunction func) { in lmSolverInit() argument
35 ASSERT_NOT_NULL(func); in lmSolverInit()
38 solver->func = func; in lmSolverInit()
81 if (computeResidualAndGradients(solver->func, state, f_data, data->temp, in lmSolverSolve()
114 solver->func(state_new, f_data, data->residual_new, NULL); in lmSolverSolve()
131 if (computeResidualAndGradients(solver->func, state, f_data, data->temp, in lmSolverSolve()
215 bool computeResidualAndGradients(ResidualAndJacobianFunction func, in computeResidualAndGradients() argument
226 func(state, f_data, residual, jacobian); in computeResidualAndGradients()
Dlevenberg_marquardt.h104 ResidualAndJacobianFunction func; member
112 ResidualAndJacobianFunction func);
/device/generic/goldfish/audio/
Ddevice_factory.cpp43 const auto func = reinterpret_cast<Func>( in DevicesFactory() local
45 LOG_ALWAYS_FATAL_IF(!func); in DevicesFactory()
47 mLegacyFactory.reset((*func)("default")); in DevicesFactory()
/device/google/bonito/json-c/
Djson_object.h17 #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated)) argument
19 #define THIS_FUNCTION_IS_DEPRECATED(func) __declspec(deprecated) func argument
21 #define THIS_FUNCTION_IS_DEPRECATED(func) func argument
/device/google/coral/json-c/
Djson_object.h17 #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated)) argument
19 #define THIS_FUNCTION_IS_DEPRECATED(func) __declspec(deprecated) func argument
21 #define THIS_FUNCTION_IS_DEPRECATED(func) func argument
/device/google/crosshatch/json-c/
Djson_object.h17 #define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated)) argument
19 #define THIS_FUNCTION_IS_DEPRECATED(func) __declspec(deprecated) func argument
21 #define THIS_FUNCTION_IS_DEPRECATED(func) func argument
/device/generic/opengl-transport/host/commands/emugen/tests/t.001/expected/wrapper/
Dfoo_wrapper_entry.cpp8 void fooAlphaFunc(FooInt func, FooFloat ref);
24 void fooAlphaFunc(FooInt func, FooFloat ref) in fooAlphaFunc() argument
27 ctx->fooAlphaFunc( func, ref); in fooAlphaFunc()
/device/generic/goldfish-opengl/fuchsia/
Dservice_connector.cc22 void SetConnectToServiceFunction(PFN_ConnectToServiceAddr func) { in SetConnectToServiceFunction() argument
23 g_connection_function = func; in SetConnectToServiceFunction()
/device/generic/opengl-transport/host/commands/emugen/tests/t.001/expected/encoder/
Dfoo_entry.cpp8 void fooAlphaFunc(FooInt func, FooFloat ref);
24 void fooAlphaFunc(FooInt func, FooFloat ref) in fooAlphaFunc() argument
27 ctx->fooAlphaFunc(ctx, func, ref); in fooAlphaFunc()
/device/generic/goldfish/radio/libril/
Dril_event.h31 ril_event_cb func; member
39 void ril_event_set(struct ril_event * ev, int fd, bool persist, ril_event_cb func, void * param);
Dril_event.cpp87 dlog(" func = %x", (unsigned int)ev->func); in dump_event()
209 ev->func(ev->fd, 0, ev->param); in firePending()
252 void ril_event_set(struct ril_event * ev, int fd, bool persist, ril_event_cb func, void * param) in ril_event_set() argument
259 ev->func = func; in ril_event_set()
/device/linaro/poplar/wifi/wifi_hal/
Dcommon.cpp70 wifi_error wifi_register_handler(wifi_handle handle, int cmd, nl_recvmsg_msg_cb_t func, void *arg) in wifi_register_handler() argument
83 info->event_cb[info->num_event_cb].cb_func = func; in wifi_register_handler()
86 arg, func, cmd, info->num_event_cb); in wifi_register_handler()
96 uint32_t id, int subcmd, nl_recvmsg_msg_cb_t func, void *arg) in wifi_register_vendor_handler() argument
109 info->event_cb[info->num_event_cb].cb_func = func; in wifi_register_vendor_handler()
112 arg, func, id, subcmd, info->num_event_cb); in wifi_register_vendor_handler()
/device/google/contexthub/firmware/os/algos/calibration/online_calibration/common_data/
Dcalibration_callback.h60 void (ClassCallerType::*func)(const CalibrationType& cal_data, in Callback()
62 : object_ptr_(obj), function_ptr_(func) {} in Callback()
/device/generic/goldfish-opengl/system/OpenglSystemCommon/
DThreadInfo_host.cpp28 void setTlsDestructor(tlsDtorCallback func) { in setTlsDestructor() argument
29 sTlsDestructorCallback = func; in setTlsDestructor()
DThreadInfo.cpp55 void setTlsDestructor(tlsDtorCallback func) { in setTlsDestructor() argument
56 sTlsDestructorCallback = func; in setTlsDestructor()
/device/google/contexthub/firmware/os/inc/
Dsyscall.h64 SyscallFunc func; member
75 bool syscallAddFunc(uint32_t path, SyscallFunc func);
/device/linaro/hikey/hifi/xaf/hifi-dpf/audio/
Dxa-class-base.h199 #define CODEC_API(codec, func, ...) \ argument
201 XA_ERRORCODE __e = (codec)->func((codec), ##__VA_ARGS__); \
208 TRACE(ERROR, _x("[%p]: " #func ": %X"), (codec), __e); \
/device/google/contexthub/firmware/os/platform/stm32/
Dbl.c183 FlashEraseF func; in _blEraseSectors() local
189 func = (FlashEraseF)((uint8_t *)code+1); in _blEraseSectors()
198 func(&flash->CR, flash->CR | FLASH_CR_STRT, &flash->SR); in _blEraseSectors()
288 FlashWriteF func; in blWriteBytes() local
294 func = (FlashWriteF)((uint8_t *)code+1); in blWriteBytes()
303 func(&dst[i], src[i], &flash->SR); in blWriteBytes()

123