/openbmc/linux/arch/powerpc/boot/dts/fsl/ |
H A D | t1040rdb.dts | 4 * Copyright 2014 - 2015 Freescale Semiconductor Inc. 6 * Redistribution and use in source and binary forms, with or without 10 * * Redistributions in binary form must reproduce the above copyright 11 * notice, this list of conditions and the following disclaimer in the 26 * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY 30 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 31 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 35 /include/ "t104xsi-pre.dtsi" 49 fixed-link = <0 1 1000 0 0>; 50 phy-connection-type = "sgmii"; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/net/dsa/ |
H A D | mscc,ocelot.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR MIT) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Vladimir Oltean <vladimir.oltean@nxp.com> 11 - Claudiu Manoil <claudiu.manoil@nxp.com> 12 - Alexandre Belloni <alexandre.belloni@bootlin.com> 13 - UNGLinuxDriver@microchip.com 16 There are multiple switches which are either part of the Ocelot-1 family, or 17 derivatives of this architecture. These switches can be found embedded in 22 Frame DMA or register-based I/O. [all …]
|
/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | lpc32xx_nand_mlc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 10 * The MLC NAND flash controller provides hardware Reed-Solomon ECC 11 * covering in- and out-of-band data together. Therefore, in- and out- 12 * of-band data must be written together in order to have a valid ECC. 14 * Consequently, pages with meaningful in-band data are written with 15 * blank (all-ones) out-of-band data and a valid ECC, and any later 16 * out-of-band data write will void the ECC. 18 * Therefore, code which reads such late-written out-of-band data 62 #define ICR_ADDR4 0x00000002 /* configure for 4-word addrs */ 75 /* time-out for NAND chip / controller loops, in us */ [all …]
|
/openbmc/linux/arch/arm64/boot/dts/freescale/ |
H A D | fsl-ls1028a-qds-85bb.dtso | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 * Copyright 2019-2021 NXP 8 * Requires a SCH-24801 card in slot 1 and a SCH-28021 card in slot 2. 11 /dts-v1/; 15 #address-cells = <1>; 16 #size-cells = <0>; 18 slot1_sgmii: ethernet-phy@1c { 25 phy-handle = <&slot1_sgmii>; 26 phy-mode = "sgmii"; 27 managed = "in-band-status"; [all …]
|
H A D | fsl-ls1088a-rdb.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 * Copyright 2017-2020 NXP 11 /dts-v1/; 13 #include "fsl-ls1088a.dtsi" 17 compatible = "fsl,ls1088a-rdb", "fsl,ls1088a"; 21 phy-handle = <&mdio2_aquantia_phy>; 22 phy-connection-type = "10gbase-r"; 23 pcs-handle = <&pcs2>; 27 phy-handle = <&mdio1_phy5>; 28 phy-connection-type = "qsgmii"; [all …]
|
H A D | fsl-ls1028a-qds-13bb.dtso | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 * Copyright 2019-2021 NXP 8 * Requires a SCH-30841 card with lane A of connector rewired to PHY lane C. 9 * Set-up is a SCH-30842 card in slot 1 and SCH-30841 in slot 2. 12 /dts-v1/; 16 #address-cells = <1>; 17 #size-cells = <0>; 19 slot1_sgmii: ethernet-phy@2 { 22 compatible = "ethernet-phy-ieee802.3-c45"; 27 phy-handle = <&slot1_sgmii>; [all …]
|
H A D | fsl-ls1088a-ten64.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 * Based on fsl-ls1088a-rdb.dts 5 * Copyright 2017-2020 NXP 6 * Copyright 2019-2021 Traverse Technologies 11 /dts-v1/; 13 #include "fsl-ls1088a.dtsi" 15 #include <dt-bindings/gpio/gpio.h> 16 #include <dt-bindings/input/input.h> 28 stdout-path = "serial0:115200n8"; 32 compatible = "gpio-keys"; [all …]
|
H A D | fsl-ls1028a-qds-9999.dtso | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 * Copyright 2019-2021 NXP 8 * Requires a SCH-24801 card in slot 1. 11 /dts-v1/; 15 #address-cells = <1>; 16 #size-cells = <0>; 19 slot1_sgmii0: ethernet-phy@1c { 23 slot1_sgmii1: ethernet-phy@1d { 27 slot1_sgmii2: ethernet-phy@1e { 31 slot1_sgmii3: ethernet-phy@1f { [all …]
|
H A D | fsl-ls1028a-qds-65bb.dtso | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 * Copyright 2019-2021 NXP 8 * Requires a SCH-30842 card in slot 1 and a SCH-28021 card in slot 2. 11 /dts-v1/; 15 #address-cells = <1>; 16 #size-cells = <0>; 18 slot1_sgmii: ethernet-phy@2 { 21 compatible = "ethernet-phy-ieee802.3-c45"; 26 phy-handle = <&slot1_sgmii>; 27 phy-mode = "2500base-x"; [all …]
|
H A D | fsl-lx2160a-clearfog-itx.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 /dts-v1/; 10 #include "fsl-lx2160a-cex7.dtsi" 11 #include <dt-bindings/input/linux-event-codes.h> 20 stdout-path = "serial0:115200n8"; 23 gpio-keys { 24 compatible = "gpio-keys"; 28 linux,can-disable; 34 sfp0: sfp-0 { 36 i2c-bus = <&sfp0_i2c>; [all …]
|
H A D | fsl-ls1028a-kontron-kbox-a-230-ls.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Device Tree File for the Kontron KBox A-230-LS. 5 * This consists of a Kontron SMARC-sAL28 (Dual PHY) and a special 12 /dts-v1/; 13 #include "fsl-ls1028a-kontron-sl28-var4.dts" 14 #include <dt-bindings/leds/common.h> 17 model = "Kontron KBox A-230-LS"; 18 compatible = "kontron,kbox-a-230-ls", "kontron,sl28-var4", 22 compatible = "gpio-leds"; 24 alarm-led { [all …]
|
H A D | fsl-ls1028a-qds-899b.dtso | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 * Copyright 2019-2021 NXP 8 * Requires a SCH-24801 card in slot 1. 11 /dts-v1/; 15 #address-cells = <1>; 16 #size-cells = <0>; 19 slot1_sgmii0: ethernet-phy@1c { 23 slot1_sgmii1: ethernet-phy@1d { 27 slot1_sgmii2: ethernet-phy@1e { 31 slot1_sgmii3: ethernet-phy@1f { [all …]
|
H A D | fsl-ls1028a-rdb.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 * Copyright 2018-2021 NXP 11 /dts-v1/; 12 #include "fsl-ls1028a.dtsi" 16 compatible = "fsl,ls1028a-rdb", "fsl,ls1028a"; 38 stdout-path = "serial0:115200n8"; 46 sys_mclk: clock-mclk { 47 compatible = "fixed-clock"; 48 #clock-cells = <0>; 49 clock-frequency = <25000000>; [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | scan.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright(c) 2008 - 2014 Intel Corporation. All rights reserved. 18 #define IWL_ACTIVE_DWELL_TIME_24 (30) /* all times in msec */ 27 #define IWL_PASSIVE_DWELL_TIME_24 (20) /* all times in msec */ 43 __le32 *status; in iwl_send_scan_abort() local 48 if (!test_bit(STATUS_READY, &priv->status) || in iwl_send_scan_abort() 49 !test_bit(STATUS_SCAN_HW, &priv->status) || in iwl_send_scan_abort() 50 test_bit(STATUS_FW_ERROR, &priv->status)) in iwl_send_scan_abort() 51 return -EIO; in iwl_send_scan_abort() 57 status = (void *)cmd.resp_pkt->data; in iwl_send_scan_abort() [all …]
|
/openbmc/linux/arch/arm64/boot/dts/microchip/ |
H A D | sparx5_pcb134_board.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 10 gpio-restart { 11 compatible = "gpio-restart"; 17 compatible = "gpio-leds"; 53 default-state = "off"; 58 default-state = "off"; 63 default-state = "off"; 68 default-state = "off"; 73 default-state = "off"; [all …]
|
/openbmc/linux/drivers/net/wireless/rsi/ |
H A D | rsi_91x_mac80211.c | 6 * copyright notice and this permission notice appear in all copies. 10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 25 { .band = NL80211_BAND_2GHZ, .center_freq = 2412, 27 { .band = NL80211_BAND_2GHZ, .center_freq = 2417, 29 { .band = NL80211_BAND_2GHZ, .center_freq = 2422, 31 { .band = NL80211_BAND_2GHZ, .center_freq = 2427, 33 { .band = NL80211_BAND_2GHZ, .center_freq = 2432, 35 { .band = NL80211_BAND_2GHZ, .center_freq = 2437, [all …]
|
/openbmc/linux/arch/arm64/boot/dts/marvell/ |
H A D | armada-3720-turris-mox.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include <dt-bindings/bus/moxtet.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/input.h> 12 #include "armada-372x.dtsi" 16 compatible = "cznic,turris-mox", "marvell,armada3720", 28 stdout-path = "serial0:115200n8"; 37 compatible = "gpio-leds"; 41 linux,default-trigger = "default-on"; [all …]
|
/openbmc/linux/net/mac80211/ |
H A D | airtime.c | 1 // SPDX-License-Identifier: ISC 4 * Copyright (C) 2021-2022 Intel Corporation 16 /* Number of kilo-symbols (symbols * 1024) for a packet with (bps) bits per 17 * symbol. We use k-symbols to avoid rounding in the _TIME macros below. 21 /* Transmission time (in 1024 * usec) for a packet containing (ksyms) * 1024 37 /* These should match the values in enum nl80211_he_gi */ 42 /* Transmission time (1024 usec) for a packet containing (ksyms) * k-symbols */ 64 * Define group sort order: HT40 -> SGI -> #streams 87 _streams - 1 92 _MAX(0, 16 - __builtin_clz(duration)) [all …]
|
/openbmc/linux/arch/arm/boot/dts/nxp/vf/ |
H A D | vf610-zii-scu4-aib.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 // Copyright (C) 2016-2018 Zodiac Inflight Innovations 5 /dts-v1/; 10 compatible = "zii,vf610scu4-aib", "zii,vf610dev", "fsl,vf610"; 13 stdout-path = &uart0; 21 gpio-leds { 22 compatible = "gpio-leds"; 23 pinctrl-0 = <&pinctrl_leds_debug>; 24 pinctrl-names = "default"; 26 led-debug { [all …]
|
/openbmc/linux/drivers/net/wireless/ti/wlcore/ |
H A D | rx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 23 * operations are in place. 30 if (wl->quirks & WLCORE_QUIRK_RX_BLOCKSIZE_ALIGN) in wlcore_rx_get_buf_size() 39 if (wl->quirks & WLCORE_QUIRK_RX_BLOCKSIZE_ALIGN) in wlcore_rx_get_align_buf_size() 47 struct ieee80211_rx_status *status, in wl1271_rx_status() argument 50 memset(status, 0, sizeof(struct ieee80211_rx_status)); in wl1271_rx_status() 52 if ((desc->flags & WL1271_RX_DESC_BAND_MASK) == WL1271_RX_DESC_BAND_BG) in wl1271_rx_status() 53 status->band = NL80211_BAND_2GHZ; in wl1271_rx_status() 55 status->band = NL80211_BAND_5GHZ; in wl1271_rx_status() 57 status->rate_idx = wlcore_rate_to_idx(wl, desc->rate, status->band); in wl1271_rx_status() [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | scan.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 3 * Copyright (C) 2012-2014, 2018-2023 Intel Corporation 4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 5 * Copyright (C) 2016-2017 Intel Deutschland GmbH 13 #include "iwl-io.h" 28 /* adaptive dwell default high band APs number */ 30 /* adaptive dwell default low band APs number */ 32 /* adaptive dwell default APs number in social channels (1, 6, 11) */ 45 /* minimal number of 2GHz and 5GHz channels in the regular scan request */ 82 /* For CDB this is low band scan type, for non-CDB - type. */ [all …]
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | mac.c | 1 // SPDX-License-Identifier: ISC 12 #define to_rssi(field, rcpi) ((FIELD_GET(field, rcpi) - 220) / 2) 15 .pulse_th = { 110, -10, -80, 40, 5200, 128, 5200 }, 29 .pulse_th = { 110, -10, -80, 40, 5200, 128, 5200 }, 40 .pulse_th = { 110, -10, -80, 40, 5200, 128, 5200 }, 59 if (idx >= ARRAY_SIZE(dev->mt76.wcid)) in mt7915_rx_get_wcid() 62 wcid = rcu_dereference(dev->mt76.wcid[idx]); in mt7915_rx_get_wcid() 66 if (!wcid->sta) in mt7915_rx_get_wcid() 70 if (!sta->vif) in mt7915_rx_get_wcid() 73 return &sta->vif->sta.wcid; in mt7915_rx_get_wcid() [all …]
|
/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | s921.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (C) 2009-2010 Mauro Carvalho Chehab 7 * Copyright (C) 2009-2010 Douglas Landgraf <dougsland@redhat.com> 9 * Developed for Leadership SBTVD 1seg device sold in Brazil 51 * fixme: The bounds on the bands do not match the doc in real life. 207 rc = i2c_transfer(state->i2c, &msg, 1); in s921_i2c_writereg() 239 rc = i2c_transfer(state->i2c, msg, 2); in s921_i2c_readreg() 250 s921_i2c_readreg(state, state->config->demod_address, reg) 252 s921_i2c_writereg(state, state->config->demod_address, reg, val) 254 s921_i2c_writeregdata(state, state->config->demod_address, \ [all …]
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | mt792x_acpi_sar.c | 1 // SPDX-License-Identifier: ISC 11 struct mt76_dev *mdev = &dev->mt76; in mt792x_acpi_read() 14 acpi_status status; in mt792x_acpi_read() local 18 root = ACPI_HANDLE(mdev->dev); in mt792x_acpi_read() 20 return -EOPNOTSUPP; in mt792x_acpi_read() 22 status = acpi_get_handle(root, method, &handle); in mt792x_acpi_read() 23 if (ACPI_FAILURE(status)) in mt792x_acpi_read() 24 return -EIO; in mt792x_acpi_read() 26 status = acpi_evaluate_object(handle, NULL, NULL, &buf); in mt792x_acpi_read() 27 if (ACPI_FAILURE(status)) in mt792x_acpi_read() [all …]
|
/openbmc/linux/drivers/net/wireless/ath/wcn36xx/ |
H A D | txrx.c | 6 * copyright notice and this permission notice appear in all copies. 10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION 13 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 24 return 100 - ((bd->phy_stat0 >> 24) & 0xff); in get_rssi0() 29 return ((bd->phy_stat1 >> 24) & 0xff); in get_snr() 40 /* Buffer descriptor rx_ch field is limited to 5-bit (4+1), a mapping is used 134 /* 11ac 20 MHz 800ns GI MCS 0-8 */ 156 /* 11ac 20 MHz 400ns SGI MCS 6-8 */ 166 /* 11ac 40 MHz 800ns GI MCS 0-9 */ [all …]
|