/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_psr.c | 197 #define CAN_PSR(intel_dp) ((intel_dp)->psr.sink_support && \ 198 (intel_dp)->psr.source_support) 233 switch (intel_dp->psr.debug & I915_PSR_DEBUG_MODE_MASK) { in psr_global_enabled() 237 connector->panel.vbt.psr.enable : in psr_global_enabled() 251 switch (intel_dp->psr.debug & I915_PSR_DEBUG_MODE_MASK) { in psr2_global_enabled() 277 (intel_dp->psr.debug & I915_PSR_DEBUG_PANEL_REPLAY_DISABLE)) in panel_replay_global_enabled() 287 EDP_PSR_ERROR(intel_dp->psr.transcoder); in psr_irq_psr_error_bit_get() 295 EDP_PSR_POST_EXIT(intel_dp->psr.transcoder); in psr_irq_post_exit_bit_get() 303 EDP_PSR_PRE_ENTRY(intel_dp->psr.transcoder); in psr_irq_pre_entry_bit_get() 311 EDP_PSR_MASK(intel_dp->psr.transcoder); in psr_irq_mask_get() [all …]
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_parser_rt.c | 30 struct ice_hw *hw = rt->psr->hw; in ice_rt_flag_set() 47 struct ice_hw *hw = rt->psr->hw; in ice_rt_gpr_set() 59 struct ice_hw *hw = rt->psr->hw; in ice_rt_err_set() 76 struct ice_parser *psr = rt->psr; in ice_parser_rt_reset() local 80 mi = &psr->mi_table[0]; in ice_parser_rt_reset() 83 rt->psr = psr; in ice_parser_rt_reset() 139 ice_debug(rt->psr->hw, ICE_DBG_PARSER, "Generated Boost TCAM Key:\n"); in ice_bst_key_init() 140 ice_debug(rt->psr->hw, ICE_DBG_PARSER, "%02X %02X %02X %02X %02X %02X %02X %02X %02X %02X\n", in ice_bst_key_init() 143 ice_debug(rt->psr->hw, ICE_DBG_PARSER, "\n"); in ice_bst_key_init() 186 ice_debug(rt->psr->hw, ICE_DBG_PARSER, "Unsupported OP Code %u\n", in ice_pk_build() [all …]
|
H A D | ice_parser.c | 2008 p->rt.psr = p; in ice_parser_create() 2116 void ice_parser_destroy(struct ice_parser *psr) in ice_parser_destroy() argument 2118 kfree(psr->imem_table); in ice_parser_destroy() 2119 kfree(psr->mi_table); in ice_parser_destroy() 2120 kfree(psr->pg_cam_table); in ice_parser_destroy() 2121 kfree(psr->pg_sp_cam_table); in ice_parser_destroy() 2122 kfree(psr->pg_nm_cam_table); in ice_parser_destroy() 2123 kfree(psr->pg_nm_sp_cam_table); in ice_parser_destroy() 2124 kfree(psr->bst_tcam_table); in ice_parser_destroy() 2125 kfree(psr->bst_lbl_table); in ice_parser_destroy() [all …]
|
H A D | ice_parser.h | 429 struct ice_parser *psr; member 508 void ice_parser_destroy(struct ice_parser *psr); 509 void ice_parser_dvm_set(struct ice_parser *psr, bool on); 510 int ice_parser_vxlan_tunnel_set(struct ice_parser *psr, u16 udp_port, bool on); 511 int ice_parser_geneve_tunnel_set(struct ice_parser *psr, u16 udp_port, bool on); 512 int ice_parser_ecpri_tunnel_set(struct ice_parser *psr, u16 udp_port, bool on); 513 int ice_parser_run(struct ice_parser *psr, const u8 *pkt_buf,
|
/linux/arch/sparc/kernel/ |
H A D | traps_32.c | 90 make_task_dead((regs->psr & PSR_PS) ? SIGKILL : SIGSEGV); in die_if_kernel() 101 if(regs->psr & PSR_PS) in do_hw_interrupt() 109 unsigned long psr) in do_illegal_instruction() argument 111 if(psr & PSR_PS) in do_illegal_instruction() 122 unsigned long psr) in do_priv_instruction() argument 124 if(psr & PSR_PS) in do_priv_instruction() 132 unsigned long psr) in do_memaccess_unaligned() argument 134 if(regs->psr & PSR_PS) { in do_memaccess_unaligned() 158 unsigned long psr) in do_fpd_trap() argument 161 if(psr & PSR_PS) in do_fpd_trap() [all …]
|
H A D | entry.S | 159 wr %l0, 0x0, %psr 181 wr %l4, 0x0, %psr 183 wr %l4, PSR_ET, %psr 200 wr %l0, PSR_ET, %psr 230 wr %g2, 0x0, %psr 232 wr %g2, PSR_ET, %psr 239 wr %g2, PSR_ET, %psr ! keep ET up 249 wr %g2, 0x0, %psr 251 wr %g2, PSR_ET, %psr 255 wr %l0, PSR_ET, %psr [all …]
|
H A D | entry.h | 16 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);
|
H A D | signal_32.c | 107 up_psr = regs->psr; in do_sigreturn() 111 regs->psr = (up_psr & ~(PSR_ICC | PSR_EF)) 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() [all …]
|
H A D | trampoline_32.S | 47 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
|
H A D | signal32.c | 88 unsigned int psr, ufp; in do_sigreturn32() local 128 err |= __get_user(psr, &sf->info.si_regs.psr); in do_sigreturn32() 132 if ((psr & (PSR_VERS|PSR_IMPL)) == PSR_V8PLUS) { in do_sigreturn32() 147 regs->tstate |= psr_to_tstate_icc(psr); in do_sigreturn32() 177 unsigned int psr, pc, npc, ufp; in do_rt_sigreturn32() local 216 err |= __get_user(psr, &sf->regs.psr); in do_rt_sigreturn32() 220 if ((psr & (PSR_VERS|PSR_IMPL)) == PSR_V8PLUS) { in do_rt_sigreturn32() 235 regs->tstate |= psr_to_tstate_icc(psr); in do_rt_sigreturn32() 359 u32 psr; in setup_frame32() local 396 psr = tstate_to_psr(regs->tstate); in setup_frame32() [all …]
|
H A D | ptrace_32.c | 99 membuf_store(&to, regs->psr); in genregs32_get() 113 u32 psr; in genregs32_set() local 138 &psr, in genregs32_set() 142 regs->psr = (regs->psr & ~(PSR_ICC | PSR_SYSCALL)) | in genregs32_set() 143 (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()
|
H A D | rtrap_32.S | 58 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
|
H A D | process_32.c | 123 r->psr, r->pc, r->npc, r->y, print_tainted()); in show_regs() 302 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); 350 childregs->psr &= ~PSR_EF;
|
H A D | wof.S | 122 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
|
H A D | sigutil_32.c | 23 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()
|
H A D | wuf.S | 122 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
|
H A D | kgdb_32.c | 38 gdb_regs[GDB_PSR] = regs->psr; in pt_regs_to_gdb_regs() 93 if (regs->psr != gdb_regs[GDB_PSR]) { in gdb_regs_to_pt_regs() 94 unsigned long cwp = regs->psr & PSR_CWP; in gdb_regs_to_pt_regs() 96 regs->psr = (gdb_regs[GDB_PSR] & ~PSR_CWP) | cwp; in gdb_regs_to_pt_regs()
|
/linux/arch/sparc/include/asm/ |
H A D | head_32.h | 13 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 …]
|
H A D | psr.h | 21 unsigned int psr; in get_psr() local 27 : "=r" (psr) in get_psr() 31 return psr; in get_psr()
|
H A D | syscall.h | 43 return (regs->psr & PSR_C) ? true : false; in syscall_has_error() 47 regs->psr |= PSR_C; in syscall_set_error() 51 regs->psr &= ~PSR_C; in syscall_clear_error()
|
/linux/arch/powerpc/platforms/powernv/ |
H A D | opal-psr.c | 30 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/gpu/drm/amd/display/dc/link/protocols/ |
H A D | link_edp_panel_control.c | 561 struct dmub_psr *psr = dc->res_pool->psr; in edp_set_psr_allow_active() local 564 if (psr == NULL && force_static) in edp_set_psr_allow_active() 579 if (psr != NULL && link->psr_settings.psr_feature_enabled && psr->funcs->psr_set_power_opt) in edp_set_psr_allow_active() 580 psr->funcs->psr_set_power_opt(psr, link->psr_settings.psr_power_opt, panel_inst); in edp_set_psr_allow_active() 583 if (psr != NULL && link->psr_settings.psr_feature_enabled && in edp_set_psr_allow_active() 584 force_static && psr->funcs->psr_force_static) in edp_set_psr_allow_active() 585 psr->funcs->psr_force_static(psr, panel_inst); in edp_set_psr_allow_active() 594 if (psr != NULL && link->psr_settings.psr_feature_enabled) { in edp_set_psr_allow_active() 595 psr->funcs->psr_enable(psr, link->psr_settings.psr_allow_active, wait, panel_inst); in edp_set_psr_allow_active() 609 struct dmub_psr *psr = dc->res_pool->psr; in edp_get_psr_state() local [all …]
|
/linux/arch/sparc/include/uapi/asm/ |
H A D | psrcompat.h | 38 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/sound/soc/samsung/ |
H A D | snow.c | 34 int bfs, psr, rfs, bitwidth; in snow_card_hw_params() local 77 for (psr = 8; psr > 0; psr /= 2) { in snow_card_hw_params() 79 if ((pll_rate[i] - rclk * psr) <= 2) { in snow_card_hw_params()
|
/linux/arch/sparc/mm/ |
H A D | swift.S | 60 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
|