Home
last modified time | relevance | path

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

12345678910>>...43

/OK3568_Linux_fs/u-boot/test/rockchip/
H A Dtest-net.c4 * SPDX-License-Identifier: GPL-2.0+
15 #include "test-rockchip.h"
46 if (bus->phymap[i]) in get_current_phydev()
47 return bus->phymap[i]; in get_current_phydev()
57 memset(data + (frame_size / 2), 0xAA, frame_size / 2 - 1); in create_lbtest_frame()
81 static void eth_setup_loopback_test(struct udevice *current, int speed) in eth_setup_loopback_test() argument
84 struct eth_pdata *pdata = dev_get_platdata(current); in eth_setup_loopback_test()
94 conf = readl(pdata->iobase); in eth_setup_loopback_test()
95 if (speed != LOOPBACK_SPEED_1000) in eth_setup_loopback_test()
100 if (speed == LOOPBACK_SPEED_100) in eth_setup_loopback_test()
[all …]
/OK3568_Linux_fs/kernel/Documentation/hwmon/
H A Dg762.rst4 The GMT G762 Fan Speed PWM Controller is connected directly to a fan
5 and performs closed-loop or open-loop control of the fan speed. Two
6 modes - PWM or DC - are supported by the device.
9 http://natisbad.org/NAS/ref/GMT_EDS-762_763-080710-0.2.pdf. sysfs
10 bindings are described in Documentation/hwmon/sysfs-interface.rst.
25 set desired fan speed. This only makes sense in closed-loop
26 fan speed control (i.e. when pwm1_enable is set to 2).
29 provide current fan rotation value in RPM as reported by
44 in closed-loop control mode, if fan RPM value is 25% out
49 set current fan speed control mode i.e. 1 for manual fan
[all …]
H A Dadm1026.rst16 - Philip Pokorny <ppokorny@penguincomputing.com> for Penguin Computing
17 - Justin Thiessen <jthiessen@penguincomputing.com>
20 -----------------
23 List of GPIO pins (0-16) to program as inputs
26 List of GPIO pins (0-16) to program as outputs
29 List of GPIO pins (0-16) to program as inverted
32 List of GPIO pins (0-16) to program as normal/non-inverted
35 List of GPIO pins (0-7) to program as fan tachs
39 -----------
45 16 general purpose digital I/O lines, eight (8) fan speed sensors (8-bit),
[all …]
H A Dlineage-pem.rst1 Kernel driver lineage-pem
8 Prefix: 'lineage-pem'
10 Addresses scanned: -
16 Author: Guenter Roeck <linux@roeck-us.net>
20 -----------
27 and status reporting commands are non-standard. For this reason, a standard
32 -----------
41 $ modprobe lineage-pem
42 $ echo lineage-pem 0x40 > /sys/bus/i2c/devices/i2c-1/new_device
44 All Lineage CPL power entry modules have a built-in I2C bus master selector
[all …]
H A Dnct6775.rst19 * Nuvoton NCT5572D/NCT6771F/NCT6772F/NCT6775F/W83677HG-I
87 Guenter Roeck <linux@roeck-us.net>
90 -----------
100 There are 4 to 5 fan rotation speed sensors, 8 to 15 analog voltage sensors,
114 triggered if the rotation speed has dropped below a programmable limit. On
117 do not have a fan speed divider. The driver sets the most suitable fan divisor
118 itself; specifically, it increases the divider value each time a fan speed
119 reading returns an invalid value, and it reduces it if the fan speed reading
132 The mode works for fan1-fan5.
135 ----------------
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/usb/
H A Dusb251xb.txt1 Microchip USB 2.0 Hi-Speed Hub Controller
4 Hi-Speed Controller.
7 - compatible : Should be "microchip,usb251xb" or one of the specific types:
11 - reg : I2C address on the selected bus (default is <0x2C>)
14 - reset-gpios : Should specify the gpio for hub reset
15 - vdd-supply : Should specify the phandle to the regulator supplying vdd
16 - skip-config : Skip Hub configuration, but only send the USB-Attach command
17 - vendor-id : Set USB Vendor ID of the hub (16 bit, default is 0x0424)
18 - product-id : Set USB Product ID of the hub (16 bit, default depends on type)
19 - device-id : Set USB Device ID of the hub (16 bit, default is 0x0bb3)
[all …]
H A Dci-hdrc-usb2.txt4 - compatible: should be one of:
5 "fsl,imx23-usb"
6 "fsl,imx27-usb"
7 "fsl,imx28-usb"
8 "fsl,imx6q-usb"
9 "fsl,imx6sl-usb"
10 "fsl,imx6sx-usb"
11 "fsl,imx6ul-usb"
12 "fsl,imx7d-usb"
13 "fsl,imx7ulp-usb"
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/net/forwarding/
H A Dethtool.sh2 # 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
73 ethtool -s $h1 autoneg on
[all …]
/OK3568_Linux_fs/kernel/include/linux/
H A Dphylink.h21 MLO_AN_FIXED, /* Fixed-link mode */
22 MLO_AN_INBAND, /* In-band protocol */
31 * struct phylink_link_state - link state structure
36 * @speed: link speed, one of the SPEED_* constants.
47 int speed; member
61 * struct phylink_config - PHYLINK configuration structure
80 * struct phylink_mac_ops - MAC operations structure.
82 * @mac_pcs_get_state: Read the current link state from the hardware.
109 phy_interface_t interface, int speed, int duplex,
113 #if 0 /* For kernel-doc purposes only. */
[all …]
/OK3568_Linux_fs/u-boot/include/
H A Di2c.h3 * Copyright (C) 2009 - 2013 Heiko Schocher <hs@denx.de>
9 * SPDX-License-Identifier: GPL-2.0+
13 * AIRVENT SAM s.p.a - RIMINI(ITALY)
21 * For now there are essentially two parts to this file - driver model
29 DM_I2C_CHIP_10BIT = 1 << 0, /* Use 10-bit addressing */
36 * struct dm_i2c_chip - information about an i2c chip
39 * and normally supports 7-bit or 10-bit addressing.
62 * struct dm_i2c_bus- information about an i2c bus
71 * @speed_hz: Bus speed in hertz (typically 100000)
78 * Not all of these flags are implemented in the U-Boot API
[all …]
/OK3568_Linux_fs/u-boot/drivers/i2c/
H A Dmvtwsi.c8 * SPDX-License-Identifier: GPL-2.0+
84 /* Number of the device (determined from cell-index property) */
88 /* The configured I2C speed in Hz */
89 uint speed; member
90 /* The current length of a clock period (depending on speed) */
96 * enum mvtwsi_ctrl_register_fields - Bit masks for flags in the control
115 * On sun6i and newer, IFLG is a write-clear bit, which is cleared by writing 1;
126 * enum mvstwsi_status_values - Possible values of I2C controller's status
130 * non-10-bit-address devices are specified.
158 * enum mvstwsi_ack_flags - Determine whether a read byte should be
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/ti/
H A Dk3-j7200-main.dtsi1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/
10 compatible = "mmio-sram";
12 #address-cells = <1>;
13 #size-cells = <1>;
16 atf-sram@0 {
21 scm_conf: scm-conf@100000 {
22 compatible = "ti,j721e-system-controller", "syscon", "simple-mfd";
24 #address-cells = <1>;
25 #size-cells = <1>;
[all …]
/OK3568_Linux_fs/kernel/Documentation/admin-guide/pm/
H A Dintel-speed-select.rst1 .. SPDX-License-Identifier: GPL-2.0
4 Intel(R) Speed Select Technology User Guide
7 The Intel(R) Speed Select Technology (Intel(R) SST) provides a powerful new
14 - https://www.intel.com/content/www/us/en/architecture-and-technology/speed-select-technology-artic…
15 - https://builders.intel.com/docs/networkbuilders/intel-speed-select-technology-base-frequency-enha…
19 dynamically without pre-configuring via BIOS setup options. This dynamic
21 and configure these features is by using the Intel Speed Select utility.
23 This document explains how to use the Intel Speed Select tool to enumerate and
29 intel-speed-select configuration tool
32 Most Linux distribution packages may include the "intel-speed-select" tool. If not,
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/subdev/pci/
H A Dpcie.c33 nvkm_pcie_speed(enum pci_bus_speed speed) in nvkm_pcie_speed() argument
35 switch (speed) { in nvkm_pcie_speed()
44 if (speed == 0x17) in nvkm_pcie_speed()
46 return -1; in nvkm_pcie_speed()
53 if (!pci->func->pcie.version) in nvkm_pcie_get_version()
54 return -ENOSYS; in nvkm_pcie_get_version()
56 return pci->func->pcie.version(pci); in nvkm_pcie_get_version()
62 if (!pci->func->pcie.version_supported) in nvkm_pcie_get_max_version()
63 return -ENOSYS; in nvkm_pcie_get_max_version()
65 return pci->func->pcie.version_supported(pci); in nvkm_pcie_get_max_version()
[all …]
/OK3568_Linux_fs/kernel/drivers/usb/dwc2/
H A Dhcd.h1 /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */
3 * hcd.h - DesignWare HS OTG Controller host-mode declarations
5 * Copyright (C) 2004-2013 Synopsys, Inc.
16 * 3. The names of the above-listed copyright holders may not be used
53 * struct dwc2_host_chan - Software host channel descriptor
59 * @speed: Device speed. One of the following values:
60 * - USB_SPEED_LOW
61 * - USB_SPEED_FULL
62 * - USB_SPEED_HIGH
64 * - USB_ENDPOINT_XFER_CONTROL: 0
[all …]
/OK3568_Linux_fs/kernel/drivers/macintosh/
H A Dwindfarm_rm31.c1 // SPDX-License-Identifier: GPL-2.0-only
93 #define LOW_OVER_CLEAR ((-10) << 16)
161 cpu_thist_total -= t_old; in cpu_check_overtemp()
187 /* High overtemp -> immediate shutdown */ in cpu_check_overtemp()
211 return -EIO; in read_one_cpu_vals()
220 return -EIO; in read_one_cpu_vals()
224 /* Get current */ in read_one_cpu_vals()
227 DBG(" CPU%d, current reading error !\n", cpu); in read_one_cpu_vals()
228 return -EIO; in read_one_cpu_vals()
234 /* Scale voltage and current raw sensor values according to fixed scales in read_one_cpu_vals()
[all …]
H A Dwindfarm_pm72.c1 // SPDX-License-Identifier: GPL-2.0-only
65 /* Fixed speed for slot fan */
99 #define LOW_OVER_CLEAR ((-10) << 16)
167 cpu_thist_total -= t_old; in cpu_check_overtemp()
193 /* High overtemp -> immediate shutdown */ in cpu_check_overtemp()
217 return -EIO; in read_one_cpu_vals()
226 return -EIO; in read_one_cpu_vals()
230 /* Get current */ in read_one_cpu_vals()
233 DBG(" CPU%d, current reading error !\n", cpu); in read_one_cpu_vals()
234 return -EIO; in read_one_cpu_vals()
[all …]
/OK3568_Linux_fs/kernel/Documentation/driver-api/thermal/
H A Dnouveau_thermal.rst12 -----------
17 Currently, due to the absence of in-kernel API to access HWMON drivers, Nouveau
24 ----------------------
26 Temperature is exposed under as a read-only HWMON attribute temp1_input.
32 Fan speed is set to 100% when reaching this temperature;
56 --------------
62 Current fan management mode (NONE, MANUAL or AUTO);
64 Current PWM value (power percentage);
66 The minimum PWM speed allowed;
68 The maximum PWM speed allowed (bypassed when hitting Fan_boost);
[all …]
/OK3568_Linux_fs/kernel/drivers/i2c/busses/
H A Di2c-designware-core.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
183 * struct dw_i2c_dev - private i2c-designware data
196 * @msg_write_idx: the element index of the current tx message in the msgs
198 * @tx_buf_len: the length of the current tx buffer
199 * @tx_buf: the current tx buffer
200 * @msg_read_idx: the element index of the current rx message in the msgs
202 * @rx_buf_len: the length of the current rx buffer
203 * @rx_buf: the current rx buffer
204 * @msg_err: error status of the current transfer
212 * @rx_outstanding: current master-rx elements in tx fifo
[all …]
/OK3568_Linux_fs/kernel/Documentation/userspace-api/media/dvb/
H A Dvideo_types.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
10 .. _video-format-t:
18 .. code-block:: c
30 about the display format of the current video stream.
33 .. _video-displayformat-t:
44 .. code-block:: c
55 .. _video-stream-source-t:
65 .. code-block:: c
80 .. _video-play-state-t:
89 .. code-block:: c
[all …]
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Domap-zoom-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
6 #include "omap-gpmc-smsc911x.dtsi"
20 bank-width = <2>;
21 reg-shift = <1>;
22 reg-io-width = <1>;
23 interrupt-parent = <&gpio4>;
25 clock-frequency = <1843200>;
26 current-speed = <115200>;
27 gpmc,mux-add-data = <0>;
28 gpmc,device-width = <1>;
[all …]
/OK3568_Linux_fs/kernel/drivers/net/bonding/
H A Dbond_3ad.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright(c) 1999 - 2004 Intel Corporation. All rights reserved.
50 * key is determined according to the link speed, duplex and
52 * --------------------------------------------------------------
53 * Port key | User key (10 bits) | Speed (5 bits) | Duplex|
54 * --------------------------------------------------------------
119 * __get_bond_by_port - get the port's bonding struct
126 if (port->slave == NULL) in __get_bond_by_port()
129 return bond_get_bond_by_slave(port->slave); in __get_bond_by_port()
133 * __get_first_agg - get the first aggregator in the bond
[all …]
/OK3568_Linux_fs/kernel/usr/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0
11 space-separated list of directories and files for building the
21 See <file:Documentation/driver-api/early-userspace/early_userspace_support.rst> for more details.
41 (-1 = current user) will be owned by root in the resulting image.
51 (-1 = current group) will be owned by root in the resulting image.
113 prompt "Built-in initramfs compression mode"
119 decompression speed. Compression speed is only relevant
120 when building a kernel. Decompression speed is relevant at
141 a good balance between compression ratio and decompression speed and
142 has a reasonable compression speed. It is also more likely to be
[all …]
/OK3568_Linux_fs/kernel/tools/spi/
H A 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 [-DsbdlHOLC3vpNR24SI]\n", prog); in print_usage()
176 puts(" -D --device device to use (default /dev/spidev1.1)\n" in print_usage()
177 " -s --speed max speed (Hz)\n" in print_usage()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/phy/
H A Dphy-core.c1 // SPDX-License-Identifier: GPL-2.0+
10 * phy_speed_to_str - Return a string representing the PHY link speed
12 * @speed: Speed of the link
14 const char *phy_speed_to_str(int speed) in phy_speed_to_str() argument
18 "If a speed or mode has been added please update phy_speed_to_str " in phy_speed_to_str()
21 switch (speed) { in phy_speed_to_str()
55 return "Unsupported (update phy-core.c)"; in phy_speed_to_str()
61 * phy_duplex_to_str - Return string describing the duplex
73 return "Unsupported (update phy-core.c)"; in phy_duplex_to_str()
77 /* A mapping of all SUPPORTED settings to speed/duplex. This table
[all …]

12345678910>>...43