/linux/include/linux/mmc/ |
H A D | host.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 12 #include <linux/fault-inject.h> 18 #include <linux/dma-direction.h> 19 #include <linux/blk-crypto-profile.h> 187 * ios->clock might be 0. For some controllers, setting 0Hz 197 * 1 for a read-only card 198 * -ENOSYS when not supported (equal to NULL callback) 207 * -ENOSYS when not supported (equal to NULL callback) 224 /* The tuning command opcode value is different for SD and eMMC cards */ 230 /* Execute HS400 tuning depending host driver */ [all …]
|
/linux/Documentation/admin-guide/sysctl/ |
H A D | index.rst | 7 ------------------------------------------------------------------------------ 18 be actually used, not just for the fun of programming it :-) 20 ------------------------------------------------------------------------------ 37 you're the last RTFMing person to screw up. 39 In short, e-mail your suggestions, corrections and / or horror 44 -------------------------------------------------------------- 50 at run-time, and the /proc/sys/ directory is there so that you 55 - a running Linux system 56 - root access 57 - common sense (this is especially hard to come by these days) [all …]
|
/linux/Documentation/devicetree/bindings/mmc/ |
H A D | marvell,xenon-sdhci.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mmc/marvell,xenon-sdhci.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 mmc-controller.yaml and the properties used by the Xenon implementation. 20 - Ulf Hansson <ulf.hansson@linaro.org> 25 - enum: 26 - marvell,armada-cp110-sdhci 27 - marvell,armada-ap806-sdhci 29 - items: [all …]
|
/linux/mm/damon/ |
H A D | reclaim.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * DAMON-based page reclamation 8 #define pr_fmt(fmt) "damon-reclaim: " fmt 14 #include "modules-common.h" 26 * do no real monitoring and reclamation due to the watermarks-based activation 37 * of parametrs except ``enabled`` again. Once the re-reading is done, this 39 * re-reading, DAMON_RECLAIM will be disabled. 66 * Desired level of memory pressure-stall time in microseconds. 70 * memory pressure is incurred. System-wide ``some`` memory PSI in microseconds 73 * disabling this auto-tuning feature. [all …]
|
/linux/Documentation/admin-guide/mm/damon/ |
H A D | reclaim.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 DAMON-based Reclamation 7 DAMON-based Reclamation (DAMON_RECLAIM) is a static kernel module that aimed to 9 It doesn't aim to replace the LRU-list based page_granularity reclamation, but 15 On general memory over-committed systems, proactively reclaiming cold pages 20 Free Pages Reporting [3]_ based memory over-commit virtualization systems are 24 guests could be not so memory-frugal, mainly because some kernel subsystems and 25 user-space applications are designed to use as much memory as available. Then, 54 ------- 60 no real monitoring and reclamation due to the watermarks-based activation [all …]
|
/linux/drivers/mmc/host/ |
H A D | renesas_sdhi_core.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2015-19 Renesas Electronics Corporation 6 * Copyright (C) 2016-19 Sang Engineering, Wolfram Sang 7 * Copyright (C) 2016-17 Horms Solutions, Simon Horman 13 * Copyright 2004-2005 Phil Blundell 14 * Copyright 2007-2008 OpenedHand Ltd. 27 #include <linux/mmc/slot-gpio.h> 30 #include <linux/pinctrl/pinctrl-state.h> 95 struct mmc_host *mmc = host->mmc; in renesas_sdhi_clk_enable() 99 ret = clk_prepare_enable(priv->clk_cd); in renesas_sdhi_clk_enable() [all …]
|
H A D | sdhci-xenon-phy.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Date: 2016-8-24 17 #include "sdhci-pltfm.h" 18 #include "sdhci-xenon.h" 197 /* Divider for calculating Tuning Step */ 209 params = devm_kzalloc(mmc_dev(host->mmc), sizeof(*params), GFP_KERNEL); in xenon_alloc_emmc_phy() 211 return -ENOMEM; in xenon_alloc_emmc_phy() 213 priv->phy_params = params; in xenon_alloc_emmc_phy() 214 if (priv->phy_type == EMMC_5_0_PHY) in xenon_alloc_emmc_phy() 215 priv->emmc_phy_regs = &xenon_emmc_5_0_phy_regs; in xenon_alloc_emmc_phy() [all …]
|
H A D | sdhci_am654.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * sdhci_am654.c - SDHCI driver for TI's AM654 SOCs 5 * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com 18 #include "sdhci-cqhci.h" 19 #include "sdhci-pltfm.h" 88 #define SDHCI_AM654_AUTOSUSPEND_DELAY -1 108 [MMC_TIMING_LEGACY] = {"ti,otap-del-sel-legacy", 109 "ti,itap-del-sel-legacy", 111 [MMC_TIMING_MMC_HS] = {"ti,otap-del-sel-mmc-hs", 112 "ti,itap-del-sel-mmc-hs", [all …]
|
H A D | dw_mmc-rockchip.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 11 #include <linux/mmc/slot-gpio.h> 16 #include "dw_mmc-pltfm.h" 41 * Each fine delay is between 44ps-77ps. Assume each fine delay is 60ps to 46 unsigned long rate = clk_get_rate(host->ciu_clk); in rockchip_mmc_get_internal_phase() 78 struct dw_mci_rockchip_priv_data *priv = host->priv; in rockchip_mmc_get_phase() 79 struct clk *clock = sample ? priv->sample_clk : priv->drv_clk; in rockchip_mmc_get_phase() 81 if (priv->internal_phase) in rockchip_mmc_get_phase() 89 unsigned long rate = clk_get_rate(host->ciu_clk); in rockchip_mmc_set_internal_phase() 105 * for people to debug unstable mmc tuning results. in rockchip_mmc_set_internal_phase() [all …]
|
/linux/drivers/media/dvb-core/ |
H A D | dvb_frontend.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * dvb_frontend.c: DVB frontend tuning interface/thread 5 * Copyright (C) 1999-2001 Ralph Metzler 10 * Copyright (C) 2004 Andrew de Quincey (tuning thread cleanup) 57 MODULE_PARM_DESC(dvb_mfe_wait_time, "Wait up to <mfe_wait_time> seconds on open() for multi-fronten… 77 * FESTATE_IDLE. No tuning parameters have been supplied and the loop is idling. 79 * FESTATE_TUNING_FAST. Tuning parameters have been supplied and fast zigzag scan is in progress. 80 …* FESTATE_TUNING_SLOW. Tuning parameters have been supplied. Fast zigzag failed, so we're trying a… 83 …* FESTATE_ZIGZAG_SLOW. The lock has been lost. Fast zigzag has been failed, so we're trying again,… 85 * FESTATE_WAITFORLOCK. When we're waiting for a lock. [all …]
|
/linux/Documentation/admin-guide/media/ |
H A D | bt8xx.rst | 1 .. SPDX-License-Identifier: GPL-2.0 16 ------------------- 21 Please see Documentation/admin-guide/media/bttv-cardlist.rst for a complete 28 ./scripts/config -e PCI 29 ./scripts/config -e INPUT 30 ./scripts/config -m I2C 31 ./scripts/config -m MEDIA_SUPPORT 32 ./scripts/config -e MEDIA_PCI_SUPPORT 33 ./scripts/config -e MEDIA_ANALOG_TV_SUPPORT 34 ./scripts/config -e MEDIA_DIGITAL_TV_SUPPORT [all …]
|
H A D | faq.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 avoid confusion, we're calling *transponders* as the physical 23 1. The signal seems to die a few seconds after tuning. 28 is closed). The ``dvb-core`` module parameter ``dvb_shutdown_timeout`` 37 tools and are grouped together with the ``v4l-utils`` git repository: 39 https://git.linuxtv.org/v4l-utils.git/ 48 for example the ``dvbv5-scan`` tool. You can find more information 51 https://www.linuxtv.org/wiki/index.php/Dvbv5-scan 70 https://git.linuxtv.org/dtv-scan-tables.git 88 list with a tool like ``dvbv5-scan``. [all …]
|
/linux/Documentation/driver-api/media/ |
H A D | dtv-frontend.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 ------------------------ 9 The Digital TV Frontend kABI defines a driver-internal interface for 10 registering low-level, hardware specific driver to a hardware independent 29 .name = "foo DVB-T/T2/C driver", 70 .name = "Bar DVB-S/S2 demodulator", 91 /* Satellite-specific */ 100 #) For satellite digital TV standards (DVB-S, DVB-S2, ISDB-S), the 102 standards, they're specified in Hz. Due to that, if the same frontend 124 responsible for tuning the device. It supports multiple algorithms to [all …]
|
H A D | dtv-demux.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 --------------------- 9 The Kernel Digital TV Demux kABI defines a driver-internal interface for 10 registering low-level, hardware specific driver to a hardware independent 20 Each demux receives its TS input from a DVB front-end or from memory, as 21 set via this demux kABI. In a system with more than one front-end, the kABI 22 can be used to select one of the DVB front-ends as a TS source for a demux, 25 The demux kABI only controls front-ends regarding to their connections with 26 demuxes; the kABI used to set the other front-end parameters, such as 27 tuning, are defined via the Digital TV Frontend kABI. [all …]
|
/linux/drivers/clk/rockchip/ |
H A D | clk-mmc-phase.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 #include <linux/clk-provider.h> 40 * Each fine delay is between 44ps-77ps. Assume each fine delay is 60ps to 57 raw_value = readl(mmc_clock->reg) >> (mmc_clock->shift); in rockchip_mmc_get_phase() 93 * for people to debug unstable mmc tuning results. in rockchip_mmc_set_phase() 97 return -EINVAL; in rockchip_mmc_set_phase() 105 * actually go non-monotonic. We don't go _too_ monotonic in rockchip_mmc_set_phase() 118 * degrees off from what we think we're making. That's OK in rockchip_mmc_set_phase() 124 * don't overflow 32-bit / 64-bit numbers. in rockchip_mmc_set_phase() 137 writel(HIWORD_UPDATE(raw_value, 0x07ff, mmc_clock->shift), in rockchip_mmc_set_phase() [all …]
|
/linux/include/media/ |
H A D | tuner-types.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 10 * enum param_type - type of the tuner pameters 27 * struct tuner_range - define the frequencies supported by the tuner 36 * those ranges, as they're defined inside the driver. This is used by 54 * struct tuner_params - Parameters to be used to setup the tuner. Those 55 * are used by drivers/media/tuners/tuner-types.c in 57 * the parameters are for tuners based on tda9887 IF-PLL 58 * multi-standard analog TV/Radio demodulator, with is 65 * @cb_first_if_lower_freq: Many Philips-based tuners have a comment in 68 * switching, and to ensure smooth tuning to the [all …]
|
/linux/drivers/phy/rockchip/ |
H A D | phy-rockchip-emmc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2016 Shawn Lin <shawn.lin@rock-chips.com> 20 * The higher 16-bit of this register is used for write protection 106 regmap_write(rk_phy->reg_base, in rockchip_emmc_phy_power() 107 rk_phy->reg_offset + GRF_EMMCPHY_CON6, in rockchip_emmc_phy_power() 111 regmap_write(rk_phy->reg_base, in rockchip_emmc_phy_power() 112 rk_phy->reg_offset + GRF_EMMCPHY_CON6, in rockchip_emmc_phy_power() 121 rate = clk_get_rate(rk_phy->emmcclk); in rockchip_emmc_phy_power() 146 rate - ideal_rate : ideal_rate - rate; in rockchip_emmc_phy_power() 149 * In order for tuning delays to be accurate we need to be in rockchip_emmc_phy_power() [all …]
|
/linux/tools/sched_ext/ |
H A D | README.md | 11 Some of the examples are performant, production-ready schedulers. That is, for 12 the correct workload and with the correct tuning, they may be deployed in a 18 types of workloads or scenarios they're designed to accommodate, and whether or 19 not they're production ready. For more details on any of these schedulers, 47 non-trivial ones. 79 This is a large, auto-generated header file that contains all of the types 81 [BTF](https://docs.kernel.org/bpf/btf.html) (i.e. with the BTF-related Kconfig 108 bpf_printk("Task %s enabled in example scheduler", p->comm); 126 3. At `../../vmlinux` (i.e. at the root of the kernel tree where you're 129 4. `/boot/vmlinux-$(uname -r)` [all …]
|
/linux/Documentation/admin-guide/blockdev/ |
H A D | floppy.rst | 19 Example: If your kernel is called linux-2.6.9, type the following line 22 linux-2.6.9 floppy=thinkpad 25 of linux-2.6.9:: 31 linux-2.6.9 floppy=daring floppy=two_fdc 96 and is thus harder to find, whereas non-dma buffers may be 104 If you have a FIFO-able FDC, the floppy driver automatically 105 falls back on non DMA mode if no DMA-able memory can be found. 130 using 'floppycontrol --messages'. Then access a floppy 131 disk. If you get a huge amount of "Over/Underrun - retrying" 135 when doing this tuning. Indeed, it allows to try different [all …]
|
/linux/drivers/gpu/drm/i915/gt/ |
H A D | intel_workarounds.c | 1 // SPDX-License-Identifier: MIT 3 * Copyright © 2014-2018 Intel Corporation 30 * - Context workarounds: workarounds that touch registers that are 40 * - Engine workarounds: the list of these WAs is applied whenever the specific 60 * - GT workarounds: the list of these WAs is applied whenever these registers 66 * - Register whitelist: some workarounds need to be implemented in userspace, 70 * these to/be-whitelisted registers to some special HW registers). 75 * - Workaround batchbuffers: buffers that get executed automatically by the 91 * - Other: There are WAs that, due to their nature, cannot be applied from a 103 wal->gt = gt; in wa_init_start() [all …]
|
/linux/drivers/memory/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 12 vary from memory tuning and frequency scaling to enabling 42 Used to configure the EBI (external bus interface) when the device- 68 bool "Baikal-T1 CM2 L2-RAM Cache Control Block" 72 Baikal-T1 CPU is based on the MIPS P5600 Warrior IP-core. The CPU 73 resides Coherency Manager v2 with embedded 1MB L2-cache. It's 75 tags and way-select latencies of RAM access. This driver provides a 76 dt properties-based and sysfs interface for it. 85 is intended to provide a glue-less interface to a variety of 99 functions of the driver includes re-configuring AC timing [all …]
|
/linux/Documentation/driver-api/ |
H A D | libata.rst | 12 transports for ATA and ATAPI devices, and SCSI<->ATA translation for ATA 16 internals, and a couple sample ATA low-level drivers. 22 is defined for every low-level libata 23 hardware driver, and it controls how the low-level driver interfaces 26 FIS-based drivers will hook into the system with ``->qc_prep()`` and 27 ``->qc_issue()`` high-level hooks. Hardware which behaves in a manner 33 ---------------------------------------------------------- 35 Post-IDENTIFY device configuration 44 Typically used to apply device-specific fixups prior to issue of SET 45 FEATURES - XFER MODE, and prior to operation. [all …]
|
/linux/drivers/media/dvb-frontends/ |
H A D | cx24116.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 Conexant cx24116/cx24118 - DVBS/S2 Satellite demod/tuner driver 5 Copyright (C) 2006-2008 Steven Toth <stoth@hauppauge.com> 6 Copyright (C) 2006-2007 Georg Acher 7 Copyright (C) 2007-2008 Darron Broad 45 #define CX24116_DEFAULT_FIRMWARE "dvb-fe-cx24116.fw" 74 /* Select DVB-S demodulator, else DVB-S2 */ 78 /* Pilot mode requested when tuning else always reset when tuned */ 128 MODULE_PARM_DESC(esno_snr, "SNR return units, 0=PERCENTAGE 0-100, "\ 190 struct i2c_msg msg = { .addr = state->config->demod_address, in cx24116_writereg() [all …]
|
/linux/drivers/mmc/core/ |
H A D | mmc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2003-2004 Russell King, All Rights Reserved. 6 * Copyright (C) 2005-2007 Pierre Ossman, All Rights Reserved. 59 u32 *resp = card->raw_cid; in mmc_decode_cid() 65 add_device_randomness(&card->raw_cid, sizeof(card->raw_cid)); in mmc_decode_cid() 71 switch (card->csd.mmca_vsn) { in mmc_decode_cid() 72 case 0: /* MMC v1.0 - v1.2 */ in mmc_decode_cid() 74 card->cid.manfid = unstuff_bits(resp, 104, 24); in mmc_decode_cid() 75 card->cid.prod_name[0] = unstuff_bits(resp, 96, 8); in mmc_decode_cid() 76 card->cid.prod_name[1] = unstuff_bits(resp, 88, 8); in mmc_decode_cid() [all …]
|
/linux/drivers/ata/ |
H A D | ata_generic.c | 2 * ata_generic.c - Generic PATA/SATA controller driver. 6 * Copyright (C) 2001-2002 Andre Hedrick <andre@linux-ide.org> 13 * tuning for us. By default we do not grab all IDE class devices as they 41 * generic_set_mode - mode setting 53 struct ata_port *ap = link->ap; in generic_set_mode() 54 const struct pci_device_id *id = ap->host->private_data; in generic_set_mode() 58 if (id->driver_data & ATA_GEN_FORCE_DMA) { in generic_set_mode() 60 } else if (ap->ioaddr.bmdma_addr) { in generic_set_mode() 62 dma_enabled = ioread8(ap->ioaddr.bmdma_addr + ATA_DMA_STATUS); in generic_set_mode() 67 dev->pio_mode = XFER_PIO_0; in generic_set_mode() [all …]
|