Lines Matching defs:cpcap_charger_ddata
125 struct cpcap_charger_ddata { struct
126 struct device *dev;
127 struct regmap *reg;
128 struct list_head irq_list;
129 struct delayed_work detect_work;
130 struct delayed_work vbus_work;
131 struct gpio_desc *gpio[2]; /* gpio_reven0 & 1 */
133 struct iio_channel *channels[CPCAP_CHARGER_IIO_NR];
135 struct power_supply *usb;
137 struct phy_companion comparator; /* For USB VBUS */
138 unsigned int vbus_enabled:1;
139 unsigned int feeding_vbus:1;
140 atomic_t active;
142 int status;
143 int voltage;
144 int limit_current;