Home
last modified time | relevance | path

Searched +full:speed +full:- +full:bin (Results 1 – 25 of 146) sorted by relevance

123456

/linux-6.8/drivers/cpufreq/
Dqcom-cpufreq-nvmem.c1 // SPDX-License-Identifier: GPL-2.0
10 * defines the voltage and frequency value based on the msm-id in SMEM
12 * The qcom-cpufreq-nvmem driver reads the msm-id and efuse value from the SoC
15 * operating-points-v2 table when it is parsed by the OPP framework.
23 #include <linux/nvmem-consumer.h>
33 #include <dt-bindings/arm/qcom,ids.h>
84 drv->versions = 1 << *speedbin; in qcom_cpufreq_simple_get_version()
90 int *speed, int *pvs, in get_krait_bin_format_a() argument
97 *speed = pte_efuse & 0xf; in get_krait_bin_format_a()
98 if (*speed == 0xf) in get_krait_bin_format_a()
[all …]
Dsun50i-cpufreq-nvmem.c1 // SPDX-License-Identifier: GPL-2.0
5 * The sun50i-cpufreq-nvmem driver reads the efuse value from the SoC to
15 #include <linux/nvmem-consumer.h>
29 * sun50i_cpufreq_get_efuse() - Determine speed grade from efuse value
45 return -ENODEV; in sun50i_cpufreq_get_efuse()
49 return -ENOENT; in sun50i_cpufreq_get_efuse()
52 "allwinner,sun50i-h6-operating-points"); in sun50i_cpufreq_get_efuse()
55 return -ENOENT; in sun50i_cpufreq_get_efuse()
73 * the slowest bin. Expected efuse values are 1-3, slowest in sun50i_cpufreq_get_efuse()
77 *versions = efuse_value - 1; in sun50i_cpufreq_get_efuse()
[all …]
/linux-6.8/drivers/memory/
Djedec_ddr_data.c1 // SPDX-License-Identifier: GPL-2.0-only
14 /* LPDDR2 addressing details from JESD209-2 section 2.4 */
30 /* LPDDR2 AC timing parameters from JESD209-2 section 12 */
33 /* Speed bin 400(200 MHz) */
54 /* Speed bin 533(266 MHz) */
75 /* Speed bin 800(400 MHz) */
96 /* Speed bin 1066(533 MHz) */
/linux-6.8/Documentation/devicetree/bindings/memory-controllers/ddr/
Djedec,lpddr3-timings.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/memory-controllers/ddr/jedec,lpddr3-timings.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: LPDDR3 SDRAM AC timing parameters for a given speed-bin
10 - Krzysztof Kozlowski <krzk@kernel.org>
14 const: jedec,lpddr3-timings
19 Maximum DDR clock frequency for the speed-bin, in Hz.
20 Property is deprecated, use max-freq.
23 max-freq:
[all …]
Djedec,lpddr2-timings.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/memory-controllers/ddr/jedec,lpddr2-timings.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: LPDDR2 SDRAM AC timing parameters for a given speed-bin
10 - Krzysztof Kozlowski <krzk@kernel.org>
14 const: jedec,lpddr2-timings
16 max-freq:
19 Maximum DDR clock frequency for the speed-bin, in Hz.
21 min-freq:
[all …]
/linux-6.8/drivers/gpu/drm/panfrost/
Dpanfrost_devfreq.c1 // SPDX-License-Identifier: GPL-2.0
7 #include <linux/nvmem-consumer.h>
19 last = pfdevfreq->time_last_update; in panfrost_devfreq_update_utilization()
21 if (pfdevfreq->busy_count > 0) in panfrost_devfreq_update_utilization()
22 pfdevfreq->busy_time += ktime_sub(now, last); in panfrost_devfreq_update_utilization()
24 pfdevfreq->idle_time += ktime_sub(now, last); in panfrost_devfreq_update_utilization()
26 pfdevfreq->time_last_update = now; in panfrost_devfreq_update_utilization()
43 ptdev->pfdevfreq.current_frequency = *freq; in panfrost_devfreq_target()
50 pfdevfreq->busy_time = 0; in panfrost_devfreq_reset()
51 pfdevfreq->idle_time = 0; in panfrost_devfreq_reset()
[all …]
/linux-6.8/Documentation/devicetree/bindings/net/bluetooth/
Dqualcomm-bluetooth.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/net/bluetooth/qualcomm-bluetooth.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Balakrishna Godavarthi <bgodavar@codeaurora.org>
11 - Rocky Liao <rjliao@codeaurora.org>
14 This binding describes Qualcomm UART-attached bluetooth chips.
19 - qcom,qca2066-bt
20 - qcom,qca6174-bt
21 - qcom,qca9377-bt
[all …]
/linux-6.8/drivers/net/dsa/sja1105/
Dsja1105_main.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright (c) 2018, Sensor-Technik Wiedemann GmbH
3 * Copyright (c) 2018-2019, Vladimir Oltean <olteanv@gmail.com>
18 #include <linux/pcs/pcs-xpcs.h>
77 vlan = priv->static_config.tables[BLK_IDX_VLAN_LOOKUP].entries; in sja1105_is_vlan_configured()
78 count = priv->static_config.tables[BLK_IDX_VLAN_LOOKUP].entry_count; in sja1105_is_vlan_configured()
85 return -1; in sja1105_is_vlan_configured()
90 struct sja1105_private *priv = ds->priv; in sja1105_drop_untagged()
93 mac = priv->static_config.tables[BLK_IDX_MAC_CONFIG].entries; in sja1105_drop_untagged()
108 mac = priv->static_config.tables[BLK_IDX_MAC_CONFIG].entries; in sja1105_pvid_apply()
[all …]
/linux-6.8/arch/arm64/boot/dts/qcom/
Dmsm8996pro.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
9 /delete-node/ opp-table-cluster0;
10 /delete-node/ opp-table-cluster1;
13 * On MSM8996 Pro the cpufreq driver shifts speed bins into the high
14 * nibble of supported hw, so speed bin 0 becomes 0x10, speed bin 1
15 * becomes 0x20, speed 2 becomes 0x40.
18 cluster0_opp: opp-table-cluster0 {
19 compatible = "operating-points-v2-kryo-cpu";
20 nvmem-cells = <&speedbin_efuse>;
21 opp-shared;
[all …]
/linux-6.8/tools/crypto/tcrypt/
Dtcrypt_speed_compare.py1 #!/usr/bin/env python3
2 # SPDX-License-Identifier: GPL-2.0
9 A tool for comparing tcrypt speed test logs.
19 #!/bin/bash
30 # base speed test
31 lsmod | grep pcrypt && modprobe -r pcrypt
32 dmesg -C
37 # new speed test
38 lsmod | grep pcrypt && modprobe -r pcrypt
39 dmesg -C
[all …]
/linux-6.8/tools/power/x86/intel-speed-select/
DMakefile1 # SPDX-License-Identifier: GPL-2.0
4 bindir ?= /usr/bin
13 # Do not use make's built-in rules
14 # (this improves performance and avoids hard-to-debug behaviour);
15 MAKEFLAGS += -r
16 override CFLAGS += -O2 -Wall -g -D_GNU_SOURCE -I$(OUTPUT)include -I/usr/include/libnl3
17 override LDFLAGS += -lnl-genl-3 -lnl-3
19 ALL_TARGETS := intel-speed-select
31 mkdir -p $(OUTPUT)include/linux 2>&1 || true
32 ln -sf $(CURDIR)/../../../../include/uapi/linux/isst_if.h $@
[all …]
/linux-6.8/tools/testing/selftests/net/forwarding/
Dethtool.sh1 #!/bin/bash
2 # SPDX-License-Identifier: GPL-2.0
57 local -a speeds_arr=($(common_speeds_get $h1 $h2 0 0))
59 for speed in "${speeds_arr[@]}"; do
61 ethtool_set $h1 speed $speed autoneg off
62 ethtool_set $h2 speed $speed autoneg off
67 check_err $? "speed $speed autoneg off"
68 log_test "force of same speed autoneg off"
69 log_info "speed = $speed"
72 ethtool -s $h2 autoneg on
[all …]
Dethtool_extended_state.sh1 #!/bin/bash
2 # SPDX-License-Identifier: GPL-2.0
27 local expected_ext_substate=${1:-""}; shift
30 | cut -d "(" -f2 | cut -d ")" -f1)
31 local ext_substate=$(echo $ext_state | cut -sd "," -f2 \
32 | sed -e 's/^[[:space:]]*//')
33 ext_state=$(echo $ext_state | cut -d "," -f1)
71 local -a speeds_arr=($(different_speeds_get $swp1 $swp2 0 0))
75 ethtool_set $swp1 speed $speed1 autoneg off
76 ethtool_set $swp2 speed $speed2 autoneg off
[all …]
/linux-6.8/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dsmu_v11_0.c59 MODULE_FIRMWARE("amdgpu/arcturus_smc.bin");
60 MODULE_FIRMWARE("amdgpu/navi10_smc.bin");
61 MODULE_FIRMWARE("amdgpu/navi14_smc.bin");
62 MODULE_FIRMWARE("amdgpu/navi12_smc.bin");
63 MODULE_FIRMWARE("amdgpu/sienna_cichlid_smc.bin");
64 MODULE_FIRMWARE("amdgpu/navy_flounder_smc.bin");
65 MODULE_FIRMWARE("amdgpu/dimgrey_cavefish_smc.bin");
66 MODULE_FIRMWARE("amdgpu/beige_goby_smc.bin");
84 struct amdgpu_device *adev = smu->adev; in smu_v11_0_poll_baco_exit()
95 struct amdgpu_device *adev = smu->adev; in smu_v11_0_init_microcode()
[all …]
/linux-6.8/tools/testing/selftests/drivers/net/mlxsw/
Dethtool_lanes.sh1 #!/bin/bash
2 # SPDX-License-Identifier: GPL-2.0
28 if [[ -z $lanes_exist ]]; then
61 if [[ $autoneg -eq 0 ]]; then
65 ethtool -s $swp1 speed $max_speed lanes $unsupported_lanes $autoneg_str &> /dev/null
75 local -a lanes_arr
76 local -a speeds_arr
77 local -a max_values
92 local speed=$1; shift
97 if [[ $speed -eq ${arr[$i]} && $lanes -eq ${arr[i+1]} ]]; then
[all …]
/linux-6.8/tools/spi/
Dspidev_test.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * Cross-compile with cross-gcc -I/path/to/cross-kernel/include
43 static uint32_t speed = 500000; variable
71 while (length-- > 0) { in hex_dump()
91 * Unescape - process hexadecimal escape character
92 * converts shell input "\x23" -> 0x23
127 .speed_hz = speed, in transfer()
175 printf("Usage: %s [-2348CDFHILMNORSZbdilopsv]\n", prog); in print_usage()
177 " -D --device device to use (default /dev/spidev1.1)\n" in print_usage()
178 " -s --speed max speed (Hz)\n" in print_usage()
[all …]
/linux-6.8/Documentation/dev-tools/kunit/
Drunning_tips.rst1 .. SPDX-License-Identifier: GPL-2.0
11 --------------------------
15 .. code-block:: bash
18 ( cd "$(git rev-parse --show-toplevel)" && ./tools/testing/kunit/kunit.py run "$@" )
26 -------------------------
33 .. code-block:: bash
35 $ echo -e 'CONFIG_KUNIT=y\nCONFIG_KUNIT_ALL_TESTS=y' > .kunit/.kunitconfig
40 .. code-block:: bash
42 $ echo -e 'CONFIG_KUNIT=y\nCONFIG_KUNIT_ALL_TESTS=y' > .kunit/.kunitconfig
53 -----------------------
[all …]
/linux-6.8/Documentation/driver-api/usb/
Dusb3-debug-port.rst19 3) have a USB 3.0 super-speed A-to-A debugging cable.
30 super-speed port). The debug device is fully compliant with
32 performance full-duplex serial link between the debug target
41 Other uses include simpler, lockless logging instead of a full-
58 "usbcore.autosuspend=-1"
63 should be a USB 3.0 super-speed A-to-A debugging cable.
74 # tail -f /var/log/kern.log
75 [ 1815.983374] usb 4-3: new SuperSpeed USB device number 4 using xhci_hcd
76 [ 1815.999595] usb 4-3: LPM exit latency is zeroed, disabling LPM.
77 [ 1815.999899] usb 4-3: New USB device found, idVendor=1d6b, idProduct=0004
[all …]
/linux-6.8/drivers/bluetooth/
Dhci_mrvl.c1 // SPDX-License-Identifier: GPL-2.0-or-later
65 return -EOPNOTSUPP; in mrvl_open()
69 return -ENOMEM; in mrvl_open()
71 skb_queue_head_init(&mrvl->txq); in mrvl_open()
72 skb_queue_head_init(&mrvl->rawq); in mrvl_open()
74 set_bit(STATE_CHIP_VER_PENDING, &mrvl->flags); in mrvl_open()
76 hu->priv = mrvl; in mrvl_open()
78 if (hu->serdev) { in mrvl_open()
79 ret = serdev_device_open(hu->serdev); in mrvl_open()
93 struct mrvl_data *mrvl = hu->priv; in mrvl_close()
[all …]
/linux-6.8/tools/usb/usbip/
DINSTALL15 more-detailed instructions are generic; see the `README' file for
19 various system-dependent variables used during compilation. It uses
21 It may also create one or more `.h' files containing system-dependent
28 and enabled with `--cache-file=config.cache' or simply `-C') that saves
29 the results of its tests to speed up reconfiguring. Caching is
55 3. Optionally, type `make check' to run any self-tests that come with
65 also a `make maintainer-clean' target, but that is intended mainly
77 `configure' script does not know about. Run `./configure --help' for
84 ./configure CC=c99 CFLAGS=-g LIBS=-lposix
98 With a non-GNU `make', it is safer to compile the package for one
[all …]
/linux-6.8/include/dt-bindings/clock/
Drk3399-ddr.h1 /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
7 * DDR3 SDRAM Standard Speed Bins include tCK, tRCD, tRP, tRAS and tRC for
8 * each corresponding bin.
11 /* DDR3-800 (5-5-5) */
13 /* DDR3-800 (6-6-6) */
15 /* DDR3-1066 (6-6-6) */
17 /* DDR3-1066 (7-7-7) */
19 /* DDR3-1066 (8-8-8) */
21 /* DDR3-1333 (7-7-7) */
23 /* DDR3-1333 (8-8-8) */
[all …]
/linux-6.8/Documentation/devicetree/bindings/nvmem/
Dnvmem.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
23 "#address-cells":
26 "#size-cells":
29 read-only:
34 wp-gpios:
36 GPIO to which the write-protect pin of the chip is connected.
37 The write-protect GPIO is asserted, when it's driven high
[all …]
/linux-6.8/Documentation/devicetree/bindings/opp/
Doperating-points-v2-ti-cpu.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/opp/operating-points-v2-ti-cpu.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
14 and voltage values based on device type and speed bin information
18 This document extends the operating-points-v2 binding by providing
22 - Nishanth Menon <nm@ti.com>
25 - $ref: opp-v2-base.yaml#
29 const: operating-points-v2-ti-cpu
37 opp-shared: true
[all …]
/linux-6.8/samples/pktgen/
Dpktgen_sample01_simple.sh1 #!/bin/bash
2 # SPDX-License-Identifier: GPL-2.0
13 # - go look in parameters.sh to see which setting are avail
14 # - required param is the interface "-i" stored in $DEV
22 if [ -z "$DEST_IP" ]; then
23 [ -z "$IP6" ] && DEST_IP="198.18.0.42" || DEST_IP="FD00::1"
25 [ -z "$CLONE_SKB" ] && CLONE_SKB="0"
26 # Example enforce param "-m" for dst_mac
27 [ -z "$DST_MAC" ] && usage && err 2 "Must specify -m dst_mac"
28 [ -z "$COUNT" ] && COUNT="100000" # Zero means indefinitely
[all …]
/linux-6.8/tools/net/ynl/
Dethtool.py1 #!/usr/bin/env python3
2 # SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
14 Verify and convert command-line arguments to the ynl-compatible request.
17 valid_attrs.remove('header') # not user-provided
41 Pretty-print a set of fields from the reply. desc specifies the
66 Print out the speed-like strings from the value dict.
68 speed_re = re.compile(r'[0-9]+base[^/]+/.+')
69 speed = [ k for k, v in value.items() if v and speed_re.match(k) ]
70 print(f'{name}: {" ".join(speed)}')
78 'dev-name': args.device,
[all …]

123456