Home
last modified time | relevance | path

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

12

/freebsd/contrib/nvi/vi/
H A Dv_paragraph.c30 pstate = P_INBLANK; \
42 if (pstate == P_INTEXT && !--cnt) \
70 enum { P_INTEXT, P_INBLANK } pstate; in v_paragraphf() local
116 pstate = P_INBLANK; in v_paragraphf()
119 pstate = P_INTEXT; in v_paragraphf()
127 switch (pstate) { in v_paragraphf()
135 pstate = P_INTEXT; in v_paragraphf()
261 pstate = P_INBLANK; in v_paragraphb()
264 pstate = P_INTEXT; in v_paragraphb()
278 switch (pstate) { in v_paragraphb()
[all …]
/freebsd/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_data_btxt.c142 btxt_parse_state pstate; in bhnd_nvram_btxt_getvar_direct() local
153 pstate = BTXT_PARSE_LINE_START; in bhnd_nvram_btxt_getvar_direct()
180 switch (pstate) { in bhnd_nvram_btxt_getvar_direct()
198 pstate = BTXT_PARSE_NEXT_LINE; in bhnd_nvram_btxt_getvar_direct()
201 pstate = BTXT_PARSE_KEY; in bhnd_nvram_btxt_getvar_direct()
220 pstate = BTXT_PARSE_KEY_END; in bhnd_nvram_btxt_getvar_direct()
223 pstate = BTXT_PARSE_KEY; in bhnd_nvram_btxt_getvar_direct()
228 pstate = BTXT_PARSE_NEXT_LINE; in bhnd_nvram_btxt_getvar_direct()
245 pstate = BTXT_PARSE_NEXT_LINE; in bhnd_nvram_btxt_getvar_direct()
285 pstate = BTXT_PARSE_VALUE; in bhnd_nvram_btxt_getvar_direct()
[all …]
H A Dbhnd_nvram_data_bcm.c179 bcm_parse_state pstate; in bhnd_nvram_bcm_getvar_direct_common() local
202 pstate = BCM_PARSE_KEY_START; in bhnd_nvram_bcm_getvar_direct_common()
229 switch (pstate) { in bhnd_nvram_bcm_getvar_direct_common()
241 pstate = BCM_PARSE_KEY_CONT; in bhnd_nvram_bcm_getvar_direct_common()
258 pstate = BCM_PARSE_KEY; in bhnd_nvram_bcm_getvar_direct_common()
262 pstate = BCM_PARSE_NEXT_KEY; in bhnd_nvram_bcm_getvar_direct_common()
275 pstate = BCM_PARSE_VALUE_START; in bhnd_nvram_bcm_getvar_direct_common()
279 pstate = BCM_PARSE_NEXT_KEY; in bhnd_nvram_bcm_getvar_direct_common()
293 pstate = BCM_PARSE_KEY_START; in bhnd_nvram_bcm_getvar_direct_common()
314 pstate = BCM_PARSE_VALUE; in bhnd_nvram_bcm_getvar_direct_common()
[all …]
/freebsd/sys/powerpc/cpufreq/
H A Dpmcr.c203 int i, pstate; in pmcr_get() local
212 pstate = (pmcr & PMCR_LOWERPS_MASK) >> PMCR_LOWERPS_SHIFT; in pmcr_get()
214 for (i = 0; i < npstates && pstate_ids[i] != pstate; i++) in pmcr_get()
220 set->spec[0] = pstate; in pmcr_get()
/freebsd/contrib/unbound/iterator/
H A Diter_hints.c312 struct sldns_file_parse_state pstate; in read_root_hints() local
331 memset(&pstate, 0, sizeof(pstate)); in read_root_hints()
332 pstate.lineno = 1; in read_root_hints()
338 &pstate); in read_root_hints()
341 pstate.lineno, LDNS_WIREPARSE_OFFSET(status), in read_root_hints()
400 fname, pstate.lineno, buf); in read_root_hints()
/freebsd/sys/netlink/route/
H A Diface.c135 pstate->ifla_carrier = 1; in get_operstate_ether()
137 pstate->ifla_operstate = IF_OPER_DORMANT; in get_operstate_ether()
139 pstate->ifla_operstate = IF_OPER_UP; in get_operstate_ether()
141 pstate->ifla_operstate = IF_OPER_DOWN; in get_operstate_ether()
173 get_operstate(if_t ifp, struct if_state *pstate) in get_operstate() argument
175 pstate->ifla_operstate = IF_OPER_UNKNOWN; in get_operstate()
176 pstate->ifla_carrier = 0; /* no carrier */ in get_operstate()
181 get_operstate_ether(ifp, pstate); in get_operstate()
186 pstate->ifla_operstate = IF_OPER_UP; in get_operstate()
187 pstate->ifla_carrier = 1; in get_operstate()
[all …]
/freebsd/usr.sbin/bsnmpd/modules/snmp_wlan/
H A Dwlan_sys.c2641 wlan_peerstate_to_snmp(uint32_t pstate) in wlan_peerstate_to_snmp() argument
2645 if ((pstate & IEEE80211_NODE_AUTH) != 0) in wlan_peerstate_to_snmp()
2647 if ((pstate & IEEE80211_NODE_QOS) != 0) in wlan_peerstate_to_snmp()
2649 if ((pstate & IEEE80211_NODE_ERP) != 0) in wlan_peerstate_to_snmp()
2653 if ((pstate & IEEE80211_NODE_AREF) != 0) in wlan_peerstate_to_snmp()
2655 if ((pstate & IEEE80211_NODE_HT) != 0) in wlan_peerstate_to_snmp()
2659 if ((pstate & IEEE80211_NODE_WPS) != 0) in wlan_peerstate_to_snmp()
2661 if ((pstate & IEEE80211_NODE_TSN) != 0) in wlan_peerstate_to_snmp()
2671 if ((pstate & IEEE80211_NODE_RIFS) != 0) in wlan_peerstate_to_snmp()
2673 if ((pstate & IEEE80211_NODE_SGI20) != 0) in wlan_peerstate_to_snmp()
[all …]
/freebsd/sys/arm64/linux/
H A Dlinux_sysvec.c274 if ((sf->sf_uc.uc_sc.pstate & PSR_M_MASK) != PSR_M_EL0t || in linux_rt_sigreturn()
275 (sf->sf_uc.uc_sc.pstate & PSR_AARCH32) != 0 || in linux_rt_sigreturn()
276 (sf->sf_uc.uc_sc.pstate & PSR_DAIF) != in linux_rt_sigreturn()
279 tf->tf_spsr = sf->sf_uc.uc_sc.pstate; in linux_rt_sigreturn()
358 frame->sf.sf_uc.uc_sc.pstate = tf->tf_spsr; in linux_rt_sendsig()
H A Dlinux_sigframe.h56 uint64_t pstate; member
/freebsd/sys/dev/acpica/
H A Dacpi_pcib.c264 acpi_pcib_power_for_sleep(device_t pcib, device_t dev, int *pstate) in acpi_pcib_power_for_sleep() argument
269 acpi_device_pwr_for_sleep(acpi_dev, dev, pstate); in acpi_pcib_power_for_sleep()
H A Dacpi_pcibvar.h42 int *pstate);
/freebsd/sys/dev/usb/
H A Dusb_if.m38 # The value pointed to by "pstate" can be updated to
54 uint8_t *pstate; /* set if transfer is complete, see USB_HR_XXX */
/freebsd/sys/dev/bxe/
H A Decore_sp.h541 unsigned long *pstate; /* pointer to state buffer */ member
937 unsigned long *pstate; member
1866 unsigned long *pstate, ecore_obj_type type,
1873 unsigned long *pstate, ecore_obj_type type,
1880 unsigned long *pstate, ecore_obj_type type,
1888 unsigned long *pstate, ecore_obj_type type,
1930 int state, unsigned long *pstate,
1972 int state, unsigned long *pstate,
H A Decore_sp.c273 return !!ECORE_TEST_BIT(o->state, o->pstate); in ecore_raw_check_pending()
279 ECORE_CLEAR_BIT(o->state, o->pstate); in ecore_raw_clear_pending()
286 ECORE_SET_BIT(o->state, o->pstate); in ecore_raw_set_pending()
299 unsigned long *pstate) in ecore_state_wait() argument
312 if (!ECORE_TEST_BIT(state, pstate)) { in ecore_state_wait()
2288 raw->pstate = pstate; in ecore_init_raw_obj()
2316 state, pstate, type); in ecore_init_vlan_mac_common()
2329 rdata_mapping, state, pstate, type, in ecore_init_mac_obj()
2426 rdata_mapping, state, pstate, type, in ecore_init_vlan_mac_obj()
2613 ECORE_CLEAR_BIT(p->state, p->pstate); in ecore_set_rx_mode_e1x()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64SMEInstrInfo.td163 // %pstate.before.call = 1
164 // if (%pstate.before.call != 0)
167 // if (%pstate.before.call != 0)
171 (MSRpstatesvcrImm1 svcr_op:$pstate, 0b0)>;
172 def : Pat<(AArch64_smstart (i32 svcr_op:$pstate), (i64 1), (i64 0)), // after call
173 (MSRpstatesvcrImm1 svcr_op:$pstate, 0b1)>;
177 // %pstate.before.call = 0
178 // if (%pstate.before.call != 1)
181 // if (%pstate.before.call != 1)
185 (MSRpstatesvcrImm1 svcr_op:$pstate, 0b1)>;
[all …]
/freebsd/contrib/unbound/services/
H A Dauthzone.c4511 pstate->origin_len = sizeof(pstate->origin); in http_parse_origin()
4513 pstate->origin, &pstate->origin_len); in http_parse_origin()
4581 memset(&pstate, 0, sizeof(pstate)); in http_zonefile_syntax_check()
4595 pstate.origin_len?pstate.origin:NULL, pstate.origin_len, in http_zonefile_syntax_check()
4596 pstate.prev_rr_len?pstate.prev_rr:NULL, pstate.prev_rr_len); in http_zonefile_syntax_check()
4653 pstate->origin_len?pstate->origin:NULL, pstate->origin_len, in http_parse_add_rr()
4654 pstate->prev_rr_len?pstate->prev_rr:NULL, pstate->prev_rr_len); in http_parse_add_rr()
5067 memset(&pstate, 0, sizeof(pstate)); in apply_http()
5114 pstate.lineno = 0; in apply_http()
5117 pstate.lineno++; in apply_http()
[all …]
/freebsd/sys/netinet/libalias/
H A Dalias_sctp.c2559 char *ploc, *pstate; in logsctpparse() local
2572 pstate = "Init"; in logsctpparse()
2575 pstate = "InitAck"; in logsctpparse()
2578 pstate = "Abort"; in logsctpparse()
2581 pstate = "ShutAck"; in logsctpparse()
2584 pstate = "ShutComp"; in logsctpparse()
2587 pstate = "Asconf"; in logsctpparse()
2590 pstate = "AsconfAck"; in logsctpparse()
2593 pstate = "Other"; in logsctpparse()
2596 pstate = "***ERROR***"; in logsctpparse()
[all …]
/freebsd/sys/dev/usb/gadget/
H A Dg_keyboard.c378 uint16_t offset, uint8_t *pstate) in g_keyboard_handle_request() argument
382 uint8_t is_complete = *pstate; in g_keyboard_handle_request()
H A Dg_mouse.c439 uint16_t offset, uint8_t *pstate) in g_mouse_handle_request() argument
442 uint8_t is_complete = *pstate; in g_mouse_handle_request()
H A Dg_modem.c499 uint16_t offset, uint8_t *pstate) in g_modem_handle_request() argument
503 uint8_t is_complete = *pstate; in g_modem_handle_request()
H A Dg_audio.c540 uint16_t offset, uint8_t *pstate) in g_audio_handle_request() argument
544 uint8_t is_complete = *pstate; in g_audio_handle_request()
/freebsd/sys/dev/cyapa/
H A Dcyapa.c1251 int pstate; in cyapa_poll_thread() local
1258 pstate = CMD_POWER_MODE_IDLE; in cyapa_poll_thread()
1303 if (pstate != npstate) { in cyapa_poll_thread()
1304 pstate = npstate; in cyapa_poll_thread()
1305 cyapa_set_power_mode(sc, pstate); in cyapa_poll_thread()
1307 switch(pstate) { in cyapa_poll_thread()
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dpci.h1421 int pstate = state + 1; in pci_power_name() local
1423 if (pstate >= 0 && pstate < nitems(pci_power_names)) in pci_power_name()
1424 return (pci_power_names[pstate]); in pci_power_name()
/freebsd/contrib/ofed/libibverbs/examples/
H A Ddevinfo.c77 static const char *port_state_str(enum ibv_port_state pstate) in port_state_str() argument
79 switch (pstate) { in port_state_str()
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_work.c72 linux_update_state(atomic_t *v, const uint8_t *pstate) in linux_update_state() argument
78 while ((old = atomic_cmpxchg(v, c, pstate[c])) != c) in linux_update_state()

12