/freebsd/contrib/nvi/vi/ |
H A D | v_paragraph.c | 30 pstate = P_INBLANK; \ 42 if (pstate == P_INTEXT && !--cnt) \ 53 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() 209 enum { P_INTEXT, P_INBLANK } pstate; in v_paragraphb() local 261 pstate = P_INBLANK; in v_paragraphb() [all …]
|
/freebsd/sys/dev/bhnd/nvram/ |
H A D | bhnd_nvram_data_btxt.c | 142 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() 195 pstate = BTXT_PARSE_LINE_START; 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() 241 pstate = BTXT_PARSE_VALUE_START; in bhnd_nvram_btxt_getvar_direct() [all …]
|
H A D | bhnd_nvram_data_bcm.c | 179 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 D | pmcr.c | 203 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 D | iter_hints.c | 312 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 D | iface.c | 120 get_operstate_ether(if_t ifp, struct if_state *pstate) in get_operstate_ether() argument 135 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() [all …]
|
/freebsd/usr.sbin/bsnmpd/modules/snmp_wlan/ |
H A D | wlan_sys.c | 2641 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() 2651 if ((pstate & IEEE80211_NODE_PWR_MGT) != 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() 2657 if ((pstate & IEEE80211_NODE_HTCOMPAT) != 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() [all …]
|
/freebsd/sys/arm64/linux/ |
H A D | linux_sysvec.c | 274 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 D | linux_sigframe.h | 56 uint64_t pstate; member
|
/freebsd/sys/dev/usb/ |
H A D | usb_if.m | 38 # The value pointed to by "pstate" can be updated to 54 uint8_t *pstate; /* set if transfer is complete, see USB_HR_XXX */
|
/freebsd/contrib/unbound/services/ |
H A D | authzone.c | 4528 http_parse_origin(sldns_buffer* buf, struct sldns_file_parse_state* pstate) in http_parse_origin() argument 4534 pstate->origin_len = sizeof(pstate->origin); in http_parse_origin() 4536 pstate->origin, &pstate->origin_len); in http_parse_origin() 4538 pstate->origin_len = 0; in http_parse_origin() 4548 http_parse_ttl(sldns_buffer* buf, struct sldns_file_parse_state* pstate) in http_parse_ttl() argument 4555 pstate->default_ttl = sldns_str2period( in http_parse_ttl() 4568 sldns_buffer* buf, struct sldns_file_parse_state* pstate) in chunkline_non_comment_RR() argument 4576 if((ret=http_parse_origin(buf, pstate))!=0) { in chunkline_non_comment_RR() 4581 if((ret=http_parse_ttl(buf, pstate))!=0) { in chunkline_non_comment_RR() 4600 struct sldns_file_parse_state pstate; in http_zonefile_syntax_check() local [all …]
|
/freebsd/sys/dev/acpica/ |
H A D | acpi_pcibvar.h | 42 int *pstate);
|
H A D | acpi_pcib.c | 265 acpi_pcib_power_for_sleep(device_t pcib, device_t dev, int *pstate) in acpi_pcib_power_for_sleep() argument 270 acpi_device_pwr_for_sleep(acpi_dev, dev, pstate); in acpi_pcib_power_for_sleep()
|
/freebsd/sys/dev/bxe/ |
H A D | ecore_sp.c | 273 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() 336 return ecore_state_wait(sc, raw->state, raw->pstate); in ecore_raw_wait() 2280 unsigned long *pstate, ecore_obj_type type) in ecore_init_raw_obj() argument 2288 raw->pstate = pstate; in ecore_init_raw_obj() 2298 int state, unsigned long *pstate, ecore_obj_type type, in ecore_init_vlan_mac_common() argument 2316 state, pstate, type); in ecore_init_vlan_mac_common() [all …]
|
/freebsd/sys/netinet/libalias/ |
H A D | alias_sctp.c | 2559 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 D | g_keyboard.c | 378 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 D | g_mouse.c | 439 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 D | g_modem.c | 499 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 D | g_audio.c | 540 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 D | cyapa.c | 1251 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 D | pci.h | 1451 int pstate = state + 1; in pci_power_name() local 1453 if (pstate >= 0 && pstate < nitems(pci_power_names)) in pci_power_name() 1454 return (pci_power_names[pstate]); in pci_power_name()
|
/freebsd/contrib/ofed/libibverbs/examples/ |
H A D | devinfo.c | 77 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 D | linux_work.c | 72 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()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64SMEInstrInfo.td | 237 def : Pat<(AArch64_smstart (i32 svcr_op:$pstate), (i64 timm0_31:$condition)), 238 (MSRpstatePseudo svcr_op:$pstate, 0b1, timm0_31:$condition)>; 239 def : Pat<(AArch64_smstop (i32 svcr_op:$pstate), (i64 timm0_31:$condition)), 240 (MSRpstatePseudo svcr_op:$pstate, 0b0, timm0_31:$condition)>; 243 def : Pat<(AArch64_smstart (i32 svcr_op:$pstate), (i64 /*AArch64SME::Always*/0)), 244 (MSRpstatesvcrImm1 svcr_op:$pstate, 0b1)>; 245 def : Pat<(AArch64_smstop (i32 svcr_op:$pstate), (i64 /*AArch64SME::Always*/0)), 246 (MSRpstatesvcrImm1 svcr_op:$pstate, 0b0)>;
|
/freebsd/sys/dev/usb/storage/ |
H A D | cfumass.c | 493 uint16_t offset, uint8_t *pstate) in cfumass_handle_request() argument 502 is_complete = *pstate; in cfumass_handle_request()
|