Lines Matching +full:i2c +full:- +full:int +full:- +full:rising
1 /* SPDX-License-Identifier: GPL-2.0-only */
6 * Copyright (C) 2007-2009 Motorola, Inc.
80 #define CPCAP_REG_SI2CC1 0x0604 /* Switcher I2C Control 1 */
81 #define CPCAP_REG_Si2CC2 0x0608 /* Switcher I2C Control 2 */
172 #define CPCAP_REG_UIER1 0x0e40 /* USB Interrupt Enable Rising 1 */
173 #define CPCAP_REG_UIER2 0x0e44 /* USB Interrupt Enable Rising 2 */
174 #define CPCAP_REG_UIER3 0x0e48 /* USB Interrupt Enable Rising 3 */
235 #define CPCAP_REG_LGPU 0x1264 /* LMR GCAI GPIO Pull-up */
256 static inline int cpcap_get_revision(struct device *dev, in cpcap_get_revision()
260 unsigned int val; in cpcap_get_revision()
261 int ret; in cpcap_get_revision()
275 static inline int cpcap_get_vendor(struct device *dev, in cpcap_get_vendor()
279 unsigned int val; in cpcap_get_vendor()
280 int ret; in cpcap_get_vendor()
294 extern int cpcap_sense_virq(struct regmap *regmap, int virq);