Home
last modified time | relevance | path

Searched refs:param (Results 1 – 25 of 930) sorted by relevance

12345678910>>...38

/freebsd/crypto/openssl/crypto/ec/
H A Decx_s390x.c88 } param; in s390x_x25519_mul() local
91 memset(&param, 0, sizeof(param)); in s390x_x25519_mul()
93 s390x_flip_endian32(param.x25519.u_src, u_src); in s390x_x25519_mul()
94 param.x25519.u_src[0] &= 0x7f; in s390x_x25519_mul()
95 s390x_x25519_mod_p(param.x25519.u_src); in s390x_x25519_mul()
97 s390x_flip_endian32(param.x25519.d_src, d_src); in s390x_x25519_mul()
98 param.x25519.d_src[31] &= 248; in s390x_x25519_mul()
99 param.x25519.d_src[0] &= 127; in s390x_x25519_mul()
100 param.x25519.d_src[0] |= 64; in s390x_x25519_mul()
102 rc = s390x_pcc(S390X_SCALAR_MULTIPLY_X25519, &param.x25519) ? 0 : 1; in s390x_x25519_mul()
[all …]
H A Decp_s390x_nistp.c53 unsigned char param[S390X_SIZE_PARAM]; in ec_GFp_s390x_nistp_mul() local
97 memset(&param, 0, sizeof(param)); in ec_GFp_s390x_nistp_mul()
101 || BN_bn2binpad(x, param + S390X_OFF_SRC_X(len), len) == -1 in ec_GFp_s390x_nistp_mul()
102 || BN_bn2binpad(y, param + S390X_OFF_SRC_Y(len), len) == -1 in ec_GFp_s390x_nistp_mul()
104 param + S390X_OFF_SCALAR(len), len) == -1 in ec_GFp_s390x_nistp_mul()
105 || s390x_pcc(fc, param) != 0 in ec_GFp_s390x_nistp_mul()
106 || BN_bin2bn(param + S390X_OFF_RES_X(len), len, x) == NULL in ec_GFp_s390x_nistp_mul()
107 || BN_bin2bn(param + S390X_OFF_RES_Y(len), len, y) == NULL in ec_GFp_s390x_nistp_mul()
119 OPENSSL_cleanse(param, sizeof(param)); in ec_GFp_s390x_nistp_mul()
132 unsigned char param[S390X_SIZE_PARAM]; in ecdsa_s390x_nistp_sign_sig() local
[all …]
/freebsd/sys/dev/sound/pci/hda/
H A Dhda_reg.h312 #define HDA_CMD_SET_CONV_STREAM_CHAN_STREAM(param) \ argument
313 (((param) << HDA_CMD_CONV_STREAM_CHAN_STREAM_SHIFT) & \
315 #define HDA_CMD_SET_CONV_STREAM_CHAN_CHAN(param) \ argument
316 (((param) << HDA_CMD_CONV_STREAM_CHAN_CHAN_SHIFT) & \
369 #define HDA_CMD_SET_PIN_WIDGET_CTRL_VREF_ENABLE(param) \ argument
370 (((param) << HDA_CMD_SET_PIN_WIDGET_CTRL_VREF_ENABLE_SHIFT) & \
406 #define HDA_CMD_SET_UNSOLICITED_RESPONSE_TAG(param) \ argument
407 (((param) << HDA_CMD_SET_UNSOLICITED_RESPONSE_TAG_SHIFT) & \
769 #define HDA_PARAM_VENDOR_ID_VENDOR_ID(param) \ argument
770 (((param) & HDA_PARAM_VENDOR_ID_VENDOR_ID_MASK) >> \
[all …]
/freebsd/usr.sbin/bhyve/
H A Dhda_reg.h312 #define HDA_CMD_SET_CONV_STREAM_CHAN_STREAM(param) \ argument
313 (((param) << HDA_CMD_CONV_STREAM_CHAN_STREAM_SHIFT) & \
315 #define HDA_CMD_SET_CONV_STREAM_CHAN_CHAN(param) \ argument
316 (((param) << HDA_CMD_CONV_STREAM_CHAN_CHAN_SHIFT) & \
369 #define HDA_CMD_SET_PIN_WIDGET_CTRL_VREF_ENABLE(param) \ argument
370 (((param) << HDA_CMD_SET_PIN_WIDGET_CTRL_VREF_ENABLE_SHIFT) & \
406 #define HDA_CMD_SET_UNSOLICITED_RESPONSE_TAG(param) \ argument
407 (((param) << HDA_CMD_SET_UNSOLICITED_RESPONSE_TAG_SHIFT) & \
770 #define HDA_PARAM_VENDOR_ID_VENDOR_ID(param) \ argument
771 (((param) & HDA_PARAM_VENDOR_ID_VENDOR_ID_MASK) >> \
[all …]
/freebsd/crypto/openssl/crypto/x509/
H A Dx509_vpm.c84 X509_VERIFY_PARAM *param; in X509_VERIFY_PARAM_new() local
86 param = OPENSSL_zalloc(sizeof(*param)); in X509_VERIFY_PARAM_new()
87 if (param == NULL) { in X509_VERIFY_PARAM_new()
91 param->trust = X509_TRUST_DEFAULT; in X509_VERIFY_PARAM_new()
93 param->depth = -1; in X509_VERIFY_PARAM_new()
94 param->auth_level = -1; /* -1 means unset, 0 is explicit */ in X509_VERIFY_PARAM_new()
95 return param; in X509_VERIFY_PARAM_new()
98 void X509_VERIFY_PARAM_free(X509_VERIFY_PARAM *param) in X509_VERIFY_PARAM_free() argument
100 if (param == NULL) in X509_VERIFY_PARAM_free()
102 sk_ASN1_OBJECT_pop_free(param->policies, ASN1_OBJECT_free); in X509_VERIFY_PARAM_free()
[all …]
/freebsd/sys/arm/freescale/imx/
H A Dimx6_ipu.c254 #define CH_PARAM_RESET(param) memset(param, 0, sizeof(*param)) argument
255 #define IPU_READ_CH_PARAM(_sc, ch, param) bus_read_region_4( \ argument
256 (_sc)->sc_mem_res, CPMEM_BASE + ch * (sizeof(*param)),\
257 (uint32_t*)param, sizeof(*param) / 4)
258 #define IPU_WRITE_CH_PARAM(_sc, ch, param) bus_write_region_4( \ argument
259 (_sc)->sc_mem_res, CPMEM_BASE + ch * (sizeof(*param)),\
260 (uint32_t*)param, sizeof(*param) / 4)
262 #define CH_PARAM_SET_FW(param, v) ipu_ch_param_set_value((param), \ argument
264 #define CH_PARAM_SET_FH(param, v) ipu_ch_param_set_value((param), \ argument
266 #define CH_PARAM_SET_SLY(param, v) ipu_ch_param_set_value((param), \ argument
[all …]
/freebsd/crypto/openssl/test/
H A Dparams_api_test.c69 static int test_param_type_extra(OSSL_PARAM *param, const unsigned char *cmp, in test_param_type_extra() argument
76 const int bit32 = param->data_size <= sizeof(int32_t); in test_param_type_extra()
77 const int sizet = param->data_size <= sizeof(size_t); in test_param_type_extra()
78 const int signd = param->data_type == OSSL_PARAM_INTEGER; in test_param_type_extra()
84 param->return_size = OSSL_PARAM_UNMODIFIED; in test_param_type_extra()
86 if ((bit32 && !TEST_true(OSSL_PARAM_get_int32(param, &i32))) in test_param_type_extra()
87 || !TEST_true(OSSL_PARAM_get_int64(param, &i64))) in test_param_type_extra()
91 && !TEST_true(OSSL_PARAM_get_uint32(param, (uint32_t *)&i32))) in test_param_type_extra()
92 || !TEST_true(OSSL_PARAM_get_uint64(param, (uint64_t *)&i64)) in test_param_type_extra()
93 || (sizet && !TEST_true(OSSL_PARAM_get_size_t(param, &s)))) in test_param_type_extra()
[all …]
/freebsd/sbin/ping/tests/
H A Dtest_ping.py295 pytest.param(
311 pytest.param(
327 pytest.param(
343 pytest.param(
357 pytest.param(
373 pytest.param(
387 pytest.param(
405 pytest.param(
419 pytest.param(
437 pytest.param(
[all …]
/freebsd/contrib/ofed/libibcm/
H A Dcm.c306 int ib_cm_attr_id(struct ib_cm_id *cm_id, struct ib_cm_attr_param *param) in ib_cm_attr_id() argument
314 if (!param) in ib_cm_attr_id()
326 param->service_id = resp->service_id; in ib_cm_attr_id()
327 param->service_mask = resp->service_mask; in ib_cm_attr_id()
328 param->local_id = resp->local_id; in ib_cm_attr_id()
329 param->remote_id = resp->remote_id; in ib_cm_attr_id()
383 int ib_cm_send_req(struct ib_cm_id *cm_id, struct ib_cm_req_param *param) in ib_cm_send_req() argument
392 if (!param || !param->primary_path) in ib_cm_send_req()
397 cmd->qpn = param->qp_num; in ib_cm_send_req()
398 cmd->qp_type = param->qp_type; in ib_cm_send_req()
[all …]
/freebsd/sys/dev/ofw/
H A Dofw_if.m42 * @param _cookie A handle to the client interface, generally the OF
53 * @param _node Selected node
63 * @param _node Selected node
73 * @param _node Selected node
83 * @param _handle Selected instance
93 * @param _node Selected node
94 * @param _prop Property name
105 * @param _node Selected node
106 * @param _prop Property name
107 * @param _buf Pointer to buffer
[all …]
/freebsd/crypto/openssl/providers/implementations/signature/
H A Deddsa_sig.c380 } param; in s390x_ed25519_digestsign() local
382 memset(&param, 0, sizeof(param)); in s390x_ed25519_digestsign()
383 memcpy(param.ed25519.priv, edkey->privkey, sizeof(param.ed25519.priv)); in s390x_ed25519_digestsign()
385 rc = s390x_kdsa(S390X_EDDSA_SIGN_ED25519, &param.ed25519, tbs, tbslen); in s390x_ed25519_digestsign()
386 OPENSSL_cleanse(param.ed25519.priv, sizeof(param.ed25519.priv)); in s390x_ed25519_digestsign()
390 s390x_flip_endian32(sig, param.ed25519.sig); in s390x_ed25519_digestsign()
391 s390x_flip_endian32(sig + 32, param.ed25519.sig + 32); in s390x_ed25519_digestsign()
405 } param; in s390x_ed448_digestsign() local
407 memset(&param, 0, sizeof(param)); in s390x_ed448_digestsign()
408 memcpy(param.ed448.priv + 64 - 57, edkey->privkey, 57); in s390x_ed448_digestsign()
[all …]
/freebsd/tools/tools/ath/athradar/
H A Dathradar.c79 radarset(struct radarhandler *radar, int op, u_int32_t param) in radarset() argument
103 pe.pe_enabled = param; in radarset()
106 pe.pe_firpwr = param; in radarset()
109 pe.pe_rrssi = param; in radarset()
112 pe.pe_height = param; in radarset()
115 pe.pe_prssi = param; in radarset()
118 pe.pe_inband = param; in radarset()
121 pe.pe_relpwr = param; in radarset()
124 pe.pe_relstep = param; in radarset()
127 pe.pe_maxlen = param; in radarset()
[all …]
/freebsd/contrib/ldns/ldns/
H A Dnet.h.in34 * \param[in] qbin the ldns_buffer to be send
35 * \param[in] to the ip addr to send to
36 * \param[in] tolen length of the ip addr
37 * \param[in] timeout the timeout value for the network
38 * \param[out] answersize size of the packet
39 * \param[out] result packet with the answer
47 * \param[in] qbin the ldns_buffer to be send
48 * \param[in] to the ip addr to send to
49 * \param[in] tolen length of the ip addr
50 * \param[in] timeout *unused*, was the timeout value for the network
[all …]
/freebsd/sys/dev/mdio/
H A Dmdio_if.m31 * @param dev MDIO bus device.
32 * @param phy PHY address.
33 * @param reg The PHY register offset.
44 * @param dev MDIO bus device.
45 * @param bus MDIO bus mux position
46 * @param phy PHY address.
47 * @param reg The PHY register offset.
59 * @param dev MDIO bus device.
60 * @param phy PHY address.
61 * @param reg The PHY register offset.
[all …]
/freebsd/sbin/ipfw/tests/
H A Dtest_add_rule.py123 pytest.param(
133 pytest.param(
146 pytest.param(
163 pytest.param(
176 pytest.param(
192 pytest.param(
209 pytest.param(
221 pytest.param(
236 pytest.param(
253 pytest.param(
[all …]
/freebsd/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_rl.c55 struct mlx5e_sq_param *param) in mlx5e_rl_build_sq_param() argument
57 void *sqc = param->sqc; in mlx5e_rl_build_sq_param()
59 uint8_t log_sq_size = order_base_2(rl->param.tx_queue_size); in mlx5e_rl_build_sq_param()
65 param->wq.linear = 1; in mlx5e_rl_build_sq_param()
70 struct mlx5e_cq_param *param) in mlx5e_rl_build_cq_param() argument
72 void *cqc = param->cqc; in mlx5e_rl_build_cq_param()
73 uint8_t log_sq_size = order_base_2(rl->param.tx_queue_size); in mlx5e_rl_build_cq_param()
76 MLX5_SET(cqc, cqc, cq_period, rl->param.tx_coalesce_usecs); in mlx5e_rl_build_cq_param()
77 MLX5_SET(cqc, cqc, cq_max_count, rl->param.tx_coalesce_pkts); in mlx5e_rl_build_cq_param()
80 switch (rl->param.tx_coalesce_mode) { in mlx5e_rl_build_cq_param()
[all …]
/freebsd/contrib/wpa/src/drivers/
H A Ddriver_hostap.c54 static int hostapd_ioctl(void *priv, struct prism2_hostapd_param *param,
333 struct prism2_hostapd_param param; in hostap_sta_set_flags() local
341 memset(&param, 0, sizeof(param)); in hostap_sta_set_flags()
342 param.cmd = PRISM2_HOSTAPD_SET_FLAGS_STA; in hostap_sta_set_flags()
343 memcpy(param.sta_addr, addr, ETH_ALEN); in hostap_sta_set_flags()
344 param.u.set_flags_sta.flags_or = flags_or; in hostap_sta_set_flags()
345 param.u.set_flags_sta.flags_and = flags_and; in hostap_sta_set_flags()
346 return hostapd_ioctl(drv, &param, sizeof(param)); in hostap_sta_set_flags()
378 static int hostapd_ioctl(void *priv, struct prism2_hostapd_param *param, in hostapd_ioctl() argument
386 iwr.u.data.pointer = (caddr_t) param; in hostapd_ioctl()
[all …]
/freebsd/sys/kern/
H A Dbus_if.m97 * @param _dev the device whose child is being printed
98 * @param _child the child device to describe
113 * @param _dev the device whose child was being probed
114 * @param _child the child device which failed to probe
137 * @param _dev the device whose child was being examined
138 * @param _child the child device whose instance variable is
140 * @param _index the instance variable to read
141 * @param _result a location to receive the instance variable
160 * @param _dev the device whose child was being updated
161 * @param _child the child device whose instance variable is
[all …]
/freebsd/sys/dev/syscons/
H A Dscterm-sc.c60 int param[MAX_ESC_PAR]; member
222 tcp->param[i] = 1; in scterm_scan_esc()
255 tcp->param[tcp->num_param] = 0; in scterm_scan_esc()
257 tcp->param[tcp->num_param] *= 10; in scterm_scan_esc()
259 tcp->param[tcp->num_param] += c - '0'; in scterm_scan_esc()
274 tcp->param[i] = 1; in scterm_scan_esc()
279 sc_term_up(scp, tcp->param[0], 0); in scterm_scan_esc()
283 sc_term_down(scp, tcp->param[0], 0); in scterm_scan_esc()
287 sc_term_right(scp, tcp->param[0]); in scterm_scan_esc()
291 sc_term_left(scp, tcp->param[0]); in scterm_scan_esc()
[all …]
/freebsd/contrib/ncurses/ncurses/tinfo/
H A Dlib_tgoto.c76 int param[3]; in tgoto_internal() local
79 int *value = param; in tgoto_internal()
85 param[0] = y; in tgoto_internal()
86 param[1] = x; in tgoto_internal()
87 param[2] = 0; in tgoto_internal()
145 swap_arg = param[0]; in tgoto_internal()
146 param[0] = param[1]; in tgoto_internal()
147 param[1] = swap_arg; in tgoto_internal()
150 param[0] += 1; in tgoto_internal()
151 param[1] += 1; in tgoto_internal()
[all …]
/freebsd/tools/tools/ath/athspectral/
H A Dathspectral.c79 spectralset(struct spectralhandler *spectral, int op, u_int32_t param) in spectralset() argument
94 pe.ss_fft_period = param; in spectralset()
97 pe.ss_period = param; in spectralset()
100 pe.ss_count = param; in spectralset()
103 pe.ss_short_report = param; in spectralset()
106 pe.ss_spectral_pri = param; in spectralset()
212 spectral_set_param(struct spectralhandler *spectral, const char *param, in spectral_set_param() argument
219 if (strcmp(param, "ss_short_report") == 0) { in spectral_set_param()
221 } else if (strcmp(param, "ss_fft_period") == 0) { in spectral_set_param()
223 } else if (strcmp(param, "ss_period") == 0) { in spectral_set_param()
[all …]
/freebsd/contrib/bsnmp/snmp_target/
H A Dtarget_snmp.c343 struct target_param *param; in op_snmp_target_params() local
347 if ((param = target_get_param(&val->var, sub)) == NULL) in op_snmp_target_params()
352 if ((param = target_get_next_param(&val->var, sub)) == NULL) in op_snmp_target_params()
354 target_append_index(&val->var, sub, param->name); in op_snmp_target_params()
358 if ((param = target_get_param(&val->var, sub)) == NULL && in op_snmp_target_params()
363 if (param != NULL) { in op_snmp_target_params()
365 param->type == StorageType_readOnly) in op_snmp_target_params()
367 if (param->status == RowStatus_active && in op_snmp_target_params()
378 ctx->scratch->int1 = param->mpmodel; in op_snmp_target_params()
379 param->mpmodel = val->v.integer; in op_snmp_target_params()
[all …]
/freebsd/sys/netgraph/bluetooth/l2cap/
H A Dng_l2cap_cmds.h56 ng_l2cap_cmd_rej_cp param; \
67 c->hdr.length = sizeof(c->param); \
69 c->param.reason = htole16((_reason)); \
91 ng_l2cap_con_req_cp param; \
103 c->hdr.length = htole16(sizeof(c->param)); \
105 c->param.psm = htole16((_psm)); \
106 c->param.scid = htole16((_scid)); \
114 ng_l2cap_con_rsp_cp param; \
126 c->hdr.length = htole16(sizeof(c->param)); \
128 c->param.dcid = htole16((_dcid)); \
[all …]
/freebsd/contrib/libdivsufsort/include/
H A Ddivsufsort.h.cmake69 * @param T[0..n-1] The input string.
70 * @param SA[0..n-1] The output array of suffixes.
71 * @param n The length of the given string.
80 * @param T[0..n-1] The input string.
81 * @param U[0..n-1] The output string. (can be T)
82 * @param A[0..n-1] The temporary array. (can be NULL)
83 * @param n The length of the given string.
101 * @param T[0..n-1] The input string.
102 * @param U[0..n-1] The output string. (can be T)
103 * @param SA[0..n-1] The suffix array. (can be NULL)
[all …]
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_ucm.c261 &evt->param.req_rcvd); in ib_ucm_event_process()
264 uvt->resp.present |= (evt->param.req_rcvd.alternate_path ? in ib_ucm_event_process()
269 &evt->param.rep_rcvd); in ib_ucm_event_process()
274 uvt->resp.u.send_status = evt->param.send_status; in ib_ucm_event_process()
278 uvt->resp.u.send_status = evt->param.send_status; in ib_ucm_event_process()
282 uvt->resp.u.send_status = evt->param.send_status; in ib_ucm_event_process()
286 evt->param.mra_rcvd.service_timeout; in ib_ucm_event_process()
290 uvt->resp.u.rej_resp.reason = evt->param.rej_rcvd.reason; in ib_ucm_event_process()
292 uvt->info_len = evt->param.rej_rcvd.ari_length; in ib_ucm_event_process()
293 info = evt->param.rej_rcvd.ari; in ib_ucm_event_process()
[all …]

12345678910>>...38