/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
H A D | base.c | 42 u8 pstate, u8 domain, u32 input) in nvkm_clk_adjust() 49 data = nvbios_boostEm(bios, pstate, &ver, &hdr, &cnt, &len, &boostE); in nvkm_clk_adjust() 112 nvkm_cstate_find_best(struct nvkm_clk *clk, struct nvkm_pstate *pstate, in nvkm_cstate_find_best() argument 119 if (!pstate || !cstate) in nvkm_cstate_find_best() 136 list_for_each_entry_from_reverse(cstate, &pstate->list, head) { in nvkm_cstate_find_best() 145 nvkm_cstate_get(struct nvkm_clk *clk, struct nvkm_pstate *pstate, int cstatei) in nvkm_cstate_get() argument 149 return list_last_entry(&pstate->list, typeof(*cstate), head); in nvkm_cstate_get() 151 list_for_each_entry(cstate, &pstate->list, head) { in nvkm_cstate_get() 160 nvkm_cstate_prog(struct nvkm_clk *clk, struct nvkm_pstate *pstate, int cstatei) in nvkm_cstate_prog() argument 169 if (!list_empty(&pstate in nvkm_cstate_prog() 41 nvkm_clk_adjust(struct nvkm_clk *clk, bool adjust, u8 pstate, u8 domain, u32 input) nvkm_clk_adjust() argument 225 nvkm_cstate_new(struct nvkm_clk *clk, int idx, struct nvkm_pstate *pstate) nvkm_cstate_new() argument 272 struct nvkm_pstate *pstate; nvkm_pstate_prog() local 304 int pstate; nvkm_pstate_work() local 347 nvkm_pstate_info(struct nvkm_clk *clk, struct nvkm_pstate *pstate) nvkm_pstate_info() argument 390 nvkm_pstate_del(struct nvkm_pstate *pstate) nvkm_pstate_del() argument 407 struct nvkm_pstate *pstate; nvkm_pstate_new() local 476 struct nvkm_pstate *pstate; nvkm_clk_ustate_update() local 630 struct nvkm_pstate *pstate, *temp; nvkm_clk_dtor() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
H A D | base.c | 42 u8 pstate, u8 domain, u32 input) in nvkm_clk_adjust() 49 data = nvbios_boostEm(bios, pstate, &ver, &hdr, &cnt, &len, &boostE); in nvkm_clk_adjust() 112 nvkm_cstate_find_best(struct nvkm_clk *clk, struct nvkm_pstate *pstate, in nvkm_cstate_find_best() argument 119 if (!pstate || !cstate) in nvkm_cstate_find_best() 136 list_for_each_entry_from_reverse(cstate, &pstate->list, head) { in nvkm_cstate_find_best() 145 nvkm_cstate_get(struct nvkm_clk *clk, struct nvkm_pstate *pstate, int cstatei) in nvkm_cstate_get() argument 149 return list_last_entry(&pstate->list, typeof(*cstate), head); in nvkm_cstate_get() 151 list_for_each_entry(cstate, &pstate->list, head) { in nvkm_cstate_get() 160 nvkm_cstate_prog(struct nvkm_clk *clk, struct nvkm_pstate *pstate, int cstatei) in nvkm_cstate_prog() argument 169 if (!list_empty(&pstate in nvkm_cstate_prog() 41 nvkm_clk_adjust(struct nvkm_clk *clk, bool adjust, u8 pstate, u8 domain, u32 input) nvkm_clk_adjust() argument 225 nvkm_cstate_new(struct nvkm_clk *clk, int idx, struct nvkm_pstate *pstate) nvkm_cstate_new() argument 272 struct nvkm_pstate *pstate; nvkm_pstate_prog() local 304 int pstate; nvkm_pstate_work() local 346 nvkm_pstate_info(struct nvkm_clk *clk, struct nvkm_pstate *pstate) nvkm_pstate_info() argument 389 nvkm_pstate_del(struct nvkm_pstate *pstate) nvkm_pstate_del() argument 406 struct nvkm_pstate *pstate; nvkm_pstate_new() local 475 struct nvkm_pstate *pstate; nvkm_clk_ustate_update() local 627 struct nvkm_pstate *pstate, *temp; nvkm_clk_dtor() local [all...] |
/kernel/linux/linux-6.6/drivers/cpufreq/ |
H A D | powernv-cpufreq.c | 43 * 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) pstate_to_idx() argument [all...] |
H A D | intel_pstate.c | 197 * @pstate: Stores P state limits for this CPU 235 struct pstate_data pstate; member 291 u64 (*get_val)(struct cpudata*, int pstate); 532 if (freq == cpu->pstate.turbo_freq) in intel_pstate_freq_to_hwp_rel() 533 return cpu->pstate.turbo_pstate; in intel_pstate_freq_to_hwp_rel() 535 if (freq == cpu->pstate.max_freq) in intel_pstate_freq_to_hwp_rel() 536 return cpu->pstate.max_pstate; in intel_pstate_freq_to_hwp_rel() 540 return freq / cpu->pstate.scaling; in intel_pstate_freq_to_hwp_rel() 542 return DIV_ROUND_CLOSEST(freq, cpu->pstate.scaling); in intel_pstate_freq_to_hwp_rel() 545 return DIV_ROUND_UP(freq, cpu->pstate in intel_pstate_freq_to_hwp_rel() 1790 atom_get_val(struct cpudata *cpudata, int pstate) atom_get_val() argument 1957 core_get_val(struct cpudata *cpudata, int pstate) core_get_val() argument 2017 intel_pstate_set_pstate(struct cpudata *cpu, int pstate) intel_pstate_set_pstate() argument 2037 int pstate = max(cpu->pstate.min_pstate, cpu->max_perf_ratio); intel_pstate_max_within_limits() local 2289 intel_pstate_prepare_request(struct cpudata *cpu, int pstate) intel_pstate_prepare_request() argument 2297 intel_pstate_update_pstate(struct cpudata *cpu, int pstate) intel_pstate_update_pstate() argument [all...] |
/third_party/backends/backend/ |
H A D | dell1600n_net.c | 212 struct ScannerState *pState); 215 static int ProcessTcpResponse (struct ScannerState *pState, 219 static int ProcessPageData (struct ScannerState *pState); 1345 struct ScannerState *pState) in ProcessUdpResponse() 1397 if (!(pState->m_tcpFd = socket (PF_INET, SOCK_STREAM, IPPROTO_TCP))) in ProcessUdpResponse() 1402 if (connect (pState->m_tcpFd, in ProcessUdpResponse() 1403 (struct sockaddr *) &pState->m_sockAddr, in ProcessUdpResponse() 1404 sizeof (pState->m_sockAddr))) in ProcessUdpResponse() 1420 nread = read (pState->m_tcpFd, sockBuf, sizeof (sockBuf)); in ProcessUdpResponse() 1441 if (ProcessTcpResponse (pState, in ProcessUdpResponse() 1344 ProcessUdpResponse(unsigned char *pData, size_t size, struct ScannerState *pState) ProcessUdpResponse() argument 1476 ProcessTcpResponse(struct ScannerState *pState, struct ComBuf *pTcpBuf) ProcessTcpResponse() argument 1789 ProcessPageData(struct ScannerState *pState) ProcessPageData() argument 2019 struct JpegDataDecompState *pState = (struct JpegDataDecompState *) cinfo; JpegDecompFillInputBuffer() local [all...] |
/kernel/linux/linux-6.6/tools/power/cpupower/utils/helpers/ |
H A D | amd.c | 33 } pstate; member 47 static int get_did(union core_pstate pstate) in get_did() argument 52 t = pstate.pstatedef.did; in get_did() 54 t = pstate.val & 0xf; in get_did() 56 t = pstate.pstate.did; in get_did() 61 static int get_cof(union core_pstate pstate) in get_cof() argument 66 did = get_did(pstate); in get_cof() 68 fid = pstate.pstatedef.fid; in get_cof() 72 fid = pstate in get_cof() 96 union core_pstate pstate; decode_pstates() local [all...] |
/kernel/linux/linux-6.6/arch/arm64/kernel/ |
H A D | traps.c | 52 static bool __kprobes __check_eq(unsigned long pstate) in __check_eq() argument 54 return (pstate & PSR_Z_BIT) != 0; in __check_eq() 57 static bool __kprobes __check_ne(unsigned long pstate) in __check_ne() argument 59 return (pstate & PSR_Z_BIT) == 0; in __check_ne() 62 static bool __kprobes __check_cs(unsigned long pstate) in __check_cs() argument 64 return (pstate & PSR_C_BIT) != 0; in __check_cs() 67 static bool __kprobes __check_cc(unsigned long pstate) in __check_cc() argument 69 return (pstate & PSR_C_BIT) == 0; in __check_cc() 72 static bool __kprobes __check_mi(unsigned long pstate) in __check_mi() argument 74 return (pstate in __check_mi() 77 __check_pl(unsigned long pstate) __check_pl() argument 82 __check_vs(unsigned long pstate) __check_vs() argument 87 __check_vc(unsigned long pstate) __check_vc() argument 92 __check_hi(unsigned long pstate) __check_hi() argument 98 __check_ls(unsigned long pstate) __check_ls() argument 104 __check_ge(unsigned long pstate) __check_ge() argument 110 __check_lt(unsigned long pstate) __check_lt() argument 116 __check_gt(unsigned long pstate) __check_gt() argument 125 __check_le(unsigned long pstate) __check_le() argument 134 __check_al(unsigned long pstate) __check_al() argument 313 u32 it, pstate = regs->pstate; compat_get_it_state() local [all...] |
H A D | process.c | 160 u64 pstate = regs->pstate; in print_pstate() local 163 printk("pstate: %08llx (%c%c%c%c %c %s %s %c%c%c %cDIT %cSSBS)\n", in print_pstate() 164 pstate, in print_pstate() 165 pstate & PSR_AA32_N_BIT ? 'N' : 'n', in print_pstate() 166 pstate & PSR_AA32_Z_BIT ? 'Z' : 'z', in print_pstate() 167 pstate & PSR_AA32_C_BIT ? 'C' : 'c', in print_pstate() 168 pstate & PSR_AA32_V_BIT ? 'V' : 'v', in print_pstate() 169 pstate & PSR_AA32_Q_BIT ? 'Q' : 'q', in print_pstate() 170 pstate in print_pstate() [all...] |
/third_party/libsnd/src/G72x/ |
H A D | g72x.c | 135 { G72x_STATE *pstate ; in g72x_reader_init() local 137 if ((pstate = g72x_state_new ()) == NULL) in g72x_reader_init() 140 private_init_state (pstate) ; in g72x_reader_init() 142 pstate->encoder = NULL ; in g72x_reader_init() 146 pstate->decoder = g723_16_decoder ; in g72x_reader_init() 149 pstate->codec_bits = 2 ; in g72x_reader_init() 150 pstate->blocksize = G723_16_BYTES_PER_BLOCK ; in g72x_reader_init() 151 pstate->samplesperblock = G723_16_SAMPLES_PER_BLOCK ; in g72x_reader_init() 155 pstate->decoder = g723_24_decoder ; in g72x_reader_init() 158 pstate in g72x_reader_init() 190 { G72x_STATE *pstate ; g72x_writer_init() local 243 g72x_decode_block(G72x_STATE *pstate, const unsigned char *block, short *samples) g72x_decode_block() argument 254 g72x_encode_block(G72x_STATE *pstate, short *samples, unsigned char *block) g72x_encode_block() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_plane.c | 145 struct dpu_plane_state *pstate; in _dpu_plane_calc_bw() local 157 pstate = to_dpu_plane_state(plane->state); in _dpu_plane_calc_bw() 181 pstate->plane_fetch_bw = max(plane_bw, plane_prefill_bw); in _dpu_plane_calc_bw() 193 struct dpu_plane_state *pstate; in _dpu_plane_calc_clk() local 197 pstate = to_dpu_plane_state(plane->state); in _dpu_plane_calc_clk() 205 pstate->plane_clk = in _dpu_plane_calc_clk() 209 pstate->plane_clk *= src_height; in _dpu_plane_calc_clk() 210 do_div(pstate->plane_clk, dst_height); in _dpu_plane_calc_clk() 225 struct dpu_plane_state *pstate; in _dpu_plane_calc_fill_level() local 235 pstate in _dpu_plane_calc_fill_level() 501 _dpu_plane_set_scanout(struct drm_plane *plane, struct dpu_plane_state *pstate, struct dpu_hw_pipe_cfg *pipe_cfg, struct drm_framebuffer *fb) _dpu_plane_set_scanout() argument 525 _dpu_plane_setup_scaler3(struct dpu_plane *pdpu, struct dpu_plane_state *pstate, uint32_t src_w, uint32_t src_h, uint32_t dst_w, uint32_t dst_h, struct dpu_hw_scaler3_cfg *scale_cfg, const struct dpu_format *fmt, uint32_t chroma_subsmpl_h, uint32_t chroma_subsmpl_v) _dpu_plane_setup_scaler3() argument 641 _dpu_plane_setup_scaler(struct dpu_plane *pdpu, struct dpu_plane_state *pstate, const struct dpu_format *fmt, bool color_fill) _dpu_plane_setup_scaler() argument 670 struct dpu_plane_state *pstate = to_dpu_plane_state(plane->state); _dpu_plane_color_fill() local 721 struct dpu_plane_state *pstate = to_dpu_plane_state(drm_state); dpu_plane_clear_multirect() local 729 struct dpu_plane_state *pstate[R_MAX]; dpu_plane_validate_multirect_v2() local 860 struct dpu_plane_state *pstate = to_dpu_plane_state(new_state); dpu_plane_prepare_fb() local 1018 struct dpu_plane_state *pstate; dpu_plane_flush() local 1066 struct dpu_plane_state *pstate = to_dpu_plane_state(state); dpu_plane_sspp_atomic_update() local 1195 struct dpu_plane_state *pstate = to_dpu_plane_state(state); _dpu_plane_atomic_disable() local 1273 struct dpu_plane_state *pstate; dpu_plane_duplicate_state() local 1304 struct dpu_plane_state *pstate; dpu_plane_reset() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_plane.c | 576 static void _dpu_plane_color_fill_pipe(struct dpu_plane_state *pstate, in _dpu_plane_color_fill_pipe() argument 606 _dpu_plane_setup_scaler(pipe, fmt, true, &pipe_cfg, pstate->rotation); in _dpu_plane_color_fill_pipe() 620 struct dpu_plane_state *pstate = to_dpu_plane_state(plane->state); in _dpu_plane_color_fill() local 635 _dpu_plane_color_fill_pipe(pstate, &pstate->pipe, &pstate->pipe_cfg.dst_rect, in _dpu_plane_color_fill() 638 if (pstate->r_pipe.sspp) in _dpu_plane_color_fill() 639 _dpu_plane_color_fill_pipe(pstate, &pstate->r_pipe, &pstate in _dpu_plane_color_fill() 648 struct dpu_plane_state *pstate = to_dpu_plane_state(new_state); dpu_plane_prepare_fb() local 795 struct dpu_plane_state *pstate = to_dpu_plane_state(new_plane_state); dpu_plane_atomic_check() local 967 struct dpu_plane_state *pstate; dpu_plane_flush() local 1023 struct dpu_plane_state *pstate = to_dpu_plane_state(state); dpu_plane_sspp_update_pipe() local 1088 struct dpu_plane_state *pstate = to_dpu_plane_state(state); dpu_plane_sspp_atomic_update() local 1149 struct dpu_plane_state *pstate = to_dpu_plane_state(state); _dpu_plane_atomic_disable() local 1187 struct dpu_plane_state *pstate; dpu_plane_destroy() local 1218 struct dpu_plane_state *pstate; dpu_plane_duplicate_state() local 1277 const struct dpu_plane_state *pstate = to_dpu_plane_state(state); dpu_plane_atomic_print_state() local 1306 struct dpu_plane_state *pstate; dpu_plane_reset() local 1346 struct dpu_plane_state *pstate = to_dpu_plane_state(plane->state); dpu_plane_danger_signal_ctrl() local [all...] |
/kernel/linux/linux-5.10/samples/bpf/ |
H A D | cpustat_kern.c | 9 * The CPU number, cstate number and pstate number are based 28 * my_map structure is used to record cstate and pstate index and 36 * timestamp, and record for cstate and pstate saperately: 43 * | pstate timestamp | 45 * | pstate index | 90 /* calculate pstate index, returns MAX_PSTATE_ENTRIES for failure */ 106 u64 *cts, *pts, *cstate, *pstate, prev_state, cur_ts, delta; in bpf_prog1() local 131 pstate = bpf_map_lookup_elem(&my_map, &key); in bpf_prog1() 132 if (!pstate) in bpf_prog1() 150 * for the pstate in bpf_prog1() 214 u64 *pts, *cstate, *pstate, prev_state, cur_ts, delta; bpf_prog2() local [all...] |
/kernel/linux/linux-6.6/samples/bpf/ |
H A D | cpustat_kern.c | 9 * The CPU number, cstate number and pstate number are based 28 * my_map structure is used to record cstate and pstate index and 36 * timestamp, and record for cstate and pstate saperately: 43 * | pstate timestamp | 45 * | pstate index | 90 /* calculate pstate index, returns MAX_PSTATE_ENTRIES for failure */ 106 u64 *cts, *pts, *cstate, *pstate, prev_state, cur_ts, delta; in bpf_prog1() local 131 pstate = bpf_map_lookup_elem(&my_map, &key); in bpf_prog1() 132 if (!pstate) in bpf_prog1() 150 * for the pstate in bpf_prog1() 214 u64 *pts, *cstate, *pstate, prev_state, cur_ts, delta; bpf_prog2() local [all...] |
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
H A D | process.c | 225 u64 pstate = regs->pstate; in print_pstate() local 228 printk("pstate: %08llx (%c%c%c%c %c %s %s %c%c%c)\n", in print_pstate() 229 pstate, in print_pstate() 230 pstate & PSR_AA32_N_BIT ? 'N' : 'n', in print_pstate() 231 pstate & PSR_AA32_Z_BIT ? 'Z' : 'z', in print_pstate() 232 pstate & PSR_AA32_C_BIT ? 'C' : 'c', in print_pstate() 233 pstate & PSR_AA32_V_BIT ? 'V' : 'v', in print_pstate() 234 pstate & PSR_AA32_Q_BIT ? 'Q' : 'q', in print_pstate() 235 pstate in print_pstate() [all...] |
H A D | insn.c | 1435 static bool __kprobes __check_eq(unsigned long pstate) in __check_eq() argument 1437 return (pstate & PSR_Z_BIT) != 0; in __check_eq() 1440 static bool __kprobes __check_ne(unsigned long pstate) in __check_ne() argument 1442 return (pstate & PSR_Z_BIT) == 0; in __check_ne() 1445 static bool __kprobes __check_cs(unsigned long pstate) in __check_cs() argument 1447 return (pstate & PSR_C_BIT) != 0; in __check_cs() 1450 static bool __kprobes __check_cc(unsigned long pstate) in __check_cc() argument 1452 return (pstate & PSR_C_BIT) == 0; in __check_cc() 1455 static bool __kprobes __check_mi(unsigned long pstate) in __check_mi() argument 1457 return (pstate in __check_mi() 1460 __check_pl(unsigned long pstate) __check_pl() argument 1465 __check_vs(unsigned long pstate) __check_vs() argument 1470 __check_vc(unsigned long pstate) __check_vc() argument 1475 __check_hi(unsigned long pstate) __check_hi() argument 1481 __check_ls(unsigned long pstate) __check_ls() argument 1487 __check_ge(unsigned long pstate) __check_ge() argument 1493 __check_lt(unsigned long pstate) __check_lt() argument 1499 __check_gt(unsigned long pstate) __check_gt() argument 1508 __check_le(unsigned long pstate) __check_le() argument 1517 __check_al(unsigned long pstate) __check_al() argument [all...] |
/kernel/linux/linux-5.10/drivers/cpufreq/ |
H A D | intel_pstate.c | 202 * @pstate: Stores P state limits for this CPU 239 struct pstate_data pstate; member 292 u64 (*get_val)(struct cpudata*, int pstate); 497 cpu->pstate.max_pstate == cpu->pstate.turbo_pstate); in update_turbo_state() 503 int turbo_pstate = cpu->pstate.turbo_pstate; in min_perf_pct_min() 506 (cpu->pstate.min_pstate * 100 / turbo_pstate) : 0; in min_perf_pct_min() 808 return sprintf(buf, "%d\n", ratio * cpu->pstate.scaling); in show_base_frequency() 1013 cpudata->pstate.max_freq : cpudata->pstate in intel_pstate_update_max_freq() 1485 atom_get_val(struct cpudata *cpudata, int pstate) atom_get_val() argument 1657 core_get_val(struct cpudata *cpudata, int pstate) core_get_val() argument 1686 intel_pstate_set_pstate(struct cpudata *cpu, int pstate) intel_pstate_set_pstate() argument 1706 int pstate = max(cpu->pstate.min_pstate, cpu->max_perf_ratio); intel_pstate_max_within_limits() local 1946 intel_pstate_prepare_request(struct cpudata *cpu, int pstate) intel_pstate_prepare_request() argument 1954 intel_pstate_update_pstate(struct cpudata *cpu, int pstate) intel_pstate_update_pstate() argument [all...] |
H A D | powernv-cpufreq.c | 43 * 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) pstate_to_idx() argument [all...] |
/kernel/linux/linux-5.10/tools/power/cpupower/utils/helpers/ |
H A D | amd.c | 42 static int get_did(int family, union msr_pstate pstate) in get_did() argument 47 t = pstate.val & 0xf; in get_did() 49 t = pstate.fam17h_bits.did; in get_did() 51 t = pstate.bits.did; in get_did() 56 static int get_cof(int family, union msr_pstate pstate) in get_cof() argument 61 did = get_did(family, pstate); in get_cof() 63 fid = pstate.fam17h_bits.fid; in get_cof() 67 fid = pstate.bits.fid; in get_cof() 92 union msr_pstate pstate; in decode_pstates() local 120 if (read_msr(cpu, MSR_AMD_PSTATE + i, &pstate in decode_pstates() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/amd-pstate/ |
H A D | basic.sh | 4 # amd-pstate-ut is a test module for testing the amd-pstate driver. 6 # must be amd-pstate. 27 if ! /sbin/modprobe -q -n amd-pstate-ut; then 28 echo "amd-pstate-ut: module amd-pstate-ut is not found [SKIP]" 31 if /sbin/modprobe -q amd-pstate-ut; then 32 /sbin/modprobe -q -r amd-pstate-ut 33 echo "amd-pstate-basic: ok" 35 echo "amd-pstate [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/device/ |
H A D | ctrl.c | 43 nvif_ioctl(&ctrl->object, "control pstate info size %d\n", size); in nvkm_control_mthd_pstate_info() 45 nvif_ioctl(&ctrl->object, "control pstate info vers %d\n", in nvkm_control_mthd_pstate_info() 55 args->v0.pstate = clk->pstate; in nvkm_control_mthd_pstate_info() 61 args->v0.pstate = NVIF_CONTROL_PSTATE_INFO_V0_PSTATE_UNKNOWN; in nvkm_control_mthd_pstate_info() 75 struct nvkm_pstate *pstate; in nvkm_control_mthd_pstate_attr() local 81 nvif_ioctl(&ctrl->object, "control pstate attr size %d\n", size); in nvkm_control_mthd_pstate_attr() 84 "control pstate attr vers %d state %d index %d\n", in nvkm_control_mthd_pstate_attr() 106 list_for_each_entry(pstate, &clk->states, head) { in nvkm_control_mthd_pstate_attr() 111 lo = pstate in nvkm_control_mthd_pstate_attr() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/device/ |
H A D | ctrl.c | 43 nvif_ioctl(&ctrl->object, "control pstate info size %d\n", size); in nvkm_control_mthd_pstate_info() 45 nvif_ioctl(&ctrl->object, "control pstate info vers %d\n", in nvkm_control_mthd_pstate_info() 55 args->v0.pstate = clk->pstate; in nvkm_control_mthd_pstate_info() 61 args->v0.pstate = NVIF_CONTROL_PSTATE_INFO_V0_PSTATE_UNKNOWN; in nvkm_control_mthd_pstate_info() 75 struct nvkm_pstate *pstate; in nvkm_control_mthd_pstate_attr() local 81 nvif_ioctl(&ctrl->object, "control pstate attr size %d\n", size); in nvkm_control_mthd_pstate_attr() 84 "control pstate attr vers %d state %d index %d\n", in nvkm_control_mthd_pstate_attr() 106 list_for_each_entry(pstate, &clk->states, head) { in nvkm_control_mthd_pstate_attr() 111 lo = pstate in nvkm_control_mthd_pstate_attr() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp5/ |
H A D | mdp5_plane.c | 104 struct mdp5_plane_state *pstate; in mdp5_plane_atomic_set_property() local 108 pstate = to_mdp5_plane_state(state); in mdp5_plane_atomic_set_property() 112 pstate->name = (type)val; \ in mdp5_plane_atomic_set_property() 132 struct mdp5_plane_state *pstate; in mdp5_plane_atomic_get_property() local 136 pstate = to_mdp5_plane_state(state); in mdp5_plane_atomic_get_property() 140 *val = pstate->name; \ in mdp5_plane_atomic_get_property() 159 struct mdp5_plane_state *pstate = to_mdp5_plane_state(state); in mdp5_plane_atomic_print_state() local 162 drm_printf(p, "\thwpipe=%s\n", pstate->hwpipe ? in mdp5_plane_atomic_print_state() 163 pstate->hwpipe->name : "(null)"); in mdp5_plane_atomic_print_state() 166 pstate in mdp5_plane_atomic_print_state() 222 struct mdp5_plane_state *pstate = to_mdp5_plane_state(state); mdp5_plane_destroy_state() local 931 struct drm_plane_state *pstate = plane->state; mdp5_plane_mode_set() local 1045 struct mdp5_plane_state *pstate = to_mdp5_plane_state(plane->state); mdp5_plane_pipe() local 1055 struct mdp5_plane_state *pstate = to_mdp5_plane_state(plane->state); mdp5_plane_right_pipe() local 1065 struct mdp5_plane_state *pstate = to_mdp5_plane_state(plane->state); mdp5_plane_get_flush() local [all...] |
/kernel/linux/linux-5.10/arch/arm64/include/asm/ |
H A D | ptrace.h | 146 unsigned long pstate; in compat_psr_to_pstate() local 148 pstate = psr & ~COMPAT_PSR_DIT_BIT; in compat_psr_to_pstate() 151 pstate |= PSR_AA32_DIT_BIT; in compat_psr_to_pstate() 153 return pstate; in compat_psr_to_pstate() 156 static inline unsigned long pstate_to_compat_psr(const unsigned long pstate) in pstate_to_compat_psr() argument 160 psr = pstate & ~PSR_AA32_DIT_BIT; in pstate_to_compat_psr() 162 if (pstate & PSR_AA32_DIT_BIT) in pstate_to_compat_psr() 180 u64 pstate; member 212 #define MAX_REG_OFFSET offsetof(struct pt_regs, pstate) 218 (((regs)->pstate [all...] |
/kernel/linux/linux-6.6/arch/arm64/include/asm/ |
H A D | ptrace.h | 151 unsigned long pstate; in compat_psr_to_pstate() local 153 pstate = psr & ~COMPAT_PSR_DIT_BIT; in compat_psr_to_pstate() 156 pstate |= PSR_AA32_DIT_BIT; in compat_psr_to_pstate() 158 return pstate; in compat_psr_to_pstate() 161 static inline unsigned long pstate_to_compat_psr(const unsigned long pstate) in pstate_to_compat_psr() argument 165 psr = pstate & ~PSR_AA32_DIT_BIT; in pstate_to_compat_psr() 167 if (pstate & PSR_AA32_DIT_BIT) in pstate_to_compat_psr() 185 u64 pstate; member 216 #define MAX_REG_OFFSET offsetof(struct pt_regs, pstate) 222 (((regs)->pstate [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/include/nvif/ |
H A D | if0001.h | 14 __s8 ustate_ac; /* out: target pstate index */ 15 __s8 ustate_dc; /* out: target pstate index */ 19 __s8 pstate; /* out: current pstate index */ member 26 __s8 state; /* in: index of pstate to query 27 * out: pstate identifier 43 __s8 ustate; /* in: pstate identifier */
|