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