| /freebsd-src/sys/contrib/device-tree/Bindings/regulator/ |
| H A D | richtek,rt6245-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/regulator/richtek,rt6245-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - ChiYuan Huang <cy_huang@richtek.com> 13 The RT6245 is a high-performance, synchronous step-down converter 18 - $ref: regulator.yaml# 23 - richtek,rt6245 28 enable-gpios: 31 it will be treat as a default-on power. [all …]
|
| /freebsd-src/sys/riscv/sifive/ |
| H A D | sifive_spi.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 80 uint64_t freq; member 84 #define SFSPI_LOCK(sc) mtx_lock(&(sc)->mtx) 85 #define SFSPI_UNLOCK(sc) mtx_unlock(&(sc)->mtx) 86 #define SFSPI_ASSERT_LOCKED(sc) mtx_assert(&(sc)->mtx, MA_OWNED); 87 #define SFSPI_ASSERT_UNLOCKED(sc) mtx_assert(&(sc)->mt 205 sfspi_setup(struct sfspi_softc * sc,uint32_t cs,uint32_t mode,uint32_t freq) sfspi_setup() argument [all...] |
| /freebsd-src/sys/contrib/device-tree/Bindings/input/ |
| H A D | iqs269a.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 13 - $ref: input.yaml# 16 The Azoteq IQS269A is an 8-channel capacitive touch controller that features 17 additional Hall-effect and inductive sensing capabilities. 24 - azoteq,iqs269a 25 - azoteq,iqs269a-00 26 - azoteq,iqs269a-d0 [all …]
|
| H A D | iqs626a.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS626A is a 14-channel capacitive touch controller that features 14 additional Hall-effect and inductive sensing capabilities. 19 - $ref: touchscreen/touchscreen.yaml# 31 "#address-cells": 34 "#size-cells": 37 azoteq,suspend-mode: [all …]
|
| /freebsd-src/contrib/wpa/src/p2p/ |
| H A D | p2p.c | 2 * Wi-Fi Direct - P2P module 3 * Copyright (c) 2009-2010, Atheros Communications 45 * P2P_PEER_EXPIRATION_AGE - Number of seconds after which inactive peer 60 dl_list_for_each_safe(dev, n, &p2p->devices, struct p2p_device, list) { in p2p_expire_peers() 61 if (dev->last_seen.sec + P2P_PEER_EXPIRATION_AGE >= now.sec) in p2p_expire_peers() 64 if (dev == p2p->go_neg_peer) { in p2p_expire_peers() 73 if (p2p->cfg->go_connected && in p2p_expire_peers() 74 p2p->cf in p2p_expire_peers() 256 int freq; p2p_listen_in_find() local 310 int freq; p2p_listen() local 466 p2p_add_group_clients(struct p2p_data * p2p,const u8 * go_dev_addr,const u8 * go_interface_addr,int freq,const u8 * gi,size_t gi_len,struct os_reltime * rx_time) p2p_add_group_clients() argument 712 p2p_add_device(struct p2p_data * p2p,const u8 * addr,int freq,struct os_reltime * rx_time,int level,const u8 * ies,size_t ies_len,int scan_res) p2p_add_device() argument 960 int freq; p2p_get_next_prog_freq() local 1008 int freq = 0; p2p_search() local 1162 p2p_find(struct p2p_data * p2p,unsigned int timeout,enum p2p_discovery_type type,unsigned int num_req_dev_types,const u8 * req_dev_types,const u8 * dev_id,unsigned int search_delay,u8 seek_count,const char ** seek,int freq,bool include_6ghz) p2p_find() argument 1304 p2p_stop_find_for_freq(struct p2p_data * p2p,int freq) p2p_stop_find_for_freq() argument 1327 p2p_stop_listen_for_freq(struct p2p_data * p2p,int freq) p2p_stop_listen_for_freq() argument 1376 unsigned int freq = force_freq ? force_freq : pref_freq; p2p_prepare_channel_pref() local 1729 int freq; p2p_add_dev_info() local 1917 p2p_rx_action_public(struct p2p_data * p2p,const u8 * da,const u8 * sa,const u8 * bssid,const u8 * data,size_t len,int freq) p2p_rx_action_public() argument 1954 p2p_rx_action(struct p2p_data * p2p,const u8 * da,const u8 * sa,const u8 * bssid,u8 category,const u8 * data,size_t len,int freq) p2p_rx_action() argument 2062 int freq; p2p_add_dev_from_probe_req() local 3502 p2p_scan_res_handler(struct p2p_data * p2p,const u8 * bssid,int freq,struct os_reltime * rx_time,int level,const u8 * ies,size_t ies_len) p2p_scan_res_handler() argument 3773 p2p_send_action_cb(struct p2p_data * p2p,unsigned int freq,const u8 * dst,const u8 * src,const u8 * bssid,enum p2p_send_action_result result) p2p_send_action_cb() argument 3834 p2p_listen_cb(struct p2p_data * p2p,unsigned int freq,unsigned int duration) p2p_listen_cb() argument 3868 p2p_listen_end(struct p2p_data * p2p,unsigned int freq) p2p_listen_end() argument 4456 p2p_presence_req(struct p2p_data * p2p,const u8 * go_interface_addr,const u8 * own_interface_addr,unsigned int freq,u32 duration1,u32 interval1,u32 duration2,u32 interval2) p2p_presence_req() argument 4955 p2p_send_action(struct p2p_data * p2p,unsigned int freq,const u8 * dst,const u8 * src,const u8 * bssid,const u8 * buf,size_t len,unsigned int wait_time) p2p_send_action() argument 4986 p2p_set_own_freq_preference(struct p2p_data * p2p,int freq) p2p_set_own_freq_preference() argument 5301 int freq = p2p_group_get_freq(p2p->groups[0]); p2p_build_nfc_handover() local 5368 int freq; p2p_process_nfc_connection_handover() local 5560 p2p_build_probe_resp_template(struct p2p_data * p2p,unsigned int freq) p2p_build_probe_resp_template() argument [all...] |
| H A D | p2p_go_neg.c | 2 * Wi-Fi Direct - P2P Group Owner Negotiation 3 * Copyright (c) 2009-2010, Atheros Communications 26 return -1; /* both devices want to become GO */ in p2p_go_det() 45 ch = &dev->channels; in p2p_peer_channels_check() 50 if (end - pos < 3) in p2p_peer_channels_check() 51 return -1; in p2p_peer_channels_check() 52 os_memcpy(dev->country, pos, 3); in p2p_peer_channels_check() 54 if (pos[2] != 0x04 && os_memcmp(pos, p2p->cfg->countr in p2p_peer_channels_check() 216 int freq; p2p_connect_send() local 387 int freq; p2p_reselect_channel() local 752 int freq; p2p_process_go_neg_req() local 1157 int freq; p2p_process_go_neg_resp() local [all...] |
| H A D | p2p_pd.c | 2 * Wi-Fi Direct - P2P provision discovery 3 * Copyright (c) 2009-2010, Atheros Communications 54 if (!p2p->cfg->get_go_info) in p2ps_add_new_group_info() 57 found = p2p->cfg->get_go_info( in p2ps_add_new_group_info() 58 p2p->cfg->cb_ctx, intended_addr, ssid, in p2ps_add_new_group_info() 62 p2p->p2ps_pro in p2ps_add_new_group_info() 559 int freq; p2p_process_prov_disc_req() local 1456 int freq = 0; p2p_process_prov_disc_resp() local 1595 int freq; p2p_send_prov_disc_req() local [all...] |
| /freebsd-src/usr.sbin/powerd/ |
| H A D | powerd.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 98 static int set_freq(int freq); 135 static int apm_fd = -1; 137 static int devd_pipe = -1; 147 * threads are processing requests as a pipeline -- runnin in read_usage_times() 265 set_freq(int freq) set_freq() argument 277 get_freq_id(int freq,int * freqs,int numfreqs) get_freq_id() argument 491 int freq, curfreq, initfreq, *freqs, i, j, *mwatts, numfreqs, load; global() local [all...] |
| /freebsd-src/sys/dev/bhnd/cores/pmu/ |
| H A D | bhnd_pmu_subr.c | 1 /*- 2 * SPDX-License-Identifier: ISC 10 * distributed with the Asus RT-N16 firmware source code release. 41 if (_sc->dev != NULL) \ 42 device_printf(_sc->dev, _fmt, ##__VA_ARGS__); \ 91 ((uint8_t)BHND_PMU_GET_BITS((_sc)->caps, BHND_PMU_CAP_REV)) 94 bhnd_core_clkctl_wait((_sc)->clkctl, (_val), (_mask)) 100 CHIPC_CST4330_CHIPMODE_SDIOD((_sc)->io->rd_chipst((_sc)->io_ctx)) 113 * @retval non-zero if the query state could not be initialized. 119 query->dev = dev; in bhnd_pmu_query_init() [all …]
|
| /freebsd-src/contrib/wpa/src/ap/ |
| H A D | hw_features.c | 3 * Copyright 2002-2003, Instant802 Networks, Inc. 4 * Copyright 2005-2006, Devicescape Software, Inc. 5 * Copyright (c) 2008-2012, Jouni Malinen <j@w1.fi> 51 switch (chan->flag & HOSTAPD_CHAN_DFS_MASK) { in dfs_info() 68 info[sizeof(info) - 1] = '\0'; in dfs_info() 77 struct hostapd_data *hapd = iface->bss[0]; in hostapd_get_hw_features() 87 return -1; in hostapd_get_hw_features() 95 return -1; in hostapd_get_hw_features() 98 iface->hw_flag in hostapd_get_hw_features() 852 int freq = 56160 + 2160 * (i + 1); hostapd_is_usable_edmg() local 1171 hostapd_hw_get_channel(struct hostapd_data * hapd,int freq) hostapd_hw_get_channel() argument [all...] |
| H A D | acs.c | 2 * ACS - Automatic Channel Selection module 31 * --------- 578 acs_find_chan_mode(struct hostapd_hw_modes * mode,int freq) acs_find_chan_mode() argument 598 acs_find_chan(struct hostapd_iface * iface,int freq) acs_find_chan() argument 1040 acs_request_scan_add_freqs(struct hostapd_iface * iface,struct hostapd_hw_modes * mode,int * freq) acs_request_scan_add_freqs() argument 1069 int i, *freq; acs_request_scan() local [all...] |
| /freebsd-src/sys/x86/isa/ |
| H A D | clock.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 84 TUNABLE_INT("hw.i8254.freq", &i8254_freq); 111 static int timer0_period = -2; 141 if (i8254_timecounter && sc->period != 0) { in clkintr() 153 if (sc->et.et_active && sc->mod in clkintr() 197 timer_spkr_setfreq(int freq) timer_spkr_setfreq() argument 440 u_int freq; sysctl_machdep_i8254_freq() local [all...] |
| /freebsd-src/contrib/wpa/wpa_supplicant/ |
| H A D | wps_supplicant.c | 3 * Copyright (c) 2008-2014, Jouni Malinen <j@w1.fi> 56 os_free(wpa_s->wps_ap); in wpas_wps_clear_ap_info() 57 wpa_s->wps_ap = NULL; in wpas_wps_clear_ap_info() 58 wpa_s->num_wps_ap = 0; in wpas_wps_clear_ap_info() 59 wpa_s->wps_ap_iter = 0; in wpas_wps_clear_ap_info() 87 if (bss->beacon_newer) in wpas_wps_eapol_cb() 99 if (!wpa_s->wps_success && in wpas_wps_eapol_cb() 100 wpa_s->current_ssid && in wpas_wps_eapol_cb() 101 eap_is_wps_pin_enrollee(&wpa_s->current_ssid->ea in wpas_wps_eapol_cb() 116 unsigned int freq = wpa_s->assoc_freq; wpas_wps_eapol_cb() local 1120 wpas_wps_reassoc(struct wpa_supplicant * wpa_s,struct wpa_ssid * selected,const u8 * bssid,int freq) wpas_wps_reassoc() argument 1221 wpas_wps_start_dev_pw(struct wpa_supplicant * wpa_s,const u8 * dev_addr,const u8 * bssid,const char * pin,int p2p_group,u16 dev_pw_id,const u8 * peer_pubkey_hash,const u8 * ssid_val,size_t ssid_len,int freq) wpas_wps_start_dev_pw() argument 2364 wpas_wps_start_nfc(struct wpa_supplicant * wpa_s,const u8 * go_dev_addr,const u8 * bssid,const struct wpabuf * dev_pw,u16 dev_pw_id,int p2p_group,const u8 * peer_pubkey_hash,const u8 * ssid,size_t ssid_len,int freq) wpas_wps_start_nfc() argument 2443 int freq = 0; wpas_wps_use_cred() local 2653 int freq = 0; wpas_wps_nfc_rx_handover_sel() local [all...] |
| H A D | p2p_supplicant.c | 2 * wpa_supplicant - P2P 3 * Copyright (c) 2009-2010, Atheros Communications 4 * Copyright (c) 2010-2014, Jouni Malinen <j@w1.fi> 58 * channel (and if the driver supports channel switch). 73 * How many seconds to wait for initial 4-way handshake to get completed after 74 * WPS provisioning step or after the re-invocation of a persistent group on a 82 * How many seconds to wait for initial 4-way handshake to get completed after 92 * How many seconds to wait for initial 4-way handshake to get completed after 93 * re-invocation of a persistent group on the GO when the client is expected 99 #define P2P_MGMT_DEVICE_PREFIX "p2p-de 237 wpas_p2p_set_own_freq_preference(struct wpa_supplicant * wpa_s,int freq) wpas_p2p_set_own_freq_preference() argument 391 wpas_p2p_search_social_channel(struct wpa_supplicant * wpa_s,int freq) wpas_p2p_search_social_channel() argument 406 wpas_p2p_scan(void * ctx,enum p2p_scan_type type,int freq,unsigned int num_req_dev_types,const u8 * req_dev_types,const u8 * dev_id,u16 pw_id,bool include_6ghz) wpas_p2p_scan() argument 1321 wpas_p2p_group_started(struct wpa_supplicant * wpa_s,int go,struct wpa_ssid * ssid,int freq,const u8 * psk,const char * passphrase,const u8 * go_dev_addr,int persistent,const char * extra) wpas_p2p_group_started() argument 1465 unsigned int freq; global() member 1537 wpas_p2p_send_action_tx_status(struct wpa_supplicant * wpa_s,unsigned int freq,const u8 * dst,const u8 * src,const u8 * bssid,const u8 * data,size_t data_len,enum offchannel_send_action_result result) wpas_p2p_send_action_tx_status() argument 1611 wpas_send_action_work(struct wpa_supplicant * wpa_s,unsigned int freq,const u8 * dst,const u8 * src,const u8 * bssid,const u8 * buf,size_t len,unsigned int wait_time) wpas_send_action_work() argument 1644 wpas_send_action(void * ctx,unsigned int freq,const u8 * dst,const u8 * src,const u8 * bssid,const u8 * buf,size_t len,unsigned int wait_time,int * scheduled) wpas_send_action() argument 1957 wpas_p2p_freq_to_edmg_channel(struct wpa_supplicant * wpa_s,unsigned int freq,u8 * op_class,u8 * op_edmg_channel) wpas_p2p_freq_to_edmg_channel() argument 2005 int freq; wpas_p2p_try_edmg_channel() local 2624 unsigned int freq; global() member 2704 wpas_start_listen(void * ctx,unsigned int freq,unsigned int duration,const struct wpabuf * probe_resp_ie) wpas_start_listen() argument 2761 wpas_send_probe_resp(void * ctx,const struct wpabuf * buf,unsigned int freq) wpas_send_probe_resp() argument 2950 freq_included(struct wpa_supplicant * wpa_s,const struct p2p_channels * channels,unsigned int freq) freq_included() argument 2989 wpas_p2p_go_is_peer_freq(struct wpa_supplicant * wpa_s,int freq) wpas_p2p_go_is_peer_freq() argument 3385 int freq; wpas_invitation_result() local 3498 wpas_p2p_disallowed_freq(struct wpa_global * global,unsigned int freq) wpas_p2p_disallowed_freq() argument 3580 unsigned int freq; has_channel() local 4237 wpas_get_go_info(void * ctx,u8 * intended_addr,u8 * ssid,size_t * ssid_len,int * group_iface,unsigned int * freq) wpas_get_go_info() argument 4362 wpas_p2ps_prov_complete(void * ctx,u8 status,const u8 * dev,const u8 * adv_mac,const u8 * ses_mac,const u8 * grp_mac,u32 adv_id,u32 ses_id,u8 conncap,int passwd_id,const u8 * persist_ssid,size_t persist_ssid_size,int response_done,int prov_start,const char * session_info,const u8 * feat_cap,size_t feat_cap_len,unsigned int freq,const u8 * group_ssid,size_t group_ssid_len) wpas_p2ps_prov_complete() argument 4673 unsigned int freq; wpas_prov_disc_resp_cb() local 5158 wpas_check_freq_conflict(struct wpa_supplicant * wpa_s,int freq) wpas_check_freq_conflict() argument 5225 int freq; wpas_p2p_scan_res_join() local 5454 wpas_p2p_join_scan_req(struct wpa_supplicant * wpa_s,int freq,const u8 * ssid,size_t ssid_len) wpas_p2p_join_scan_req() argument 5597 wpas_p2p_join_start(struct wpa_supplicant * wpa_s,int freq,const u8 * ssid,size_t ssid_len) wpas_p2p_join_start() argument 5680 wpas_p2p_setup_freqs(struct wpa_supplicant * wpa_s,int freq,int * force_freq,int * pref_freq,int go,unsigned int * pref_freq_list,unsigned int * num_pref_freq) wpas_p2p_setup_freqs() argument 5851 wpas_p2p_check_6ghz(struct wpa_supplicant * wpa_s,const u8 * peer_addr,bool allow_6ghz,int freq) wpas_p2p_check_6ghz() argument 5899 wpas_p2p_connect(struct wpa_supplicant * wpa_s,const u8 * peer_addr,const char * pin,enum p2p_wps_method wps_method,int persistent_group,int auto_join,int join,int auth,int go_intent,int freq,unsigned int vht_center_freq2,int persistent_id,int pd,int ht40,int vht,unsigned int vht_chwidth,int he,int edmg,const u8 * group_ssid,size_t group_ssid_len,bool allow_6ghz) wpas_p2p_connect() argument 6063 wpas_p2p_remain_on_channel_cb(struct wpa_supplicant * wpa_s,unsigned int freq,unsigned int duration) wpas_p2p_remain_on_channel_cb() argument 6103 wpas_p2p_cancel_remain_on_channel_cb(struct wpa_supplicant * wpa_s,unsigned int freq) wpas_p2p_cancel_remain_on_channel_cb() argument 6189 wpas_p2p_select_go_freq(struct wpa_supplicant * wpa_s,int freq) wpas_p2p_select_go_freq() argument 6318 wpas_p2p_supported_freq_go(struct wpa_supplicant * wpa_s,const struct p2p_channels * channels,int freq) wpas_p2p_supported_freq_go() argument 6408 wpas_p2p_init_go_params(struct wpa_supplicant * wpa_s,struct p2p_go_neg_results * params,int freq,int vht_center_freq2,int ht40,int vht,int max_oper_chwidth,int he,int edmg,const struct p2p_channels * channels) wpas_p2p_init_go_params() argument 6820 wpas_p2p_group_add(struct wpa_supplicant * wpa_s,int persistent_group,int freq,int vht_center_freq2,int ht40,int vht,int max_oper_chwidth,int he,int edmg,bool allow_6ghz) wpas_p2p_group_add() argument 6863 wpas_start_p2p_client(struct wpa_supplicant * wpa_s,struct wpa_ssid * params,int addr_allocated,int freq,int force_scan) wpas_start_p2p_client() argument 6932 int go = 0, freq; wpas_p2p_group_add_persistent() local 7321 wpas_p2p_find(struct wpa_supplicant * wpa_s,unsigned int timeout,enum p2p_discovery_type type,unsigned int num_req_dev_types,const u8 * req_dev_types,const u8 * dev_id,unsigned int search_delay,u8 seek_cnt,const char ** seek_string,int freq,bool include_6ghz) wpas_p2p_find() argument 7505 wpas_p2p_rx_action(struct wpa_supplicant * wpa_s,const u8 * da,const u8 * sa,const u8 * bssid,u8 category,const u8 * data,size_t len,int freq) wpas_p2p_rx_action() argument 7556 wpas_p2p_invite(struct wpa_supplicant * wpa_s,const u8 * peer_addr,struct wpa_ssid * ssid,const u8 * go_dev_addr,int freq,int vht_center_freq2,int ht40,int vht,int max_chwidth,int pref_freq,int he,int edmg,bool allow_6ghz) wpas_p2p_invite() argument 7652 int freq = 0, force_freq = 0, pref_freq = 0; wpas_p2p_invite_group() local 7730 int freq; wpas_p2p_completed() local 8891 wpas_p2p_handle_frequency_conflicts(struct wpa_supplicant * wpa_s,int freq,struct wpa_ssid * ssid) wpas_p2p_handle_frequency_conflicts() argument 9849 int freq; wpas_p2p_consider_moving_one_go() local 10027 wpas_p2p_lo_start(struct wpa_supplicant * wpa_s,unsigned int freq,unsigned int period,unsigned int interval,unsigned int count) wpas_p2p_lo_start() argument [all...] |
| H A D | README | 4 Copyright (c) 2003-2024, Jouni Malinen <j@w1.fi> and contributors 16 ------- 32 3. Neither the name(s) of the above-listed copyright holder(s) nor the 51 - [all...] |
| H A D | ap.c | 2 * WPA Supplicant - Basic AP mode support routines 3 * Copyright (c) 2003-2009, Jouni Malinen <j@w1.fi> 52 if (conf->ieee80211ax) { in is_chanwidth160_supported() 55 he_cap = &mode->he_capab[IEEE80211_MODE_AP]; in is_chanwidth160_supported() 56 if (he_cap->phy_cap[HE_PHYCAP_CHANNEL_WIDTH_SET_IDX] & in is_chanwidth160_supported() 62 if (mode->vht_capab & (VHT_CAP_SUPP_CHAN_WIDTH_160MHZ | in is_chanwidth160_supported() 77 u8 channel = conf->channel; in wpas_conf_ap_vht() 81 if (!conf->secondary_channel) in wpas_conf_ap_vht() 85 if (ssid->max_oper_chwidth) in wpas_conf_ap_vht() 86 hostapd_set_oper_chwidth(conf, ssid->max_oper_chwidt in wpas_conf_ap_vht() 789 ap_public_action_rx(void * ctx,const u8 * buf,size_t len,int freq) ap_public_action_rx() argument 854 ap_vendor_action_rx(void * ctx,const u8 * buf,size_t len,int freq) ap_vendor_action_rx() argument 877 unsigned int freq = 0; ap_probe_req_rx() local 1627 wpas_ap_ch_switch(struct wpa_supplicant * wpa_s,int freq,int ht,int offset,int width,int cf1,int cf2,int finished) wpas_ap_ch_switch() argument [all...] |
| /freebsd-src/contrib/ntp/util/ |
| H A D | tg.c | 6 * broadcast timecode. Alternatively, it can generate the IRIG-B 24 * over the range 0-255. The signal generator by default uses WWV 26 * switches to IRIG-B format. 42 * the transmissionorder is low-order first as the frame is processed 44 * For IRIG the on-time marker M preceeds the first (units) bit, so its 64 #define SECOND 8000 /* one second of 125-us samples */ 68 #define IRIG 1 /* IRIG-B encoder */ 82 int c3000[] = {1, 48, 63, 70, 78, 82, 85, 89, 92, 94, /* 0-9 */ 83 96, 98, 99, 100, 101, 101, 102, 103, 103, 103, /* 10-19 */ 84 103, 103, 103, 103, 102, 101, 101, 100, 99, 98, /* 20-29 */ [all …]
|
| /freebsd-src/contrib/wpa/src/drivers/ |
| H A D | driver_privsep.c | 2 * WPA Supplicant - privilege separated driver interface 3 * Copyright (c) 2007-2009, Jouni Malinen <j@w1.fi> 34 res = sendto(drv->priv_socket, &cmd, sizeof(cmd), 0, in wpa_priv_reg_cmd() 35 (struct sockaddr *) &drv->priv_addr, in wpa_priv_reg_cmd() 36 sizeof(drv->priv_addr)); in wpa_priv_reg_cmd() 39 return res < 0 ? -1 : 0; in wpa_priv_reg_cmd() 58 msg.msg_name = &drv->priv_addr; in wpa_priv_cmd() 59 msg.msg_namelen = sizeof(drv->priv_addr); in wpa_priv_cmd() 61 if (sendmsg(drv->cmd_socket, &msg, 0) < 0) { in wpa_priv_cmd() 64 return -1; in wpa_priv_cmd() [all …]
|
| /freebsd-src/sys/powerpc/mpc85xx/ |
| H A D | platform_mpc85xx.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2008-2012 Semihalf. 133 switch (pvr) { in mpc85xx_probe() 154 if ((cpus = OF_finddevice("/cpus")) != -1) { in mpc85xx_attach() 167 ccsr = -1; in mpc85xx_attach() 168 for (name = soc_name_guesses; *name != NULL && ccsr == -1; name++) in mpc85xx_attach() 170 if (ccsr == -1) { in mpc85xx_attach() 187 if (ccsr == -1) in mpc85xx_attach() 190 OF_getprop(ccsr, "#size-cells", &scells, sizeof(scells)); in mpc85xx_attach() [all …]
|
| /freebsd-src/contrib/wpa/src/common/ |
| H A D | wpa_ctrl.h | 3 * Copyright (c) 2004-2017, Jouni Malinen <j@w1.fi> 16 /* wpa_supplicant control interface - fixed message prefixes */ 19 #define WPA_CTRL_REQ "CTRL-REQ-" 22 #define WPA_CTRL_RSP "CTRL-RSP-" 26 #define WPA_EVENT_CONNECTED "CTRL-EVENT-CONNECTED " 28 #define WPA_EVENT_DISCONNECTED "CTRL-EVENT-DISCONNECTE [all...] |
| /freebsd-src/sys/contrib/alpine-hal/ |
| H A D | al_hal_serdes_interface.h | 9 found at http://www.gnu.org/licenses/gpl-2.0.html 53 /* *INDENT-OFF* */ 57 /* *INDENT-ON* */ 178 * Tx de-emphasis parameters 183 AL_SERDES_TX_DEEMP_C_MINUS, /*< c(-1) */ 188 * select the input values location. 196 * Transmit Amplitude control signal. Used to define the full-scale 198 * 000 - Not Supported 199 * 001 - 952mVdiff-pkpk 200 * 010 - 1024mVdiff-pkpk [all …]
|
| /freebsd-src/sys/net80211/ |
| H A D | ieee80211.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 5 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 135 if (ic->ic_sup_rates[m].rs_nrates == 0) \ in ieee80211_chan_init() 136 ic->ic_sup_rates[m] = def; \ in ieee80211_chan_init() 141 KASSERT(0 < ic->ic_nchans && ic->ic_nchan in ieee80211_chan_init() 1040 mapgsm(u_int freq,u_int flags) mapgsm() argument 1054 mappsb(u_int freq,u_int flags) mappsb() argument 1063 ieee80211_mhz2ieee(u_int freq,u_int flags) ieee80211_mhz2ieee() argument 1288 is_vht160_valid_freq(uint16_t freq) is_vht160_valid_freq() argument 1301 is_vht80_valid_freq(uint16_t freq) is_vht80_valid_freq() argument 1314 addchan(struct ieee80211_channel chans[],int maxchans,int * nchans,uint8_t ieee,uint16_t freq,int8_t maxregpower,uint32_t flags) addchan() argument 1484 ieee80211_add_channel_cbw(struct ieee80211_channel chans[],int maxchans,int * nchans,uint8_t ieee,uint16_t freq,int8_t maxregpower,uint32_t chan_flags,const uint8_t bands[],int cbw_flags) ieee80211_add_channel_cbw() argument 1505 ieee80211_add_channel(struct ieee80211_channel chans[],int maxchans,int * nchans,uint8_t ieee,uint16_t freq,int8_t maxregpower,uint32_t chan_flags,const uint8_t bands[]) ieee80211_add_channel() argument 1514 findchannel(struct ieee80211_channel chans[],int nchans,uint16_t freq,uint32_t flags) findchannel() argument 1540 uint16_t freq; ieee80211_add_channel_ht40() local 1634 uint16_t freq; add_chanlist() local 1776 ieee80211_find_channel(struct ieee80211com * ic,int freq,int flags) ieee80211_find_channel() argument [all...] |
| H A D | ieee80211_scan_sta.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 99 (((const uint8_t *)(addr))[IEEE80211_ADDR_LEN - 1] % STA_HASHSIZE) 112 /* ap-related state */ 119 * for use. If non-zero the entry was deemed not suitable and it's 174 TAILQ_INIT(&st->st_entry); in sta_attach() 175 ss->ss_priv = st; in sta_attach() 186 struct sta_table *st = ss->ss_priv; in sta_detach() 194 nrefs--; /* NB: we assume caller locking */ in sta_detach() [all …]
|
| /freebsd-src/sys/arm/freescale/imx/ |
| H A D | imx_spi.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 31 * Driver for imx Enhanced Configurable SPI; master-mode only. 143 {"fsl,imx51-ecspi", true}, 144 {"fsl,imx53-ecspi", true}, 145 {"fsl,imx6dl-ecspi", true}, 146 {"fsl,imx6q-ecsp 229 spi_hw_setup(struct spi_softc * sc,u_int cs,u_int mode,u_int freq) spi_hw_setup() argument [all...] |
| /freebsd-src/sys/contrib/dev/ath/ath_hal/ar9300/ |
| H A D | ar9300_eeprom.c | 91 AH9300(ah)->calibration_data_source = source; in ar9300_calibration_data_set() 100 return AH9300(ah)->calibration_data_source; in ar9300_calibration_data_get() 114 AH9300(ah)->calibration_data_source_address = size; in ar9300_calibration_data_address_set() 123 return AH9300(ah)->calibration_data_source_address; in ar9300_calibration_data_address_get() 150 mptr = &ahp->ah_eeprom; in ar9300_eeprom_template_install() 163 return -1; in ar9300_eeprom_template_install() 174 nptr = -1; in ar9300_eeprom_restore_something() 180 AH9300(ah)->calibration_data_source = calibration_data_none; in ar9300_eeprom_restore_something() 181 AH9300(ah)->calibration_data_source_address = 0; in ar9300_eeprom_restore_something() 194 AH9300(ah)->calibration_data_source = calibration_data_none; in ar9300_eeprom_restore_something() [all …]
|