Lines Matching full:ab8500
31 /* AB8500 CIDs*/
41 * AB8500 bank addresses
71 * drivers/mdf/ab8500-core.c
73 /* Definitions for AB8500, AB9540 and AB8540 */
303 * Of the currently supported AB devices, AB8500 and AB9540, it is the AB9540
310 /* This is set to the roof of any AB8500 chip variant IRQ counts */
327 * struct ab8500 - ab8500 internal structure
334 * @version: chip version id (e.g. ab8500 or ab9540)
347 struct ab8500 { struct
357 int (*write)(struct ab8500 *ab8500, u16 addr, u8 data); argument
358 int (*write_masked)(struct ab8500 *ab8500, u16 addr, u8 mask, u8 data); argument
359 int (*read)(struct ab8500 *ab8500, u16 addr); argument
375 * struct ab8500_platform_data - AB8500 platform data
376 * @irq_base: start of AB8500 IRQs, AB8500_NR_IRQS will be used
377 * @init: board-specific initialization after detection of ab8500 argument
380 void (*init) (struct ab8500 *);
385 extern int ab8500_suspend(struct ab8500 *ab8500);
387 static inline int is_ab8500(struct ab8500 *ab) in is_ab8500()
392 static inline int is_ab8505(struct ab8500 *ab) in is_ab8505()
397 static inline int is_ab9540(struct ab8500 *ab) in is_ab9540()
402 static inline int is_ab8540(struct ab8500 *ab) in is_ab8540()
408 static inline int is_ab8500_1p0_or_earlier(struct ab8500 *ab) in is_ab8500_1p0_or_earlier()
414 static inline int is_ab8500_1p1_or_earlier(struct ab8500 *ab) in is_ab8500_1p1_or_earlier()
420 static inline int is_ab8500_2p0_or_earlier(struct ab8500 *ab) in is_ab8500_2p0_or_earlier()
425 static inline int is_ab8500_3p3_or_earlier(struct ab8500 *ab) in is_ab8500_3p3_or_earlier()
431 static inline int is_ab8500_2p0(struct ab8500 *ab) in is_ab8500_2p0()
436 static inline int is_ab8505_1p0_or_earlier(struct ab8500 *ab) in is_ab8505_1p0_or_earlier()
441 static inline int is_ab8505_2p0(struct ab8500 *ab) in is_ab8505_2p0()
446 static inline int is_ab9540_1p0_or_earlier(struct ab8500 *ab) in is_ab9540_1p0_or_earlier()
451 static inline int is_ab9540_2p0(struct ab8500 *ab) in is_ab9540_2p0()
460 static inline int is_ab9540_3p0(struct ab8500 *ab) in is_ab9540_3p0()
465 static inline int is_ab8540_1p0_or_earlier(struct ab8500 *ab) in is_ab8540_1p0_or_earlier()
470 static inline int is_ab8540_1p1_or_earlier(struct ab8500 *ab) in is_ab8540_1p1_or_earlier()
475 static inline int is_ab8540_1p2_or_earlier(struct ab8500 *ab) in is_ab8540_1p2_or_earlier()
480 static inline int is_ab8540_2p0_or_earlier(struct ab8500 *ab) in is_ab8540_2p0_or_earlier()
485 static inline int is_ab8540_2p0(struct ab8500 *ab) in is_ab8540_2p0()
490 static inline int is_ab8505_2p0_earlier(struct ab8500 *ab) in is_ab8505_2p0_earlier()
495 static inline int is_ab9540_2p0_or_earlier(struct ab8500 *ab) in is_ab9540_2p0_or_earlier()