Lines Matching defs:bq25700_device
155 struct bq25700_device { struct
156 struct i2c_client *client;
157 struct device *dev;
158 struct power_supply *supply_charger;
159 char model_name[I2C_NAME_SIZE];
160 unsigned int irq;
161 bool first_time;
162 bool charger_health_valid;
163 bool battery_health_valid;
164 bool battery_status_valid;
165 int automode;
166 struct notifier_block nb;
167 struct bq2570x_platform_data plat_data;
168 struct device_node *notify_node;
169 struct workqueue_struct *usb_charger_wq;
170 struct workqueue_struct *dc_charger_wq;
171 struct workqueue_struct *finish_sig_wq;
172 struct delayed_work usb_work;
173 struct delayed_work host_work;
174 struct delayed_work discnt_work;
175 struct delayed_work usb_work1;
176 struct delayed_work host_work1;
177 struct delayed_work discnt_work1;
178 struct delayed_work irq_work;
179 struct notifier_block cable_cg_nb;
180 struct notifier_block cable_host_nb;
181 struct notifier_block cable_cg_nb1;
182 struct notifier_block cable_host_nb1;
183 struct extcon_dev *cable_edev;
184 struct extcon_dev *cable_edev_1;
185 int typec0_status;
186 int typec1_status;
187 struct gpio_desc *typec0_enable_io;
188 struct gpio_desc *typec1_enable_io;
189 struct gpio_desc *typec0_discharge_io;
190 struct gpio_desc *typec1_discharge_io;
191 struct gpio_desc *otg_mode_en_io;
193 struct regulator_dev *otg_vbus_reg;
194 struct regmap *regmap;
195 struct regmap_field *rmap_fields[F_MAX_FIELDS];
196 int chip_id;
197 struct bq25700_init_data init_data;
198 struct bq25700_state state;
199 int pd_charge_only;
200 unsigned int bc_event;
201 bool usb_bc;