/freebsd/usr.bin/primes/ |
H A D | spsp.c | 37 uint64_t an = a % n; in mulmod() local 41 x += an; in mulmod() 42 if ((x < an) || (x >= n)) in mulmod() 45 if (an + an < an) in mulmod() 46 an = an + an - n; in mulmod() 47 else if (an + an >= n) in mulmod() 48 an = an + an - n; in mulmod() 50 an = an + an; in mulmod()
|
/freebsd/sys/contrib/ncsw/Peripherals/FM/MACSEC/ |
H A D | fm_macsec_secy.c | 519 t_Error FM_MACSEC_SECY_CreateRxSa(t_Handle h_FmMacsecSecY, t_Handle h_Sc, macsecAN_t an, uint32_t l… in FM_MACSEC_SECY_CreateRxSa() argument 529 SANITY_CHECK_RETURN_ERROR(an < MAX_NUM_OF_SA_PER_SC, E_INVALID_STATE); in FM_MACSEC_SECY_CreateRxSa() 531 if (p_FmSecYSc->sa[an].saId != SECY_AN_FREE_VALUE) in FM_MACSEC_SECY_CreateRxSa() 532 RETURN_ERROR(MINOR, E_INVALID_STATE, ("An %d is already assigned",an)); in FM_MACSEC_SECY_CreateRxSa() 534 …FmMacsecSecY->h_FmMacsec, p_FmSecYSc->scId, (e_ScSaId)p_FmSecYSc->numOfSa, an, lowestPn, key)) != … in FM_MACSEC_SECY_CreateRxSa() 537 p_FmSecYSc->sa[an].saId = (e_ScSaId)p_FmSecYSc->numOfSa++; in FM_MACSEC_SECY_CreateRxSa() 541 t_Error FM_MACSEC_SECY_DeleteRxSa(t_Handle h_FmMacsecSecY, t_Handle h_Sc, macsecAN_t an) in FM_MACSEC_SECY_DeleteRxSa() argument 551 SANITY_CHECK_RETURN_ERROR(an < MAX_NUM_OF_SA_PER_SC, E_INVALID_STATE); in FM_MACSEC_SECY_DeleteRxSa() 553 if (p_FmSecYSc->sa[an].saId == SECY_AN_FREE_VALUE) in FM_MACSEC_SECY_DeleteRxSa() 554 RETURN_ERROR(MINOR, E_INVALID_STATE, ("An %d is already deleted",an)); in FM_MACSEC_SECY_DeleteRxSa() [all …]
|
/freebsd/sys/dev/ath/ath_rate/sample/ |
H A D | sample.c | 174 struct ath_node *an, uint8_t rix0, int is_aggr) in ath_rate_sample_find_min_pktlength() argument 178 struct sample_node *sn = ATH_NODE_SAMPLE(an); in ath_rate_sample_find_min_pktlength() 182 int is_ht40 = (an->an_node.ni_chw == IEEE80211_STA_RX_BW_40); in ath_rate_sample_find_min_pktlength() 282 ath_rate_node_init(struct ath_softc *sc, struct ath_node *an) in ath_rate_node_init() argument 288 ath_rate_node_cleanup(struct ath_softc *sc, struct ath_node *an) in ath_rate_node_cleanup() argument 314 pick_best_rate(struct ath_node *an, const HAL_RATE_TABLE *rt, in pick_best_rate() argument 317 struct sample_node *sn = ATH_NODE_SAMPLE(an); in pick_best_rate() 330 if ((an->an_node.ni_flags & IEEE80211_NODE_HT) && in pick_best_rate() 359 if (an->an_node.ni_flags & IEEE80211_NODE_HT) { in pick_best_rate() 363 IEEE80211_NOTE(an->an_node.ni_vap, in pick_best_rate() [all …]
|
/freebsd/sys/dev/ath/ |
H A D | if_ath_tx.c | 121 static int ath_tx_node_is_asleep(struct ath_softc *sc, struct ath_node *an); 123 static int ath_tx_ampdu_pending(struct ath_softc *sc, struct ath_node *an, 125 static int ath_tx_ampdu_running(struct ath_softc *sc, struct ath_node *an, 132 ath_tx_retry_clone(struct ath_softc *sc, struct ath_node *an, 1418 struct ath_node *an = ATH_NODE(bf->bf_node); in ath_tx_update_clrdmask() local 1422 if (an->clrdmask == 1) { in ath_tx_update_clrdmask() 1424 an->clrdmask = 0; in ath_tx_update_clrdmask() 1441 ath_tx_should_swq_frame(struct ath_softc *sc, struct ath_node *an, in ath_tx_should_swq_frame() argument 1444 struct ieee80211_node *ni = &an->an_node; in ath_tx_should_swq_frame() 1505 struct ath_node *an = ATH_NODE(bf->bf_node); in ath_tx_xmit_normal() local [all …]
|
H A D | if_ath_tx.h | 87 extern void ath_tx_node_flush(struct ath_softc *sc, struct ath_node *an); 101 extern void ath_tx_tid_init(struct ath_softc *sc, struct ath_node *an); 102 extern void ath_tx_tid_hw_queue_aggr(struct ath_softc *sc, struct ath_node *an, 104 extern void ath_tx_tid_hw_queue_norm(struct ath_softc *sc, struct ath_node *an, 111 extern void ath_tx_addto_baw(struct ath_softc *sc, struct ath_node *an, 113 extern struct ieee80211_tx_ampdu * ath_tx_get_tx_tid(struct ath_node *an, 134 extern void ath_tx_node_sleep(struct ath_softc *sc, struct ath_node *an); 135 extern void ath_tx_node_wakeup(struct ath_softc *sc, struct ath_node *an); 136 extern int ath_tx_node_is_asleep(struct ath_softc *sc, struct ath_node *an); 137 extern void ath_tx_node_reassoc(struct ath_softc *sc, struct ath_node *an);
|
/freebsd/sys/dev/ath/ath_rate/onoe/ |
H A D | onoe.c | 101 ath_rate_node_init(struct ath_softc *sc, struct ath_node *an) in ath_rate_node_init() argument 107 ath_rate_node_cleanup(struct ath_softc *sc, struct ath_node *an) in ath_rate_node_cleanup() argument 112 ath_rate_findrate(struct ath_softc *sc, struct ath_node *an, in ath_rate_findrate() argument 117 struct onoe_node *on = ATH_NODE_ONOE(an); in ath_rate_findrate() 136 ath_rate_getxtxrates(struct ath_softc *sc, struct ath_node *an, in ath_rate_getxtxrates() argument 139 struct onoe_node *on = ATH_NODE_ONOE(an); in ath_rate_getxtxrates() 155 ath_rate_setupxtxdesc(struct ath_softc *sc, struct ath_node *an, in ath_rate_setupxtxdesc() argument 158 struct onoe_node *on = ATH_NODE_ONOE(an); in ath_rate_setupxtxdesc() 168 ath_rate_tx_complete(struct ath_softc *sc, struct ath_node *an, in ath_rate_tx_complete() argument 172 struct onoe_node *on = ATH_NODE_ONOE(an); in ath_rate_tx_complete() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/fsi/ |
H A D | fsi.txt | 7 busses, which are then exposed by the device tree. For example, an FSI engine 8 that is an I2C master - the I2C bus can be described by the device tree under 19 /* top-level of FSI bus topology, bound to an FSI master driver and 20 * exposes an FSI bus */ 40 not be described; this binding only provides an optional facility for 47 value. It's likely that an implementation-specific compatible value will 70 for an address identifier. Since these are not a range, no size cells are 71 required. For an example, a slave on link 1, with ID 2, could be represented 79 Each slave provides an address-space, under which the engines are accessible. 109 Here's an example that illustrates: [all …]
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | X509_EXTENSION_set_object.pod | 39 X509_EXTENSION_create_by_NID() creates an extension of type B<nid>, 43 B<not> be an uninitialised pointer. 48 X509_EXTENSION_get_object() returns the extension type of B<ex> as an 49 B<ASN1_OBJECT> pointer. The returned pointer is an internal value which must 56 pointer is an internal value which must not be freed up. 60 These functions manipulate the contents of an extension directly. Most 61 applications will want to parse or encode and add an extension: they should 65 The B<data> associated with an extension is the extension encoding in an 74 an B<X509_EXTENSION> pointer or B<NULL> if an error occurs. 76 X509_EXTENSION_get_object() returns an B<ASN1_OBJECT> pointer. [all …]
|
H A D | SSL_set_async_callback.pod | 28 SSL_CTX_set_async_callback() sets an asynchronous callback function. All B<SSL> 29 objects generated based on this B<SSL_CTX> will get this callback. If an engine 31 B<SSL_MODE_ASYNC> has been set and an asynchronous capable engine completes a 36 SSL_set_async_callback() allows an application to set a callback in an 37 asynchronous B<SSL> object, so that when an engine completes a cryptography 41 SSL_set_async_callback_arg() sets an argument for the B<SSL> object when the 45 communication from the engine to the application. During an SSL session, 46 cryptographic operations are dispatched to an engine. The engine status is very 47 useful for an application to know if the operation has been successfully 58 Application sets the async callback and callback data on an SSL connection [all …]
|
H A D | s2i_ASN1_IA5STRING.pod | 47 "internal" (that is, an internal C structure) and string respectively. 57 or NULL if an error occurs. 60 B<ASN1_IA5STRING> structure or NULL if an error occurs. 63 string or NULL if an error occurs. 66 structure or NULL if an error occurs. 69 or NULL if an error occurs. 72 B<ASN1_OCTET_STRING> structure or NULL if an error occurs. 75 string or NULL if an error occurs. 78 structure or NULL if an error occurs. 81 B<ASN1_UTF8STRING> structure or NULL if an error occurs. [all …]
|
H A D | ASN1_INTEGER_get_int64.pod | 39 ASN1_INTEGER_get_int64() converts an B<ASN1_INTEGER> into an B<int64_t> type 41 (due to invalid type or the value being too big to fit into an B<int64_t> type) 45 converts to a B<uint64_t> type and an error is returned if the passed integer 50 an B<ASN1_INTEGER>). New applications should use ASN1_INTEGER_get_int64() 62 BN_to_ASN1_INTEGER() converts B<BIGNUM> I<bn> to an B<ASN1_INTEGER>. If I<ai> 72 behave in an identical way to their ASN1_INTEGER counterparts except they 73 operate on an B<ASN1_ENUMERATED> value. 82 In general an B<ASN1_INTEGER> or B<ASN1_ENUMERATED> type can contain an 86 an appropriate C integer type. 104 of an B<int64_t> type. [all …]
|
H A D | OSSL_PARAM_BLD.pod | 59 I<bld> into an allocated OSSL_PARAM array. 75 I<val> is stored by value and an expression or auto variable can be used. 77 OSSL_PARAM_BLD_push_BN() is a function that will create an OSSL_PARAM object 84 OSSL_PARAM_BLD_push_BN_pad() is a function that will create an OSSL_PARAM object 87 is specified an error results. 93 OSSL_PARAM_BLD_push_utf8_string() is a function that will create an OSSL_PARAM 100 OSSL_PARAM_BLD_push_octet_string() is a function that will create an OSSL_PARAM 105 OSSL_PARAM_BLD_push_utf8_ptr() is a function that will create an OSSL_PARAM 112 OSSL_PARAM_BLD_push_octet_ptr() is a function that will create an OSSL_PARAM 131 support nonnegative B<BIGNUM>s. They return an error on negative B<BIGNUM>s. [all …]
|
H A D | ASN1_generate_nconf.pod | 17 in an B<ASN1_TYPE> structure. 22 file whereas I<cnf> is obtained from an B<X509V3_CTX> structure, 40 followed by an optional colon and a value. The formats of I<type>, 64 Encodes an ASN1 B<INTEGER> type. The I<value> string represents 76 Encodes an ASN1 B<OBJECT IDENTIFIER>, the I<value> string can be 81 Encodes an ASN1 B<UTCTime> structure, the value should be in 86 Encodes an ASN1 B<GeneralizedTime> structure, the value should be in 91 Encodes an ASN1 B<OCTET STRING>. I<value> represents the contents 97 Encodes an ASN1 B<BIT STRING>. I<value> represents the contents 115 Formats the result as an ASN1 B<SEQUENCE> or B<SET> type. I<value> [all …]
|
H A D | OBJ_nid2obj.pod | 51 identifiers, or B<NID>s. OpenSSL has an internal table of OIDs that 58 an ASN1_OBJECT structure, its long name and its short name respectively, 59 or B<NULL> if an error occurred. 63 or NID_undef if an error occurred. 66 a long name, a short name or the numerical representation of an object. 68 OBJ_txt2obj() converts the text string I<s> into an ASN1_OBJECT structure. 97 The returned pointer is an internal pointer which B<must not> be freed. 113 represented in an internal table. The appropriate values are defined 133 form of an OID. 141 These functions cannot return B<const> because an B<ASN1_OBJECT> can [all …]
|
H A D | PKCS12_item_decrypt_d2i.pod | 34 PKCS12_item_decrypt_d2i() and PKCS12_item_decrypt_d2i_ex() decrypt an octet 35 string containing an ASN.1 encoded object using the algorithm I<algor> and 39 PKCS12_item_i2d_encrypt() and PKCS12_item_i2d_encrypt_ex() encrypt an ASN.1 41 I<passlen>, returning an encoded object in I<obj>. If I<zbuf> is nonzero then 50 object or NULL if an error occurred. 53 data as an ASN.1 Octet String or NULL if an error occurred.
|
/freebsd/sys/dev/ath/ath_rate/amrr/ |
H A D | amrr.c | 93 ath_rate_node_init(struct ath_softc *sc, struct ath_node *an) in ath_rate_node_init() argument 99 ath_rate_node_cleanup(struct ath_softc *sc, struct ath_node *an) in ath_rate_node_cleanup() argument 104 ath_rate_findrate(struct ath_softc *sc, struct ath_node *an, in ath_rate_findrate() argument 109 struct amrr_node *amn = ATH_NODE_AMRR(an); in ath_rate_findrate() 128 ath_rate_getxtxrates(struct ath_softc *sc, struct ath_node *an, in ath_rate_getxtxrates() argument 131 struct amrr_node *amn = ATH_NODE_AMRR(an); in ath_rate_getxtxrates() 147 ath_rate_setupxtxdesc(struct ath_softc *sc, struct ath_node *an, in ath_rate_setupxtxdesc() argument 150 struct amrr_node *amn = ATH_NODE_AMRR(an); in ath_rate_setupxtxdesc() 160 ath_rate_tx_complete(struct ath_softc *sc, struct ath_node *an, in ath_rate_tx_complete() argument 164 struct amrr_node *amn = ATH_NODE_AMRR(an); in ath_rate_tx_complete() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | BuiltinTypes.def | 230 // type is a typedef of an ObjCObjectPointerType to an 232 // shows up in an AST as the base type of an ObjCObjectType. 236 // 'Class' type is a typedef of an ObjCObjectPointerType to an 238 // shows up in an AST as the base type of an ObjCObjectType. 260 // This represents the type of an expression whose type is 266 // The type of an unresolved overload set. A placeholder type. 269 // foo # possibly qualified, not if an implicit access 270 // foo # possibly qualified, not if an implicit access 271 // &foo # possibly qualified, not if an implicit access 284 // foo # if an implicit access [all …]
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | README-WPS | 5 can be configured and how an external component on the client (e.g., 15 passphrase/PSK) and configuration of an access point and client 32 Registrar") or in an external device, e.g., a laptop, ("external 37 roles (i.e., AP acts as an Enrollee and client device as a Registrar) 48 wpa_supplicant includes an optional WPS component that can be used as 49 an Enrollee to enroll new network credential or as a Registrar to 50 configure an AP. 56 WPS is an optional component that needs to be enabled in 57 wpa_supplicant build configuration (.config). Here is an example 99 network. wpa_supplicant uses the control interface as an input channel [all …]
|
/freebsd/sys/contrib/ncsw/inc/Peripherals/ |
H A D | fm_macsec_ext.h | 958 t_Error FM_MACSEC_SECY_CreateRxSa(t_Handle h_FmMacsecSecY, t_Handle h_Sc, macsecAN_t an, uint32_t l… 973 t_Error FM_MACSEC_SECY_DeleteRxSa(t_Handle h_FmMacsecSecY, t_Handle h_Sc, macsecAN_t an); 988 t_Error FM_MACSEC_SECY_RxSaEnableReceive(t_Handle h_FmMacsecSecY, t_Handle h_Sc, macsecAN_t an); 1003 t_Error FM_MACSEC_SECY_RxSaDisableReceive(t_Handle h_FmMacsecSecY, t_Handle h_Sc, macsecAN_t an); 1021 t_Error FM_MACSEC_SECY_RxSaUpdateNextPn(t_Handle h_FmMacsecSecY, t_Handle h_Sc, macsecAN_t an, uint… 1039 t_Error FM_MACSEC_SECY_RxSaUpdateLowestPn(t_Handle h_FmMacsecSecY, t_Handle h_Sc, macsecAN_t an, ui… 1055 t_Error FM_MACSEC_SECY_RxSaModifyKey(t_Handle h_FmMacsecSecY, t_Handle h_Sc, macsecAN_t an, macsecS… 1072 t_Error FM_MACSEC_SECY_CreateTxSa(t_Handle h_FmMacsecSecY, macsecAN_t an, macsecSAKey_t key); 1086 t_Error FM_MACSEC_SECY_DeleteTxSa(t_Handle h_FmMacsecSecY, macsecAN_t an); 1116 t_Error FM_MACSEC_SECY_TxSaSetActive(t_Handle h_FmMacsecSecY, macsecAN_t an); [all …]
|
/freebsd/crypto/openssl/crypto/engine/ |
H A D | README.md | 42 counted. One an EVP_CIPHER is exposed to the caller, neither it nor anything it 45 However existing API usage cannot be made to understand when an EVP_CIPHER 51 they are effectively the same thing, an "EVP_CIPHER" pointer. The problem with 62 Ie. all implementations *have* to come from an ENGINE, but we get round that by 77 was previously replaced by an "ENGINE" pointer and all RSA code that required 80 efficient, switching back to each RSA having an RSA_METHOD pointer also allows 90 of "cipher description" and less meaning in terms of "implementation". When an 91 EVP_CIPHER_CTX is actually initialised with an EVP_CIPHER method and is about to 93 cipher-specific ENGINE code is asked for an ENGINE pointer (a functional 102 Conversely, if an ENGINE *has* been registered to perform the algorithm/mode [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZOperands.td | 41 // Constructs both a DAG pattern and instruction operand for an immediate 54 // Constructs an asm operand for a PC-relative address. SIZE says how 66 // Constructs an operand for a PC-relative address with address type VT. 89 // Constructs an AsmOperandClass for addressing mode FORMAT, treating the 91 // LENGTH is "LenN" for addresses with an N-bit length field, otherwise it 101 // Constructs an instruction operand for an addressing mode. FORMAT, 102 // BITSIZE, DISPSIZE and LENGTH are the parameters to an associated 115 // Constructs both a DAG pattern and instruction operand for an addressing mode. 116 // FORMAT, BITSIZE, DISPSIZE and LENGTH are the parameters to an associate [all...] |
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64SchedPredicates.td | 75 // Identify whether an instruction is NEON or floating point 81 // Identify whether an instruction is the 16-bit NEON form based on its result. 87 // Identify whether an instruction is the 128-bit NEON form based on its result. 144 // Identify whether an instruction is an ASIMD 173 // Identify whether an instruction is an ASIMD 194 // Identify whether an instruction is an ASIMD load 199 // Identify whether an instruction is a load 215 // Identify whether an instruction is a store 227 // Identify whether an instruction is a load or 234 // Identify arithmetic instructions with an extended register. [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/net/ |
H A D | marvell-orion-mdio.txt | 4 MV78xx0, Armada 370, Armada XP, Armada 7k and Armada 8k have an 5 identical unit that provides an interface with the MDIO bus. 7 provides an interface with the xMDIO bus. This driver handles 12 - reg: address and length of the MDIO registers. When an interrupt is 25 Example at the SoC level without an interrupt property: 34 Example with an interrupt property:
|
/freebsd/contrib/wpa/hostapd/ |
H A D | README-WPS | 5 configured and how an external component on an AP (e.g., web UI) is 14 passphrase/PSK) and configuration of an access point and client 31 Registrar") or in an external device, e.g., a laptop, ("external 36 roles (i.e., AP acts as an Enrollee and client device as a Registrar) 47 hostapd includes an optional WPS component that can be used as an 52 WPS registration between a wireless Enrollee and an external Registrar 59 WPS is an optional component that needs to be enabled in hostapd build 60 configuration (.config). Here is an example configuration that 72 Following section shows an example runtime configuration 87 # Please note that the file has to exists for hostapd to start (i.e., create an [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/power/reset/ |
H A D | gpio-poweroff.txt | 7 state. Otherwise its configured as an input. 9 When the power-off handler is called, the gpio is configured as an 11 condition. This will also cause an inactive->active edge condition, so 13 the GPIO is set to inactive, thus causing an active->inactive edge, 26 - input : Initially configure the GPIO line as an input. Only reconfigure 27 it to an output when the power-off handler is called. If this optional 28 property is not specified, the GPIO is initialized as an output in its
|