/freebsd-src/sys/contrib/device-tree/Bindings/net/ |
H A D | rfkill-gpio.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/rfkill-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: GPIO controlled rfkill switch 10 - Johannes Berg <johannes@sipsolutions.net> 11 - Philipp Zabel <p.zabel@pengutronix.de> 15 const: rfkill-gpio 18 description: rfkill switch name, defaults to node name 20 radio-type: [all …]
|
/freebsd-src/sys/contrib/device-tree/src/arm/nxp/imx/ |
H A D | imx6qdl-var-som.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Support for Variscite VAR-SOM-MX6 Module 7 * Copyright (C) 2014-2016 Variscite, Ltd. 12 /dts-v1/; 15 #include <dt-bindings/clock/imx6qdl-clock.h> 16 #include <dt-binding [all...] |
H A D | imx7d-smegw01.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 13 compatible = "storopack,imx7d-smegw01", "fsl,imx7d"; 26 stdout-path = &uart1; 34 reg_lte_on: regulator-lte-on { 35 compatible = "regulator-fixed"; 36 pinctrl-names = "default"; 37 pinctrl-0 = <&pinctrl_lte_on>; 38 regulator-min-microvolt = <3300000>; [all …]
|
/freebsd-src/sys/contrib/device-tree/Bindings/pinctrl/ |
H A D | brcm,iproc-gpio.txt | 1 Broadcom iProc GPIO/PINCONF Controller 5 - compatible: 6 "brcm,iproc-gpio" for the generic iProc based GPIO controller IP that 7 supports full-featured pinctrl and GPIO functions used in various iProc 10 May contain an SoC-specific compatibility string to accommodate any 11 SoC-specific features 13 "brcm,cygnus-ccm-gpio", "brcm,cygnus-asiu-gpio", or 14 "brcm,cygnus-crmu-gpio" for Cygnus SoCs 16 "brcm,iproc-nsp-gpio" for the iProc NSP SoC that has drive strength support 19 "brcm,iproc-stingray-gpio" for the iProc Stingray SoC that has the general [all …]
|
/freebsd-src/sys/contrib/device-tree/src/arm/broadcom/ |
H A D | bcm4709-netgear-r7000.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 9 /dts-v1/; 12 #include "bcm5301x-nand-cs0-bch8.dtsi" 29 compatible = "gpio-leds"; 31 led-power-white { 34 linux,default-trigger = "default-on"; 37 led-power-amber { 42 led-5ghz { 47 led-2ghz { 52 led-wps { [all …]
|
H A D | bcm4708-asus-rt-ac68u.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 4 * DTS for Asus RT-AC68U 9 /dts-v1/; 12 #include "bcm5301x-nand-cs0-bch8.dtsi" 15 compatible = "asus,rt-ac68u", "brcm,bcm4708"; 16 model = "Asus RT-AC68U (BCM4708)"; 29 compatible = "gpio-leds"; 31 led-usb2 { 36 led-power { 39 linux,default-trigger = "default-on"; [all …]
|
H A D | bcm4708-netgear-r6300-v2.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 9 /dts-v1/; 12 #include "bcm5301x-nand-cs0-bch8.dtsi" 15 compatible = "netgear,r6300-v2", "brcm,bcm4708"; 29 compatible = "gpio-leds"; 31 led-logo { 34 linux,default-trigger = "default-on"; 37 led-power0 { 42 led-power1 { 45 linux,default-trigger = "default-on"; [all …]
|
H A D | bcm4708-asus-rt-ac56u.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 4 * DTS for Asus RT-AC56U 9 /dts-v1/; 12 #include "bcm5301x-nand-cs0-bch8.dtsi" 15 compatible = "asus,rt-ac56u", "brcm,bcm4708"; 16 model = "Asus RT-AC56U (BCM4708)"; 29 compatible = "gpio-leds"; 31 led-usb3 { 36 led-wan { 41 led-lan { [all …]
|
H A D | bcm47081-tplink-archer-c5-v2.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 /dts-v1/; 11 compatible = "tplink,archer-c5-v2", "brcm,bcm47081", "brcm,bcm4708"; 12 model = "TP-LINK Archer C5 V2"; 24 compatible = "gpio-leds"; 26 led-2ghz { 31 led-lan { 36 led-usb2-port1 { 37 label = "bcm53xx:green:usb2-port1"; 39 trigger-sources = <&ohci_port1>, <&ehci_port1>; [all …]
|
H A D | bcm4708-netgear-r6250.dts | 5 * Copyright 2013 Hauke Mehrtens <hauke@hauke-m.de> 10 /dts-v1/; 13 #include "bcm5301x-nand-cs0-bch8.dtsi" 16 compatible = "netgear,r6250-v1", "brcm,bcm4708"; 30 compatible = "gpio-leds"; 32 led-logo { 35 linux,default-trigger = "default-on"; 38 led-power0 { 41 linux,default-trigger = "default-on"; 44 led-power1 { [all …]
|
H A D | bcm47094-netgear-r8500.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 /dts-v1/; 9 #include "bcm5301x-nand-cs0-bch8.dtsi" 26 compatible = "gpio-leds"; 28 led-power0 { 31 linux,default-trigger = "default-on"; 34 led-power1 { 39 led-5ghz-1 { 40 label = "bcm53xx:white:5ghz-1"; 44 led-5ghz-2 { [all …]
|
H A D | bcm47189-tenda-ac9.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 /dts-v1/; 23 leds-0 { 24 compatible = "gpio-leds"; 26 led-usb { 29 trigger-sources = <&ohci_port1>, <&ehci_port1>; 30 linux,default-trigger = "usbport"; 33 led-wps { 38 led-5ghz { 43 led-system { [all …]
|
H A D | bcm4708-smartrg-sr400ac.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 9 /dts-v1/; 12 #include "bcm5301x-nand-cs0-bch8.dtsi" 29 compatible = "gpio-leds"; 31 led-power-white { 34 linux,default-trigger = "default-on"; 37 led-power-amber { 42 led-usb2 { 45 trigger-sources = <&ohci_port2>, <&ehci_port2>; 46 linux,default-trigger = "usbport"; [all …]
|
H A D | bcm4709-netgear-r8000.dts | 20 /dts-v1/; 23 #include "bcm5301x-nand-cs0-bch8.dtsi" 40 compatible = "gpio-leds"; 42 led-power-white { 45 linux,default-trigger = "default-on"; 48 led-power-amber { 53 led-wan-white { 56 linux,default-trigger = "default-on"; 59 led-wan-amber { 64 led-5ghz-1 { [all …]
|
H A D | bcm47094-linksys-panamera.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 /dts-v1/; 9 #include "bcm5301x-nand-cs0-bch8.dtsi" 30 gpio-keys { 31 compatible = "gpio-keys"; 33 button-wps { 39 button-rfkill { 45 button-reset { 53 compatible = "gpio-leds"; 55 led-wps { [all …]
|
/freebsd-src/sys/dev/ath/ath_hal/ar5210/ |
H A D | ar5210_misc.c | 1 /*- 2 * SPDX-License-Identifier: ISC 4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 5 * Copyright (c) 2002-2004 Atheros Communications, Inc. 30 #define AR_NUM_GPIO 6 /* 6 GPIO bits */ 31 #define AR_GPIOD_MASK 0x2f /* 6-bit mask */ 38 OS_MEMCPY(mac, ahp->ah_macaddr, IEEE80211_ADDR_LEN); in ar5210GetMacAddress() 46 OS_MEMCPY(ahp->ah_macaddr, mac, IEEE80211_ADDR_LEN); in ar5210SetMacAddress() 101 if (AH_PRIVATE(ah)->ah_currentRD == regDomain) { in ar5210SetRegulatoryDomain() 108 * permit re-writing that segment of the EEPROM. in ar5210SetRegulatoryDomain() [all …]
|
/freebsd-src/sys/dev/ath/ath_hal/ar5211/ |
H A D | ar5211_misc.c | 1 /*- 2 * SPDX-License-Identifier: ISC 4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 5 * Copyright (c) 2002-2006 Atheros Communications, Inc. 30 #define AR_NUM_GPIO 6 /* 6 GPIO bits */ 31 #define AR_GPIOD_MASK 0x2f /* 6-bit mask */ 38 OS_MEMCPY(mac, ahp->ah_macaddr, IEEE80211_ADDR_LEN); in ar5211GetMacAddress() 46 OS_MEMCPY(ahp->ah_macaddr, mac, IEEE80211_ADDR_LEN); in ar5211SetMacAddress() 104 if (AH_PRIVATE(ah)->ah_currentRD == regDomain) { in ar5211SetRegulatoryDomain() 111 * permit re-writing that segment of the EEPROM. in ar5211SetRegulatoryDomain() [all …]
|
/freebsd-src/sys/dev/ath/ |
H A D | if_ath_sysctl.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 116 slottime = ath_hal_getslottime(sc->sc_ah); in ath_sysctl_slottime() 120 if (error || !req->newptr) in ath_sysctl_slottime() 123 error = !ath_hal_setslottime(sc->sc_ah, slottime) ? EINVAL : 0; in ath_sysctl_slottime() 142 acktimeout = ath_hal_getacktimeout(sc->sc_ah); in ath_sysctl_acktimeout() 146 if (error || !req->newptr) in ath_sysctl_acktimeout() 149 error = !ath_hal_setacktimeout(sc->sc_ah, acktimeout) ? EINVAL : 0; in ath_sysctl_acktimeout() 168 ctstimeout = ath_hal_getctstimeout(sc->sc_ah); in ath_sysctl_ctstimeout() [all …]
|
H A D | if_athvar.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 86 * The following bits can be set during the PCI (and perhaps non-PCI 108 * and station state to short-circuit node lookups on rx. 122 * Per-TID state 124 * Note that TID 16 (WME_NUM_TID+1) is for handling non-QoS frames. 148 * These are flags - perhaps later collapse 158 * from aggregation to non-aggregation? 162 * TXed/completed; at which point (non-aggregation) [all …]
|
/freebsd-src/sys/dev/iwi/ |
H A D | if_iwivar.h | 2 /*- 3 * SPDX-License-Identifier: BSD-2-Clause 169 * dma-ble memory around until detach time, and reallocate it when 200 sc_softled : 1, /* enable LED gpio status */ 214 struct callout sc_rftimer; /* rfkill timer */ 228 KASSERT(_sc->fw_state == IWI_FW_IDLE, \ 229 ("iwi firmware not idle, state %s", iwi_fw_states[_sc->fw_state]));\ 230 _sc->fw_state = _state; \ 231 _sc->sc_state_timer = 5; \ 236 if (_sc->fw_state == _state) \ [all …]
|
/freebsd-src/sys/dev/ath/ath_hal/ar5212/ |
H A D | ar5212_misc.c | 1 /*- 2 * SPDX-License-Identifier: ISC 4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 5 * Copyright (c) 2002-2008 Atheros Communications, Inc. 32 #define AR_NUM_GPIO 6 /* 6 GPIO pins */ 33 #define AR_GPIOD_MASK 0x0000002F /* GPIO data reg r/w mask */ 40 OS_MEMCPY(mac, ahp->ah_macaddr, IEEE80211_ADDR_LEN); in ar5212GetMacAddress() 48 OS_MEMCPY(ahp->ah_macaddr, mac, IEEE80211_ADDR_LEN); in ar5212SetMacAddress() 57 OS_MEMCPY(mask, ahp->ah_bssidmask, IEEE80211_ADDR_LEN); in ar5212GetBssIdMask() 66 OS_MEMCPY(ahp->ah_bssidmask, mask, IEEE80211_ADDR_LEN); in ar5212SetBssIdMask() [all …]
|
/freebsd-src/sys/contrib/dev/iwlwifi/ |
H A D | iwl-csr.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2005-2014, 2018-2024 Intel Corporation 4 * Copyright (C) 2013-2014 Intel Mobile Communications GmbH 14 * low power states due to driver-invoked device resets 15 * (e.g. CSR_RESET_REG_FLAG_SW_RESET) or uCode-drive [all...] |
/freebsd-src/sys/contrib/dev/ath/ath_hal/ar9300/ |
H A D | ar9300_misc.c | 59 ahp->ah_hang_wars = *hangs; in ar9300_get_hw_hangs() 64 * HT20, HT40, fast-clock, turbo mode, etc. 70 const struct ieee80211_channel *chan = AH_PRIVATE(ah)->ah_curchan; in ar9300_mac_to_usec() 85 const struct ieee80211_channel *chan = AH_PRIVATE(ah)->ah_curchan; in ar9300_mac_to_clks() 101 OS_MEMCPY(mac, ahp->ah_macaddr, IEEE80211_ADDR_LEN); in ar9300_get_mac_address() 109 OS_MEMCPY(ahp->ah_macaddr, mac, IEEE80211_ADDR_LEN); in ar9300_set_mac_address() 118 OS_MEMCPY(mask, ahp->ah_bssid_mask, IEEE80211_ADDR_LEN); in ar9300_get_bss_id_mask() 127 OS_MEMCPY(ahp->ah_bssid_mask, mask, IEEE80211_ADDR_LEN); in ar9300_set_bss_id_mask() 129 OS_REG_WRITE(ah, AR_BSSMSKL, LE_READ_4(ahp->ah_bssid_mask)); in ar9300_set_bss_id_mask() 130 OS_REG_WRITE(ah, AR_BSSMSKU, LE_READ_2(ahp->ah_bssid_mas in ar9300_set_bss_id_mask() [all...] |
/freebsd-src/sys/dev/ath/ath_hal/ |
H A D | ah_internal.h | 1 /*- 2 * SPDX-License-Identifier: ISC 4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 5 * Copyright (c) 2002-2008 Atheros Communications, Inc. 38 #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) /* to any y */ 41 #define howmany(x, y) (((x)+((y)-1))/(y)) 45 #define offsetof(type, field) ((size_t)(&((type *)0)->field)) 66 HAL_TP_SCALE_50 = 1, /* 50% of max (-3 dBm) */ 67 HAL_TP_SCALE_25 = 2, /* 25% of max (-6 dBm) */ 68 HAL_TP_SCALE_12 = 3, /* 12% of max (-9 dBm) */ [all …]
|
/freebsd-src/sys/contrib/dev/athk/ath10k/ |
H A D | wmi-tlv.c | 1 // SPDX-License-Identifier: ISC 3 * Copyright (c) 2005-2011 Atheros Communications Inc. 4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc. 5 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. 12 #include "wmi-ops.h" 13 #include "wmi-tlv.h" 92 ptr - begin, len, sizeof(*tlv)); in ath10k_wmi_tlv_iter() 93 return -EINVAL; in ath10k_wmi_tlv_iter() 101 tlv_tag = __le16_to_cpu(tlv->tag); in ath10k_wmi_tlv_iter() 102 tlv_len = __le16_to_cpu(tlv->len); in ath10k_wmi_tlv_iter() [all …]
|