Lines Matching refs:regulators
210 struct regulator **regulators; member
362 if (sdev->regulators[i]) { in simpledrm_device_release_regulators()
363 regulator_disable(sdev->regulators[i]); in simpledrm_device_release_regulators()
364 regulator_put(sdev->regulators[i]); in simpledrm_device_release_regulators()
393 sdev->regulators = drmm_kzalloc(dev, in simpledrm_device_init_regulators()
394 count * sizeof(sdev->regulators[0]), in simpledrm_device_init_regulators()
396 if (!sdev->regulators) in simpledrm_device_init_regulators()
427 sdev->regulators[i++] = regulator; in simpledrm_device_init_regulators()
438 if (sdev->regulators[i]) { in simpledrm_device_init_regulators()
439 regulator_disable(sdev->regulators[i]); in simpledrm_device_init_regulators()
440 regulator_put(sdev->regulators[i]); in simpledrm_device_init_regulators()