Lines Matching +full:8 +full:dev

28 	struct device *dev;  member
83 /* REG 1 -> 8 ~ 15 */
132 /* REG 8 -> 64 ~ 71 */
182 REGMAP_IRQ_REG_LINE(MT6360_CHG_TREG_EVT, 8),
183 REGMAP_IRQ_REG_LINE(MT6360_CHG_AICR_EVT, 8),
184 REGMAP_IRQ_REG_LINE(MT6360_CHG_MIVR_EVT, 8),
185 REGMAP_IRQ_REG_LINE(MT6360_PWR_RDY_EVT, 8),
186 REGMAP_IRQ_REG_LINE(MT6360_CHG_BATSYSUV_EVT, 8),
187 REGMAP_IRQ_REG_LINE(MT6360_FLED_CHG_VINOVP_EVT, 8),
188 REGMAP_IRQ_REG_LINE(MT6360_CHG_VSYSUV_EVT, 8),
189 REGMAP_IRQ_REG_LINE(MT6360_CHG_VSYSOV_EVT, 8),
190 REGMAP_IRQ_REG_LINE(MT6360_CHG_VBATOV_EVT, 8),
191 REGMAP_IRQ_REG_LINE(MT6360_CHG_VBUSOV_EVT, 8),
192 REGMAP_IRQ_REG_LINE(MT6360_WD_PMU_DET, 8),
193 REGMAP_IRQ_REG_LINE(MT6360_WD_PMU_DONE, 8),
194 REGMAP_IRQ_REG_LINE(MT6360_CHG_TMRI, 8),
195 REGMAP_IRQ_REG_LINE(MT6360_CHG_ADPBADI, 8),
196 REGMAP_IRQ_REG_LINE(MT6360_CHG_RVPI, 8),
197 REGMAP_IRQ_REG_LINE(MT6360_OTPI, 8),
198 REGMAP_IRQ_REG_LINE(MT6360_CHG_AICCMEASL, 8),
199 REGMAP_IRQ_REG_LINE(MT6360_CHGDET_DONEI, 8),
200 REGMAP_IRQ_REG_LINE(MT6360_WDTMRI, 8),
201 REGMAP_IRQ_REG_LINE(MT6360_SSFINISHI, 8),
202 REGMAP_IRQ_REG_LINE(MT6360_CHG_RECHGI, 8),
203 REGMAP_IRQ_REG_LINE(MT6360_CHG_TERMI, 8),
204 REGMAP_IRQ_REG_LINE(MT6360_CHG_IEOCI, 8),
205 REGMAP_IRQ_REG_LINE(MT6360_PUMPX_DONEI, 8),
206 REGMAP_IRQ_REG_LINE(MT6360_BAT_OVP_ADC_EVT, 8),
207 REGMAP_IRQ_REG_LINE(MT6360_TYPEC_OTP_EVT, 8),
208 REGMAP_IRQ_REG_LINE(MT6360_ADC_WAKEUP_EVT, 8),
209 REGMAP_IRQ_REG_LINE(MT6360_ADC_DONEI, 8),
210 REGMAP_IRQ_REG_LINE(MT6360_BST_BATUVI, 8),
211 REGMAP_IRQ_REG_LINE(MT6360_BST_VBUSOVI, 8),
212 REGMAP_IRQ_REG_LINE(MT6360_BST_OLPI, 8),
213 REGMAP_IRQ_REG_LINE(MT6360_ATTACH_I, 8),
214 REGMAP_IRQ_REG_LINE(MT6360_DETACH_I, 8),
215 REGMAP_IRQ_REG_LINE(MT6360_QC30_STPDONE, 8),
216 REGMAP_IRQ_REG_LINE(MT6360_QC_VBUSDET_DONE, 8),
217 REGMAP_IRQ_REG_LINE(MT6360_HVDCP_DET, 8),
218 REGMAP_IRQ_REG_LINE(MT6360_CHGDETI, 8),
219 REGMAP_IRQ_REG_LINE(MT6360_DCDTI, 8),
220 REGMAP_IRQ_REG_LINE(MT6360_FOD_DONE_EVT, 8),
221 REGMAP_IRQ_REG_LINE(MT6360_FOD_OV_EVT, 8),
222 REGMAP_IRQ_REG_LINE(MT6360_CHRDET_UVP_EVT, 8),
223 REGMAP_IRQ_REG_LINE(MT6360_CHRDET_OVP_EVT, 8),
224 REGMAP_IRQ_REG_LINE(MT6360_CHRDET_EXT_EVT, 8),
225 REGMAP_IRQ_REG_LINE(MT6360_FOD_LR_EVT, 8),
226 REGMAP_IRQ_REG_LINE(MT6360_FOD_HR_EVT, 8),
227 REGMAP_IRQ_REG_LINE(MT6360_FOD_DISCHG_FAIL_EVT, 8),
228 REGMAP_IRQ_REG_LINE(MT6360_USBID_EVT, 8),
229 REGMAP_IRQ_REG_LINE(MT6360_APWDTRST_EVT, 8),
230 REGMAP_IRQ_REG_LINE(MT6360_EN_EVT, 8),
231 REGMAP_IRQ_REG_LINE(MT6360_QONB_RST_EVT, 8),
232 REGMAP_IRQ_REG_LINE(MT6360_MRSTB_EVT, 8),
233 REGMAP_IRQ_REG_LINE(MT6360_OTP_EVT, 8),
234 REGMAP_IRQ_REG_LINE(MT6360_VDDAOV_EVT, 8),
235 REGMAP_IRQ_REG_LINE(MT6360_SYSUV_EVT, 8),
236 REGMAP_IRQ_REG_LINE(MT6360_FLED_STRBPIN_EVT, 8),
237 REGMAP_IRQ_REG_LINE(MT6360_FLED_TORPIN_EVT, 8),
238 REGMAP_IRQ_REG_LINE(MT6360_FLED_TX_EVT, 8),
239 REGMAP_IRQ_REG_LINE(MT6360_FLED_LVF_EVT, 8),
240 REGMAP_IRQ_REG_LINE(MT6360_FLED2_SHORT_EVT, 8),
241 REGMAP_IRQ_REG_LINE(MT6360_FLED1_SHORT_EVT, 8),
242 REGMAP_IRQ_REG_LINE(MT6360_FLED2_STRB_EVT, 8),
243 REGMAP_IRQ_REG_LINE(MT6360_FLED1_STRB_EVT, 8),
244 REGMAP_IRQ_REG_LINE(MT6360_FLED2_STRB_TO_EVT, 8),
245 REGMAP_IRQ_REG_LINE(MT6360_FLED1_STRB_TO_EVT, 8),
246 REGMAP_IRQ_REG_LINE(MT6360_FLED2_TOR_EVT, 8),
247 REGMAP_IRQ_REG_LINE(MT6360_FLED1_TOR_EVT, 8),
248 REGMAP_IRQ_REG_LINE(MT6360_BUCK1_PGB_EVT, 8),
249 REGMAP_IRQ_REG_LINE(MT6360_BUCK1_OC_EVT, 8),
250 REGMAP_IRQ_REG_LINE(MT6360_BUCK1_OV_EVT, 8),
251 REGMAP_IRQ_REG_LINE(MT6360_BUCK1_UV_EVT, 8),
252 REGMAP_IRQ_REG_LINE(MT6360_BUCK2_PGB_EVT, 8),
253 REGMAP_IRQ_REG_LINE(MT6360_BUCK2_OC_EVT, 8),
254 REGMAP_IRQ_REG_LINE(MT6360_BUCK2_OV_EVT, 8),
255 REGMAP_IRQ_REG_LINE(MT6360_BUCK2_UV_EVT, 8),
256 REGMAP_IRQ_REG_LINE(MT6360_LDO1_OC_EVT, 8),
257 REGMAP_IRQ_REG_LINE(MT6360_LDO2_OC_EVT, 8),
258 REGMAP_IRQ_REG_LINE(MT6360_LDO3_OC_EVT, 8),
259 REGMAP_IRQ_REG_LINE(MT6360_LDO5_OC_EVT, 8),
260 REGMAP_IRQ_REG_LINE(MT6360_LDO6_OC_EVT, 8),
261 REGMAP_IRQ_REG_LINE(MT6360_LDO7_OC_EVT, 8),
262 REGMAP_IRQ_REG_LINE(MT6360_LDO1_PGB_EVT, 8),
263 REGMAP_IRQ_REG_LINE(MT6360_LDO2_PGB_EVT, 8),
264 REGMAP_IRQ_REG_LINE(MT6360_LDO3_PGB_EVT, 8),
265 REGMAP_IRQ_REG_LINE(MT6360_LDO5_PGB_EVT, 8),
266 REGMAP_IRQ_REG_LINE(MT6360_LDO6_PGB_EVT, 8),
267 REGMAP_IRQ_REG_LINE(MT6360_LDO7_PGB_EVT, 8),
358 dev_err(ddata->dev, "Device not supported\n"); in mt6360_check_vendor_info()
509 static bool mt6360_is_readwrite_reg(struct device *dev, unsigned int reg) in mt6360_is_readwrite_reg() argument
527 .val_bits = 8,
539 ddata = devm_kzalloc(&client->dev, sizeof(*ddata), GFP_KERNEL); in mt6360_probe()
543 ddata->dev = &client->dev; in mt6360_probe()
547 ddata->i2c[i] = devm_i2c_new_dummy_device(&client->dev, in mt6360_probe()
551 dev_err(&client->dev, in mt6360_probe()
560 ddata->regmap = devm_regmap_init(ddata->dev, &mt6360_regmap_bus, ddata, in mt6360_probe()
563 dev_err(&client->dev, "Failed to register regmap\n"); in mt6360_probe()
571 ret = devm_regmap_add_irq_chip(&client->dev, ddata->regmap, client->irq, in mt6360_probe()
575 dev_err(&client->dev, "Failed to add Regmap IRQ Chip\n"); in mt6360_probe()
579 ret = devm_mfd_add_devices(&client->dev, PLATFORM_DEVID_AUTO, in mt6360_probe()
583 dev_err(&client->dev, in mt6360_probe()
591 static int __maybe_unused mt6360_suspend(struct device *dev) in mt6360_suspend() argument
593 struct i2c_client *i2c = to_i2c_client(dev); in mt6360_suspend()
595 if (device_may_wakeup(dev)) in mt6360_suspend()
601 static int __maybe_unused mt6360_resume(struct device *dev) in mt6360_resume() argument
604 struct i2c_client *i2c = to_i2c_client(dev); in mt6360_resume()
606 if (device_may_wakeup(dev)) in mt6360_resume()