Home
last modified time | relevance | path

Searched refs:saved_ctrl (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/media/platform/xilinx/
Dxilinx-vip.h101 u32 saved_ctrl; member
179 xvip->saved_ctrl | XVIP_CTRL_CONTROL_SW_ENABLE); in xvip_resume()
184 xvip->saved_ctrl = xvip_read(xvip, XVIP_CTRL_CONTROL); in xvip_suspend()
186 xvip->saved_ctrl & ~XVIP_CTRL_CONTROL_SW_ENABLE); in xvip_suspend()
/Linux-v5.4/arch/mips/kernel/
Dperf_event_mipsxx.c46 unsigned int saved_ctrl[MIPS_MAX_HWEVENTS]; member
49 .saved_ctrl = {0},
323 cpuc->saved_ctrl[idx] = M_PERFCTL_EVENT(evt->event_base & 0xff) | in mipsxx_pmu_enable_event()
330 cpuc->saved_ctrl[idx] |= in mipsxx_pmu_enable_event()
335 cpuc->saved_ctrl[idx] |= M_TC_EN_ALL; in mipsxx_pmu_enable_event()
348 cpuc->saved_ctrl[idx] |= ctrl; in mipsxx_pmu_enable_event()
364 cpuc->saved_ctrl[idx] = mipsxx_pmu_read_control(idx) & in mipsxx_pmu_disable_event()
366 mipsxx_pmu_write_control(idx, cpuc->saved_ctrl[idx]); in mipsxx_pmu_disable_event()
1363 cpuc->saved_ctrl[ctr] = mipsxx_pmu_read_control(ctr); in pause_local_counters()
1364 mipsxx_pmu_write_control(ctr, cpuc->saved_ctrl[ctr] & in pause_local_counters()
[all …]
/Linux-v5.4/drivers/pwm/
Dpwm-lpss.h22 u32 saved_ctrl[MAX_PWMS]; member
Dpwm-lpss.c257 lpwm->saved_ctrl[i] = readl(lpwm->regs + i * PWM_SIZE + PWM); in pwm_lpss_suspend()
269 writel(lpwm->saved_ctrl[i], lpwm->regs + i * PWM_SIZE + PWM); in pwm_lpss_resume()