Lines Matching full:smartreflex
3 * OMAP SmartReflex Voltage Control
25 #include <linux/power/smartreflex.h>
27 #define DRIVER_NAME "smartreflex"
32 /* sr_list contains all the instances of smartreflex module */
49 * Smartreflex error config register is special as it contains in sr_modify_reg()
163 "%s: smartreflex class driver not registered\n", in sr_start_vddautocomp()
176 "%s: smartreflex class driver not registered\n", in sr_stop_vddautocomp()
195 * if smartreflex class driver is already registered and has
214 …dev_err(&sr_info->pdev->dev, "%s: ERROR in registering interrupt handler. Smartreflex will not fun… in sr_late_init()
250 dev_warn(&sr->pdev->dev, "%s: Smartreflex disable timedout\n", in sr_v1_disable()
295 dev_warn(&sr->pdev->dev, "%s: Smartreflex disable timedout\n", in sr_v2_disable()
325 * sr_configure_errgen() - Configures the SmartReflex to perform AVS using the
329 * This API is to be called from the smartreflex class driver to
330 * configure the error generator module inside the smartreflex module.
331 * SR settings if using the ERROR module inside Smartreflex.
375 dev_err(&sr->pdev->dev, "%s: Trying to Configure smartreflex module without specifying the ip\n", in sr_configure_errgen()
397 * sr_disable_errgen() - Disables SmartReflex AVS module's errgen component
400 * This API is to be called from the smartreflex class driver to
401 * disable the error generator module inside the smartreflex module.
428 dev_err(&sr->pdev->dev, "%s: Trying to Configure smartreflex module without specifying the ip\n", in sr_disable_errgen()
448 * sr_configure_minmax() - Configures the SmartReflex to perform AVS using the
452 * This API is to be called from the smartreflex class driver to
453 * configure the minmaxavg module inside the smartreflex module.
454 * SR settings if using the ERROR module inside Smartreflex.
492 dev_err(&sr->pdev->dev, "%s: Trying to Configure smartreflex module without specifying the ip\n", in sr_configure_minmax()
525 dev_err(&sr->pdev->dev, "%s: Trying to Configure smartreflex module without specifying the ip\n", in sr_configure_minmax()
534 * sr_enable() - Enables the smartreflex module.
537 * the smartreflex module is operating at.
540 * This API is to be called from the smartreflex class driver to
541 * enable a smartreflex module. Returns 0 on success. Returns error
598 * sr_disable() - Disables the smartreflex module.
601 * This API is to be called from the smartreflex class driver to
602 * disable a smartreflex module.
639 * sr_register_class() - API to register a smartreflex class parameters.
642 * This API is to be called by the smartreflex class driver to register itself
643 * with the smartreflex driver during init. Returns 0 on success else the
651 pr_warn("%s:, Smartreflex class data passed is NULL\n", in sr_register_class()
657 pr_warn("%s: Smartreflex class driver already registered\n", in sr_register_class()
676 * registered smartreflex class enable API.
680 * a particular smartreflex module. This API will do the initial
681 * configurations to turn on the smartreflex module and in turn call
682 * into the registered smartreflex class enable API.
697 dev_warn(&sr->pdev->dev, "%s: smartreflex class driver not registered\n", in omap_sr_enable()
711 * a particular smartreflex module. This API will in turn call
712 * into the registered smartreflex class disable API. This API will tell
713 * the smartreflex class disable not to reset the VP voltage after
714 * disabling smartreflex.
729 dev_warn(&sr->pdev->dev, "%s: smartreflex class driver not registered\n", in omap_sr_disable()
743 * a particular smartreflex module. This API will in turn call
744 * into the registered smartreflex class disable API. This API will tell
745 * the smartreflex class disable to reset the VP voltage after
746 * disabling smartreflex.
761 dev_warn(&sr->pdev->dev, "%s: smartreflex class driver not registered\n", in omap_sr_disable_reset_volt()
769 /* PM Debug FS entries to enable and disable smartreflex. */
886 dev_info(&pdev->dev, "%s: SmartReflex driver initialized\n", __func__); in omap_sr_probe()
888 sr_dbg_dir = debugfs_create_dir("smartreflex", NULL); in omap_sr_probe()
960 { .compatible = "ti,omap3-smartreflex-core", },
961 { .compatible = "ti,omap3-smartreflex-mpu-iva", },
962 { .compatible = "ti,omap4-smartreflex-core", },
963 { .compatible = "ti,omap4-smartreflex-mpu", },
964 { .compatible = "ti,omap4-smartreflex-iva", },
1000 MODULE_DESCRIPTION("OMAP Smartreflex Driver");