Searched refs:AdcDevice (Results 1 – 5 of 5) sorted by relevance
25 struct AdcDevice;29 struct AdcDevice { struct39 int32_t (*read)(struct AdcDevice *device, uint32_t channel, uint32_t *val); argument40 int32_t (*start)(struct AdcDevice *device);41 int32_t (*stop)(struct AdcDevice *device);45 int32_t (*lock)(struct AdcDevice *device);46 void (*unlock)(struct AdcDevice *device);49 int32_t AdcDeviceAdd(struct AdcDevice *device);51 void AdcDeviceRemove(struct AdcDevice *device);53 struct AdcDevice *AdcDeviceGet(uint32_t number);[all …]
27 struct AdcDevice *devices[ADC_DEVICES_MAX];33 static int32_t AdcDeviceLockDefault(struct AdcDevice *device) in AdcDeviceLockDefault()42 static void AdcDeviceUnlockDefault(struct AdcDevice *device) in AdcDeviceUnlockDefault()56 static inline int32_t AdcDeviceLock(struct AdcDevice *device) in AdcDeviceLock()65 static inline void AdcDeviceUnlock(struct AdcDevice *device) in AdcDeviceUnlock()72 int32_t AdcDeviceStart(struct AdcDevice *device) in AdcDeviceStart()104 int32_t AdcDeviceStop(struct AdcDevice *device) in AdcDeviceStop()137 static int32_t AdcManagerAddDevice(struct AdcDevice *device) in AdcManagerAddDevice()169 static void AdcManagerRemoveDevice(struct AdcDevice *device) in AdcManagerRemoveDevice()197 static struct AdcDevice *AdcManagerFindDevice(uint32_t number) in AdcManagerFindDevice()[all …]
20 struct AdcDevice *device = NULL; in AdcOpen()39 struct AdcDevice *device = (struct AdcDevice *)handle; in AdcClose()56 return AdcDeviceRead((struct AdcDevice *)handle, channel, val); in AdcRead()
22 struct AdcDevice device;29 static int32_t VirtualAdcStart(struct AdcDevice *device) in VirtualAdcStart()44 static int32_t VirtualAdcRead(struct AdcDevice *device, uint32_t channel, uint32_t *val) in VirtualAdcRead()63 static int32_t VirtualAdcStop(struct AdcDevice *device) in VirtualAdcStop()150 struct AdcDevice *dev = NULL; in VirtualAdcRelease()
35 struct AdcDevice device;53 static int32_t AdcIioRead(struct AdcDevice *device, uint32_t channel, uint32_t *val) in AdcIioRead()82 static int32_t AdcIioStop(struct AdcDevice *device) in AdcIioStop()107 static int32_t AdcIioStart(struct AdcDevice *device) in AdcIioStart()253 struct AdcDevice *device = NULL; in AdcIioRemoveByNode()