Searched refs:pmic_core (Results 1 – 1 of 1) sorted by relevance
296 const struct chip_data *pmic_core; in mt6397_probe() local312 pmic_core = of_device_get_match_data(&pdev->dev); in mt6397_probe()313 if (!pmic_core) in mt6397_probe()316 ret = regmap_read(pmic->regmap, pmic_core->cid_addr, &id); in mt6397_probe()322 pmic->chip_id = (id >> pmic_core->cid_shift) & 0xff; in mt6397_probe()330 ret = pmic_core->irq_init(pmic); in mt6397_probe()335 pmic_core->cells, pmic_core->cell_size, in mt6397_probe()