Lines Matching full:ab

17  * AB IC versions
302 * the largest possible value that may be encountered with different AB SOCs.
303 * Of the currently supported AB devices, AB8500 and AB9540, it is the AB9540
391 static inline int is_ab8500(struct ab8500 *ab) in is_ab8500() argument
393 return ab->version == AB8500_VERSION_AB8500; in is_ab8500()
396 static inline int is_ab8505(struct ab8500 *ab) in is_ab8505() argument
398 return ab->version == AB8500_VERSION_AB8505; in is_ab8505()
401 static inline int is_ab9540(struct ab8500 *ab) in is_ab9540() argument
403 return ab->version == AB8500_VERSION_AB9540; in is_ab9540()
406 static inline int is_ab8540(struct ab8500 *ab) in is_ab8540() argument
408 return ab->version == AB8500_VERSION_AB8540; in is_ab8540()
412 static inline int is_ab8500_1p0_or_earlier(struct ab8500 *ab) in is_ab8500_1p0_or_earlier() argument
414 return (is_ab8500(ab) && (ab->chip_id <= AB8500_CUT1P0)); in is_ab8500_1p0_or_earlier()
418 static inline int is_ab8500_1p1_or_earlier(struct ab8500 *ab) in is_ab8500_1p1_or_earlier() argument
420 return (is_ab8500(ab) && (ab->chip_id <= AB8500_CUT1P1)); in is_ab8500_1p1_or_earlier()
424 static inline int is_ab8500_2p0_or_earlier(struct ab8500 *ab) in is_ab8500_2p0_or_earlier() argument
426 return (is_ab8500(ab) && (ab->chip_id <= AB8500_CUT2P0)); in is_ab8500_2p0_or_earlier()
429 static inline int is_ab8500_3p3_or_earlier(struct ab8500 *ab) in is_ab8500_3p3_or_earlier() argument
431 return (is_ab8500(ab) && (ab->chip_id <= AB8500_CUT3P3)); in is_ab8500_3p3_or_earlier()
435 static inline int is_ab8500_2p0(struct ab8500 *ab) in is_ab8500_2p0() argument
437 return (is_ab8500(ab) && (ab->chip_id == AB8500_CUT2P0)); in is_ab8500_2p0()
440 static inline int is_ab8505_1p0_or_earlier(struct ab8500 *ab) in is_ab8505_1p0_or_earlier() argument
442 return (is_ab8505(ab) && (ab->chip_id <= AB8500_CUT1P0)); in is_ab8505_1p0_or_earlier()
445 static inline int is_ab8505_2p0(struct ab8500 *ab) in is_ab8505_2p0() argument
447 return (is_ab8505(ab) && (ab->chip_id == AB8500_CUT2P0)); in is_ab8505_2p0()
450 static inline int is_ab9540_1p0_or_earlier(struct ab8500 *ab) in is_ab9540_1p0_or_earlier() argument
452 return (is_ab9540(ab) && (ab->chip_id <= AB8500_CUT1P0)); in is_ab9540_1p0_or_earlier()
455 static inline int is_ab9540_2p0(struct ab8500 *ab) in is_ab9540_2p0() argument
457 return (is_ab9540(ab) && (ab->chip_id == AB8500_CUT2P0)); in is_ab9540_2p0()
464 static inline int is_ab9540_3p0(struct ab8500 *ab) in is_ab9540_3p0() argument
466 return (is_ab9540(ab) && (ab->chip_id == AB8500_CUT3P0)); in is_ab9540_3p0()
469 static inline int is_ab8540_1p0_or_earlier(struct ab8500 *ab) in is_ab8540_1p0_or_earlier() argument
471 return is_ab8540(ab) && (ab->chip_id <= AB8500_CUT1P0); in is_ab8540_1p0_or_earlier()
474 static inline int is_ab8540_1p1_or_earlier(struct ab8500 *ab) in is_ab8540_1p1_or_earlier() argument
476 return is_ab8540(ab) && (ab->chip_id <= AB8500_CUT1P1); in is_ab8540_1p1_or_earlier()
479 static inline int is_ab8540_1p2_or_earlier(struct ab8500 *ab) in is_ab8540_1p2_or_earlier() argument
481 return is_ab8540(ab) && (ab->chip_id <= AB8500_CUT1P2); in is_ab8540_1p2_or_earlier()
484 static inline int is_ab8540_2p0_or_earlier(struct ab8500 *ab) in is_ab8540_2p0_or_earlier() argument
486 return is_ab8540(ab) && (ab->chip_id <= AB8500_CUT2P0); in is_ab8540_2p0_or_earlier()
489 static inline int is_ab8540_2p0(struct ab8500 *ab) in is_ab8540_2p0() argument
491 return is_ab8540(ab) && (ab->chip_id == AB8500_CUT2P0); in is_ab8540_2p0()
494 static inline int is_ab8505_2p0_earlier(struct ab8500 *ab) in is_ab8505_2p0_earlier() argument
496 return (is_ab8505(ab) && (ab->chip_id < AB8500_CUT2P0)); in is_ab8505_2p0_earlier()
499 static inline int is_ab9540_2p0_or_earlier(struct ab8500 *ab) in is_ab9540_2p0_or_earlier() argument
501 return (is_ab9540(ab) && (ab->chip_id < AB8500_CUT2P0)); in is_ab9540_2p0_or_earlier()