| /kernel/linux/linux-5.10/arch/arm64/include/asm/ |
| H A D | processor.h | 210 regs->pstate = PSR_MODE_EL0t; in start_thread() 220 regs->pstate = PSR_AA32_MODE_USR; in compat_start_thread() 222 regs->pstate |= PSR_AA32_T_BIT; in compat_start_thread() 225 regs->pstate |= PSR_AA32_E_BIT; in compat_start_thread()
|
| H A D | archrandom.h | 16 * Reads of RNDR set PSTATE.NZCV to 0b0000 on success, in __arm64_rndr() 17 * and set PSTATE.NZCV to 0b0100 otherwise. in __arm64_rndr()
|
| H A D | sdei.h | 27 unsigned long pc, unsigned long pstate); 33 unsigned long pstate);
|
| /kernel/linux/linux-5.10/arch/sparc/kernel/ |
| H A D | ktlb.S | 86 661: rdpr %pstate, %g5 87 wrpr %g5, PSTATE_AG | PSTATE_MG, %pstate 244 661: rdpr %pstate, %g5 245 wrpr %g5, PSTATE_AG | PSTATE_MG, %pstate
|
| H A D | dtlb_prot.S | 21 rdpr %pstate, %g5 ! Move into alt-globals 22 wrpr %g5, PSTATE_AG|PSTATE_MG, %pstate
|
| H A D | process_64.c | 45 #include <asm/pstate.h> 67 unsigned long pstate; in arch_cpu_idle() local 71 /* The sun4v sleeping code requires that we have PSTATE.IE cleared over in arch_cpu_idle() 75 "rdpr %%pstate, %0\n\t" in arch_cpu_idle() 77 "wrpr %0, %%g0, %%pstate" in arch_cpu_idle() 78 : "=&r" (pstate) in arch_cpu_idle() 91 "rdpr %%pstate, %0\n\t" in arch_cpu_idle() 93 "wrpr %0, %%g0, %%pstate" in arch_cpu_idle() 94 : "=&r" (pstate) in arch_cpu_idle()
|
| H A D | kgdb_64.c | 121 __asm__ __volatile__("rdpr %%pstate, %0\n\t" in smp_kgdb_capture_client() 122 "wrpr %0, %1, %%pstate" in smp_kgdb_capture_client() 131 __asm__ __volatile__("wrpr %0, 0, %%pstate" in smp_kgdb_capture_client()
|
| /kernel/linux/linux-6.6/arch/sparc/kernel/ |
| H A D | ktlb.S | 86 661: rdpr %pstate, %g5 87 wrpr %g5, PSTATE_AG | PSTATE_MG, %pstate 244 661: rdpr %pstate, %g5 245 wrpr %g5, PSTATE_AG | PSTATE_MG, %pstate
|
| H A D | dtlb_prot.S | 21 rdpr %pstate, %g5 ! Move into alt-globals 22 wrpr %g5, PSTATE_AG|PSTATE_MG, %pstate
|
| H A D | process_64.c | 42 #include <asm/pstate.h> 63 unsigned long pstate; in arch_cpu_idle() local 67 /* The sun4v sleeping code requires that we have PSTATE.IE cleared over in arch_cpu_idle() 71 "rdpr %%pstate, %0\n\t" in arch_cpu_idle() 73 "wrpr %0, %%g0, %%pstate" in arch_cpu_idle() 74 : "=&r" (pstate) in arch_cpu_idle() 87 "rdpr %%pstate, %0\n\t" in arch_cpu_idle() 89 "wrpr %0, %%g0, %%pstate" in arch_cpu_idle() 90 : "=&r" (pstate) in arch_cpu_idle()
|
| H A D | kgdb_64.c | 121 __asm__ __volatile__("rdpr %%pstate, %0\n\t" in smp_kgdb_capture_client() 122 "wrpr %0, %1, %%pstate" in smp_kgdb_capture_client() 131 __asm__ __volatile__("wrpr %0, 0, %%pstate" in smp_kgdb_capture_client()
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/ |
| H A D | dm_pp_smu.h | 30 * interface to PPLIB/SMU to setup clocks and pstate requirements on SoC 232 * to perform pstate handshaking in its current state. Typically this handshake 233 * is used to perform uCLK switching, so disabling pstate disables uCLK switching. 236 * DC will make the call BEFORE setting up the display state which would cause pstate
|
| /kernel/linux/linux-5.10/arch/sparc/include/asm/ |
| H A D | psr.h | 5 * for Version 8. On the V9 this is renamed to the PSTATE 7 * PSTATE.PRIV for the current CPU privilege level.
|
| /kernel/linux/linux-6.6/arch/arm64/include/asm/ |
| H A D | sdei.h | 27 unsigned long pc, unsigned long pstate); 33 unsigned long pstate);
|
| /kernel/linux/linux-6.6/arch/sparc/include/asm/ |
| H A D | psr.h | 5 * for Version 8. On the V9 this is renamed to the PSTATE 7 * PSTATE.PRIV for the current CPU privilege level.
|
| /third_party/astc-encoder/Source/ |
| H A D | tinyexr.h | 2239 inflate_state *pState; in mz_inflate() local 2249 pState = (inflate_state *)pStream->state; in mz_inflate() 2250 if (pState->m_window_bits > 0) decomp_flags |= TINFL_FLAG_PARSE_ZLIB_HEADER; in mz_inflate() 2253 first_call = pState->m_first_call; in mz_inflate() 2254 pState->m_first_call = 0; in mz_inflate() 2255 if (pState->m_last_status < 0) return MZ_DATA_ERROR; in mz_inflate() 2257 if (pState->m_has_flushed && (flush != MZ_FINISH)) return MZ_STREAM_ERROR; in mz_inflate() 2258 pState->m_has_flushed |= (flush == MZ_FINISH); in mz_inflate() 2266 status = tinfl_decompress(&pState->m_decomp, pStream->next_in, &in_bytes, in mz_inflate() 2269 pState in mz_inflate() 4994 mz_zip_internal_state *pState = pZip->m_pState; mz_zip_reader_sort_central_dir_offsets_by_filename() local 5391 mz_zip_internal_state *pState = pZip->m_pState; mz_zip_reader_locate_file_binary_search() local 5894 mz_zip_internal_state *pState = pZip->m_pState; mz_zip_reader_end() local 5979 mz_zip_internal_state *pState = pZip->m_pState; mz_zip_heap_write_func() local 6065 mz_zip_internal_state *pState; mz_zip_writer_init_from_reader() local 6130 mz_zip_writer_add_state *pState = (mz_zip_writer_add_state *)pUser; mz_zip_writer_add_put_buf_callback() local 6193 mz_zip_internal_state *pState = pZip->m_pState; mz_zip_writer_add_to_central_dir() local 6279 mz_zip_internal_state *pState; mz_zip_writer_add_mem_ex() local 6643 mz_zip_internal_state *pState; mz_zip_writer_add_from_zip_reader() local 6780 mz_zip_internal_state *pState; mz_zip_writer_finalize_archive() local 6846 mz_zip_internal_state *pState; mz_zip_writer_end() local [all...] |
| /kernel/linux/linux-6.6/arch/arm64/kernel/ |
| H A D | entry-common.c | 259 * Preempting a task from an IRQ means we leave copies of PSTATE in arm64_preempt_schedule_irq() 260 * on the stack. cpufeature's enable calls may modify PSTATE, but in arm64_preempt_schedule_irq() 347 regs->pstate |= PSR_D_BIT; in cortex_a76_erratum_1463225_debug_handler() 906 * set/cleared bits in PSTATE that we may rely on. in __sdei_handler() 909 * whether PSTATE bits are inherited unchanged or generated from in __sdei_handler() 914 * PSTATE is modified upon architectural exceptions, and so PAN is in __sdei_handler()
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/pl111/ |
| H A D | pl111_display.c | 85 struct drm_plane_state *pstate, in pl111_display_check() 90 struct drm_framebuffer *fb = pstate->fb; in pl111_display_check() 96 u32 offset = drm_fb_cma_get_gem_addr(fb, pstate, 0); in pl111_display_check() 396 struct drm_plane_state *pstate = plane->state; in pl111_display_update() local 397 struct drm_framebuffer *fb = pstate->fb; in pl111_display_update() 400 u32 addr = drm_fb_cma_get_gem_addr(fb, pstate, 0); in pl111_display_update() 84 pl111_display_check(struct drm_simple_display_pipe *pipe, struct drm_plane_state *pstate, struct drm_crtc_state *cstate) pl111_display_check() argument
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/pl111/ |
| H A D | pl111_display.c | 86 struct drm_plane_state *pstate, in pl111_display_check() 91 struct drm_framebuffer *fb = pstate->fb; in pl111_display_check() 97 u32 offset = drm_fb_dma_get_gem_addr(fb, pstate, 0); in pl111_display_check() 397 struct drm_plane_state *pstate = plane->state; in pl111_display_update() local 398 struct drm_framebuffer *fb = pstate->fb; in pl111_display_update() 401 u32 addr = drm_fb_dma_get_gem_addr(fb, pstate, 0); in pl111_display_update() 85 pl111_display_check(struct drm_simple_display_pipe *pipe, struct drm_plane_state *pstate, struct drm_crtc_state *cstate) pl111_display_check() argument
|
| /foundation/multimedia/audio_framework/frameworks/native/opensles/src/itf/ |
| H A D | record_itf.cpp | 30 static SLresult GetRecordState(SLRecordItf self, SLuint32 *pState) in GetRecordState() argument 36 AudioCapturerAdapter::GetInstance()->GetCaptureStateAdapter(thiz->mId, pState); in GetRecordState()
|
| /kernel/linux/linux-5.10/drivers/firmware/ |
| H A D | arm_scpi.c | 324 u8 pstate; member 762 u8 pstate; in scpi_device_get_power_state() local 766 sizeof(id), &pstate, sizeof(pstate)); in scpi_device_get_power_state() 767 return ret ? ret : pstate; in scpi_device_get_power_state() 770 static int scpi_device_set_power_state(u16 dev_id, u8 pstate) in scpi_device_set_power_state() argument 775 .pstate = pstate, in scpi_device_set_power_state()
|
| /kernel/linux/linux-6.6/drivers/firmware/ |
| H A D | arm_scpi.c | 324 u8 pstate; member 762 u8 pstate; in scpi_device_get_power_state() local 766 sizeof(id), &pstate, sizeof(pstate)); in scpi_device_get_power_state() 767 return ret ? ret : pstate; in scpi_device_get_power_state() 770 static int scpi_device_set_power_state(u16 dev_id, u8 pstate) in scpi_device_set_power_state() argument 775 .pstate = pstate, in scpi_device_set_power_state()
|
| /kernel/linux/linux-6.6/drivers/cpufreq/ |
| H A D | amd-pstate.c | 3 * amd-pstate.c - AMD Processor P-state Frequency Driver 39 #include <linux/amd-pstate.h> 48 #include "amd-pstate-trace.h" 816 pr_err("failed to enable amd-pstate during resume, return %d\n", ret); in amd_pstate_cpu_resume() 827 pr_err("failed to disable amd-pstate during suspend, return %d\n", ret); in amd_pstate_cpu_suspend() 1308 pr_err("failed to enable amd pstate during resume, return %d\n", ret); in amd_pstate_epp_reenable() 1414 /* enable amd pstate from suspend state*/ in amd_pstate_epp_resume() 1435 .name = "amd-pstate", 1449 .name = "amd-pstate-epp", 1528 /* enable amd pstate featur in amd_pstate_init() [all...] |
| /kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/ |
| H A D | gk20a.c | 63 *state = clk->pstate; in gk20a_pmu_dvfs_get_cur_state() 74 /* For GK20A, the performance level is directly mapped to pstate */ in gk20a_pmu_dvfs_get_target_state() 75 level = cur_level = clk->pstate; in gk20a_pmu_dvfs_get_target_state()
|
| /kernel/linux/linux-6.6/drivers/clk/tegra/ |
| H A D | clk-device.c | 35 unsigned int pstate; in tegra_clock_set_pd_state() local 56 pstate = dev_pm_opp_get_required_pstate(opp, 0); in tegra_clock_set_pd_state() 59 return dev_pm_genpd_set_performance_state(dev, pstate); in tegra_clock_set_pd_state()
|