Home
last modified time | relevance | path

Searched refs:psr (Results 1 – 25 of 99) sorted by relevance

1234

/linux/drivers/gpu/drm/i915/display/
A Dintel_psr.c1349 struct intel_psr *psr = &intel_dp->psr; in intel_psr_pause() local
1379 struct intel_psr *psr = &intel_dp->psr; in intel_psr_resume() local
1732 struct intel_psr *psr = &intel_dp->psr; in _intel_psr_pre_plane_update() local
1780 struct intel_psr *psr = &intel_dp->psr; in _intel_psr_post_plane_update() local
1858 if (!intel_dp->psr.enabled || intel_dp->psr.psr2_enabled) { in intel_psr_wait_for_idle()
2002 struct intel_psr *psr = &intel_dp->psr; in intel_psr_handle_irq() local
2037 if (intel_dp->psr.busy_frontbuffer_bits || intel_dp->psr.active) in intel_psr_work()
2213 intel_dp->psr.link_standby = dev_priv->vbt.psr.full_link; in intel_psr_init()
2243 struct intel_psr *psr = &intel_dp->psr; in psr_alpm_check() local
2270 struct intel_psr *psr = &intel_dp->psr; in psr_capability_changed_check() local
[all …]
/linux/arch/sparc/kernel/
A Dtraps_32.c89 if(regs->psr & PSR_PS) in die_if_kernel()
112 if(psr & PSR_PS) in do_illegal_instruction()
123 unsigned long psr) in do_priv_instruction() argument
125 if(psr & PSR_PS) in do_priv_instruction()
159 unsigned long psr) in do_fpd_trap() argument
162 if(psr & PSR_PS) in do_fpd_trap()
166 regs->psr |= PSR_EF; in do_fpd_trap()
201 unsigned long psr) argument
265 if(psr & PSR_PS) {
306 if(psr & PSR_PS)
[all …]
A Dentry.S159 wr %l0, 0x0, %psr
181 wr %l4, 0x0, %psr
230 wr %g2, 0x0, %psr
249 wr %g2, 0x0, %psr
287 wr %l4, 0x0, %psr
728 wr %l4, 0x0, %psr ! set new %psr
870 rd %psr, %g4
886 rd %psr, %g4
901 rd %psr, %g4
961 rd %psr, %l1
[all …]
A Dentry.h16 unsigned long npc, unsigned long psr);
19 unsigned long npc, unsigned long psr);
21 unsigned long npc, unsigned long psr);
23 unsigned long npc, unsigned long psr);
25 unsigned long npc, unsigned long psr);
27 unsigned long npc, unsigned long psr);
29 unsigned long npc, unsigned long psr);
31 unsigned long npc, unsigned long psr);
33 unsigned long npc, unsigned long psr);
35 unsigned long npc, unsigned long psr);
A Dsignal_32.c107 up_psr = regs->psr; in do_sigreturn()
112 | (regs->psr & (PSR_ICC | PSR_EF)); in do_sigreturn()
144 unsigned int psr, pc, npc, ufp; in do_rt_sigreturn() local
166 err |= __get_user(psr, &sf->regs.psr); in do_rt_sigreturn()
171 regs->psr = (regs->psr & ~PSR_ICC) | (psr & PSR_ICC); in do_rt_sigreturn()
326 unsigned int psr; in setup_rt_frame() local
347 psr = regs->psr; in setup_rt_frame()
349 psr |= PSR_EF; in setup_rt_frame()
350 err |= __put_user(psr, &sf->regs.psr); in setup_rt_frame()
354 if (psr & PSR_EF) { in setup_rt_frame()
[all …]
A Dtrampoline_32.S47 wr %g1, 0x0, %psr ! traps off though
70 rd %psr, %g1
71 wr %g1, PSR_ET, %psr ! traps on
101 wr %g1, 0x0, %psr ! traps off though
131 rd %psr, %g1
132 wr %g1, PSR_ET, %psr ! traps on
160 wr %g1, 0x0, %psr ! traps off though
187 rd %psr, %g1
188 wr %g1, PSR_ET, %psr ! traps on
A Dsignal32.c89 unsigned int psr, ufp; in do_sigreturn32() local
129 err |= __get_user(psr, &sf->info.si_regs.psr); in do_sigreturn32()
217 err |= __get_user(psr, &sf->regs.psr); in do_rt_sigreturn32()
358 u32 psr; in setup_frame32() local
397 psr |= PSR_EF; in setup_frame32()
398 err |= __put_user(psr, &sf->info.si_regs.psr); in setup_frame32()
409 if (psr & PSR_EF) { in setup_frame32()
493 u32 psr; in setup_rt_frame32() local
531 psr |= PSR_EF; in setup_rt_frame32()
532 err |= __put_user(psr, &sf->regs.psr); in setup_rt_frame32()
[all …]
A Dptrace_32.c100 membuf_store(&to, regs->psr); in genregs32_get()
114 u32 psr; in genregs32_set() local
139 &psr, in genregs32_set()
143 regs->psr = (regs->psr & ~(PSR_ICC | PSR_SYSCALL)) | in genregs32_set()
144 (psr & (PSR_ICC | PSR_SYSCALL)); in genregs32_set()
253 membuf_store(&to, regs->psr); in getregs_get()
277 regs->psr = (regs->psr & ~(PSR_ICC | PSR_SYSCALL)) | in setregs_set()
A Drtrap_32.S58 wr %t_psr, 0x0, %psr
88 wr %t_psr, 0x0, %psr
96 wr %t_psr, PSR_ET, %psr
154 wr %t_psr, 0x0, %psr
167 wr %t_psr, PSR_ET, %psr
210 wr %t_psr, 0x0, %psr
219 wr %t_psr, PSR_ET, %psr
A Dprocess_32.c124 r->psr, r->pc, r->npc, r->y, print_tainted()); in show_regs()
301 unsigned long psr; local
307 psr = childregs->psr = get_psr();
308 ti->kpsr = psr | PSR_PIL;
309 ti->kwim = 1 << (((psr & PSR_CWP) + 1) % nwindows);
351 childregs->psr &= ~PSR_EF;
A Dwof.S122 wr %t_psr, 0x0, %psr ! restore condition codes in %psr
191 wr %t_psr, 0x0, %psr
207 rd %psr, %glob_tmp
253 wr %t_psr, PSR_ET, %psr
286 wr %t_psr, 0x0, %psr
364 rd %psr, %glob_tmp
A Dsigutil_32.c23 regs->psr &= ~(PSR_EF); in save_fpu_state()
32 regs->psr &= ~(PSR_EF); in save_fpu_state()
58 regs->psr &= ~PSR_EF; in restore_fpu_state()
62 regs->psr &= ~PSR_EF; in restore_fpu_state()
A Dwuf.S122 wr %t_psr, 0x0, %psr
164 rd %psr, %g3 /* Read %psr in live user window */
188 wr %t_psr, PSR_ET, %psr ! enable traps
214 wr %t_psr, 0x0, %psr
300 wr %t_psr, 0x0, %psr
/linux/arch/sparc/include/asm/
A Dhead_32.h13 rd %psr, %l0; b label; rd %wim, %l3; nop;
16 #define SRMMU_TFAULT rd %psr, %l0; rd %wim, %l3; b srmmu_fault; mov 1, %l7;
17 #define SRMMU_DFAULT rd %psr, %l0; rd %wim, %l3; b srmmu_fault; mov 0, %l7;
21 rd %psr, %l0; mov num, %l7; b bad_trap_handler; rd %wim, %l3;
38 rd %psr, %l0;
42 rd %psr,%l0; \
50 rd %psr,%l0; \
59 b getcc_trap_handler; rd %psr, %l0; nop; nop;
63 b setcc_trap_handler; rd %psr, %l0; nop; nop;
67 rd %psr, %i0; jmp %l2; rett %l2 + 4; nop;
[all …]
A Dpsr.h21 unsigned int psr; in get_psr() local
27 : "=r" (psr) in get_psr()
31 return psr; in get_psr()
/linux/arch/ia64/include/asm/native/
A Dinst.h36 (pred) mov reg = psr
76 ssm psr.ic | PSR_DEFAULT_BITS \
82 ssm psr.ic \
87 rsm psr.ic
90 (pred) ssm psr.i
93 (pred) rsm psr.i
96 rsm psr.i | psr.ic
99 rsm psr.dt
102 rsm psr.be | psr.i
105 ssm psr.dt \
/linux/arch/powerpc/platforms/powernv/
A Dopal-psr.c30 int psr, ret, token; in psr_show() local
43 (u32 *)__pa(&psr)); in psr_show()
54 ret = sprintf(buf, "%u\n", be32_to_cpu(psr)); in psr_show()
60 ret = sprintf(buf, "%u\n", be32_to_cpu(psr)); in psr_show()
80 int psr, ret, token; in psr_store() local
82 ret = kstrtoint(buf, 0, &psr); in psr_store()
96 ret = opal_set_power_shift_ratio(psr_attr->handle, token, psr); in psr_store()
125 struct device_node *psr, *node; in opal_psr_init() local
128 psr = of_find_compatible_node(NULL, NULL, in opal_psr_init()
130 if (!psr) { in opal_psr_init()
[all …]
/linux/drivers/cpufreq/
A Dmaple-cpufreq.c94 unsigned long psr = scom970_read(SCOM_PSR); in maple_scom_switch_freq() local
96 if ((psr & PSR_CMD_RECEIVED) == 0 && in maple_scom_switch_freq()
97 (((psr >> PSR_CUR_SPEED_SHIFT) ^ in maple_scom_switch_freq()
101 if (psr & PSR_CMD_COMPLETED) in maple_scom_switch_freq()
116 unsigned long psr = scom970_read(SCOM_PSR); in maple_scom_query_freq() local
120 if ((((psr >> PSR_CUR_SPEED_SHIFT) ^ in maple_scom_query_freq()
/linux/arch/ia64/kernel/
A Dpal.S72 mov loc3 = psr
80 rsm psr.i
84 1: mov psr.l = loc3
115 mov loc3 = psr
117 rsm psr.i
121 .ret0: mov psr.l = loc3
165 mov loc3 = psr // save psr
191 mov psr.l = loc3 // restore init PSR
220 mov loc3 = psr // save psr
250 mov psr.l = loc3 // restore init PSR
/linux/arch/sparc/include/uapi/asm/
A Dpsrcompat.h38 static inline unsigned long psr_to_tstate_icc(unsigned int psr) in psr_to_tstate_icc() argument
40 unsigned long tstate = ((unsigned long)(psr & PSR_ICC)) << 12; in psr_to_tstate_icc()
41 if ((psr & (PSR_VERS|PSR_IMPL)) == PSR_V8PLUS) in psr_to_tstate_icc()
42 tstate |= ((unsigned long)(psr & PSR_XCC)) << 20; in psr_to_tstate_icc()
/linux/arch/ia64/include/asm/
A Dmca_asm.h84 mov old_psr = psr; \
100 mov temp1 = psr; \
101 mov temp2 = psr; \
106 mov psr.l = temp2; \
164 mov temp2 = psr; \
170 mov psr.l = temp2; \
/linux/arch/arm64/include/asm/
A Dptrace.h149 static inline unsigned long compat_psr_to_pstate(const unsigned long psr) in compat_psr_to_pstate() argument
153 pstate = psr & ~COMPAT_PSR_DIT_BIT; in compat_psr_to_pstate()
155 if (psr & COMPAT_PSR_DIT_BIT) in compat_psr_to_pstate()
163 unsigned long psr; in pstate_to_compat_psr() local
165 psr = pstate & ~PSR_AA32_DIT_BIT; in pstate_to_compat_psr()
168 psr |= COMPAT_PSR_DIT_BIT; in pstate_to_compat_psr()
170 return psr; in pstate_to_compat_psr()
/linux/sound/soc/samsung/
A Dsnow.c35 int bfs, psr, rfs, bitwidth; in snow_card_hw_params() local
78 for (psr = 8; psr > 0; psr /= 2) { in snow_card_hw_params()
80 if ((pll_rate[i] - rclk * psr) <= 2) { in snow_card_hw_params()
/linux/drivers/gpu/drm/amd/display/dc/dce/
A Ddmub_psr.c386 static void dmub_psr_construct(struct dmub_psr *psr, struct dc_context *ctx) in dmub_psr_construct() argument
388 psr->ctx = ctx; in dmub_psr_construct()
389 psr->funcs = &psr_funcs; in dmub_psr_construct()
397 struct dmub_psr *psr = kzalloc(sizeof(struct dmub_psr), GFP_KERNEL); in dmub_psr_create() local
399 if (psr == NULL) { in dmub_psr_create()
404 dmub_psr_construct(psr, ctx); in dmub_psr_create()
406 return psr; in dmub_psr_create()
/linux/arch/sparc/mm/
A Dswift.S60 rd %psr, %g1
62 wr %g3, 0x0, %psr
100 wr %g1, 0x0, %psr
126 rd %psr, %g1
128 wr %g3, 0x0, %psr
166 wr %g1, 0x0, %psr

Completed in 45 milliseconds

1234