Searched refs:oper (Results 1 - 25 of 29) sorted by relevance

12

/freebsd-11-stable/bin/dd/
H A Dargs.c97 static char *oper; variable
110 while ((oper = *++argv) != NULL) {
111 if ((oper = strdup(oper)) == NULL)
113 if ((arg = strchr(oper, '=')) == NULL)
114 errx(1, "unknown operand %s", oper);
117 errx(1, "no value specified for %s", oper);
118 tmp.name = oper;
429 errx(1, "%s: invalid numeric value", oper);
431 err(1, "%s", oper);
[all...]
/freebsd-11-stable/contrib/wpa/src/ap/
H A Dieee802_11_vht.c76 struct ieee80211_vht_operation *oper; local
80 *pos++ = sizeof(*oper);
82 oper = (struct ieee80211_vht_operation *) pos;
83 os_memset(oper, 0, sizeof(*oper));
90 oper->vht_op_info_chan_center_freq_seg0_idx =
92 oper->vht_op_info_chan_center_freq_seg1_idx =
95 oper->vht_op_info_chwidth = hapd->iconf->vht_oper_chwidth;
101 oper->vht_op_info_chwidth = 1;
102 oper
[all...]
H A Dieee802_11_ht.c84 struct ieee80211_ht_operation *oper; local
91 *pos++ = sizeof(*oper);
93 oper = (struct ieee80211_ht_operation *) pos;
94 os_memset(oper, 0, sizeof(*oper));
96 oper->primary_chan = hapd->iconf->channel;
97 oper->operation_mode = host_to_le16(hapd->iface->ht_op_mode);
99 oper->ht_param |= HT_INFO_HT_PARAM_SECONDARY_CHNL_ABOVE |
102 oper->ht_param |= HT_INFO_HT_PARAM_SECONDARY_CHNL_BELOW |
105 pos += sizeof(*oper);
[all...]
H A Dieee802_11_he.c131 struct ieee80211_he_operation *oper; local
143 oper = (struct ieee80211_he_operation *) pos;
144 os_memset(oper, 0, sizeof(*oper));
162 oper->he_mcs_nss_set =
167 oper->he_oper_params = host_to_le32(params);
H A Dieee802_11_shared.c950 struct ieee80211_vht_operation *oper = sta->vht_operation; local
956 if (oper->vht_op_info_chwidth == 0) {
958 } else if (oper->vht_op_info_chan_center_freq_seg1_idx == 0) {
965 oper->vht_op_info_chan_center_freq_seg0_idx -
967 oper->vht_op_info_chan_center_freq_seg1_idx);
968 vht_80p80 = oper->vht_op_info_chan_center_freq_seg1_idx
H A Dwnm_ap.c29 u8 *buf, u16 *buf_len, enum wnm_oper oper)
31 wpa_printf(MSG_DEBUG, "%s: TFS get operation %d", __func__, oper);
33 return hostapd_drv_wnm_oper(hapd, oper, addr, buf, buf_len);
39 u8 *buf, u16 *buf_len, enum wnm_oper oper)
41 wpa_printf(MSG_DEBUG, "%s: TFS set operation %d", __func__, oper);
43 return hostapd_drv_wnm_oper(hapd, oper, addr, buf, buf_len);
28 ieee80211_11_get_tfs_ie(struct hostapd_data *hapd, const u8 *addr, u8 *buf, u16 *buf_len, enum wnm_oper oper) argument
38 ieee80211_11_set_tfs_ie(struct hostapd_data *hapd, const u8 *addr, u8 *buf, u16 *buf_len, enum wnm_oper oper) argument
H A Dap_drv_ops.c731 int hostapd_drv_wnm_oper(struct hostapd_data *hapd, enum wnm_oper oper, argument
736 return hapd->driver->wnm_oper(hapd->drv_priv, oper, peer, buf,
H A Dap_drv_ops.h140 enum wnm_oper oper, const u8 *peer,
/freebsd-11-stable/contrib/dtc/
H A Dfdtput.c40 enum oper_type oper; /* operation to perform */ member in struct:display_info
340 switch (disp->oper) {
423 disp.oper = OPER_WRITE_PROP;
435 disp.oper = OPER_CREATE_NODE;
438 disp.oper = OPER_REMOVE_NODE;
441 disp.oper = OPER_DELETE_PROP;
466 if (disp.oper == OPER_WRITE_PROP) {
473 if (disp.oper == OPER_DELETE_PROP)
/freebsd-11-stable/contrib/wpa/src/common/
H A Dhw_features_common.c158 struct ieee80211_ht_operation *oper; local
165 oper = (struct ieee80211_ht_operation *) elems.ht_operation;
166 *pri_chan = oper->primary_chan;
167 if (oper->ht_param & HT_INFO_HT_PARAM_STA_CHNL_WIDTH) {
168 int sec = oper->ht_param &
251 struct ieee80211_ht_operation *oper; local
264 oper = (struct ieee80211_ht_operation *) elems.ht_operation;
265 if (oper->ht_param & HT_INFO_HT_PARAM_SECONDARY_CHNL_OFF_MASK)
/freebsd-11-stable/sys/dev/usb/controller/
H A Dxhci.c299 temp = XREAD4(sc, oper, XHCI_CRCR_LO);
311 XWRITE4(sc, oper, XHCI_CRCR_LO, temp | XHCI_CRCR_LO_CS);
312 XWRITE4(sc, oper, XHCI_CRCR_HI, 0);
314 XWRITE4(sc, oper, XHCI_CRCR_LO, temp | XHCI_CRCR_LO_CA);
315 XWRITE4(sc, oper, XHCI_CRCR_HI, 0);
321 temp = XREAD4(sc, oper, XHCI_CRCR_LO);
346 XWRITE4(sc, oper, XHCI_CRCR_LO, ((uint32_t)addr) | XHCI_CRCR_LO_RCS);
347 XWRITE4(sc, oper, XHCI_CRCR_HI, (uint32_t)(addr >> 32));
376 XREAD4(sc, oper, XHCI_CONFIG), sc->sc_noslot);
378 XWRITE4(sc, oper, XHCI_CONFI
[all...]
/freebsd-11-stable/sys/dev/ixl/
H A Di40e_dcb.c706 u8 i, tc, err, sync, oper; local
748 oper = (status & I40E_TLV_STATUS_OPER) ? 1 : 0;
750 if (!err && sync && oper) {
764 oper = (status & I40E_TLV_STATUS_OPER) ? 1 : 0;
766 if (!err && sync && oper) {
780 oper = (status & I40E_TLV_STATUS_OPER) ? 1 : 0;
782 if (!err && sync && oper) {
/freebsd-11-stable/contrib/wpa/src/drivers/
H A Ddriver_atheros.c2109 u8 *ie, u16 *len, enum wnm_oper oper)
2116 wpa_printf(MSG_DEBUG, "atheros: ifname=%s, WNM TFS IE oper=%d " MACSTR,
2117 drv->iface, oper, MAC2STR(peer));
2119 switch (oper) {
2132 val = oper;
2154 val = oper;
2181 val = oper;
2194 wpa_printf(MSG_DEBUG, "Unsupported TFS oper %d", oper);
2203 const u8 *peer, enum wnm_oper oper)
2108 athr_wnm_tfs(struct atheros_driver_data *drv, const u8* peer, u8 *ie, u16 *len, enum wnm_oper oper) argument
2202 atheros_wnm_sleep(struct atheros_driver_data *drv, const u8 *peer, enum wnm_oper oper) argument
2238 atheros_wnm_oper(void *priv, enum wnm_oper oper, const u8 *peer, u8 *buf, u16 *buf_len) argument
[all...]
H A Ddriver.h3403 * @oper: TDLS high-level operation. See %enum tdls_oper
3410 int (*tdls_oper)(void *priv, enum tdls_oper oper, const u8 *peer);
3415 * @oper: WNM operation. See %enum wnm_oper
3421 int (*wnm_oper)(void *priv, enum wnm_oper oper, const u8 *peer,
5130 } oper; member in struct:wpa_event_data::tdls
5141 } oper; member in struct:wpa_event_data::wnm
H A Ddriver_nl80211_event.c1506 data.tdls.oper = TDLS_REQUEST_SETUP;
1511 data.tdls.oper = TDLS_REQUEST_TEARDOWN;
1517 data.tdls.oper = TDLS_REQUEST_DISCOVER;
/freebsd-11-stable/contrib/wpa/src/rsn_supp/
H A Dwpa_i.h335 static inline int wpa_sm_tdls_oper(struct wpa_sm *sm, int oper, argument
339 return sm->ctx->tdls_oper(sm->ctx->ctx, oper, peer);
H A Dwpa.h64 int (*tdls_oper)(void *ctx, int oper, const u8 *peer);
/freebsd-11-stable/contrib/wpa/wpa_supplicant/
H A Ddriver_i.h574 enum tdls_oper oper, const u8 *peer)
578 return wpa_s->driver->tdls_oper(wpa_s->drv_priv, oper, peer);
658 enum wnm_oper oper, const u8 *peer,
663 return wpa_s->driver->wnm_oper(wpa_s->drv_priv, oper, peer, buf,
573 wpa_drv_tdls_oper(struct wpa_supplicant *wpa_s, enum tdls_oper oper, const u8 *peer) argument
657 wpa_drv_wnm_oper(struct wpa_supplicant *wpa_s, enum wnm_oper oper, const u8 *peer, u8 *buf, u16 *buf_len) argument
H A Dwnm_sta.c34 u16 *buf_len, enum wnm_oper oper)
36 wpa_printf(MSG_DEBUG, "%s: TFS get operation %d", __func__, oper);
38 return wpa_drv_wnm_oper(wpa_s, oper, wpa_s->bssid, buf, buf_len);
45 enum wnm_oper oper)
49 wpa_printf(MSG_DEBUG, "%s: TFS set operation %d", __func__, oper);
51 return wpa_drv_wnm_oper(wpa_s, oper, addr, (u8 *) buf, &len);
33 ieee80211_11_get_tfs_ie(struct wpa_supplicant *wpa_s, u8 *buf, u16 *buf_len, enum wnm_oper oper) argument
43 ieee80211_11_set_tfs_ie(struct wpa_supplicant *wpa_s, const u8 *addr, const u8 *buf, u16 buf_len, enum wnm_oper oper) argument
H A Dmesh_mpm.c700 struct ieee80211_ht_operation *oper; local
734 oper = (struct ieee80211_ht_operation *) elems->ht_operation;
735 if (oper &&
736 !(oper->ht_param & HT_INFO_HT_PARAM_STA_CHNL_WIDTH) &&
H A Dwpas_glue.c720 static int wpa_supplicant_tdls_oper(void *ctx, int oper, const u8 *peer) argument
723 return wpa_drv_tdls_oper(wpa_s, oper, peer);
/freebsd-11-stable/sys/dev/mlx5/
H A Dport.h206 u32 oper; member in struct:mlx5e_port_eth_proto
/freebsd-11-stable/contrib/wpa/hs20/client/
H A Doma_dm_client.c279 int cmdid, const char *oper,
290 snprintf(buf, sizeof(buf), "Reversed-Domain-Name: %s", oper);
299 const char *url, int msgid, const char *oper)
324 oma_dm_add_hs20_generic_alert(ctx, syncbody, cmdid, oper, str);
277 oma_dm_add_hs20_generic_alert(struct hs20_osu_client *ctx, xml_node_t *syncbody, int cmdid, const char *oper, const char *data) argument
298 build_oma_dm_1(struct hs20_osu_client *ctx, const char *url, int msgid, const char *oper) argument
/freebsd-11-stable/lib/libfetch/
H A Dftp.c618 ftp_transfer(conn_t *conn, const char *oper, const char *file, argument
781 e = ftp_cmd(conn, "%s %.*s", oper, filenamelen, filename);
872 e = ftp_cmd(conn, "%s %.*s", oper, filenamelen, filename);
/freebsd-11-stable/contrib/unbound/util/
H A Dnetevent.c930 static long win_bio_cb(BIO *b, int oper, const char* ATTR_UNUSED(argp), argument
934 verbose(VERB_ALGO, "bio_cb %d, %s %s %s", oper,
935 (oper&BIO_CB_RETURN)?"return":"before",
936 (oper&BIO_CB_READ)?"read":((oper&BIO_CB_WRITE)?"write":"other"),
939 if( (oper == (BIO_CB_READ|BIO_CB_RETURN) && argl == 0) ||
940 (oper == (BIO_CB_GETS|BIO_CB_RETURN) && argl == 0)) {
945 if( (oper == (BIO_CB_WRITE|BIO_CB_RETURN) && argl == 0) ||
946 (oper == (BIO_CB_PUTS|BIO_CB_RETURN) && argl == 0)) {

Completed in 432 milliseconds

12