Searched defs:adc (Results 1 - 47 of 47) sorted by relevance

/linux-4.1.27/drivers/iio/adc/
H A Dti-adc081c.c28 struct adc081c *adc = iio_priv(iio); adc081c_read_raw() local
72 struct adc081c *adc; adc081c_probe() local
118 struct adc081c *adc = iio_priv(iio); adc081c_remove() local
H A Dti-adc128s052.c28 static int adc128_adc_conversion(struct adc128 *adc, u8 channel) adc128_adc_conversion() argument
57 struct adc128 *adc = iio_priv(indio_dev); adc128_read_raw() local
114 struct adc128 *adc; adc128_probe() local
152 struct adc128 *adc = iio_priv(indio_dev); adc128_remove() local
H A Dviperboard_adc.c61 struct vprbrd_adc *adc = iio_priv(iio_dev); vprbrd_iio_read_raw() local
116 struct vprbrd_adc *adc; vprbrd_adc_probe() local
H A Dlp8788_adc.c51 static int lp8788_get_adc_result(struct lp8788_adc *adc, enum lp8788_adc_id id, lp8788_get_adc_result() argument
101 struct lp8788_adc *adc = iio_priv(indio_dev); lp8788_adc_read_raw() local
194 struct lp8788_adc *adc; lp8788_adc_probe() local
170 lp8788_iio_map_register(struct iio_dev *indio_dev, struct lp8788_platform_data *pdata, struct lp8788_adc *adc) lp8788_iio_map_register() argument
H A Dmen_z188_adc.c56 struct z188_adc *adc = iio_priv(iio_dev); z188_iio_read_raw() local
107 struct z188_adc *adc; men_z188_probe() local
146 struct z188_adc *adc = iio_priv(indio_dev); men_z188_remove() local
H A Dmcp320x.c95 static int mcp320x_adc_conversion(struct mcp320x *adc, u8 channel, mcp320x_adc_conversion() argument
137 struct mcp320x *adc = iio_priv(indio_dev); mcp320x_read_raw() local
282 struct mcp320x *adc; mcp320x_probe() local
335 struct mcp320x *adc = iio_priv(indio_dev); mcp320x_remove() local
H A Dmcp3422.c97 static int mcp3422_update_config(struct mcp3422 *adc, u8 newconfig) mcp3422_update_config() argument
114 static int mcp3422_read(struct mcp3422 *adc, int *value, u8 *config) mcp3422_read() argument
136 static int mcp3422_read_channel(struct mcp3422 *adc, mcp3422_read_channel() argument
162 struct mcp3422 *adc = iio_priv(iio); mcp3422_read_raw() local
196 struct mcp3422 *adc = iio_priv(iio); mcp3422_write_raw() local
272 struct mcp3422 *adc = iio_priv(dev_to_iio_dev(dev)); mcp3422_show_samp_freqs() local
283 struct mcp3422 *adc = iio_priv(dev_to_iio_dev(dev)); mcp3422_show_scales() local
332 struct mcp3422 *adc; mcp3422_probe() local
H A Dti_am335x_adc.c42 static unsigned int tiadc_readl(struct tiadc_device *adc, unsigned int reg) tiadc_readl() argument
47 static void tiadc_writel(struct tiadc_device *adc, unsigned int reg, tiadc_writel() argument
/linux-4.1.27/drivers/hwmon/
H A Dadcxx.c65 struct adcxx *adc = spi_get_drvdata(spi); adcxx_read() local
108 struct adcxx *adc = spi_get_drvdata(spi); adcxx_show_max() local
125 struct adcxx *adc = spi_get_drvdata(spi); adcxx_set_max() local
167 struct adcxx *adc; adcxx_probe() local
212 struct adcxx *adc = spi_get_drvdata(spi); adcxx_remove() local
H A Ds3c-hwmon.c101 struct s3c_hwmon *adc = platform_get_drvdata(to_platform_device(dev)); s3c_hwmon_show_raw() local
H A Dda9055-hwmon.c147 int ret, adc; da9055_read_auto_ch() local
H A Dina209.c218 int i, adc; ina209_reg_from_interval() local
H A Dmax16065.c97 int adc[MAX16065_NUM_ADC + 1]; /* adc values (raw) including csp_adc */ member in struct:max16065_data
106 static inline int ADC_TO_MV(int adc, int range) ADC_TO_MV() argument
125 static inline int ADC_TO_CURR(int adc, int gain) ADC_TO_CURR() argument
201 int adc = data->adc[attr->index]; max16065_show_input() local
H A Dsmm665.c147 u16 adc[SMM665_NUM_ADC]; /* adc values (raw) */ member in struct:smm665_data
180 static int smm665_read_adc(struct smm665_data *data, int adc) smm665_read_adc() argument
365 int adc = attr->index; smm665_show_input() local
/linux-4.1.27/drivers/mfd/
H A Dpcf50633-adc.c73 struct pcf50633_adc *adc = __to_adc(pcf); trigger_next_adc_job_if_any() local
87 struct pcf50633_adc *adc = __to_adc(pcf); adc_enqueue_request() local
174 struct pcf50633_adc *adc = data; pcf50633_adc_irq() local
203 struct pcf50633_adc *adc; pcf50633_adc_probe() local
222 struct pcf50633_adc *adc = platform_get_drvdata(pdev); pcf50633_adc_remove() local
H A Djz4740-adc.c86 static inline void jz4740_adc_clk_enable(struct jz4740_adc *adc) jz4740_adc_clk_enable() argument
92 static inline void jz4740_adc_clk_disable(struct jz4740_adc *adc) jz4740_adc_clk_disable() argument
98 static inline void jz4740_adc_set_enabled(struct jz4740_adc *adc, int engine, jz4740_adc_set_enabled() argument
118 struct jz4740_adc *adc = dev_get_drvdata(pdev->dev.parent); jz4740_adc_cell_enable() local
128 struct jz4740_adc *adc = dev_get_drvdata(pdev->dev.parent); jz4740_adc_cell_disable() local
138 struct jz4740_adc *adc = dev_get_drvdata(dev); jz4740_adc_set_config() local
209 struct jz4740_adc *adc; jz4740_adc_probe() local
305 struct jz4740_adc *adc = platform_get_drvdata(pdev); jz4740_adc_remove() local
/linux-4.1.27/drivers/input/joystick/
H A Da3d.c56 struct gameport *adc; member in struct:a3d
266 struct gameport *adc; a3d_connect() local
/linux-4.1.27/drivers/media/dvb-frontends/
H A Daf9033_priv.h48 u32 adc; member in struct:clock_adc
H A Ddib0070.c185 u16 adc; dib0070_captrim() local
H A Ddib0090.c1206 int adc; dib0090_gain_control() local
2083 u16 adc; dib0090_captrim_search() local
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
H A Dar9003_mac.c436 const struct ar9003_txc *adc = ds; ar9003_hw_get_duration() local
/linux-4.1.27/drivers/media/tuners/
H A Dmax2165.c238 u8 vco, vco_sub_band, adc; max2165_debug_status() local
/linux-4.1.27/arch/x86/platform/ts5500/
H A Dts5500.c84 bool adc; member in struct:ts5500_sbc
195 TS5500_ATTR_BOOL(adc); variable
/linux-4.1.27/drivers/clk/mxs/
H A Dclk-imx23.c91 emi_xtal, etm_div, saif_div, clk32k_div, rtc, adc, spdif_div, enumerator in enum:imx23_clk
/linux-4.1.27/arch/arm/plat-samsung/
H A Dadc.c87 static inline void s3c_adc_convert(struct adc_device *adc) s3c_adc_convert() argument
95 static inline void s3c_adc_select(struct adc_device *adc, s3c_adc_select() argument
121 static void s3c_adc_dbgshow(struct adc_device *adc) s3c_adc_dbgshow() argument
129 static void s3c_adc_try(struct adc_device *adc) s3c_adc_try() argument
152 struct adc_device *adc = adc_dev; s3c_adc_start() local
288 struct adc_device *adc = pw; s3c_adc_irq() local
341 struct adc_device *adc; s3c_adc_probe() local
414 struct adc_device *adc = platform_get_drvdata(pdev); s3c_adc_remove() local
427 struct adc_device *adc = platform_get_drvdata(pdev); s3c_adc_suspend() local
449 struct adc_device *adc = platform_get_drvdata(pdev); s3c_adc_resume() local
/linux-4.1.27/sound/soc/codecs/
H A Dtlv320aic23.c235 static unsigned get_score(int adc, int adc_l, int adc_h, int need_adc, get_score() argument
270 int adc; find_rate() local
306 int adc = (val * sr_adc_mult_table[sr]) / SR_MULT; get_current_sample_rates() local
330 u32 adc, dac; set_sample_rate_control() local
H A Dwm8994.c1047 int adc; aif1clk_ev() local
1142 int adc; aif2clk_ev() local
/linux-4.1.27/drivers/iio/light/
H A Dlm3533-als.c66 lm3533_als_get_adc(struct iio_dev *indio_dev, bool average, int *adc) lm3533_als_get_adc() argument
H A Dtsl2563.c266 static u32 normalize_adc(u16 adc, u8 timing) normalize_adc() argument
292 static int tsl2563_adjust_gainlevel(struct tsl2563_chip *chip, u16 adc) tsl2563_adjust_gainlevel() argument
445 static u32 calib_adc(u32 adc, u32 calib) calib_adc() argument
/linux-4.1.27/drivers/extcon/
H A Dextcon-sm5502.c284 unsigned int cable_type = -1, adc, dev_type1; sm5502_muic_get_cable_type() local
H A Dextcon-max14577.c285 int adc; max14577_muic_get_cable_type() local
633 int adc; max14577_muic_detect_accessory() local
H A Dextcon-max77693.c344 int adc; max77693_muic_get_cable_type() local
1042 int adc; max77693_muic_detect_accessory() local
H A Dextcon-max77843.c262 int adc, chg_type, cable_type, gnd_type; max77843_muic_get_cable_type() local
644 int chg_type, adc, ret; max77843_muic_detect_cable_wq() local
H A Dextcon-max8997.c273 int adc; max8997_muic_get_cable_type() local
490 int adc; max8997_muic_chg_handler() local
599 int adc; max8997_muic_detect_dev() local
H A Dextcon-rt8973a.c278 unsigned int adc, dev1; rt8973a_muic_get_cable_type() local
/linux-4.1.27/drivers/thermal/ti-soc-thermal/
H A Dti-bandgap.c329 int ti_bandgap_mcelsius_to_adc(struct ti_bandgap *bgp, long temp, int *adc) ti_bandgap_mcelsius_to_adc() argument
/linux-4.1.27/drivers/power/
H A Dda9030_battery.c97 struct da9030_adc_res adc; member in struct:da9030_charger
211 da9030_read_adc(struct da9030_charger *charger, struct da9030_adc_res *adc) da9030_read_adc() argument
H A Dmax8925_power.c69 struct i2c_client *adc; member in struct:max8925_power_info
/linux-4.1.27/drivers/leds/
H A Dleds-lp5523.c590 u8 status, adc, vdd; lp5523_selftest() local
/linux-4.1.27/sound/mips/
H A Dhal2.c97 struct hal2_codec adc; member in struct:snd_hal2
625 struct hal2_codec *adc = &hal2->adc; hal2_capture_open() local
648 struct hal2_codec *adc = &hal2->adc; hal2_capture_prepare() local
685 struct hal2_codec *adc = &hal2->adc; hal2_capture_pointer() local
704 struct hal2_codec *adc = &hal2->adc; hal2_capture_ack() local
/linux-4.1.27/sound/pci/hda/
H A Dpatch_cirrus.c754 static void cs4208_fix_amp_caps(struct hda_codec *codec, hda_nid_t adc) cs4208_fix_amp_caps() argument
H A Dhda_generic.c3224 hda_nid_t adc = spec->adc_nids[c]; parse_capture_source() local
H A Dpatch_ca0132.c4100 static void init_input(struct hda_codec *codec, hda_nid_t pin, hda_nid_t adc) init_input() argument
/linux-4.1.27/include/linux/mfd/
H A Dti_am335x_tscadc.h175 struct adc_device *adc; member in struct:ti_tscadc_dev
H A Dmax8925.h198 struct i2c_client *adc; member in struct:max8925_chip
/linux-4.1.27/drivers/media/usb/dvb-usb/
H A Ddib0700_devices.c2023 static int dib8096p_get_best_sampling(struct dvb_frontend *fe, struct dibx090p_best_adc *adc) dib8096p_get_best_sampling() argument
2100 struct dibx090p_best_adc adc; dib8096p_agc_startup() local
2528 static int dib7090p_get_best_sampling(struct dvb_frontend *fe , struct dibx090p_best_adc *adc) dib7090p_get_best_sampling() argument
2607 struct dibx090p_best_adc adc; dib7090_agc_startup() local
/linux-4.1.27/arch/x86/kvm/
H A Demulate.c904 FASTOP2(adc); variable

Completed in 1269 milliseconds