Lines Matching full:ovp
167 u32 ovp; member
219 * Time to wait before checking the OVP status after wled module enable.
318 * The hardware generates a storm of spurious OVP in wled_module_enable()
402 dev_dbg(wled->dev, "WLED OVP fault detected, int_rt_sts=0x%x fault_sts=0x%x\n", in wled_ovp_fault_status()
419 /* For WLED5, get the delay based on OVP timer */ in wled5_ovp_delay()
645 dev_err(wled->dev, "Error in getting OVP fault_sts, rc=%d\n", in wled_auto_string_detection()
651 dev_dbg(wled->dev, "WLED OVP fault detected with SINK %d\n", in wled_auto_string_detection()
755 * Check if the OVP fault was an occasional one in wled4_auto_detection_required()
786 * Unlike WLED4, WLED5 has OVP fault density interrupt configuration in wled5_auto_detection_required()
787 * i.e. to count the number of OVP alarms for a certain duration before in wled5_auto_detection_required()
788 * triggering OVP fault interrupt. By default, number of OVP fault in wled5_auto_detection_required()
790 * interval is 12 ms. If we see one OVP fault interrupt, then that in wled5_auto_detection_required()
791 * should qualify for a real OVP fault condition to run auto detection in wled5_auto_detection_required()
807 dev_err(wled->dev, "Error in getting OVP fault_sts, rc=%d\n", in wled_auto_detection_at_init()
845 dev_dbg(wled->dev, "WLED OVP fault detected, int_sts=%x fault_sts= %x\n", in wled_ovp_irq_handler()
867 WLED3_CTRL_REG_OVP_MASK, wled->cfg.ovp); in wled3_setup()
933 .ovp = 2,
951 WLED3_CTRL_REG_OVP_MASK, wled->cfg.ovp); in wled4_setup()
1064 .ovp = 1,
1081 WLED5_CTRL_REG_OVP_MASK, wled->cfg.ovp); in wled5_setup()
1175 .ovp = 4,
1325 .name = "qcom,ovp", in wled_configure()
1326 .val_ptr = &cfg->ovp, in wled_configure()
1353 .name = "qcom,ovp-millivolt", in wled_configure()
1354 .val_ptr = &cfg->ovp, in wled_configure()
1381 .name = "qcom,ovp-millivolt", in wled_configure()
1382 .val_ptr = &cfg->ovp, in wled_configure()
1565 wled->ovp_irq = platform_get_irq_byname(pdev, "ovp"); in wled_configure_ovp_irq()
1567 dev_dbg(&pdev->dev, "OVP IRQ not found - disabling automatic string detection\n"); in wled_configure_ovp_irq()
1586 /* Keep OVP irq disabled until module is enabled */ in wled_configure_ovp_irq()