/ohos5.0/drivers/peripheral/vibrator/hal/src/ |
H A D | vibrator_controller.c | 47 int32_t ret = priv->ioService->dispatcher->Dispatch(&priv->ioService->object, cmd, msg, reply); in SendVibratorMsg() 72 …if (memcpy_s(&priv->vibratorInfoEntry, sizeof(priv->vibratorInfoEntry), buf, sizeof(*buf)) != EOK)… in ReadVibratorInfo() 91 (void)OsalMutexLock(&priv->mutex); in GetVibratorInfo() 336 if (priv == NULL) { in NewVibratorInterfaceInstance() 339 if (priv->initState) { in NewVibratorInterfaceInstance() 343 OsalMutexInit(&priv->mutex); in NewVibratorInterfaceInstance() 355 if (priv->ioService == NULL) { in NewVibratorInterfaceInstance() 361 priv->initState = true; in NewVibratorInterfaceInstance() 372 if (!priv->initState) { in FreeVibratorInterfaceInstance() 377 if (priv->ioService != NULL) { in FreeVibratorInterfaceInstance() [all …]
|
/ohos5.0/drivers/peripheral/audio/hdi_service/primary/ |
H A D | audio_manager_service.c | 40 return &priv; in GetAudioManagerPriv() 53 if (priv->handle == NULL) { in AudioManagerLoadPrimaryLib() 61 priv->createIfInstance = dlsym(priv->handle, "AudioManagerCreateIfInstance"); in AudioManagerLoadPrimaryLib() 68 priv->destroyIfInstance = dlsym(priv->handle, "AudioManagerDestroyIfInstance"); in AudioManagerLoadPrimaryLib() 80 dlclose(priv->handle); in AudioManagerLoadPrimaryLib() 81 priv->handle = NULL; in AudioManagerLoadPrimaryLib() 100 dlclose(priv->handle); in AudioManagerImplGetInstance() 101 priv->handle = NULL; in AudioManagerImplGetInstance() 108 dlclose(priv->handle); in AudioManagerImplGetInstance() 109 priv->handle = NULL; in AudioManagerImplGetInstance() [all …]
|
/ohos5.0/drivers/peripheral/light/hal/src/ |
H A D | light_controller.c | 65 if (priv->ioService == NULL || priv->ioService->dispatcher == NULL || in SendLightMsg() 71 int32_t ret = priv->ioService->dispatcher->Dispatch(&priv->ioService->object, cmd, msg, reply); in SendLightMsg() 95 …priv->lightInfoEntry = (struct LightInfo *)OsalMemCalloc(sizeof(*priv->lightInfoEntry) * priv->lig… in ReadLightInfo() 101 pos = priv->lightInfoEntry; in ReadLightInfo() 139 if (priv->lightNum > 0) { in GetLightInfo() 140 *count = priv->lightNum; in GetLightInfo() 170 *count = priv->lightNum; in GetLightInfo() 392 if (priv->initState) { in NewLightInterfaceInstance() 409 priv->initState = true; in NewLightInterfaceInstance() 419 if (!priv->initState) { in FreeLightInterfaceInstance() [all …]
|
/ohos5.0/drivers/peripheral/audio/hdi_service/primary_impl/vdi_src/ |
H A D | audio_manager_vdi.c | 243 …int32_t ret = priv->vdiManager->GetAllAdapters(priv->vdiManager, priv->vdiDescs, &priv->vdiDescsCo… in AudioManagerPrivVdiGetAllAdapters() 264 …ret = AudioManagerVdiDescsToDescs(priv->vdiDescs, priv->vdiDescsCount, priv->descs, &priv->descsCo… in AudioManagerPrivVdiGetAllAdapters() 268 AudioManagerReleaseDescs(priv->descs, priv->descsCount); in AudioManagerPrivVdiGetAllAdapters() 299 if (priv->vdiDescsCount != 0 && priv->vdiDescs != NULL && priv->vdiDescsCount >= *descsLen) { in AudioManagerVendorGetAllAdapters() 372 if (priv == NULL || priv->vdiManager == NULL || priv->vdiManager->LoadAdapter == NULL) { in AudioManagerVendorLoadAdapter() 417 if (priv == NULL || priv->vdiManager == NULL || priv->vdiManager->UnloadAdapter == NULL) { in AudioManagerVendorUnloadAdapterSafety() 439 priv->vdiManager->UnloadAdapter(priv->vdiManager, vdiAdapter); in AudioManagerVendorUnloadAdapterSafety() 483 AudioManagerReleaseDescs(priv->descs, priv->descsCount); in ReleaseAudioManagerVendorObject() 486 priv = NULL; in ReleaseAudioManagerVendorObject() 523 if (priv == NULL) { in AudioManagerCreateIfInstance() [all …]
|
H A D | audio_adapter_vdi.c | 62 return priv->adapterInfo[descIndex].vdiAdapter; in AudioGetVdiAdapterByDescIndexVdi() 76 return priv->adapterInfo[i].vdiAdapter; in AudioGetVdiAdapterVdi() 606 return priv->adapterInfo[descIndex].refCnt; in AudioGetAdapterRefCntVdi() 623 priv->adapterInfo[descIndex].refCnt++; in AudioIncreaseAdapterRefVdi() 626 priv->adapterInfo[descIndex].refCnt); in AudioIncreaseAdapterRefVdi() 642 priv->adapterInfo[descIndex].refCnt--; in AudioDecreaseAdapterRefVdi() 644 priv->adapterInfo[descIndex].refCnt); in AudioDecreaseAdapterRefVdi() 654 priv->adapterInfo[descIndex].refCnt = 0; in AudioEnforceClearAdapterRefCntVdi() 686 priv->adapterInfo[descIndex].refCnt = 1; in AudioCreateAdapterVdi() 714 priv->isRegCb = false; in AudioReleaseAdapterVdi() [all …]
|
H A D | audio_render_vdi.c | 59 if (priv->renderInfos[renderId] == NULL) { in AudioGetVdiRenderByIdVdi() 64 return priv->renderInfos[renderId]->vdiRender; in AudioGetVdiRenderByIdVdi() 987 *renderId = GetAvailableRenderId(priv); in AudioCreateRenderByIdVdi() 994 if (priv->renderInfos[*renderId] == NULL) { in AudioCreateRenderByIdVdi() 1009 priv->renderInfos[*renderId] = NULL; in AudioCreateRenderByIdVdi() 1020 priv->renderInfos[*renderId] = NULL; in AudioCreateRenderByIdVdi() 1038 if (priv->renderInfos[renderId] == NULL) { in DecreaseRenderUsrCount() 1043 priv->renderInfos[renderId]->usrCount--; in DecreaseRenderUsrCount() 1055 if (priv->renderInfos[renderId] == NULL) { in AudioDestroyRenderByIdVdi() 1070 OsalMemFree(priv->renderInfos[renderId]); in AudioDestroyRenderByIdVdi() [all …]
|
H A D | audio_capture_vdi.c | 56 if (priv->captureInfos[captureId] == NULL) { in AudioGetVdiCaptureByIdVdi() 61 return priv->captureInfos[captureId]->vdiCapture; in AudioGetVdiCaptureByIdVdi() 793 *captureId = GetAvailableCaptureId(priv); in AudioCreateCaptureByIdVdi() 800 if (priv->captureInfos[*captureId] == NULL) { in AudioCreateCaptureByIdVdi() 816 priv->captureInfos[*captureId] = NULL; in AudioCreateCaptureByIdVdi() 820 priv->captureInfos[*captureId]->usrCount = 1; in AudioCreateCaptureByIdVdi() 836 if (priv->captureInfos[captureId] == NULL) { in DecreaseCaptureUsrCount() 841 priv->captureInfos[captureId]->usrCount--; in DecreaseCaptureUsrCount() 853 if (priv->captureInfos[captureId] == NULL) { in AudioDestroyCaptureByIdVdi() 865 OsalMemFree(priv->captureInfos[captureId]); in AudioDestroyCaptureByIdVdi() [all …]
|
/ohos5.0/drivers/peripheral/display/hal/default/ |
H A D | display_layer.c | 285 if (priv->fd < 0) { in CreateLayer() 291 priv->fbSize = ((priv->pitch * priv->height) + 0xfff) & (~0xfff); in CreateLayer() 292 … priv->fbAddr = (void *)mmap(NULL, priv->fbSize, PROT_READ | PROT_WRITE, MAP_SHARED, priv->fd, 0); in CreateLayer() 295 close(priv->fd); in CreateLayer() 296 priv->fd = -1; in CreateLayer() 297 priv->pitch = 0; in CreateLayer() 329 munmap(priv->fbAddr, priv->fbSize); in CloseLayer() 331 priv->fd = -1; in CloseLayer() 378 ret = memcpy_s(priv->fbAddr, priv->fbSize, buffer->data.virAddr, priv->fbSize); in Flush() 404 if (priv->fd < 0) { in GetLayerBuffer() [all …]
|
/ohos5.0/drivers/hdf_core/adapter/khdf/linux/network/src/ |
H A D | net_device_adapter.c | 36 struct FullNetDevicePriv *priv = NULL; in NetDevXmitCheck() local 43 if (priv == NULL || priv->dev == NULL || priv->impl == NULL) { in NetDevXmitCheck() 61 netDev = priv->impl->netDevice; in NetDevXmit() 84 if (priv == NULL || priv->dev == NULL || priv->impl == NULL || priv->impl->netDevice == NULL) { in NetDevGetStats() 88 netDev = priv->impl->netDevice; in NetDevGetStats() 176 return priv->dev; in GetDevFromDevImpl() 196 priv->dev = dev; in NetDevInit() 197 priv->impl = impl; in NetDevInit() 198 impl->osPrivate = (void *)priv; in NetDevInit() 214 DestroyNetDevice(priv->dev); in NetDevDeInit() [all …]
|
/ohos5.0/drivers/hdf_core/adapter/khdf/liteos/osal/src/ |
H A D | osal_cdev.c | 45 void *priv; member 51 struct OsalCdev *dev = (struct OsalCdev *)drvData->priv; in OsalCdevOpen() 61 struct OsalCdev *dev = (struct OsalCdev *)drvData->priv; in OsalCdevRelease() 71 struct OsalCdev *dev = (struct OsalCdev *)drvData->priv; in OsalCdevRead() 81 struct OsalCdev *dev = (struct OsalCdev *)drvData->priv; in OsalCdevWrite() 91 struct OsalCdev *dev = (struct OsalCdev *)drvData->priv; in OsalCdevSeek() 101 struct OsalCdev *dev = (struct OsalCdev *)drvData->priv; in OsalCdevIoctl() 151 cdev->priv = priv; in OsalRegisterCdev() 173 return cdev != NULL ? cdev->priv : NULL; in OsalGetCdevPriv() 176 void OsalSetFilePriv(struct file *filep, void *priv) in OsalSetFilePriv() argument [all …]
|
/ohos5.0/drivers/hdf_core/adapter/khdf/linux/platform/watchdog/ |
H A D | watchdog_adapter.c | 78 wdt->priv = fp; in WdtOpenFile() 85 struct file *fp = (struct file *)wdt->priv; in WdtAdapterClose() 93 wdt->priv = NULL; in WdtAdapterClose() 105 if (wdt->priv == NULL) { in WdtAdapterStart() 109 fp = wdt->priv; in WdtAdapterStart() 137 if (wdt->priv == NULL) { in WdtAdapterFeed() 141 fp = (struct file *)wdt->priv; in WdtAdapterFeed() 201 if (wdt->priv == NULL) { in WdtAdapterSetTimeout() 205 fp = (struct file *)wdt->priv; in WdtAdapterSetTimeout() 219 if (wdt->priv == NULL) { in WdtAdapterGetTimeout() [all …]
|
/ohos5.0/drivers/hdf_core/adapter/khdf/linux/platform/regulator/ |
H A D | regulator_adapter.c | 28 if (node == NULL || node->priv == NULL) { in LinuxRegulatorOpen() 33 struct LinuxRegulatorInfo *info = (struct LinuxRegulatorInfo *)node->priv; in LinuxRegulatorOpen() 58 if (node == NULL || node->priv == NULL) { in LinuxRegulatorClose() 77 if (node == NULL || node->priv == NULL) { in LinuxRegulatorRemove() 89 node->priv = NULL; in LinuxRegulatorRemove() 95 if (node == NULL || node->priv == NULL) { in LinuxRegulatorEnable() 120 if (node == NULL || node->priv == NULL) { in LinuxRegulatorDisable() 145 if (node == NULL || node->priv == NULL) { in LinuxRegulatorForceDisable() 167 if (node == NULL || node->priv == NULL) { in LinuxRegulatorSetVoltage() 187 if (node == NULL || node->priv == NULL || voltage == NULL) { in LinuxRegulatorGetVoltage() [all …]
|
/ohos5.0/drivers/hdf_core/framework/core/manager/test/unittest/common/ |
H A D | hdf_ioservice_test.cpp | 129 …static_cast<char *>(listener->priv), eventCount++, static_cast<char *>(service->priv), time.sec, t… in OnDevEventReceivedTest() 137 if (strcmp(string, static_cast<char *>(service->priv)) == 0) { in OnDevEventReceivedTest() 231 serv->priv = const_cast<void *>(static_cast<const void *>("serv0")); 281 serv->priv = const_cast<void *>(static_cast<const void *>("serv0")); 361 serv->priv = const_cast<void *>(static_cast<const void *>("serv")); 404 serv->priv = const_cast<void *>(static_cast<const void *>("serv")); 472 serv->priv = const_cast<void *>(static_cast<const void *>("serv")); 509 serv->priv = const_cast<void *>(static_cast<const void *>("serv")); 835 listener->priv = static_cast<void *>(&issd); 867 listener->priv = static_cast<void *>(&issd); [all …]
|
/ohos5.0/drivers/hdf_core/adapter/platform/uart/ |
H A D | uart_gr5xx.c | 185 udd = (struct UartDriverData *)host->priv; in UartHostDevRead() 223 udd = (struct UartDriverData *)host->priv; in UartHostDevWrite() 250 udd = (struct UartDriverData *)host->priv; in UartHostDevGetBaud() 264 if (host == NULL || host->priv == NULL) { in UartHostDevSetBaud() 341 if (host == NULL || host->priv == NULL) { in UartHostDevSetTransMode() 408 if (host == NULL || host->priv == NULL) { in UartHostDevInit() 456 if (host == NULL || host->priv == NULL) { in UartHostDevDeinit() 655 host->priv = udd; in UartDevAttach() 665 if (host->priv == NULL) { in Gr55xxDetach() 676 host->priv = NULL; in Gr55xxDetach() [all …]
|
H A D | uart_wm.c | 237 if (host == NULL || host->priv == NULL) { in InitUartDevice() 242 uartDevice = (struct UartDevice *)host->priv; in InitUartDevice() 323 uartHost->priv = uartDevice; in AttachUartDevice() 342 devService->priv = NULL; in UartDriverBind() 360 if (host == NULL || host->priv == NULL) { in UartDriverRelease() 365 uartDevice = (struct UartDevice *)host->priv; in UartDriverRelease() 421 if (host == NULL || host->priv == NULL) { in UartHostDevDeinit() 426 uartDevice = (struct UartDevice *)host->priv; in UartHostDevDeinit() 441 device = (struct UartDevice *)host->priv; in UartHostDevWrite() 493 if (host == NULL || host->priv == NULL) { in UartHostDevSetBaud() [all …]
|
H A D | uart_asr.c | 239 udd = (struct UartDriverData *)host->priv; in UartHostDevRead() 275 udd = (struct UartDriverData *)host->priv; in UartHostDevWrite() 302 udd = (struct UartDriverData *)host->priv; in UartHostDevGetBaud() 316 if (host == NULL || host->priv == NULL) { in UartHostDevSetBaud() 393 if (host == NULL || host->priv == NULL) { in UartHostDevSetTransMode() 452 if (host == NULL || host->priv == NULL) { in UartHostDevInit() 498 if (host == NULL || host->priv == NULL) { in UartHostDevDeinit() 611 host->priv = udd; in UartDevAttach() 621 if (host->priv == NULL) { in UartDevDetach() 632 host->priv = NULL; in UartDevDetach() [all …]
|
/ohos5.0/drivers/hdf_core/adapter/platform/watchdog/ |
H A D | watchdog_bes.c | 115 watchdogCntlr->priv = watchdogDevice; in AttachWatchdogDevice() 155 watchdogCntlr->priv = NULL; in WatchdogDriverBind() 201 if (watchdogCntlr == NULL || watchdogCntlr->priv == NULL) { in WatchdogDriverRelease() 206 watchdogDevice = (struct WatchdogDevice *)watchdogCntlr->priv; in WatchdogDriverRelease() 216 if (watchdogCntlr == NULL || watchdogCntlr->priv == NULL) { in WatchdogDevStart() 221 watchdogDevice = (struct WatchdogDevice *)watchdogCntlr->priv; in WatchdogDevStart() 233 if (watchdogCntlr == NULL || watchdogCntlr->priv == NULL) { in WatchdogDevStop() 238 watchdogDevice = (struct WatchdogDevice *)watchdogCntlr->priv; in WatchdogDevStop() 250 if (watchdogCntlr == NULL || watchdogCntlr->priv == NULL) { in WatchdogDevSetTimeout() 255 watchdogDevice = (struct WatchdogDevice *)watchdogCntlr->priv; in WatchdogDevSetTimeout() [all …]
|
/ohos5.0/drivers/hdf_core/framework/support/platform/src/fwk/ |
H A D | platform_listener_u.c | 18 int RtcOnDevEventReceive(void *priv, uint32_t id, struct HdfSBuf *data) in RtcOnDevEventReceive() argument 24 if (priv == NULL || data == NULL) { in RtcOnDevEventReceive() 29 userListener = (struct PlatformUserListener *)priv; in RtcOnDevEventReceive() 48 int PcieOnDevEventReceive(void *priv, uint32_t id, struct HdfSBuf *data) in PcieOnDevEventReceive() argument 61 userListener = (struct PlatformUserListener *)priv; in PcieOnDevEventReceive() 97 if (priv == NULL || data == NULL) { in TimerOnDevEventReceive() 102 userListener = (struct PlatformUserListener *)priv; in TimerOnDevEventReceive() 121 int GpioOnDevEventReceive(void *priv, uint32_t id, struct HdfSBuf *data) in GpioOnDevEventReceive() argument 127 if (priv == NULL || data == NULL) { in GpioOnDevEventReceive() 132 userListener = (struct PlatformUserListener *)priv; in GpioOnDevEventReceive() [all …]
|
/ohos5.0/docs/zh-cn/device-dev/driver/ |
H A D | driver-peripherals-light-des.md | 501 priv->lightInfoEntry = NULL; 504 …priv->lightInfoEntry = (struct LightInfo *)OsalMemCalloc(sizeof(*priv->lightInfoEntry) * priv->lig… 510 pos = priv->lightInfoEntry; 548 if (priv->lightNum > 0) { 549 *count = priv->lightNum; 554 (void)OsalMutexLock(&priv->mutex); 579 *count = priv->lightNum; 580 *lightInfo = priv->lightInfoEntry; 605 (void)OsalMutexLock(&priv->mutex); 664 (void)OsalMutexLock(&priv->mutex); [all …]
|
/ohos5.0/foundation/multimedia/media_lite/services/player_lite/impl/player_control/player/fsm/include/ |
H A D | hi_fsm.h | 30 typedef int32_t (*HI_FSM_StateHandleEvent)(void *priv, const MsgInfo *msg); 32 typedef int32_t (*HI_FSM_StateEnter)(const void *priv, const char *stateName); 34 typedef int32_t (*HI_FSM_StateExit)(const void *priv, const char *stateName); 36 typedef int32_t (*HI_FSM_EventCallback)(const void *stateMachine, const void *priv, int32_t event, … 43 void *priv; member 61 int32_t HI_FSM_RegMsgCallback(void *stateMachine, HI_FSM_EventCallback eventCallback, void *priv);
|
/ohos5.0/base/hiviewdfx/hilog/frameworks/libhilog/vsnprintf/ |
H A D | vsnprintf_s_p.c | 192 static inline int SecVsnprintfPImpl(char *string, size_t count, int priv, const char *format, va_li… 223 int vsnprintfp_s(char *strDest, size_t destMax, size_t count, int priv, const char *format, va_lis… in vsnprintfp_s() argument 237 retVal = SecVsnprintfPImpl(strDest, count + 1, priv, format, arglist); in vsnprintfp_s() 243 retVal = SecVsnprintfPImpl(strDest, destMax, priv, format, arglist); in vsnprintfp_s() 267 int snprintfp_s(char *strDest, size_t destMax, size_t count, int priv, const char *format, ...) in snprintfp_s() argument 271 int ret = vsnprintfp_s(strDest, destMax, count, priv, format, ap); in snprintfp_s() 287 static inline int SecVsnprintfPImpl(char *string, size_t count, int priv, const char *format, va_li… in SecVsnprintfPImpl() argument 295 retVal = SecOutputPS(&str, priv, format, arglist); in SecVsnprintfPImpl()
|
/ohos5.0/drivers/peripheral/usb/ddk/host/include/ |
H A D | ddk_device_manager.h | 24 typedef int32_t (*DdkDevMgrHandleDev)(const struct UsbPnpNotifyMatchInfoTable *device, void *priv); 25 typedef int32_t (*DdkDevMgrHandleGadget)(void *priv); 33 int32_t DdkDevMgrForEachDeviceSafe(DdkDevMgrHandleDev handle, void *priv); 34 int32_t DdkDevMgrGetGadgetLinkStatusSafe(DdkDevMgrHandleGadget handle, void *priv);
|
/ohos5.0/drivers/hdf_core/framework/support/platform/src/timer/ |
H A D | timer_if_u.c | 32 if (service->priv == NULL) { in TimerManagerGetService() 38 service->priv = manager; in TimerManagerGetService() 131 PlatformUserListenerDestory(service->priv, (uint32_t)(uintptr_t)handle); in HwTimerClose() 225 param->manager = (struct PlatformUserListenerManager *)service->priv; in TimerListenerReg() 270 PlatformUserListenerDestory(service->priv, (uint32_t)(uintptr_t)handle); in HwTimerSet() 275 PlatformUserListenerDestory(service->priv, (uint32_t)(uintptr_t)handle); in HwTimerSet() 281 PlatformUserListenerDestory(service->priv, (uint32_t)(uintptr_t)handle); in HwTimerSet() 290 PlatformUserListenerDestory(service->priv, (uint32_t)(uintptr_t)handle); in HwTimerSet() 331 PlatformUserListenerDestory(service->priv, (uint32_t)(uintptr_t)handle); in HwTimerSetOnce() 336 PlatformUserListenerDestory(service->priv, (uint32_t)(uintptr_t)handle); in HwTimerSetOnce() [all …]
|
/ohos5.0/drivers/hdf_core/framework/support/platform/src/hdmi/ |
H A D | hdmi_frl.c | 134 struct HdmiCntlr *cntlr = (struct HdmiCntlr *)frl->priv; in HdmiFrlSetTrainRate() 150 struct HdmiCntlr *cntlr = (struct HdmiCntlr *)frl->priv; in HdmiFrlCheckFrlCapability() 226 struct HdmiCntlr *cntlr = (struct HdmiCntlr *)frl->priv; in HdnmiFrlCheckFrlMode() 272 struct HdmiCntlr *cntlr = (struct HdmiCntlr *)frl->priv; in HdmiFrlIsCtsMode() 314 struct HdmiCntlr *cntlr = (struct HdmiCntlr *)frl->priv; in HdmiFrlAudioNctsSet() 337 struct HdmiCntlr *cntlr = (struct HdmiCntlr *)frl->priv; in HdmiFrlTxffeSet() 354 struct HdmiCntlr *cntlr = (struct HdmiCntlr *)frl->priv; in HdmiFrlphyConfigSet() 749 if (frl == NULL || frl->priv == NULL) { in HdmiFrlTrainingStateMachineTimeoutHandle() 783 if (frl == NULL || frl->priv == NULL) { in HdmiFrlEnable() 803 if (frl == NULL || frl->priv == NULL) { in HdmiFrlModeSelect() [all …]
|
/ohos5.0/drivers/hdf_core/adapter/platform/spi/ |
H A D | spi_wm.c | 290 spiCntlr->priv = spiDevice; in AttachSpiDevice() 341 spiCntlr->priv = NULL; in SpiDriverBind() 386 if (spiCntlr == NULL || spiCntlr->priv == NULL) { in SpiDriverRelease() 391 spiDevice = (struct SpiDevice *)spiCntlr->priv; in SpiDriverRelease() 402 if (spiCntlr == NULL || spiCntlr->priv == NULL) { in SpiDevOpen() 406 spiDevice = (struct SpiDevice *)spiCntlr->priv; in SpiDevOpen() 423 if (spiCntlr == NULL || spiCntlr->priv == NULL) { in SpiDevClose() 427 spiDevice = (struct SpiDevice *)spiCntlr->priv; in SpiDevClose() 439 spiDevice = (struct SpiDevice *)spiCntlr->priv; in SpiDevGetCfg() 454 spiDevice = (struct SpiDevice *)spiCntlr->priv; in SpiDevSetCfg() [all …]
|