| /linux/tools/testing/selftests/tc-testing/tc-tests/qdiscs/ |
| H A D | tbf.json | 14 … "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root tbf limit 1000 burst 1500 rate 10000", 17 "matchPattern": "qdisc tbf 1: root refcnt [0-9]+ rate 10Kbit burst 1500b limit 1000b", 35 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root tbf limit 1000 burst 1500 rate 20000 mtu … 38 "matchPattern": "qdisc tbf 1: root refcnt [0-9]+ rate 20Kbit burst 1500b limit 1000b", 56 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root tbf limit 1000 burst 1500 rate 20000 mtu … 59 …matchPattern": "qdisc tbf 1: root refcnt [0-9]+ rate 20Kbit burst 1500b peakrate 30Kbit minburst.*… 66 "id": "239b", 77 … "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root tbf burst 1500 rate 20000 latency 100ms", 80 "matchPattern": "qdisc tbf 1: root refcnt [0-9]+ rate 20Kbit burst 1500b lat 100ms", 98 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root tbf limit 1000 burst 1500 rate 20000 over… [all …]
|
| H A D | htb.json | 17 …"matchPattern": "qdisc htb 1: root refcnt [0-9]+ r2q 10 default 0 direct_packets_stat.*direct_qlen… 25 "name": "Create HTB with default-N setting", 38 …"matchPattern": "qdisc htb 1: root refcnt [0-9]+ r2q 10 default 0x10 direct_packets_stat.* direct_… 59 …"matchPattern": "qdisc htb 1: root refcnt [0-9]+ r2q 5 default 0 direct_packets_stat.*direct_qlen", 80 …"matchPattern": "qdisc htb 1: root refcnt [0-9]+ r2q 10 default 0 direct_packets_stat.*direct_qlen… 88 "name": "Create HTB with class rate and burst setting", 99 "cmdUnderTest": "$TC class add dev $DUMMY parent 1: classid 1:1 htb rate 20kbit burst 1000", 102 … "matchPattern": "class htb 1:1 root prio 0 rate 20Kbit ceil 20Kbit burst 1000b cburst 1600b", 121 "cmdUnderTest": "$TC class add dev $DUMMY parent 1: classid 1:1 htb rate 20Kbit mpu 64", 124 … "matchPattern": "class htb 1:1 root prio 0 rate 20Kbit ceil 20Kbit burst 1600b cburst 1600b", [all …]
|
| /linux/arch/arm/boot/dts/st/ |
| H A D | stm32h7-pinctrl.dtsi | 2 * Copyright 2017 - Alexandre Torgue <alexandre.torgue@st.com> 4 * This file is dual-licensed: you can use it either under the terms 21 * b) Permission is hereby granted, free of charge, to any person 43 #include <dt-bindings/pinctrl/stm32-pinfunc.h> 47 i2c1_pins_a: i2c1-0 { 49 pinmux = <STM32_PINMUX('B', 6, AF4)>, /* I2C1_SCL */ 50 <STM32_PINMUX('B', 7, AF4)>; /* I2C1_SDA */ 51 bias-disable; 52 drive-open-drain; 53 slew-rate = <0>; [all …]
|
| H A D | stm32mp13-pinctrl.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) STMicroelectronics 2021 - All Rights Reserved 6 #include <dt-bindings/pinctrl/stm32-pinfunc.h> 9 /omit-if-no-ref/ 10 adc1_pins_a: adc1-pins-0 { 16 /omit-if-no-ref/ 17 adc1_usb_cc_pins_a: adc1-usb-cc-pins-0 { 24 /omit-if-no-ref/ 25 adc1_usb_cc_pins_b: adc1-usb-cc-pins-1 { 32 /omit-if-no-ref/ [all …]
|
| H A D | stm32f7-pinctrl.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) STMicroelectronics 2017 - All Rights Reserved 7 #include <dt-bindings/pinctrl/stm32-pinfunc.h> 8 #include <dt-bindings/mfd/stm32f7-rcc.h> 13 #address-cells = <1>; 14 #size-cells = <1>; 16 interrupt-parent = <&exti>; 20 gpio-controller; 21 #gpio-cells = <2>; 22 interrupt-controller; [all …]
|
| H A D | stm32f4-pinctrl.dtsi | 2 * Copyright 2017 - Alexandre Torgue <alexandre.torgue@st.com> 4 * This file is dual-licensed: you can use it either under the terms 21 * b) Permission is hereby granted, free of charge, to any person 43 #include <dt-bindings/pinctrl/stm32-pinfunc.h> 44 #include <dt-bindings/mfd/stm32f4-rcc.h> 49 #address-cells = <1>; 50 #size-cells = <1>; 52 interrupt-parent = <&exti>; 56 gpio-controller; 57 #gpio-cells = <2>; [all …]
|
| H A D | stm32mp151a-prtt1l.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 6 /dts-v1/; 9 #include "stm32mp15-pinctrl.dtsi" 10 #include "stm32mp15xxad-pinctrl.dtsi" 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/leds/common.h> 18 mdio-gpio0 = &mdio0; 22 led-controller-0 { 23 compatible = "gpio-leds"; [all …]
|
| /linux/net/core/ |
| H A D | gen_estimator.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * net/sched/gen_estimator.c Simple rate estimator. 9 * Jamal Hadi Salim - moved it to net/core and reshulfed 63 struct gnet_stats_basic_sync *b) in est_fetch_counters() argument 65 gnet_stats_basic_sync_init(b); in est_fetch_counters() 66 if (e->stats_lock) in est_fetch_counters() 67 spin_lock(e->stats_lock); in est_fetch_counters() 69 gnet_stats_add_basic(b, e->cpu_bstats, e->bstats, e->running); in est_fetch_counters() 71 if (e->stats_lock) in est_fetch_counters() 72 spin_unlock(e->stats_lock); in est_fetch_counters() [all …]
|
| /linux/tools/testing/selftests/bpf/benchs/ |
| H A D | run_bench_ringbufs.sh | 5 set -eufo pipefail 7 RUN_RB_BENCH="$RUN_BENCH -c1" 9 header "Single-producer, parallel producer" 10 for b in rb-libbpf rb-custom pb-libbpf pb-custom; do 11 summarize $b "$($RUN_RB_BENCH $b)" 14 header "Single-producer, parallel producer, sampled notification" 15 for b in rb-libbpf rb-custom pb-libbpf pb-custom; do 16 summarize $b "$($RUN_RB_BENCH --rb-sampled $b)" 19 header "Single-producer, back-to-back mode" 20 for b in rb-libbpf rb-custom pb-libbpf pb-custom; do [all …]
|
| /linux/drivers/clk/pxa/ |
| H A D | clk-pxa.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <linux/clk-provider.h> 16 #include <dt-bindings/clock/pxa-clock.h> 17 #include "clk-pxa.h" 23 #define MDREFR_K2FREE (1 << 25) /* SDRAM Free-Running Control */ 24 #define MDREFR_K1FREE (1 << 24) /* SDRAM Free-Running Control */ 25 #define MDREFR_K0FREE (1 << 23) /* SDRAM Free-Running Control */ 26 #define MDREFR_SLFRSH (1 << 22) /* SDRAM Self-Refresh Control/Status */ 27 #define MDREFR_APD (1 << 20) /* SDRAM/SSRAM Auto-Power-Down Enable */ 63 if (!pclk->is_in_low_power || pclk->is_in_low_power()) in cken_recalc_rate() [all …]
|
| /linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
| H A D | rate.c | 22 #include "rate.h" 25 * Rate info per rate: It tells whether a rate is ofdm or not and its phy_rate 146 * phycfg for legacy OFDM frames: code rate, modulation scheme, spatial streams 151 u32 rate_ofdm; /* ofdm mac rate */ 152 /* phy ctl byte 3, code rate, modulation type, # of streams */ 160 * In CCK mode LPPHY overloads OFDM Modulation bits with CCK Data Rate 166 {BRCM_RATE_1M, 0x00}, /* CCK 1Mbps, data rate 0 */ 167 {BRCM_RATE_2M, 0x08}, /* CCK 2Mbps, data rate 1 */ 168 {BRCM_RATE_5M5, 0x10}, /* CCK 5.5Mbps, data rate 2 */ 169 {BRCM_RATE_11M, 0x18}, /* CCK 11Mbps, data rate 3 */ [all …]
|
| /linux/drivers/clk/imx/ |
| H A D | clk.c | 1 // SPDX-License-Identifier: GPL-2.0 4 #include <linux/clk-provider.h> 66 struct clk *clk = ERR_PTR(-ENODEV); in imx_obtain_fixed_clock_from_dt() 71 return ERR_PTR(-ENOMEM); in imx_obtain_fixed_clock_from_dt() 84 const char *name, unsigned long rate) in imx_obtain_fixed_clock() argument 90 clk = imx_clk_fixed(name, rate); in imx_obtain_fixed_clock() 95 const char *name, unsigned long rate) in imx_obtain_fixed_clock_hw() argument 101 clk = imx_clk_fixed(name, rate); in imx_obtain_fixed_clock_hw() 106 const char *name, unsigned long rate) in imx_obtain_fixed_of_clock() argument 112 hw = imx_obtain_fixed_clock_hw(name, rate); in imx_obtain_fixed_of_clock() [all …]
|
| /linux/Documentation/networking/devlink/ |
| H A D | ice.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 .. list-table:: Generic parameters implemented 16 * - Name 17 - Mode 18 - Notes 19 * - ``enable_roce`` 20 - runtime 21 - mutually exclusive with ``enable_iwarp`` 22 * - ``enable_iwarp`` 23 - runtime [all …]
|
| /linux/net/sched/ |
| H A D | sch_tbf.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Dmitry Torokhov <dtor@mail.ru> - allow attaching inner qdiscs - 27 ------- 32 ------------ 34 A data flow obeys TBF with rate R and depth B, if for any 36 does not exceed B + R*(t_f-t_i). 42 s_i+....+s_k <= B + R*(t_k - t_i) 45 ---------- 47 Let N(t_i) be B/R initially and N(t) grow continuously with time as: 49 N(t+delta) = min{B/R, N(t) + delta} [all …]
|
| H A D | sch_cake.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 5 * Copyright (C) 2014-2018 Jonathan Morton <chromatix99@gmail.com> 6 * Copyright (C) 2015-2018 Toke Høiland-Jørgensen <toke@toke.dk> 7 * Copyright (C) 2014-2018 Dave Täht <dave.taht@gmail.com> 8 * Copyright (C) 2015-2018 Sebastian Moeller <moeller0@gmx.de> 9 * (C) 2015-2018 Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk> 10 * Copyright (C) 2017-2018 Ryan Mounce <ryan@mounce.com.au> 16 * easy-to-use package: 18 * - An overall bandwidth shaper, to move the bottleneck away from dumb CPE 24 * - A Diffserv-aware priority queue, giving more priority to certain classes, [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | bpf_cc_cubic.c | 1 // SPDX-License-Identifier: GPL-2.0-only 25 #define min(a, b) ((a) < (b) ? (a) : (b)) argument 26 #define max(a, b) ((a) > (b) ? (a) : (b)) argument 50 __u64 rate; tcp_update_pacing_rate() local [all...] |
| /linux/sound/firewire/ |
| H A D | amdtp-am824.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * AM824 format in Audio and Music Data Transmission Protocol (IEC 61883-6) 6 * Copyright (c) 2015 Takashi Sakamoto <o-takashi@sakamocchi.jp> 11 #include "amdtp-am824.h" 15 /* "Clock-based rate control mode" is just supported. */ 26 * In any case, this is more than enough for the MIDI data rate. 42 * amdtp_am824_set_parameters - set stream parameters 44 * @rate: the sample rate 46 * as AM824 multi-bit linear audio 47 * @midi_ports: the number of MIDI ports (i.e., MPX-MIDI Data Channels) [all …]
|
| /linux/drivers/net/wireless/ath/ath5k/ |
| H A D | pcu.c | 2 * Copyright (c) 2004-2008 Reyk Floeter <reyk@openbsd.org> 3 * Copyright (c) 2006-2008 Nick Kossifidis <mickflemm@gmail.com> 4 * Copyright (c) 2007-2008 Matthew W. S. Bell <mentor@madwifi.org> 5 * Copyright (c) 2007-2008 Luis Rodriguez <mcgrof@winlab.rutgers.edu> 6 * Copyright (c) 2007-2008 Pavel Roskin <proski@gnu.org> 7 * Copyright (c) 2007-2008 Jiri Slaby <jirislaby@gmail.com> 40 * - Buffering of RX and TX frames (after QCU/DCUs) 42 * - Encrypting and decrypting (using the built-in engine) 44 * - Generating ACKs, RTS/CTS frames 46 * - Maintaining TSF [all …]
|
| /linux/sound/soc/codecs/ |
| H A D | cs42l73.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 15 /* I2C Address: 1001010[R/W] - 10010100 = 0x94(Write); 10010101 = 0x95(Read) */ 17 #define CS42L73_DEVID_AB 0x01 /* Device ID A & B [RO]. */ 33 #define CS42L73_VXSPFS 0x12 /* VSP & XSP Sample Rate. */ 37 #define CS42L73_MICBPREPGABVOL 0x16 /* MIC 2 [B] PreAmp, PGAB Vol. */ 39 #define CS42L73_IPBDVOL 0x18 /* Input Path B Digital Volume. */ 42 #define CS42L73_HLBDVOL 0x1B /* HP/Line B Out Digital Vol. */ 44 #define CS42L73_ESLDVOL 0x1D /* Ear/Spkphone LO [B] Digital */ 46 #define CS42L73_HPBAVOL 0x1F /* HP B Analog Volume. */ 48 #define CS42L73_LOBAVOL 0x21 /* Line Out B Analog Volume. */ [all …]
|
| /linux/tools/testing/selftests/tc-testing/tc-tests/actions/ |
| H A D | police.json | 20 "cmdUnderTest": "$TC actions add action police rate 1kbit burst 10k index 1", 23 "matchPattern": "action order [0-9]*: police 0x1 rate 1Kbit burst 10Kb", 46 "$TC actions add action police rate 4Mbit burst 120k index 9" 48 "cmdUnderTest": "$TC actions add action police rate 8kbit burst 24k index 9", 51 "matchPattern": "action order [0-9]*: police 0x9", 75 "cmdUnderTest": "$TC actions add action police rate 90kbit burst 10k mtu 1k index 98", 78 "matchPattern": "action order [0-9]*: police 0x62 rate 90Kbit burst 10Kb mtu 1Kb", 102 "cmdUnderTest": "$TC actions add action police rate 9 [all...] |
| /linux/drivers/net/wireless/zydas/zd1211rw/ |
| H A D | zd_mac.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 /* ZD1211 USB-WLAN driver for Linux 4 * Copyright (C) 2005-2007 Ulrich Kunitz <kune@deine-taler.de> 5 * Copyright (C) 2006-2007 Daniel Drake <dsd@gentoo.org> 29 /* The field modulation of struct zd_ctrlset controls the bit rate, the use 30 * of short or long preambles in 802.11b (CCK mode) or the use of 802.11a or 33 * The term zd-rate is used for the combination of the modulation type flag 34 * and the "pure" rate value. 43 /* The two possible modulation types. Notify that 802.11b doesn't use the CCK 44 * codeing for the 1 and 2 MBit/s rate. We stay with the term here to remain [all …]
|
| /linux/sound/pci/riptide/ |
| H A D | riptide.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 - 02/15/2004 first release 11 This Driver is based on the OSS Driver version from Linuxant (riptide-0.6lnxtbeta03111100) 17 ----------------------------- -------- ----- 23 ----------------------------- -------- ----- 29 ----------------------------- -------- ----- 36 ----------------------------- -------- ----- 44 ----------------------------- -------- ----- 59 ----------------------------- -------- ----- 65 ----------------------------- -------- ----- [all …]
|
| /linux/sound/firewire/fireface/ |
| H A D | ff-protocol-latter.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // ff-protocol-latter.c - a part of driver for RME Fireface series 20 // 0x0f000000: effective rate of sampling clock 21 // 0x00f00000: detected rate of word clock on BNC interface 22 // 0x000f0000: detected rate of ADAT or S/PDIF on optical interface 23 // 0x0000f000: detected rate of S/PDIF on coaxial interface 41 // 0xf0000000: effective rate of sampling clock 42 // 0x0f000000: detected rate of ADAT-B on 2nd optical interface 43 // 0x00f00000: detected rate of ADAT-A on 1st optical interface 44 // 0x000f0000: detected rate of AES/EBU on XLR or coaxial interface [all …]
|
| /linux/drivers/clk/mvebu/ |
| H A D | armada-37xx-periph.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 * Gregory CLEMENT <gregory.clement@free-electrons.com> 11 * TBG-A-P --| | | | | | ______ 12 * TBG-B-P --| Mux |--| /div1 |--| /div2 |--| Gate |--> perip_clk 13 * TBG-A-S --| | | | | | |______| 14 * TBG-B-S --|_____| |_______| |_______| 20 #include <linux/clk-provider.h> 201 .parent_names = (const char *[]){ "TBG-A-P", \ 202 "TBG-B-P", "TBG-A-S", "TBG-B-S"}, \ 211 .parent_names = (const char *[]){ "TBG-A-P", \ [all …]
|
| /linux/drivers/slimbus/ |
| H A D | slimbus.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (c) 2011-2017, The Linux Foundation 38 #define SLIM_HEADER_GET_MT(b) ((b >> SLIM_MSG_MT_SHIFT) & SLIM_MSG_MT_MASK) argument 39 #define SLIM_HEADER_GET_RL(b) ((b >> SLIM_MSG_RL_SHIFT) & SLIM_MSG_RL_MASK) argument 40 #define SLIM_HEADER_GET_MC(b) ((b >> SLIM_MSG_MC_SHIFT) & SLIM_MSG_MC_MASK) argument 41 #define SLIM_HEADER_GET_DT(b) ((b >> SLIM_MSG_DT_SHIFT) & SLIM_MSG_DT_MASK) argument 91 * struct slim_framer - Represents SLIMbus framer. 94 * Manager is responsible for framer hand-over. 111 * struct slim_msg_txn - Message to be sent by the controller. 120 * (relevant for message-codes involving read operation) [all …]
|