| /kernel/linux/linux-5.10/net/sched/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/abm/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/ |
| D | iwl-eeprom-parse.c | 8 * Copyright(c) 2008 - 2014 Intel Corporation. All rights reserved. 10 * Copyright(c) 2018 - 2019 Intel Corporation 16 * This program is distributed in the hope that it will be useful, but 21 * The full GNU General Public License is included in this distribution 22 * in the file called COPYING. 26 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 30 * Copyright(c) 2005 - 2014 Intel Corporation. All rights reserved. 32 * Copyright(c) 2018 - 2019 Intel Corporation 35 * Redistribution and use in source and binary forms, with or without 41 * * Redistributions in binary form must reproduce the above copyright [all …]
|
| /kernel/linux/linux-4.19/drivers/net/wireless/intel/iwlwifi/ |
| D | iwl-eeprom-parse.c | 8 * Copyright(c) 2008 - 2014 Intel Corporation. All rights reserved. 16 * This program is distributed in the hope that it will be useful, but 24 * The full GNU General Public License is included in this distribution 25 * in the file called COPYING. 29 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 33 * Copyright(c) 2005 - 2014 Intel Corporation. All rights reserved. 38 * Redistribution and use in source and binary forms, with or without 44 * * Redistributions in binary form must reproduce the above copyright 45 * notice, this list of conditions and the following disclaimer in 55 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT [all …]
|
| /kernel/linux/linux-5.10/net/openvswitch/ |
| D | meter.c | 1 // SPDX-License-Identifier: GPL-2.0-only 43 return id % ti->n_meters; in meter_hash() 58 struct dp_meter_instance *ti = rcu_dereference_ovsl(tbl->ti); in lookup_meter() 62 meter = rcu_dereference_ovsl(ti->dp_meters[hash]); in lookup_meter() 63 if (meter && likely(meter->id == meter_id)) in lookup_meter() 79 ti->n_meters = size; in dp_meter_instance_alloc() 100 struct dp_meter_instance *ti = rcu_dereference_ovsl(tbl->ti); in dp_meter_instance_realloc() 101 int n_meters = min(size, ti->n_meters); in dp_meter_instance_realloc() 107 return -ENOMEM; in dp_meter_instance_realloc() 110 if (rcu_dereference_ovsl(ti->dp_meters[i])) in dp_meter_instance_realloc() [all …]
|
| /kernel/linux/linux-4.19/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
| 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 …]
|
| 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 …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
| 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 …]
|
| 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 …]
|
| /kernel/linux/linux-4.19/net/openvswitch/ |
| D | meter.c | 56 return &dp->meters[meter_id & (METER_HASH_BUCKETS - 1)]; in meter_hash_bucket() 68 if (meter->id == meter_id) in lookup_meter() 76 struct hlist_head *head = meter_hash_bucket(dp, meter->id); in attach_meter() 78 hlist_add_head_rcu(&meter->dp_hash_node, head); in attach_meter() 85 hlist_del_rcu(&meter->dp_hash_node); in detach_meter() 93 struct ovs_header *ovs_header = info->userhdr; in ovs_meter_cmd_reply_start() 97 return ERR_PTR(-ENOMEM); in ovs_meter_cmd_reply_start() 99 *ovs_reply_header = genlmsg_put(skb, info->snd_portid, in ovs_meter_cmd_reply_start() 100 info->snd_seq, in ovs_meter_cmd_reply_start() 104 return ERR_PTR(-EMSGSIZE); in ovs_meter_cmd_reply_start() [all …]
|
| /kernel/linux/linux-4.19/drivers/media/radio/si470x/ |
| D | radio-si470x-common.c | 2 * drivers/media/radio/si470x/radio-si470x-common.c 14 * This program is distributed in the hope that it will be useful, 23 * 2008-01-12 Tobias Lorenz <tobias.lorenz@gmx.net> 25 * - First working version 26 * 2008-01-13 Tobias Lorenz <tobias.lorenz@gmx.net> 28 * - Improved error handling, every function now returns errno 29 * - Improved multi user access (start/mute/stop) 30 * - Channel doesn't get lost anymore after start/mute/stop 31 * - RDS support added (polling mode via interrupt EP 1) 32 * - marked default module parameters with *value* [all …]
|
| /kernel/linux/linux-5.10/net/wireless/ |
| 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 69 * regulatory_hint_found_beacon - hints a beacon was found on a channel 77 * world roaming -- when we do not know our current location. This is [all …]
|
| /kernel/linux/linux-5.10/drivers/media/radio/si470x/ |
| 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 …]
|
| /kernel/linux/linux-4.19/net/wireless/ |
| D | reg.h | 7 * Copyright 2008-2011 Luis R. Rodriguez <mcgrof@qca.qualcomm.com> 11 * copyright notice and this permission notice appear in all copies. 15 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 17 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 19 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 38 * regulatory_hint_indoor - hint operation in indoor env. or not 40 * device is operating in an indoor environment. 46 * regulatory_netlink_notify - notify on released netlink socket 67 * regulatory_hint_found_beacon - hints a beacon was found on a channel 75 * world roaming -- when we do not know our current location. This is [all …]
|
| /kernel/linux/linux-4.19/drivers/staging/rtlwifi/rtl8822be/ |
| D | phy.c | 1 // SPDX-License-Identifier: GPL-2.0 116 spin_lock_irqsave(&rtlpriv->locks.rf_lock, flags); in rtl8822be_phy_query_rf_reg() 118 readback_value = rtlpriv->phydm.ops->phydm_read_rf_reg( in rtl8822be_phy_query_rf_reg() 121 spin_unlock_irqrestore(&rtlpriv->locks.rf_lock, flags); in rtl8822be_phy_query_rf_reg() 136 spin_lock_irqsave(&rtlpriv->locks.rf_lock, flags); in rtl8822be_phy_set_rf_reg() 138 rtlpriv->phydm.ops->phydm_write_rf_reg(rtlpriv, rfpath, regaddr, in rtl8822be_phy_set_rf_reg() 141 spin_unlock_irqrestore(&rtlpriv->locks.rf_lock, flags); in rtl8822be_phy_set_rf_reg() 161 return rtlpriv->phydm.ops->phydm_phy_mac_config(rtlpriv); in rtl8822be_halmac_cb_init_mac_register() 172 rtstatus = rtlpriv->phydm.ops->phydm_phy_bb_config(rtlpriv); in rtl8822be_phy_bb_config() 175 crystal_cap = rtlefuse->crystalcap & 0x3F; in rtl8822be_phy_bb_config() [all …]
|
| /kernel/linux/linux-4.19/drivers/media/radio/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/media/radio/ |
| 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 …]
|
| /kernel/linux/linux-5.10/arch/powerpc/boot/dts/fsl/ |
| 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 …]
|
| /kernel/linux/linux-4.19/drivers/net/wireless/ti/wl12xx/ |
| D | scan.c | 10 * This program is distributed in the hope that it will be useful, but 18 * 02110-1301 USA 30 enum nl80211_band band, bool passive) in wl1271_get_scan_channels() argument 32 struct conf_scan_settings *c = &wl->conf.scan; in wl1271_get_scan_channels() 37 i < req->n_channels && j < WL1271_SCAN_MAX_CHANNELS; in wl1271_get_scan_channels() 39 flags = req->channels[i]->flags; in wl1271_get_scan_channels() 41 if (!test_bit(i, wl->scan.scanned_ch) && in wl1271_get_scan_channels() 43 (req->channels[i]->band == band) && in wl1271_get_scan_channels() 45 * In passive scans, we scan all remaining in wl1271_get_scan_channels() 47 * In active scans, we only scan channels not in wl1271_get_scan_channels() [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/rtl8723bs/hal/ |
| D | hal_com_phycfg.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. 14 u8 PHY_GetTxPowerByRateBase(struct adapter *Adapter, u8 Band, u8 RfPath, in PHY_GetTxPowerByRateBase() argument 21 DBG_871X("Invalid Rf Path %d in PHY_GetTxPowerByRateBase()\n", RfPath); in PHY_GetTxPowerByRateBase() 25 if (Band == BAND_ON_2_4G) { in PHY_GetTxPowerByRateBase() 28 value = pHalData->TxPwrByRateBase2_4G[RfPath][TxNum][0]; in PHY_GetTxPowerByRateBase() 31 value = pHalData->TxPwrByRateBase2_4G[RfPath][TxNum][1]; in PHY_GetTxPowerByRateBase() 34 value = pHalData->TxPwrByRateBase2_4G[RfPath][TxNum][2]; in PHY_GetTxPowerByRateBase() 37 value = pHalData->TxPwrByRateBase2_4G[RfPath][TxNum][3]; in PHY_GetTxPowerByRateBase() 40 value = pHalData->TxPwrByRateBase2_4G[RfPath][TxNum][4]; in PHY_GetTxPowerByRateBase() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/dvm/ |
| D | scan.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright(c) 2008 - 2014 Intel Corporation. All rights reserved. 9 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 22 #define IWL_ACTIVE_DWELL_TIME_24 (30) /* all times in msec */ 31 #define IWL_PASSIVE_DWELL_TIME_24 (20) /* all times in msec */ 52 if (!test_bit(STATUS_READY, &priv->status) || in iwl_send_scan_abort() 53 !test_bit(STATUS_SCAN_HW, &priv->status) || in iwl_send_scan_abort() 54 test_bit(STATUS_FW_ERROR, &priv->status)) in iwl_send_scan_abort() 55 return -EIO; in iwl_send_scan_abort() 61 status = (void *)cmd.resp_pkt->data; in iwl_send_scan_abort() [all …]
|
| /kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/ |
| 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 …]
|
| /kernel/linux/linux-4.19/Documentation/media/uapi/v4l/ |
| D | vidioc-enum-freq-bands.rst | 1 .. -*- coding: utf-8; mode: rst -*- 12 VIDIOC_ENUM_FREQ_BANDS - Enumerate supported frequency bands 26 File descriptor returned by :ref:`open() <func-open>`. 49 .. flat-table:: struct v4l2_frequency_band 50 :header-rows: 0 51 :stub-columns: 0 54 * - __u32 55 - ``tuner`` 56 - The tuner or modulator index number. This is the same value as in 62 * - __u32 [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/ti/wl12xx/ |
| 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 …]
|