Lines Matching refs:pmu
1101 struct bcm590xx_reg *pmu; in bcm590xx_probe() local
1107 pmu = devm_kzalloc(&pdev->dev, sizeof(*pmu), GFP_KERNEL); in bcm590xx_probe()
1108 if (!pmu) in bcm590xx_probe()
1111 pmu->mfd = bcm590xx; in bcm590xx_probe()
1113 switch (pmu->mfd->pmu_id) { in bcm590xx_probe()
1115 pmu->n_regulators = BCM59054_NUM_REGS; in bcm590xx_probe()
1116 if (pmu->mfd->rev_analog == BCM59054_REV_ANALOG_A1) in bcm590xx_probe()
1117 pmu->regs = bcm59054_a1_regs; in bcm590xx_probe()
1119 pmu->regs = bcm59054_regs; in bcm590xx_probe()
1122 pmu->n_regulators = BCM59056_NUM_REGS; in bcm590xx_probe()
1123 pmu->regs = bcm59056_regs; in bcm590xx_probe()
1131 platform_set_drvdata(pdev, pmu); in bcm590xx_probe()
1134 for (i = 0; i < pmu->n_regulators; i++) { in bcm590xx_probe()
1135 info = &pmu->regs[i]; in bcm590xx_probe()
1138 config.driver_data = pmu; in bcm590xx_probe()