/openbmc/linux/net/sched/ |
H A D | sch_ets.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * ----------- 9 * discipline that merges functionality of PRIO and DRR qdiscs in one scheduler. 10 * ETS makes it easy to configure a set of strict and bandwidth-sharing bands to 11 * implement the transmission selection described in 802.1Qaz. 15 * PRIO-like and how many DRR-like, and quanta for the latter. 18 * --------- 20 * The strict classes, if any, are tried for traffic first: first band 0, if it 21 * has no traffic then band 1, etc. 23 * When there is no traffic in any of the strict queues, the bandwidth-sharing [all …]
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/abm/ |
H A D | main.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 9 #include <linux/radix-tree.h> 39 * struct nfp_abm - ABM NIC app structure 51 * @num_thresholds: number of @thresholds and bits in @threshold_undef 53 * @prio_map_len: computed length of FW priority map (in bytes) 57 * in switchdev mode 61 * @q_stats: basic queue statistics (only in per-band case) 88 * struct nfp_alink_stats - ABM NIC statistics 94 * @drops: number of tail-dropped packets (accumulative) 106 * struct nfp_alink_xstats - extended ABM NIC statistics [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/linux/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-eeprom-parse.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 3 * Copyright (C) 2005-2014, 2018-2020 Intel Corporation 9 #include "iwl-drv.h" 10 #include "iwl-modparams.h" 11 #include "iwl-eeprom-parse.h" 29 /* corresponding link offsets in EEPROM */ 75 #define EEPROM_RF_CFG_TYPE_MSK(x) (x & 0x3) /* bits 0-1 */ 76 #define EEPROM_RF_CFG_STEP_MSK(x) ((x >> 2) & 0x3) /* bits 2-3 */ 77 #define EEPROM_RF_CFG_DASH_MSK(x) ((x >> 4) & 0x3) /* bits 4-5 */ 78 #define EEPROM_RF_CFG_PNUM_MSK(x) ((x >> 6) & 0x3) /* bits 6-7 */ [all …]
|
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
H A D | main.c | 3 * Copyright (c) 2013 Hauke Mehrtens <hauke@hauke-m.de> 7 * copyright notice and this permission notice appear in all copies. 11 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 13 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION 14 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 42 /* watchdog timer, in unit of ms */ 44 /* radio monitor timer, in unit of ms */ 47 /* beacon interval, in unit of 1024TU */ 50 /* n-mode support capability */ 82 #define EDCF_ECW2CW(exp) ((1 << (exp)) - 1) [all …]
|
H A D | channel.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 40 /* maxpwr mapping to 5GHz band channels: 41 * maxpwr[0] - channels [34-48] 42 * maxpwr[1] - channels [52-60] 43 * maxpwr[2] - channels [62-64] 44 * maxpwr[3] - channels [100-140] 45 * maxpwr[4] - channels [149-165] [all …]
|
H A D | main.h | 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 48 * Usage example, e.g. a three-bit field (bits 4-6): 52 * regval = R_REG(osh, ®s->regfoo); 55 * W_REG(osh, ®s->regfoo, regval); 58 (((unsigned)1 << (width)) - 1) 67 /* max # supported core revisions (0 .. MAXCOREREV - 1) */ 76 #define BRCMS_SHORTSLOT_AUTO -1 /* Driver will manage Shortslot setting */ [all …]
|
H A D | types.h | 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 36 /* Board has an external LNA in 2.4GHz band */ 48 /* Board has an external LNA in 5GHz band */ 55 /* Flag to implement alternative A-band PLL settings */ 61 /* Board supports 5G band power gain */ 68 /* Board has a WAR for clock-harmonic spurs */ 70 /* Flag to narrow G-band PLL loop b/w */ [all …]
|
H A D | stf.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 31 #define BRCMS_STF_SS_STBC_RX(wlc) (BRCMS_ISNPHY(wlc->band) && \ 32 NREV_GT(wlc->band->phyrev, 3) && NREV_LE(wlc->band->phyrev, 6)) 49 /* MIMOPHYs rev3-6 cannot receive STBC with only one rx core active */ in brcms_c_stf_stbc_rx_ht_update() 51 if ((wlc->stf->rxstreams == 1) && (val != HT_CAP_RX_STBC_NO)) in brcms_c_stf_stbc_rx_ht_update() 55 if (wlc->pub->up) { in brcms_c_stf_stbc_rx_ht_update() 67 struct brcms_phy_pub *pi = wlc->band->pi; in brcms_c_tempsense_upd() [all …]
|
/openbmc/linux/net/wireless/ |
H A D | reg.h | 7 * Copyright 2008-2011 Luis R. Rodriguez <mcgrof@qca.qualcomm.com> 12 * copyright notice and this permission notice appear in all copies. 16 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 18 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 20 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 40 * regulatory_hint_indoor - hint operation in indoor env. or not 42 * device is operating in an indoor environment. 48 * regulatory_netlink_notify - notify on released netlink socket 68 * regulatory_hint_found_beacon - hints a beacon was found on a channel 76 * world roaming -- when we do not know our current location. This is [all …]
|
/openbmc/linux/net/openvswitch/ |
H A D | meter.c | 1 // SPDX-License-Identifier: GPL-2.0-only 42 return id % ti->n_meters; in meter_hash() 57 struct dp_meter_instance *ti = rcu_dereference_ovsl(tbl->ti); in lookup_meter() 61 meter = rcu_dereference_ovsl(ti->dp_meters[hash]); in lookup_meter() 62 if (meter && likely(meter->id == meter_id)) in lookup_meter() 76 ti->n_meters = size; in dp_meter_instance_alloc() 97 struct dp_meter_instance *ti = rcu_dereference_ovsl(tbl->ti); in dp_meter_instance_realloc() 98 int n_meters = min(size, ti->n_meters); in dp_meter_instance_realloc() 104 return -ENOMEM; in dp_meter_instance_realloc() 107 if (rcu_dereference_ovsl(ti->dp_meters[i])) in dp_meter_instance_realloc() [all …]
|
/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/drivers/media/radio/si470x/ |
H A D | radio-si470x-common.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * drivers/media/radio/si470x/radio-si470x-common.c 14 * 2008-01-12 Tobias Lorenz <tobias.lorenz@gmx.net> 16 * - First working version 17 * 2008-01-13 Tobias Lorenz <tobias.lorenz@gmx.net> 19 * - Improved error handling, every function now returns errno 20 * - Improved multi user access (start/mute/stop) 21 * - Channel doesn't get lost anymore after start/mute/stop 22 * - RDS support added (polling mode via interrupt EP 1) 23 * - marked default module parameters with *value* [all …]
|
/openbmc/linux/drivers/media/radio/ |
H A D | radio-raremono.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 #include <media/v4l2-device.h> 17 #include <media/v4l2-ioctl.h> 18 #include <media/v4l2-ctrls.h> 19 #include <media/v4l2-event.h> 22 * 'Thanko's Raremono' is a Japanese si4734-based AM/FM/SW USB receiver: 30 * Sadly the firmware used in this product hides lots of goodies since the 42 * The vendor and product IDs (and in fact all other lsusb information as 61 /* Frequency limits in KHz */ 74 /* Band FM */ [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 */ 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() 61 * due to simply not being in an active scan which in iwl_send_scan_abort() [all …]
|
/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A D | vidioc-enum-freq-bands.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_ENUM_FREQ_BANDS - Enumerate supported frequency bands 47 .. flat-table:: struct v4l2_frequency_band 48 :header-rows: 0 49 :stub-columns: 0 52 * - __u32 53 - ``tuner`` 54 - The tuner or modulator index number. This is the same value as in 60 * - __u32 61 - ``type`` [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/Documentation/networking/ |
H A D | sfp-phylink.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 phylink is a mechanism to support hot-pluggable networking modules 11 directly connected to a MAC without needing to re-initialise the 12 adapter on hot-plug events. 14 phylink supports conventional phylib-based setups, fixed link setups 25 In PHY mode, we use phylib to read the current link settings from 35 3. In-band mode 37 In-band mode is used with 802.3z, SGMII and similar interface modes, 38 and we are expecting to use and honor the in-band negotiation or 43 .. code-block:: none [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 …]
|
/openbmc/linux/include/media/ |
H A D | tuner-types.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 10 * enum param_type - type of the tuner pameters 27 * struct tuner_range - define the frequencies supported by the tuner 29 * @limit: Max frequency supported by that range, in 62.5 kHz 32 * @config: Value of the band switch byte (BB) to setup this mode. 43 * #) band switch byte (BB) 54 * struct tuner_params - Parameters to be used to setup the tuner. Those 55 * are used by drivers/media/tuners/tuner-types.c in 57 * the parameters are for tuners based on tda9887 IF-PLL 58 * multi-standard analog TV/Radio demodulator, with is [all …]
|
/openbmc/qemu/docs/interop/ |
H A D | qmp-spec.rst | 2 Copyright (C) 2009-2016 Red Hat, Inc. 5 later. See the COPYING file in the top-level directory. 12 The QEMU Machine Protocol (QMP) is a JSON-based 14 machine-level. It is also in use by the QEMU Guest Agent (QGA), which 18 be found in the :doc:`qemu-qmp-ref` and the :doc:`qemu-ga-ref`. 29 JSON data structures, when mentioned in this document, are always in the 32 json-DATA-STRUCTURE-NAME 34 Where DATA-STRUCTURE-NAME is any valid JSON data structure, as defined 37 The server expects its input to be encoded in UTF-8, and sends its 38 output encoded in ASCII. [all …]
|
/openbmc/docs/designs/ |
H A D | uart-mux-support.md | 1 # uart-mux-support design 13 To support this configuration, obmc-console needs to provide a method for 18 There are already [open changes for obmc-console][obmc-console-uart-mux-series] 21 [obmc-console-uart-mux-series]: 22 https://gerrit.openbmc.org/c/openbmc/obmc-console/+/71864 25 subprojects - not in the way of causing regression, but later when the mentioned 26 hardware configuration needs to be supported in those projects. 30 - The user can select a console to be muxed 32 - Platform policy (whichever service implements it) can select the appropriate 35 - It is clear to whoever is reading the logs of that console when a console was [all …]
|
/openbmc/linux/drivers/net/wireless/ti/wl12xx/ |
H A D | scan.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 enum nl80211_band band, bool passive) in wl1271_get_scan_channels() argument 18 struct conf_scan_settings *c = &wl->conf.scan; in wl1271_get_scan_channels() 23 i < req->n_channels && j < WL1271_SCAN_MAX_CHANNELS; in wl1271_get_scan_channels() 25 flags = req->channels[i]->flags; in wl1271_get_scan_channels() 27 if (!test_bit(i, wl->scan.scanned_ch) && in wl1271_get_scan_channels() 29 (req->channels[i]->band == band) && in wl1271_get_scan_channels() 31 * In passive scans, we scan all remaining in wl1271_get_scan_channels() 33 * In active scans, we only scan channels not in wl1271_get_scan_channels() 37 wl1271_debug(DEBUG_SCAN, "band %d, center_freq %d ", in wl1271_get_scan_channels() [all …]
|