| /freebsd/contrib/wpa/src/drivers/ |
| H A D | driver_openbsd.c | 31 struct openbsd_driver_data *drv = priv; in wpa_driver_openbsd_get_ssid() local 36 os_strlcpy(ifr.ifr_name, drv->ifname, sizeof(ifr.ifr_name)); in wpa_driver_openbsd_get_ssid() 38 if (ioctl(drv->sock, SIOCG80211NWID, &ifr) < 0 || in wpa_driver_openbsd_get_ssid() 40 return -1; in wpa_driver_openbsd_get_ssid() 49 struct openbsd_driver_data *drv = priv; in wpa_driver_openbsd_get_bssid() local 50 struct ieee80211_bssid id; in wpa_driver_openbsd_get_bssid() local 52 os_strlcpy(id.i_name, drv->ifname, sizeof(id.i_name)); in wpa_driver_openbsd_get_bssid() 53 if (ioctl(drv->sock, SIOCG80211BSSID, &id) < 0) in wpa_driver_openbsd_get_bssid() 54 return -1; in wpa_driver_openbsd_get_bssid() 56 os_memcpy(bssid, id.i_bssid, IEEE80211_ADDR_LEN); in wpa_driver_openbsd_get_bssid() [all …]
|
| H A D | driver_nl80211_event.c | 2 * Driver interaction with Linux nl80211/cfg80211 - Event processing 3 * Copyright (c) 2002-2017, Jouni Malinen <j@w1.fi> 5 * Copyright (c) 2009-2010, Atheros Communications 16 #include "common/qca-vendor.h" 17 #include "common/qca-vendor-attr.h" 197 static void mlme_event_auth(struct wpa_driver_nl80211_data *drv, in mlme_event_auth() argument 203 if (!(drv->capa.flags & WPA_DRIVER_FLAGS_SME) && in mlme_event_auth() 204 drv->force_connect_cmd) { in mlme_event_auth() 216 if (len < 24 + sizeof(mgmt->u.auth)) { in mlme_event_auth() 222 os_memcpy(drv->auth_bssid, mgmt->sa, ETH_ALEN); in mlme_event_auth() [all …]
|
| H A D | driver_nl80211.c | 3 * Copyright (c) 2002-2015, Jouni Malinen <j@w1.fi> 4 * Copyright (c) 2003-2004, Instant802 Networks, Inc. 5 * Copyright (c) 2005-2006, Devicescape Software, Inc. 7 * Copyright (c) 2009-2010, Atheros Communications 27 #include "common/qca-vendor.h" 28 #include "common/qca-vendor-attr.h" 57 NLMSGERR_ATTR_MAX = __NLMSGERR_ATTR_MAX - 1 164 wpa_driver_nl80211_finish_drv_init(struct wpa_driver_nl80211_data *drv, 176 #define IFIDX_ANY -1 178 static void add_ifidx(struct wpa_driver_nl80211_data *drv, int ifidx, [all …]
|
| H A D | driver_macsec_qca.c | 3 * Copyright (c) 2005-2009, Jouni Malinen <j@w1.fi> 5 * Copyright (c) 2013-2014, Qualcomm Atheros, Inc. 85 static void __macsec_drv_init(struct macsec_qca_data *drv) in __macsec_drv_init() argument 91 wpa_printf(MSG_INFO, "%s: secy_id=%d", __func__, drv->secy_id); in __macsec_drv_init() 94 ret = nss_macsec_secy_en_set(drv->secy_id, true); in __macsec_drv_init() 98 ret = nss_macsec_secy_sc_sa_mapping_mode_set(drv->secy_id, in __macsec_drv_init() 109 ret = nss_macsec_secy_rx_ctl_filt_set(drv->secy_id, 0, &rx_ctl_filt); in __macsec_drv_init() 118 ret = nss_macsec_secy_tx_ctl_filt_set(drv->secy_id, 0, &tx_ctl_filt); in __macsec_drv_init() 124 static void __macsec_drv_deinit(struct macsec_qca_data *drv) in __macsec_drv_deinit() argument 126 nss_macsec_secy_en_set(drv->secy_id, false); in __macsec_drv_deinit() [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/soc/qcom/ |
| H A D | qcom,rpmh-rsc.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/soc/qcom/qcom,rpmh-rsc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bjorn Andersson <bjorn.andersson@linaro.org> 19 The hardware block (Direct Resource Voter or DRV) is a part of the h/w entity 22 be written to from Linux. The structure of each DRV follows the same template 27 ACTIVE - Triggered by Linux 28 SLEEP - Triggered by F/W 29 WAKE - Triggered by F/W [all …]
|
| H A D | rpmh-rsc.txt | 2 ------------ 10 The hardware block (Direct Resource Voter or DRV) is a part of the h/w entity 13 be written to from Linux. The structure of each DRV follows the same template 17 have powered off to facilitate idle power saving. TCS could be classified as - 35 - compatible: 38 Definition: Should be "qcom,rpmh-rsc". 40 - reg: 42 Value type: <prop-encoded-array> 44 DRV(s). The number of DRVs in the dependent on the RSC. 45 The tcs-offset specifies the start address of the [all …]
|
| /freebsd/sys/contrib/dev/iwlwifi/ |
| H A D | iwl-drv.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 3 * Copyright (C) 2005-2014, 2018-2025 Intel Corporation 4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 5 * Copyright (C) 2016-2017 Intel Deutschland GmbH 11 #include <linux/dma-mapping.h> 16 #include "iwl-drv.h" 17 #include "iwl-csr.h" 18 #include "iwl-debug.h" 19 #include "iwl-trans.h" 20 #include "iwl-op-mode.h" [all …]
|
| /freebsd/stand/libsa/ |
| H A D | netif.c | 50 * This decision is to keep iodesc id management simple - we get list 71 struct netif_driver *drv; in netif_init() local 79 drv = netif_drivers[d]; in netif_init() 80 for (i = 0; i < drv->netif_nifs; i++) in netif_init() 81 drv->netif_ifs[i].dif_used = 0; in netif_init() 88 struct netif_driver *drv = nif->nif_driver; in netif_match() local 92 printf("%s%d: netif_match (%d)\n", drv->netif_bname, in netif_match() 93 nif->nif_unit, nif->nif_sel); in netif_match() 95 return drv->netif_match(nif, machdep_hint); in netif_match() 102 struct netif_driver *drv; in netif_select() local [all …]
|
| /freebsd/sys/contrib/dev/athk/ath10k/ |
| H A D | zzz_fw_ports_fwget.sh | 2 #- 3 # SPDX-License-Identifier: BSD-2-Clause 15 # linux-firmware.git repository you point this script to. 18 set -e 25 # Check pre-reqs 27 if [ $# -ne 1 ]; then 28 printf "USAGE: %s /path/to/linux-firmware.git\n" $0 >&2 32 if [ ! -e ${CHECKFILE} ]; then 38 if test ! -d ${LFWDIR} -o ! -e ${LFWDIR}/WHENCE; then 39 printf "ERROR: cannot find linux-firmware.git at '%s'\n" ${LFWDIR} >&2 [all …]
|
| /freebsd/sys/contrib/dev/athk/ath12k/ |
| H A D | zzz_fw_ports_fwget.sh | 2 #- 3 # SPDX-License-Identifier: BSD-2-Clause 15 # linux-firmware.git repository you point this script to. 18 set -e 25 # Check pre-reqs 27 if [ $# -ne 1 ]; then 28 printf "USAGE: %s /path/to/linux-firmware.git\n" $0 >&2 32 if [ ! -e ${CHECKFILE} ]; then 38 if test ! -d ${LFWDIR} -o ! -e ${LFWDIR}/WHENCE; then 39 printf "ERROR: cannot find linux-firmware.git at '%s'\n" ${LFWDIR} >&2 [all …]
|
| /freebsd/sys/contrib/dev/athk/ath11k/ |
| H A D | zzz_fw_ports_fwget.sh | 2 #- 3 # SPDX-License-Identifier: BSD-2-Clause 15 # linux-firmware.git repository you point this script to. 18 set -e 25 # Check pre-reqs 27 if [ $# -ne 1 ]; then 28 printf "USAGE: %s /path/to/linux-firmware.git\n" $0 >&2 32 if [ ! -e ${CHECKFILE} ]; then 38 if test ! -d ${LFWDIR} -o ! -e ${LFWDIR}/WHENCE; then 39 printf "ERROR: cannot find linux-firmware.git at '%s'\n" ${LFWDIR} >&2 [all …]
|
| /freebsd/sys/contrib/dev/mediatek/mt76/ |
| H A D | zzz_fw_ports_fwget.sh | 2 #- 3 # SPDX-License-Identifier: BSD-2-Clause 5 # Copyright (c) 2024-2025 The FreeBSD Foundation 15 # linux-firmware.git repository you point this script to. 21 set -e 29 # Check pre-reqs 31 if [ $# -ne 1 ]; then 32 printf "USAGE: %s /path/to/linux-firmware.git\n" $0 >&2 36 if [ ! -e ${CHECKFILE} ]; then 42 if test ! -d ${LFWDIR} -o ! -e ${LFWDIR}/WHENCE; then [all …]
|
| /freebsd/sys/dev/qlnx/qlnxe/ |
| H A D | storage_common.h | 2 * Copyright (c) 2017-2018 Cavium, Inc. 36 // Each Resource ID is one-one-valued mapped by the driver to a BDQ Resource ID (for instance per p… 39 // ID 0 : RQ, ID 1 : IMMEDIATE_DATA, ID 2 : TQ 61 * iSCSI Drv opaque 88 * Scsi Drv BDQ struct 115 * Scsi Drv CMDQ struct 119 __le16 cmdq_cons /* CMDQ consumer - updated by driver when CMDQ is consumed */; 144 …resource_id /* Each function-init Ramrod maps its funciton ID to a BDQ function ID, each BDQ funct… 156 …EUES_SOC_NUM_OF_BLOCKS_LOG_MASK 0x7 /* Relevant for TQe SOC option - num of blocks in SGE - log */ 163 u8 bdq_pbl_num_entries[BDQ_NUM_IDS] /* Per BDQ ID, the PBL page size (number of entries in PBL) */; [all …]
|
| /freebsd/sys/contrib/device-tree/src/riscv/starfive/ |
| H A D | jh7110-pine64-star64.dts | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 6 /dts-v1/; 7 #include "jh7110-common.dtsi" 18 starfive,tx-use-rgmii-clk; 19 assigned-clocks = <&aoncrg JH7110_AONCLK_GMAC0_TX>; 20 assigned-clock-parents = <&aoncrg JH7110_AONCLK_GMAC0_RMII_RTX>; 25 phy-handle = <&phy1>; 26 phy-mode = "rgmii-id"; 27 starfive,tx-use-rgmii-clk; 28 assigned-clocks = <&syscrg JH7110_SYSCLK_GMAC1_TX>; [all …]
|
| /freebsd/sys/contrib/device-tree/src/arm64/rockchip/ |
| H A D | rk3328-orangepi-r1-plus-lts.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 * Copyright (c) 2021-2023 Tianling Shen <cnsztl@gmail.com> 9 /dts-v1/; 11 #include "rk3328-orangepi-r1-plus.dtsi" 15 compatible = "xunlong,orangepi-r1-plus-lts", "rockchip,rk3328"; 19 phy-handle = <&yt8531c>; 20 phy-mode = "rgmii-id"; 24 yt8531c: ethernet-phy@0 { 25 compatible = "ethernet-phy-ieee802.3-c22"; 28 motorcomm,auto-sleep-disabled; [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/mmc/ |
| H A D | nvidia,tegra20-sdhci.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mmc/nvidia,tegra20-sdhci.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 18 mmc-controller.yaml and the properties for the Tegra SDHCI controller. 23 - enum: 24 - nvidia,tegra20-sdhci 25 - nvidia,tegra30-sdhci [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/pinctrl/ |
| H A D | samsung,pinctrl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/samsung,pinctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 11 - Sylwester Nawrocki <s.nawrocki@samsung.com> 12 - Tomasz Figa <tomasz.figa@gmail.com> 22 - External GPIO interrupts (see interrupts property in pin controller node); 24 - External wake-up interrupts - multiplexed (capable of waking up the system 25 see interrupts property in external wake-up interrupt controller node - [all …]
|
| /freebsd/sys/contrib/device-tree/src/arm/samsung/ |
| H A D | exynos5250-snow-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/clock/maxim,max77686.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/sound/samsung-i2 [all...] |
| /freebsd/sys/contrib/dev/rtw88/ |
| H A D | zzz_fw_ports_fwget.sh | 2 #- 3 # SPDX-License-Identifier: BSD-2-Clause 15 # linux-firmware.git repository you point this script to. 18 set -e 25 # Check pre-reqs 27 if [ $# -ne 1 ]; then 28 printf "USAGE: %s /path/to/linux-firmware.git\n" $0 >&2 32 if [ ! -e ${CHECKFILE} ]; then 38 if test ! -d ${LFWDIR} -o ! -e ${LFWDIR}/WHENCE; then 39 printf "ERROR: cannot find linux-firmware.git at '%s'\n" ${LFWDIR} >&2 [all …]
|
| /freebsd/contrib/ncurses/ncurses/base/ |
| H A D | lib_endwin.c | 3 * Copyright 1998-2014,2017 Free Software Foundation, Inc. * 31 * Author: Zeyd M. Ben-Halim <zmbenhal@netcom.com> 1992,1995 * 33 * and: Thomas E. Dickey 1996-on * 46 MODULE_ID("$Id: lib_endwin.c,v 1.28 2023/11/11 21:27:32 tom Exp $") 56 if (SP_PARM->_endwin != ewSuspend) { in NCURSES_EXPORT() 60 SP_PARM->_endwin = ewSuspend; in NCURSES_EXPORT() 61 if (TCB && TCB->drv && TCB->drv->td_scexit) in NCURSES_EXPORT() 62 TCB->drv->td_scexit(SP_PARM); in NCURSES_EXPORT() 64 SP_PARM->_endwin = ewSuspend; in NCURSES_EXPORT() 65 SP_PARM->_mouse_wrap(SP_PARM); in NCURSES_EXPORT()
|
| /freebsd/sys/contrib/device-tree/Bindings/phy/ |
| H A D | mediatek,hdmi-phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/phy/mediatek,hdmi-phy.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Chun-Kuang Hu <chunkuang.hu@kernel.org> 12 - Philipp Zabel <p.zabel@pengutronix.de> 13 - Chunfeng Yun <chunfeng.yun@mediatek.com> 16 The HDMI PHY serializes the HDMI encoder's three channel 10-bit parallel 21 pattern: "^hdmi-phy@[0-9a-f]+$" 25 - items: [all …]
|
| /freebsd/sys/contrib/dev/rtw89/ |
| H A D | zzz_fw_ports_fwget.sh | 2 #- 3 # SPDX-License-Identifier: BSD-2-Clause 15 # linux-firmware.git repository you point this script to. 18 set -e 25 # Check pre-reqs 27 if [ $# -ne 1 ]; then 28 printf "USAGE: %s /path/to/linux-firmware.git\n" $0 >&2 32 if [ ! -e ${CHECKFILE} ]; then 38 if test ! -d ${LFWDIR} -o ! -e ${LFWDIR}/WHENCE; then 39 printf "ERROR: cannot find linux-firmware.git at '%s'\n" ${LFWDIR} >&2 [all …]
|
| /freebsd/contrib/ncurses/ncurses/tinfo/ |
| H A D | lib_cur_term.c | 2 ,* Copyright 2020-2021,2022 Thomas E. Dickey * 3 * Copyright 1998-2016,2017 Free Software Foundation, Inc. * 44 MODULE_ID("$Id: lib_cur_term.c,v 1.49 2022/05/28 17:56:55 tom Exp $") 90 SP_PARM->_term = termp; in NCURSES_SP_NAME() 99 ospeed = (NCURSES_OSPEED) _nc_ospeed(termp->_baudrate); in NCURSES_SP_NAME() 100 if (TCB->drv && in NCURSES_SP_NAME() 101 TCB->drv->isTerminfo && in NCURSES_SP_NAME() 105 TCB->csp = SP_PARM; in NCURSES_SP_NAME() 107 ospeed = (NCURSES_OSPEED) _nc_ospeed(termp->_baudrate); in NCURSES_SP_NAME() 151 _nc_free_termtype1(&termp->type); in NCURSES_SP_NAME() [all …]
|
| /freebsd/sys/dev/mlx4/mlx4_en/ |
| H A D | mlx4_en_netdev.c | 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 67 if_t dev = cq->dev; in mlx4_en_low_latency_recv() 69 struct mlx4_en_rx_ring *rx_ring = priv->rx_ring[cq->ring]; in mlx4_en_low_latency_recv() 72 if (!priv->port_up) in mlx4_en_low_latency_recv() 81 rx_ring->cleaned += done; in mlx4_en_low_latency_recv() 83 rx_ring->misses++; in mlx4_en_low_latency_recv() 106 u32 flow_id; /* RFS infrastructure id */ 107 int id; /* mlx4_en driver id */ member 108 u64 reg_id; /* Flow steering API id */ [all …]
|
| /freebsd/usr.sbin/dumpcis/ |
| H A D | cardinfo.h | 4 *------------------------------------------------------------------------- 6 /*- 7 * SPDX-License-Identifier: BSD-3-Clause 49 #define PIOCRWFLAG _IOW('P', 7, int) /* Set flags for drv use */ 50 #define PIOCRWMEM _IOWR('P', 8, unsigned long) /* Set mem for drv use */ 67 * ------------------- 70 * resume +----------+ power x 0 +----------+ 71 * ------->| inactive |<--------------| filled | 72 * / +----------+ +----------+ 74 * nil <--------- \ insert or | | suspend or [all …]
|