Searched refs:cur_state (Results 1 - 25 of 98) sorted by path

1234

/linux-master/drivers/scsi/csiostor/
H A Dt4fw_api_stor.h120 u8 cur_state; member in struct:fw_rdev_wr
/linux-master/drivers/video/fbdev/i810/
H A Di810.h281 u32 cur_state; member in struct:i810fb_par
/linux-master/drivers/acpi/
H A Ddevice_pm.c242 int cur_state = device->power.state; local
250 if (cur_state == ACPI_STATE_D0) {
H A Dpower.c191 u8 cur_state; local
197 cur_state = sta & ACPI_POWER_RESOURCE_STATE_ON;
200 cur_state ? "on" : "off");
202 *state = cur_state;
223 u8 cur_state = ACPI_POWER_RESOURCE_STATE_OFF; local
234 result = acpi_power_get_state(resource, &cur_state);
239 if (cur_state != ACPI_POWER_RESOURCE_STATE_ON)
243 pr_debug("Power resource list is %s\n", cur_state ? "on" : "off");
245 *state = cur_state;
H A Dprocessor_thermal.c252 unsigned long *cur_state)
264 *cur_state = cpufreq_get_cur_state(pr->id);
266 *cur_state += pr->throttling.state;
251 processor_get_cur_state(struct thermal_cooling_device *cdev, unsigned long *cur_state) argument
/linux-master/drivers/bus/mhi/ep/
H A Dmain.c1099 enum mhi_state cur_state; local
1107 cur_state = mhi_cntrl->mhi_state;
1114 if (cur_state == MHI_STATE_SYS_ERR)
/linux-master/drivers/bus/mhi/host/
H A Dpm.c123 unsigned long cur_state = mhi_cntrl->pm_state; local
124 int index = find_last_bit(&cur_state, 32);
127 return cur_state;
129 if (unlikely(dev_state_transitions[index].from_state != cur_state))
130 return cur_state;
133 return cur_state;
173 enum mhi_pm_state cur_state; local
206 cur_state = mhi_tryset_pm_state(mhi_cntrl, MHI_PM_POR);
210 if (cur_state != MHI_PM_POR) {
213 to_mhi_pm_state_str(cur_state));
264 enum mhi_pm_state cur_state; local
474 enum mhi_pm_state cur_state; local
598 enum mhi_pm_state cur_state, prev_state; local
937 enum mhi_pm_state cur_state; local
1193 enum mhi_pm_state cur_state, transition_state; local
[all...]
/linux-master/drivers/dma/qcom/
H A Dgpi.c1977 enum gpi_pm_state cur_state; local
1982 cur_state = gchan->pm_state;
1990 if (cur_state == ACTIVE_STATE) {
2015 cur_state = gpii->pm_state;
2024 if (cur_state == ACTIVE_STATE)
2030 if (cur_state == ACTIVE_STATE)
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_jpeg.h91 enum amd_powergating_state cur_state; member in struct:amdgpu_jpeg
H A Damdgpu_vcn.h311 enum amd_powergating_state cur_state; member in struct:amdgpu_vcn
H A Djpeg_v2_0.c159 if (adev->jpeg.cur_state != AMD_PG_STATE_GATE &&
703 if (state == adev->jpeg.cur_state)
712 adev->jpeg.cur_state = state;
H A Djpeg_v2_5.c222 if (adev->jpeg.cur_state != AMD_PG_STATE_GATE &&
554 if (state == adev->jpeg.cur_state)
563 adev->jpeg.cur_state = state;
H A Djpeg_v3_0.c176 if (adev->jpeg.cur_state != AMD_PG_STATE_GATE &&
501 if(state == adev->jpeg.cur_state)
510 adev->jpeg.cur_state = state;
H A Djpeg_v4_0.c202 if (adev->jpeg.cur_state != AMD_PG_STATE_GATE &&
659 adev->jpeg.cur_state = AMD_PG_STATE_UNGATE;
663 if (state == adev->jpeg.cur_state)
672 adev->jpeg.cur_state = state;
H A Djpeg_v4_0_3.c364 if (adev->jpeg.cur_state != AMD_PG_STATE_GATE)
958 adev->jpeg.cur_state = AMD_PG_STATE_UNGATE;
962 if (state == adev->jpeg.cur_state)
971 adev->jpeg.cur_state = state;
H A Djpeg_v4_0_5.c233 if (adev->jpeg.cur_state != AMD_PG_STATE_GATE &&
692 adev->jpeg.cur_state = AMD_PG_STATE_UNGATE;
696 if (state == adev->jpeg.cur_state)
705 adev->jpeg.cur_state = state;
H A Djpeg_v5_0_0.c166 if (adev->jpeg.cur_state != AMD_PG_STATE_GATE &&
457 if (state == adev->jpeg.cur_state)
466 adev->jpeg.cur_state = state;
H A Dvcn_v1_0.c241 (adev->vcn.cur_state != AMD_PG_STATE_GATE &&
1775 if (state == adev->vcn.cur_state)
1784 adev->vcn.cur_state = state;
H A Dvcn_v2_0.c275 (adev->vcn.cur_state != AMD_PG_STATE_GATE &&
1771 adev->vcn.cur_state = AMD_PG_STATE_UNGATE;
1775 if (state == adev->vcn.cur_state)
1784 adev->vcn.cur_state = state;
H A Dvcn_v2_5.c355 (adev->vcn.cur_state != AMD_PG_STATE_GATE &&
1792 if(state == adev->vcn.cur_state)
1801 adev->vcn.cur_state = state;
H A Dvcn_v3_0.c391 (adev->vcn.cur_state != AMD_PG_STATE_GATE &&
2133 adev->vcn.cur_state = AMD_PG_STATE_UNGATE;
2137 if (state == adev->vcn.cur_state)
2146 adev->vcn.cur_state = state;
H A Dvcn_v4_0.c319 (adev->vcn.cur_state != AMD_PG_STATE_GATE &&
2003 adev->vcn.cur_state = AMD_PG_STATE_UNGATE;
2007 if (state == adev->vcn.cur_state)
2016 adev->vcn.cur_state = state;
H A Dvcn_v4_0_3.c274 if (adev->vcn.cur_state != AMD_PG_STATE_GATE)
1544 adev->vcn.cur_state = AMD_PG_STATE_UNGATE;
1548 if (state == adev->vcn.cur_state)
1557 adev->vcn.cur_state = state;
H A Dvcn_v4_0_5.c268 (adev->vcn.cur_state != AMD_PG_STATE_GATE &&
1656 if (state == adev->vcn.cur_state)
1665 adev->vcn.cur_state = state;
H A Dvcn_v5_0_0.c1215 if (state == adev->vcn.cur_state)
1224 adev->vcn.cur_state = state;

Completed in 528 milliseconds

1234