| /OK3568_Linux_fs/kernel/Documentation/admin-guide/pm/ |
| H A D | intel-speed-select.rst | 1 .. 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/tools/power/cpupower/utils/ |
| H A D | cpufreq-info.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * (C) 2004-2009 Dominik Brodowski <linux@dominikbrodowski.de> 39 value[LINE_LEN - 1] = '\0'; in count_cpus() 40 if (strlen(value) < (LINE_LEN - 2)) in count_cpus() 62 unsigned long min, max; in proc_cpufreq_output() local 64 printf(_(" minimum CPU frequency - maximum CPU frequency - governor\n")); in proc_cpufreq_output() 72 if (cpufreq_get_hardware_limits(cpu, &min, &max)) { in proc_cpufreq_output() 73 max = 0; in proc_cpufreq_output() 75 min_pctg = (policy->min * 100) / max; in proc_cpufreq_output() 76 max_pctg = (policy->max * 100) / max; in proc_cpufreq_output() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/usb/ |
| H A D | usb251xb.txt | 1 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/macintosh/ |
| H A D | windfarm_rm31.c | 1 // SPDX-License-Identifier: GPL-2.0-only 93 #define LOW_OVER_CLEAR ((-10) << 16) 103 /* We max all CPU fans in case of a sensor error. We also do the in cpu_max_all_fans() 155 * We calculate a history of max temperatures and use that for the in cpu_check_overtemp() 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() 228 return -EIO; in read_one_cpu_vals() 248 s32 speed, temp, power, t_max = 0; in cpu_fans_tick() local [all …]
|
| H A D | windfarm_pm72.c | 1 // SPDX-License-Identifier: GPL-2.0-only 65 /* Fixed speed for slot fan */ 99 #define LOW_OVER_CLEAR ((-10) << 16) 109 /* We max all CPU fans in case of a sensor error. We also do the in cpu_max_all_fans() 161 * We calculate a history of max temperatures and use that for the in cpu_check_overtemp() 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() 234 return -EIO; in read_one_cpu_vals() [all …]
|
| H A D | windfarm_pm112.c | 1 // SPDX-License-Identifier: GPL-2.0-only 57 "cpu-rear-fan-0", 58 "cpu-rear-fan-1", 59 "cpu-front-fan-0", 60 "cpu-front-fan-1", 61 "cpu-pump-0", 62 "cpu-pump-1", 67 #define CPU_FANS_REQD (NR_CPU_FANS - 2) 74 /* Scale factor for fan speed, *100 */ 117 #define LOW_OVER_CLEAR ((-10) << 16) [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/i2c/ |
| H A D | i2c_core.c | 9 * SPDX-License-Identifier: GPL-2.0+ 18 int max = ll_entry_count(struct i2c_adapter, i2c); in i2c_get_adapter() local 21 if (index >= max) { in i2c_get_adapter() 22 printf("Error, wrong i2c adapter %d max %d possible\n", in i2c_get_adapter() 23 index, max); in i2c_get_adapter() 45 * ------------- 65 /* channel < 0 - turn off the mux */ in i2c_mux_set() 68 ret = adap->write(adap, chip, 0, 0, &buf, 1); in i2c_mux_set() 78 return -1; in i2c_mux_set() 83 return -1; in i2c_mux_set() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/ide/ |
| H A D | ide-timings.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (c) 1999-2001 Vojtech Pavlik 4 * Copyright (c) 2007-2008 Bartlomiej Zolnierkiewicz 7 * e-mail - mail your message to <vojtech@ucw.cz>, or by paper mail: 16 * PIO 0-5, MWDMA 0-2 and UDMA 0-6 timings (in nanoseconds). 17 * These were taken from ATA/ATAPI-6 standard, rev 0a, except 57 struct ide_timing *ide_timing_find_mode(u8 speed) in ide_timing_find_mode() argument 61 for (t = ide_timing; t->mode != speed; t++) in ide_timing_find_mode() 62 if (t->mode == 0xff) in ide_timing_find_mode() 70 u16 *id = drive->id; in ide_pio_cycle_time() [all …]
|
| /OK3568_Linux_fs/app/forlinx/forlinx_cmd/fltest_spidev_test/ |
| H A D | spidev_test.c | 11 * Cross-compile with cross-gcc -I/path/to/cross-kernel/include 35 static uint32_t speed = 500000; variable 56 .speed_hz = speed, in transfer() 74 printf("Usage: %s [-DsbdlHOLC3]\n", prog); in print_usage() 75 puts(" -D --device device to use (default /dev/spidev1.1)\n" in print_usage() 76 " -s --speed max speed (Hz)\n" in print_usage() 77 " -d --delay delay (usec)\n" in print_usage() 78 " -b --bpw bits per word \n" in print_usage() 79 " -l --loop loopback\n" in print_usage() 80 " -H --cpha clock phase\n" in print_usage() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/ddr/ |
| H A D | lpddr2-timings.txt | 1 * AC timing parameters of LPDDR2(JESD209-2) memories for a given speed-bin 4 - compatible : Should be "jedec,lpddr2-timings" 5 - min-freq : minimum DDR clock frequency for the speed-bin. Type is <u32> 6 - max-freq : maximum DDR clock frequency for the speed-bin. Type is <u32> 11 data-sheet of the device for a given speed-bin. All these properties are 13 a different unit have a suffix indicating the unit such as 'tRAS-max-ns' 14 - tRCD 15 - tWR 16 - tRAS-min 17 - tRRD [all …]
|
| /OK3568_Linux_fs/kernel/drivers/ata/ |
| H A D | libata-pata-timings.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2003-2004 Red Hat, Inc. All rights reserved. 6 * Copyright 2003-2004 Jeff Garzik 15 * drivers/ide/ide-timing.h and was originally written by Vojtech Pavlik 18 * PIO 0-4, MWDMA 0-2 and UDMA 0-6 timings (in nanoseconds). 19 * These were taken from ATA/ATAPI-6 standard, rev 0a, except 57 #define ENOUGH(v, unit) (((v)-1)/(unit)+1) 63 q->setup = EZ(t->setup, T); in ata_timing_quantize() 64 q->act8b = EZ(t->act8b, T); in ata_timing_quantize() 65 q->rec8b = EZ(t->rec8b, T); in ata_timing_quantize() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/hwmon/ |
| H A D | adm1026.rst | 16 - Philip Pokorny <ppokorny@penguincomputing.com> for Penguin Computing 17 - Justin Thiessen <jthiessen@penguincomputing.com> 20 ----------------- 22 * gpio_input: int array (min = 1, max = 17) 23 List of GPIO pins (0-16) to program as inputs 25 * gpio_output: int array (min = 1, max = 17) 26 List of GPIO pins (0-16) to program as outputs 28 * gpio_inverted: int array (min = 1, max = 17) 29 List of GPIO pins (0-16) to program as inverted 31 * gpio_normal: int array (min = 1, max = 17) [all …]
|
| H A D | dme1737.rst | 18 Addresses scanned: none, address read from Super-I/O config space 34 Addresses scanned: none, address read from Super-I/O config space 43 ----------------- 52 Include non-standard LPC addresses 0x162e and 0x164e 55 - VIA EPIA SN18000 59 ----------- 63 and SCH5127 Super-I/O chips. These chips feature monitoring of 3 temp sensors 64 temp[1-3] (2 remote diodes and 1 internal), 8 voltages in[0-7] (7 external and 65 1 internal) and up to 6 fan speeds fan[1-6]. Additionally, the chips implement 66 up to 5 PWM outputs pwm[1-3,5-6] for controlling fan speeds both manually and [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/e1000/ |
| H A D | e1000_param.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2006 Intel Corporation. */ 12 #define OPTION_UNSET -1 30 * Valid Range: 80-256 for 82542 and 82543 gigabit ethernet controllers 31 * Valid Range: 80-4096 for 82544 and newer 39 * Valid Range: 80-256 for 82542 and 82543 gigabit ethernet controllers 40 * Valid Range: 80-4096 for 82544 and newer 46 /* User Specified Speed Override 49 * - 0 - auto-negotiate at all supported speeds 50 * - 10 - only link at 10 Mbps [all …]
|
| /OK3568_Linux_fs/app/forlinx/forlinx_qt/spitest/ |
| H A D | mainwindow.cpp | 18 ui->setupUi(this); in MainWindow() 20 ui->speed->installEventFilter(this); in MainWindow() 21 ui->delay->installEventFilter(this); in MainWindow() 22 ui->bits->installEventFilter(this); in MainWindow() 23 ui->editsend->installEventFilter(this); in MainWindow() 28 ui->spidevlists->addItem(QWidget::tr("Please select SPI device")); in MainWindow() 39 ui->spidevlists->addItem(QWidget::tr(buff)); in MainWindow() 43 connect(ui->spidevlists, in MainWindow() 46 connect(ui->exitBtn, &QPushButton::clicked, this, [=](){ in MainWindow() 56 if (event->type()==QEvent::FocusIn) in eventFilter() [all …]
|
| /OK3568_Linux_fs/app/forlinx/forlinx_up4_qt/spitest/ |
| H A D | mainwindow.cpp | 18 ui->setupUi(this); in MainWindow() 20 ui->speed->installEventFilter(this); in MainWindow() 21 ui->delay->installEventFilter(this); in MainWindow() 22 ui->bits->installEventFilter(this); in MainWindow() 23 ui->editsend->installEventFilter(this); in MainWindow() 28 ui->spidevlists->addItem(QWidget::tr("Please select SPI device")); in MainWindow() 39 ui->spidevlists->addItem(QWidget::tr(buff)); in MainWindow() 43 connect(ui->spidevlists, in MainWindow() 46 connect(ui->exitBtn, &QPushButton::clicked, this, [=](){ in MainWindow() 56 if (event->type()==QEvent::FocusIn) in eventFilter() [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3588-vehicle-s66-v10.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include "rk3588-vehicle-s66.dtsi" 9 #include "rk3588-rk806-dual.dtsi" 11 pcie20_avdd0v85: pcie20-avdd0v85 { 12 compatible = "regulator-fixed"; 13 regulator-name = "pcie20_avdd0v85"; 14 regulator-boot-on; 15 regulator-always-on; 16 regulator-min-microvolt = <850000>; 17 regulator-max-microvolt = <850000>; [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/i2c/ |
| H A D | mp6507.c | 1 // SPDX-License-Identifier: GPL-2.0 24 #include <media/v4l2-subdev.h> 25 #include <media/v4l2-ctrls.h> 26 #include <media/v4l2-device.h> 29 #include <linux/rk-camera-module.h> 136 if (motor->move_status != MOTOR_STATUS_STOPPED) in set_motor_running_status() 137 wait_for_completion(&motor->complete); in set_motor_running_status() 139 motor->cur_ext_dev = cur_ext_dev; in set_motor_running_status() 140 if (!IS_ERR(cur_ext_dev->en_gpio)) in set_motor_running_status() 141 gpiod_set_value_cansleep(cur_ext_dev->en_gpio, 1); in set_motor_running_status() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/core/ |
| H A D | devices.c | 1 // SPDX-License-Identifier: GPL-2.0+ 16 * reason -- maybe it's just too deep of a directory structure. 24 * this in any plug-and-play environment.) 26 * 1999-12-16: Thomas Sailer <sailer@ife.ee.ethz.ch> 32 * 2000-01-04: Thomas Sailer <sailer@ife.ee.ethz.ch> 34 * 2000-07-05: Ashley Montanaro <ashley@compsoc.man.ac.uk> 55 "\nT: Bus=%2.2d Lev=%2.2d Prnt=%2.2d Port=%2.2d Cnt=%2.2d Dev#=%3d Spd=%-4s MxCh=%2d\n"; 77 "D: Ver=%2x.%02x Cls=%02x(%-5s) Sub=%02x Prot=%02x MxPS=%2d #Cfgs=%3d\n"; 89 "A: FirstIf#=%2d IfCount=%2d Cls=%02x(%-5s) Sub=%02x Prot=%02x\n"; 93 "I:%c If#=%2d Alt=%2d #EPs=%2d Cls=%02x(%-5s) Sub=%02x Prot=%02x Driver=%s\n"; [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/gadget/udc/aspeed-vhub/ |
| H A D | dev.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * aspeed-vhub -- Driver for Aspeed SoC "vHub" USB gadget 5 * dev.c - Individual device/gadget management (ie, a port = a gadget) 31 #include <linux/dma-mapping.h> 39 u32 istat = readl(d->regs + AST_VHUB_DEV_ISR); in ast_vhub_dev_irq() 41 writel(istat, d->regs + AST_VHUB_DEV_ISR); in ast_vhub_dev_irq() 44 ast_vhub_ep0_handle_ack(&d->ep0, true); in ast_vhub_dev_irq() 46 ast_vhub_ep0_handle_ack(&d->ep0, false); in ast_vhub_dev_irq() 48 ast_vhub_ep0_handle_setup(&d->ep0); in ast_vhub_dev_irq() 55 if (d->enabled) in ast_vhub_dev_enable() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/subdev/pci/ |
| H A D | gk104.c | 29 return (nvkm_rd32(pci->subdev.device, 0x8c1c0) & 0x4) == 0x4 ? 2 : 1; in gk104_pcie_version_supported() 33 gk104_pcie_set_cap_speed(struct nvkm_pci *pci, enum nvkm_pcie_speed speed) in gk104_pcie_set_cap_speed() argument 35 struct nvkm_device *device = pci->subdev.device; in gk104_pcie_set_cap_speed() 37 switch (speed) { in gk104_pcie_set_cap_speed() 56 int speed = gf100_pcie_cap_speed(pci); in gk104_pcie_cap_speed() local 58 if (speed == 0) in gk104_pcie_cap_speed() 61 if (speed >= 1) { in gk104_pcie_cap_speed() 62 int speed2 = nvkm_rd32(pci->subdev.device, 0x8c1c0) & 0x30000; in gk104_pcie_cap_speed() 74 return -EINVAL; in gk104_pcie_cap_speed() 78 gk104_pcie_set_lnkctl_speed(struct nvkm_pci *pci, enum nvkm_pcie_speed speed) in gk104_pcie_set_lnkctl_speed() argument [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/usb/gadget/ |
| H A D | epautoconf.c | 2 * epautoconf.c -- endpoint autoconfiguration for usb gadget drivers 6 * SPDX-License-Identifier: GPL-2.0+ 8 * SPDX-License-Identifier: GPL-2.0+ 10 * Ported to U-Boot by: Thomas Smits <ts.smits@gmail.com> and 37 * - ep1, ep2, ... address is fixed, not direction or type 38 * - ep1in, ep2out, ... address and direction are fixed, not type 39 * - ep1-bulk, ep2-bulk, ... address and type are fixed, not direction 40 * - ep1in-bulk, ep2out-iso, ... all three are fixed 41 * - ep-* ... no functionality restrictions 43 * Type suffixes are "-bulk", "-iso", or "-int". Numbers are decimal. [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/pci/ |
| H A D | ti,j721e-pci-ep.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 # Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/ 4 --- 5 $id: "http://devicetree.org/schemas/pci/ti,j721e-pci-ep.yaml#" 6 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 11 - Kishon Vijay Abraham I <kishon@ti.com> 14 - $ref: "cdns-pcie-ep.yaml#" 19 - ti,j721e-pcie-ep 24 reg-names: 26 - const: intd_cfg [all …]
|
| /OK3568_Linux_fs/kernel/tools/spi/ |
| H A D | spidev_test.c | 1 // 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/u-boot/arch/arm/dts/ |
| H A D | zynqmp-ep108.dts | 4 * (C) Copyright 2014 - 2015, Xilinx, Inc. 8 * SPDX-License-Identifier: GPL-2.0+ 11 /dts-v1/; 14 #include "zynqmp-ep108-clk.dtsi" 32 stdout-path = "serial0:115200n8"; 51 phy-handle = <&phy0>; 52 phy-mode = "rgmii-id"; 55 max-speed = <100>; 65 clock-frequency = <400000>; 74 clock-frequency = <400000>; [all …]
|