Home
last modified time | relevance | path

Searched refs:pstate (Results 1 – 25 of 32) sorted by relevance

12

/dflybsd-src/contrib/nvi2/vi/
H A Dv_paragraph.c30 pstate = P_INBLANK; \
65 enum { P_INTEXT, P_INBLANK } pstate; in v_paragraphf() local
110 pstate = P_INBLANK; in v_paragraphf()
113 pstate = P_INTEXT; in v_paragraphf()
121 switch (pstate) { in v_paragraphf()
129 pstate = P_INTEXT; in v_paragraphf()
203 enum { P_INTEXT, P_INBLANK } pstate; in v_paragraphb() local
254 pstate = P_INBLANK; in v_paragraphb()
257 pstate = P_INTEXT; in v_paragraphb()
271 switch (pstate) { in v_paragraphb()
[all …]
/dflybsd-src/sys/platform/pc64/acpica/
H A Dacpi_pstate_machdep.c216 uint64_t pstate; in acpi_pst_amd1x_check_pstates1() local
227 pstate = rdmsr(msr); in acpi_pst_amd1x_check_pstates1()
228 if ((pstate & AMD_MSR_PSTATE_EN) == 0) { in acpi_pst_amd1x_check_pstates1()
254 const struct acpi_pstate *pstate) in acpi_pst_amd1x_set_pstate() argument
258 cval = pstate->st_cval & AMD_MSR_PSTATE_CSR_MASK; in acpi_pst_amd1x_set_pstate()
373 const struct acpi_pstate *pstate) in acpi_pst_amd0f_set_pstate() argument
378 fv.fid = AMD0F_PST_CTL_FID(pstate->st_cval); in acpi_pst_amd0f_set_pstate()
379 fv.vid = AMD0F_PST_CTL_VID(pstate->st_cval); in acpi_pst_amd0f_set_pstate()
381 xsit.rvo = AMD0F_PST_CTL_RVO(pstate->st_cval); in acpi_pst_amd0f_set_pstate()
382 xsit.mvs = AMD0F_PST_CTL_MVS(pstate->st_cval); in acpi_pst_amd0f_set_pstate()
[all …]
/dflybsd-src/lib/libdmsg/
H A Dmsg.c276 dmsg_state_t *pstate; in dmsg_msg_alloc_locked() local
296 pstate = state; in dmsg_msg_alloc_locked()
302 state->parent = pstate; in dmsg_msg_alloc_locked()
314 state->flags |= pstate->flags & DMSG_STATE_DYING; in dmsg_msg_alloc_locked()
315 if (TAILQ_EMPTY(&pstate->subq)) in dmsg_msg_alloc_locked()
316 dmsg_state_hold(pstate); in dmsg_msg_alloc_locked()
318 TAILQ_INSERT_TAIL(&pstate->subq, state, entry); in dmsg_msg_alloc_locked()
327 pstate = state->parent; in dmsg_msg_alloc_locked()
364 if (pstate->flags & DMSG_STATE_OPPOSITE) in dmsg_msg_alloc_locked()
377 msg->any.head.circuit = pstate->msgid; in dmsg_msg_alloc_locked()
[all …]
/dflybsd-src/sys/kern/
H A Dkern_dmsg.c777 kdmsg_state_t *pstate; in kdmsg_state_msgrx() local
872 pstate = RB_FIND(kdmsg_state_tree, in kdmsg_state_msgrx()
876 pstate = RB_FIND(kdmsg_state_tree, in kdmsg_state_msgrx()
880 if (pstate == NULL) { in kdmsg_state_msgrx()
888 pstate = &iocom->state0; in kdmsg_state_msgrx()
902 state->parent = pstate; in kdmsg_state_msgrx()
907 if (TAILQ_EMPTY(&pstate->subq)) in kdmsg_state_msgrx()
908 kdmsg_state_hold(pstate);/* states on pstate->subq */ in kdmsg_state_msgrx()
917 TAILQ_INSERT_TAIL(&pstate->subq, state, entry); in kdmsg_state_msgrx()
1287 kdmsg_state_t *pstate; in kdmsg_subq_delete() local
[all …]
/dflybsd-src/sys/dev/acpica/
H A Dacpi_cpu_pstate.c337 struct acpi_pstate *pstate, *p; in acpi_pst_attach() local
577 pstate = kmalloc(sizeof(*pstate) * npstate, M_TEMP, M_WAITOK); in acpi_pst_attach()
578 for (i = 0, p = pstate; i < npstate; ++i, ++p) { in acpi_pst_attach()
590 kfree(pstate, M_TEMP); in acpi_pst_attach()
598 kfree(pstate, M_TEMP); in acpi_pst_attach()
606 kfree(pstate, M_TEMP); in acpi_pst_attach()
619 acpi_pstates = pstate; in acpi_pst_attach()
621 pstate = NULL; in acpi_pst_attach()
641 if (memcmp(pstate, acpi_pstates, in acpi_pst_attach()
642 sizeof(*pstate) * npstate) != 0) { in acpi_pst_attach()
[all …]
/dflybsd-src/contrib/gcc-8.0/gcc/
H A Ddumpfile.c294 if (dfi->pstate == 0) in get_dump_file_name()
522 : fopen (name, dfi->pstate < 0 ? "w" : "a"); in dump_start()
527 dfi->pstate = 1; in dump_start()
614 : fopen (name, dfi->pstate < 0 ? "w" : "a"); in dump_begin()
619 dfi->pstate = 1; in dump_begin()
642 if (dump_files[i].pstate || dump_files[i].alt_state) in dump_phase_enabled_p()
645 if (m_extra_dump_files[i].pstate || m_extra_dump_files[i].alt_state) in dump_phase_enabled_p()
652 return dfi->pstate || dfi->alt_state; in dump_phase_enabled_p()
663 return dfi->pstate > 0 || dfi->alt_state > 0; in dump_initialized_p()
707 dump_files[i].pstate = -1; in dump_enable_all()
[all …]
H A Ddumpfile.h147 int pstate; member
H A Dpasses.c1503 if (dumps->get_dump_file_info (tdi)->pstate) in register_pass()
1506 ->pstate = dumps->get_dump_file_info (tdi)->pstate; in register_pass()
/dflybsd-src/sys/dev/drm/i915/
H A Dintel_pm.c1193 const struct intel_plane_state *pstate,
2465 const struct intel_plane_state *pstate, in ilk_compute_pri_wm() argument
2472 if (!intel_wm_plane_visible(cstate, pstate)) in ilk_compute_pri_wm()
2475 cpp = pstate->base.fb->format->cpp[0]; in ilk_compute_pri_wm()
2484 drm_rect_width(&pstate->base.dst), in ilk_compute_pri_wm()
2495 const struct intel_plane_state *pstate, in ilk_compute_spr_wm() argument
2501 if (!intel_wm_plane_visible(cstate, pstate)) in ilk_compute_spr_wm()
2504 cpp = pstate->base.fb->format->cpp[0]; in ilk_compute_spr_wm()
2509 drm_rect_width(&pstate->base.dst), in ilk_compute_spr_wm()
2519 const struct intel_plane_state *pstate, in ilk_compute_cur_wm() argument
[all …]
/dflybsd-src/sys/bus/u4b/
H A Dusb_if.m39 # The value pointed to by "pstate" can be updated to
55 uint8_t *pstate; /* set if transfer is complete, see USB_HR_XXX */
/dflybsd-src/gnu/usr.bin/rcs/rlog/
H A Drlog.c977 struct stateattri const *pstate; local
986 if ((pstate = statelist)) /* only certain states wanted */
987 while (strcmp(pstate->status, pdelta->state) != 0)
988 if (!(pstate = pstate->nextstate))
/dflybsd-src/sys/sys/
H A Dcheckpoint.h49 pstate_t *pstate; member
/dflybsd-src/sbin/hammer2/
H A Dcmd_debug.c202 dmsg_state_t *pstate; in shell_ttymsg() local
210 pstate = dmsg_findspan(strtok(buf + 1, " \t\n")); in shell_ttymsg()
213 pstate = &iocom->state0; in shell_ttymsg()
216 if (cmd && pstate) { in shell_ttymsg()
218 msg = dmsg_msg_alloc(pstate, len, DMSG_DBG_SHELL, in shell_ttymsg()
230 msg = dmsg_msg_alloc(pstate, 0, DMSG_DBG_SHELL, in shell_ttymsg()
/dflybsd-src/sys/bus/u4b/gadget/
H A Dg_keyboard.c375 uint16_t offset, uint8_t *pstate) in g_keyboard_handle_request() argument
379 uint8_t is_complete = *pstate; in g_keyboard_handle_request()
H A Dg_mouse.c437 uint16_t offset, uint8_t *pstate) in g_mouse_handle_request() argument
440 uint8_t is_complete = *pstate; in g_mouse_handle_request()
H A Dg_modem.c500 uint16_t offset, uint8_t *pstate) in g_modem_handle_request() argument
504 uint8_t is_complete = *pstate; in g_modem_handle_request()
H A Dg_audio.c546 uint16_t offset, uint8_t *pstate) in g_audio_handle_request() argument
550 uint8_t is_complete = *pstate; in g_audio_handle_request()
/dflybsd-src/sys/dev/smbus/cyapa/
H A Dcyapa.c1169 int pstate = CMD_POWER_MODE_IDLE; in cyapa_poll_thread() local
1212 if (pstate != npstate) { in cyapa_poll_thread()
1213 pstate = npstate; in cyapa_poll_thread()
1214 cyapa_set_power_mode(sc, pstate); in cyapa_poll_thread()
1216 switch(pstate) { in cyapa_poll_thread()
/dflybsd-src/sys/dev/drm/amd/powerplay/hwmgr/
H A Dprocesspptables.c781 const ATOM_PPLIB_STATE_V2 *pstate; in get_state_entry_v2() local
783 pstate = pstate_arrays->states; in get_state_entry_v2()
786 pstate = (ATOM_PPLIB_STATE_V2 *)( in get_state_entry_v2()
787 (unsigned long)pstate + in get_state_entry_v2()
788 size_of_entry_v2(pstate->ucNumDPMLevels)); in get_state_entry_v2()
790 return pstate; in get_state_entry_v2()
/dflybsd-src/usr.bin/top/
H A Dm_dragonfly.c578 int pstate = PP(pp, stat); in get_process_info() local
583 switch (pstate) { in get_process_info()
615 "state: %d\n", pstate); in get_process_info()
/dflybsd-src/sys/dev/drm/amd/include/
H A Dkgd_pp_interface.h37 u8 pstate; member
/dflybsd-src/contrib/grep/lib/
H A Dregexec.c124 re_dfastate_t *pstate);
128 re_dfastate_t *pstate);
806 re_dfastate_t *pstate = mctx.state_log[match_last]; in re_search_internal() local
807 mctx.last_node = check_halt_state_context (&mctx, pstate, in re_search_internal()
2281 re_dfastate_t *pstate; in merge_state_with_log() local
2288 pstate = mctx->state_log[cur_idx]; in merge_state_with_log()
2289 log_nodes = pstate->entrance_nodes; in merge_state_with_log()
2444 transit_state_mb (re_match_context_t *mctx, re_dfastate_t *pstate) in transit_state_mb() argument
2450 for (i = 0; i < pstate->nodes.nelem; ++i) in transit_state_mb()
2453 Idx cur_node_idx = pstate->nodes.elems[i]; in transit_state_mb()
/dflybsd-src/contrib/cvs-1.12/lib/
H A Dregexec.c130 re_dfastate_t *pstate) internal_function;
134 re_dfastate_t *pstate) internal_function;
833 re_dfastate_t *pstate = mctx.state_log[match_last]; in re_search_internal() local
834 mctx.last_node = check_halt_state_context (&mctx, pstate, in re_search_internal()
2316 re_dfastate_t *pstate; in merge_state_with_log() local
2323 pstate = mctx->state_log[cur_idx]; in merge_state_with_log()
2324 log_nodes = pstate->entrance_nodes; in merge_state_with_log()
2482 transit_state_mb (re_match_context_t *mctx, re_dfastate_t *pstate) in transit_state_mb() argument
2488 for (i = 0; i < pstate->nodes.nelem; ++i) in transit_state_mb()
2491 Idx cur_node_idx = pstate->nodes.elems[i]; in transit_state_mb()
/dflybsd-src/sys/bus/u4b/serial/
H A Dumodem.c951 uint16_t offset, uint8_t *pstate) in umodem_handle_request() argument
955 uint8_t is_complete = *pstate; in umodem_handle_request()
/dflybsd-src/sys/dev/drm/amd/powerplay/inc/
H A Dsmu71.h454 uint8_t pstate; member

12