/* * AD7266/65 SPI ADC driver * * Copyright 2012 Analog Devices Inc. * * Licensed under the GPL-2. */ #ifndef __IIO_ADC_AD7266_H__ #define __IIO_ADC_AD7266_H__ /** * enum ad7266_range - AD7266 reference voltage range * @AD7266_RANGE_VREF: Device is configured for input range 0V - VREF * (RANGE pin set to low) * @AD7266_RANGE_2VREF: Device is configured for input range 0V - 2VREF * (RANGE pin set to high) */ enum ad7266_range { AD7266_RANGE_VREF, AD7266_RANGE_2VREF, }; /** * enum ad7266_mode - AD7266 sample mode * @AD7266_MODE_DIFF: Device is configured for full differential mode * (SGL/DIFF pin set to low, AD0 pin set to low) * @AD7266_MODE_PSEUDO_DIFF: Device is configured for pseudo differential mode * (SGL/DIFF pin set to low, AD0 pin set to high) * @AD7266_MODE_SINGLE_ENDED: Device is configured for single-ended mode * (SGL/DIFF pin set to high) */ enum ad7266_mode { AD7266_MODE_DIFF, AD7266_MODE_PSEUDO_DIFF, AD7266_MODE_SINGLE_ENDED, }; /** * struct ad7266_platform_data - Platform data for the AD7266 driver * @range: Reference voltage range the device is configured for * @mode: Sample mode the device is configured for * @fixed_addr: Whether the address pins are hard-wired * @addr_gpios: GPIOs used for controlling the address pins, only used if * fixed_addr is set to false. */ struct ad7266_platform_data { enum ad7266_range range; enum ad7266_mode mode; bool fixed_addr; unsigned int addr_gpios[3]; }; #endif on> Hosts the 0x221E linux distro kernel.Ubuntu
summaryrefslogtreecommitdiff
path: root/include/uapi/linux/netfilter_arp
AgeCommit message (Expand)Author
2022-06-28treewide: uapi: Replace zero-length arrays with flexible-array membersGustavo A. R. Silva
2019-10-04net, uapi: fix -Wpointer-arith warningsAlexey Dobriyan
2017-11-02License cleanup: add SPDX license identifier to uapi header files with no lic...Greg Kroah-Hartman
2017-05-11uapi: export all headers under uapi directoriesNicolas Dichtel
2015-11-23netfilter: fix include files for compilationMikko Rapeli
2014-08-20uapi: netfilter_arp: use __u8 instead of u_int8_tMike Frysinger
2012-10-09UAPI: (Scripted) Disintegrate include/linux/netfilter_arpDavid Howells
2012-10-02UAPI: (Scripted) Set up UAPI Kbuild filesDavid Howells