Lines Matching full:oc
352 struct mutex irq_lock; /* serialize OC IRQs */
984 * @irq: OC irq number. Currently not being used. See description
988 * and handle any OC events that happened. Additionally, it checks every
1009 pr_err("soctherm: OC ALARM 0x%08x\n", ex); in soctherm_edp_isr_thread()
1044 pr_err("soctherm: Ignored unexpected OC ALARM 0x%08x\n", st); in soctherm_edp_isr_thread()
1061 * The OC_INTR_DISABLE register indicates which OC interrupts
1095 * soctherm_oc_irq_sync_unlock() - Unlocks the OC interrupt request
1224 pr_info("%s(): OC interrupts are not enabled\n", __func__); in soctherm_oc_int_init()
1249 pr_debug("%s(): OC interrupts enabled successful\n", __func__); in soctherm_oc_int_init()
1873 struct soctherm_oc_cfg *oc = &ts->throt_cfgs[throt].oc_cfg; in soctherm_oc_cfg_program() local
1875 if (oc->mode == OC_THROTTLE_MODE_DISABLED) in soctherm_oc_cfg_program()
1879 r = REG_SET_MASK(r, OC1_CFG_THROTTLE_MODE_MASK, oc->mode); in soctherm_oc_cfg_program()
1880 r = REG_SET_MASK(r, OC1_CFG_ALARM_POLARITY_MASK, oc->active_low); in soctherm_oc_cfg_program()
1883 writel(oc->throt_period, ts->regs + ALARM_THROTTLE_PERIOD(throt)); in soctherm_oc_cfg_program()
1884 writel(oc->alarm_cnt_thresh, ts->regs + ALARM_CNT_THRESHOLD(throt)); in soctherm_oc_cfg_program()
1885 writel(oc->alarm_filter, ts->regs + ALARM_FILTER(throt)); in soctherm_oc_cfg_program()
1886 soctherm_oc_intr_enable(ts, throt, oc->intr_en); in soctherm_oc_cfg_program()