Searched refs:pstate (Results 101 - 125 of 174) sorted by relevance

1234567

/linux-master/arch/arm64/kernel/
H A Dsignal.c827 __get_user_error(regs->pstate, &sf->uc.uc_mcontext.pstate, err);
1001 __put_user_error(regs->pstate, &sf->uc.uc_mcontext.pstate, err);
1155 regs->pstate &= ~PSR_BTYPE_MASK;
1156 regs->pstate |= PSR_BTYPE_C;
1160 regs->pstate &= ~PSR_TCO_BIT;
H A Dkgdb.c63 { "pstate", 4, offsetof(struct pt_regs, pstate)
/linux-master/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_sp.c260 return !!test_bit(o->state, o->pstate);
266 clear_bit(o->state, o->pstate);
273 set_bit(o->state, o->pstate);
282 * @pstate: state buffer
286 unsigned long *pstate)
298 if (!test_bit(state, pstate)) {
322 return bnx2x_state_wait(bp, raw->state, raw->pstate);
2098 unsigned long *pstate, bnx2x_obj_type type)
2106 raw->pstate = pstate;
285 bnx2x_state_wait(struct bnx2x *bp, int state, unsigned long *pstate) argument
2096 bnx2x_init_raw_obj(struct bnx2x_raw_obj *raw, u8 cl_id, u32 cid, u8 func_id, void *rdata, dma_addr_t rdata_mapping, int state, unsigned long *pstate, bnx2x_obj_type type) argument
2114 bnx2x_init_vlan_mac_common(struct bnx2x_vlan_mac_obj *o, u8 cl_id, u32 cid, u8 func_id, void *rdata, dma_addr_t rdata_mapping, int state, unsigned long *pstate, bnx2x_obj_type type, struct bnx2x_credit_pool_obj *macs_pool, struct bnx2x_credit_pool_obj *vlans_pool) argument
2137 bnx2x_init_mac_obj(struct bnx2x *bp, struct bnx2x_vlan_mac_obj *mac_obj, u8 cl_id, u32 cid, u8 func_id, void *rdata, dma_addr_t rdata_mapping, int state, unsigned long *pstate, bnx2x_obj_type type, struct bnx2x_credit_pool_obj *macs_pool) argument
2191 bnx2x_init_vlan_obj(struct bnx2x *bp, struct bnx2x_vlan_mac_obj *vlan_obj, u8 cl_id, u32 cid, u8 func_id, void *rdata, dma_addr_t rdata_mapping, int state, unsigned long *pstate, bnx2x_obj_type type, struct bnx2x_credit_pool_obj *vlans_pool) argument
2232 bnx2x_init_vlan_mac_obj(struct bnx2x *bp, struct bnx2x_vlan_mac_obj *vlan_mac_obj, u8 cl_id, u32 cid, u8 func_id, void *rdata, dma_addr_t rdata_mapping, int state, unsigned long *pstate, bnx2x_obj_type type, struct bnx2x_credit_pool_obj *macs_pool, struct bnx2x_credit_pool_obj *vlans_pool) argument
4068 bnx2x_init_mcast_obj(struct bnx2x *bp, struct bnx2x_mcast_obj *mcast_obj, u8 mcast_cl_id, u32 mcast_cid, u8 func_id, u8 engine_id, void *rdata, dma_addr_t rdata_mapping, int state, unsigned long *pstate, bnx2x_obj_type type) argument
4629 bnx2x_init_rss_config_obj(struct bnx2x *bp, struct bnx2x_rss_config_obj *rss_obj, u8 cl_id, u32 cid, u8 func_id, u8 engine_id, void *rdata, dma_addr_t rdata_mapping, int state, unsigned long *pstate, bnx2x_obj_type type) argument
[all...]
/linux-master/arch/sparc/kernel/
H A Dtime_64.c744 unsigned long pstate; local
749 __asm__ __volatile__("rdpr %%pstate, %0\n\t"
750 "wrpr %0, %1, %%pstate"
751 : "=r" (pstate)
757 __asm__ __volatile__("wrpr %0, 0x0, %%pstate"
759 : "r" (pstate));
H A Detrap_64.S11 #include <asm/pstate.h>
138 661: wrpr %g0, ETRAP_PSTATE1, %pstate
H A Dsignal32.c297 unsigned long pstate, paddr; local
313 __asm__ __volatile__("rdpr %%pstate, %0" : "=r" (pstate));
314 __asm__ __volatile__("wrpr %0, %1, %%pstate"
315 : : "r" (pstate), "i" (PSTATE_IE));
348 __asm__ __volatile__("wrpr %0, 0x0, %%pstate" : : "r" (pstate));
/linux-master/drivers/pmdomain/
H A Dcore.c303 unsigned int pstate)
306 return pstate;
310 pstate);
2771 int pstate; local
2801 pstate = of_get_required_opp_performance_state(dev->of_node, index);
2802 if (pstate < 0 && pstate != -ENODEV && pstate != -EOPNOTSUPP) {
2803 ret = pstate;
2805 } else if (pstate >
301 genpd_xlate_performance_state(struct generic_pm_domain *genpd, struct generic_pm_domain *parent, unsigned int pstate) argument
[all...]
/linux-master/drivers/gpu/drm/mcde/
H A Dmcde_display.c160 struct drm_plane_state *pstate,
165 struct drm_framebuffer *fb = pstate->fb;
168 u32 offset = drm_fb_dma_get_gem_addr(fb, pstate, 0);
1391 struct drm_plane_state *pstate = plane->state; local
1392 struct drm_framebuffer *fb = pstate->fb;
1427 mcde_set_extsrc(mcde, drm_fb_dma_get_gem_addr(fb, pstate, 0));
159 mcde_display_check(struct drm_simple_display_pipe *pipe, struct drm_plane_state *pstate, struct drm_crtc_state *cstate) argument
/linux-master/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_trace.h656 struct drm_plane_state *state, struct dpu_plane_state *pstate,
659 TP_ARGS(crtc_id, plane_id, state, pstate, stage_idx,
682 __entry->stage = pstate->stage;
683 __entry->sspp = pstate->pipe.sspp->idx;
684 __entry->multirect_idx = pstate->pipe.multirect_index;
685 __entry->multirect_mode = pstate->pipe.multirect_mode;
/linux-master/include/linux/
H A Dpm_opp.h191 int dev_pm_opp_xlate_performance_state(struct opp_table *src_table, struct opp_table *dst_table, unsigned int pstate);
410 static inline int dev_pm_opp_xlate_performance_state(struct opp_table *src_table, struct opp_table *dst_table, unsigned int pstate) argument
/linux-master/arch/arm64/include/asm/
H A Dkvm_emulate.h155 return (unsigned long *)&vcpu_gp_regs(vcpu)->pstate;
196 switch (ctxt->regs.pstate & (PSR_MODE32_BIT | PSR_MODE_MASK)) {
/linux-master/arch/sparc/include/uapi/asm/
H A Dptrace.h7 #include <asm/pstate.h>
/linux-master/arch/sparc/crypto/
H A Dcamellia_glue.c18 #include <asm/pstate.h>
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Dperf.c100 info->pstate = nvbios_rd08(bios, perf + 0x00);
/linux-master/arch/arm64/kernel/probes/
H A Dsimulate-insn.c122 if (aarch32_opcode_cond_checks[opcode & 0xf](regs->pstate & 0xffffffff))
/linux-master/drivers/cpufreq/
H A Dpowernv-cpufreq.c43 * On an idle system we want the global pstate to ramp-down from max value to
56 /* Interval after which the timer is queued to bring down global pstate */
62 * @highest_lpstate_idx: The local pstate index from which we are
68 * @last_lpstate_idx: Last set value of local pstate and global
69 * @last_gpstate_idx: pstate in terms of cpufreq table index
71 * a long time with global pstate held high
93 * indexed by a function of pstate id.
95 * @pstate_id: pstate id for this entry.
176 * idx_to_pstate : Returns the pstate id corresponding to the
180 * If @i is out of bound, this will return the pstate
202 pstate_to_idx(u8 pstate) argument
[all...]
H A Damd-pstate-ut.c9 * The AMD P-State Unit Test is a test module for testing the amd-pstate
19 * See Documentation/admin-guide/pm/amd-pstate.rst Unit Tests for
20 * amd-pstate to get more detail.
29 #include <linux/amd-pstate.h>
102 pr_err("%s amd pstate must be enabled!\n", __func__);
107 * check if amd pstate is enabled
/linux-master/arch/s390/boot/
H A Dpgm_check_info.c165 psw->wait, psw->pstate, psw->as, psw->cc, psw->pm, psw->ri,
/linux-master/arch/s390/kernel/
H A Ddumpstack.c166 psw->key, psw->mcheck, psw->wait, psw->pstate, psw->as, psw->cc, psw->pm);
/linux-master/drivers/gpu/drm/amd/pm/swsmu/inc/
H A Dsmu_v11_0.h229 uint32_t pstate);
H A Dsmu_v13_0.h202 uint32_t pstate);
/linux-master/tools/testing/selftests/amd-pstate/
H A Drun.sh18 # amd-pstate-ut only run on x86/x86_64 AMD systems.
38 CURRENT_TEST=amd-pstate
43 all_scaling_names=("acpi-cpufreq" "amd-pstate")
120 # All amd-pstate tests
135 # unit test for amd-pstate kernel driver
/linux-master/drivers/media/platform/st/sti/c8sectpfe/
H A Dc8sectpfe-core.c528 tsin->pstate = pinctrl_lookup_state(fei->pinctrl, tsin_pin_name);
529 if (IS_ERR(tsin->pstate)) {
532 ret = PTR_ERR(tsin->pstate);
536 ret = pinctrl_select_state(fei->pinctrl, tsin->pstate);
/linux-master/arch/arm64/kvm/
H A Dguest.c85 case KVM_REG_ARM_CORE_REG(regs.pstate):
145 case KVM_REG_ARM_CORE_REG(regs.pstate):
146 return &vcpu->arch.ctxt.regs.pstate;
242 if (off == KVM_REG_ARM_CORE_REG(regs.pstate)) {
/linux-master/arch/s390/include/asm/
H A Dptrace.h69 unsigned long pstate : 1; /* Problem State */ member in struct:psw_bits

Completed in 222 milliseconds

1234567