/* * Copyright (C) 2011 Free Electrons * * Licensed under the GPLv2 or later. */ #ifndef _AT91_ADC_H_ #define _AT91_ADC_H_ enum atmel_adc_ts_type { ATMEL_ADC_TOUCHSCREEN_NONE = 0, ATMEL_ADC_TOUCHSCREEN_4WIRE = 4, ATMEL_ADC_TOUCHSCREEN_5WIRE = 5, }; /** * struct at91_adc_trigger - description of triggers * @name: name of the trigger advertised to the user * @value: value to set in the ADC's trigger setup register to enable the trigger * @is_external: Does the trigger rely on an external pin? */ struct at91_adc_trigger { const char *name; u8 value; bool is_external; }; /** * struct at91_adc_data - platform data for ADC driver * @channels_used: channels in use on the board as a bitmask * @startup_time: startup time of the ADC in microseconds * @trigger_list: Triggers available in the ADC * @trigger_number: Number of triggers available in the ADC * @use_external_triggers: does the board has external triggers availables * @vref: Reference voltage for the ADC in millivolts * @touchscreen_type: If a touchscreen is connected, its type (4 or 5 wires) */ struct at91_adc_data { unsigned long channels_used; u8 startup_time; struct at91_adc_trigger *trigger_list; u8 trigger_number; bool use_external_triggers; u16 vref; enum atmel_adc_ts_type touchscreen_type; }; extern void __init at91_add_device_adc(struct at91_adc_data *data); #endif ion value='linux-2.6.19.y'>linux-2.6.19.y Hosts the 0x221E linux distro kernel.Ubuntu
summaryrefslogtreecommitdiff
path: root/mm/vmacache.c
AgeCommit message (Expand)Author
2017-03-02sched/headers: Prepare to move 'init_task' and 'init_thread_union' from <linu...Ingo Molnar
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar
2017-03-02mm/vmacache, sched/headers: Introduce 'struct vmacache' and move it from <lin...Ingo Molnar
2016-10-07mm: unrig VMA cache hit ratioAlexey Dobriyan
2015-11-05mm/vmacache: inline vmacache_valid_mm()Davidlohr Bueso
2014-12-13mm,vmacache: count number of system-wide flushesDavidlohr Bueso
2014-06-04mm,vmacache: optimize overflow system-wide flushingDavidlohr Bueso
2014-06-04mm,vmacache: add debug dataDavidlohr Bueso
2014-04-28mm: don't pointlessly use BUG_ON() for sanity checkLinus Torvalds
2014-04-07mm: per-thread vma cachingDavidlohr Bueso