/linux/Documentation/devicetree/bindings/input/ |
H A D | ti,drv260x.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Texas Instruments - drv260x Haptics driver family 10 - Andrew Davis <afd@ti.com> 15 - ti,drv2604 16 - ti,drv2605 17 - ti,drv2605l 22 vbat-supply: 30 (defined in include/dt-bindings/input/ti-drv260x.h) [all …]
|
/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | richtek,rt5033-charger.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/supply/richtek,rt5033-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jakob Hauser <jahau@rocketmail.com> 14 under sub-node named "charger" using the following format. 18 const: richtek,rt5033-charger 20 monitored-battery: 26 precharge-current-microamp: 27 Current of pre-charge mode. The pre-charge current levels are 350 mA [all …]
|
/linux/Documentation/gpu/amdgpu/display/ |
H A D | display-manager.rst | 8 .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 11 .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h 17 .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 20 .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 26 .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c 29 .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c 32 .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 38 .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 41 .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 47 .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c [all …]
|
/linux/drivers/gpu/drm/i915/gt/ |
H A D | intel_wopcm.c | 1 // SPDX-License-Identifier: MIT 3 * Copyright © 2017-2019 Intel Corporation 26 * | Size +--------------------+ 28 * | | +--------------------+ 30 * | | +------------------- + 34 * | +------------------- + <== HuC Firmware Top 73 * intel_wopcm_init_early() - Early initialization of the WOPCM. 81 struct drm_i915_private *i915 = gt->i915; in intel_wopcm_init_early() 87 wopcm->size = GEN11_WOPCM_SIZE; in intel_wopcm_init_early() 89 wopcm->size = GEN9_WOPCM_SIZE; in intel_wopcm_init_early() [all …]
|
/linux/Documentation/devicetree/bindings/mtd/ |
H A D | mtd.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Miquel Raynal <miquel.raynal@bootlin.com> 11 - Richard Weinberger <richard@nod.at> 21 User-defined MTD device name. Can be used to assign user friendly 26 '#address-cells': 29 '#size-cells': 36 - compatible 39 "@[0-9a-f]+$": [all …]
|
/linux/drivers/mtd/chips/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 13 support any device that is CFI-compliant, you need to enable this 18 tristate "Detect non-CFI AMD/JEDEC-compatible flash chips" 22 This option enables JEDEC-style probing of flash chips which are not 24 CFI-targeted flash drivers for any chips which are identified which 26 covers most AMD/Fujitsu-compatible chips and also non-CFI 53 are expected to be wired to the CPU in 'host-endian' form. 85 bool "Support 8-bit buswidth" if MTD_CFI_GEOMETRY 92 bool "Support 16-bit buswidth" if MTD_CFI_GEOMETRY 99 bool "Support 32-bit buswidth" if MTD_CFI_GEOMETRY [all …]
|
/linux/Documentation/devicetree/bindings/clock/ |
H A D | silabs,si5341.txt | 6 https://www.silabs.com/documents/public/data-sheets/Si5341-40-D-DataSheet.pdf 8 https://www.silabs.com/documents/public/reference-manuals/Si5341-40-D-RM.pdf 10 https://www.silabs.com/documents/public/reference-manuals/Si5345-44-42-D-RM.pdf 21 chip at boot, in case you have a (pre-)programmed device. If the PLL is not 28 still be programmed into the chip and the driver will leave them "as is". 33 - compatible: shall be one of the following: 34 "silabs,si5340" - Si5340 A/B/C/D 35 "silabs,si5341" - Si5341 A/B/C/D 36 "silabs,si5342" - Si5342 A/B/C/D 37 "silabs,si5344" - Si5344 A/B/C/D [all …]
|
/linux/Documentation/trace/coresight/ |
H A D | coresight-config.rst | 1 .. SPDX-License-Identifier: GPL-2.0 14 programming of the CoreSight system with pre-defined configurations that 17 Many CoreSight components can be programmed in complex ways - especially ETMs. 30 -------- 41 accesses in the driver - the resource usage and parameter descriptions 43 and efficient for the feature to be programmed onto the device when required. 47 will be programmed into the device hardware. 56 feature being enabled that can adjust the behaviour of the operation programmed 59 For example, this could be a count value in a programmed operation that repeats 67 system - which is described below. [all …]
|
/linux/Documentation/networking/ |
H A D | xsk-tx-metadata.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 via :doc:`af_xdp`. Refer to :doc:`xdp-rx-metadata` on how to access similar 26 ``xdp_desc->addr`` in the umem frame. Within a frame, the metadata 31 +-----------------+---------+----------------------------+ 33 +-----------------+---------+----------------------------+ 36 xdp_desc->addr 40 use ``xdp_desc->addr - tx_metadata_len`` to locate 47 - ``XDP_TXMD_FLAGS_TIMESTAMP``: requests the device to put transmission 49 - ``XDP_TXMD_FLAGS_CHECKSUM``: requests the device to calculate L4 53 - ``XDP_TXMD_FLAGS_LAUNCH_TIME``: requests the device to schedule the [all …]
|
H A D | switchdev.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 Copyright |copy| 2014-2015 Scott Feldman <sfeldma@gmail.com> 14 The Ethernet switch device driver model (switchdev) is an in-kernel driver 19 an example setup using a data-center-class switch ASIC chip. Other setups 20 with SR-IOV or soft switches, such as OVS, are possible. 25 User-space tools 28 +-------------------------------------------------------------------+ 31 +--------------+-------------------------------+ 35 +----------------------------------------------+ 41 +--+----+----+----+----+----+---+ +-----+-----+ [all …]
|
/linux/arch/powerpc/sysdev/ |
H A D | fsl_lbc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright © 2007-2008 MontaVista Software, Inc. 10 * Author: Roy Zang <tie-fei.zang@freescale.com> 36 * fsl_lbc_addr - convert the base address 46 struct device_node *np = fsl_lbc_ctrl_dev->dev->of_node; in fsl_lbc_addr() 57 * fsl_lbc_find - find Localbus bank 70 if (!fsl_lbc_ctrl_dev || !fsl_lbc_ctrl_dev->regs) in fsl_lbc_find() 71 return -ENODEV; in fsl_lbc_find() 73 lbc = fsl_lbc_ctrl_dev->regs; in fsl_lbc_find() 74 for (i = 0; i < ARRAY_SIZE(lbc->bank); i++) { in fsl_lbc_find() [all …]
|
/linux/Documentation/leds/ |
H A D | leds-lm3556.rst | 6 1.5 A Synchronous Boost LED Flash Driver w/ High-Side Current Source 10 - Daniel Jeong 12 Contact:Daniel Jeong(daniel.jeong-at-ti.com, gshark.jeong-at-gmail.com) 15 ----------- 50 In Torch Mode, the current source(LED) is programmed via the CURRENT CONTROL 78 and 4 patterns are pre-defined in indicator_pattern array. 80 According to N-lank, Pulse time and N Period values, different pattern wiill 84 Please refer datasheet for more detail about N-Blank, Pulse time and N Period. 118 ----- 121 according to include/linux/platform_data/leds-lm3556.h, set the i2c board info
|
/linux/Documentation/devicetree/bindings/iio/adc/ |
H A D | qcom,spmi-vadc.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/qcom,spmi-vadc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Andy Gross <agross@kernel.org> 11 - Bjorn Andersson <bjorn.andersson@linaro.org> 15 voltage. The VADC is a 15-bit sigma-delta ADC. 17 voltage. The VADC is a 16-bit sigma-delta ADC. 22 - items: 23 - const: qcom,pms405-adc [all …]
|
/linux/sound/oss/dmasound/ |
H A D | dmasound_atari.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 * - added versioning 12 * - put in and populated the hardware_afmts field. 13 * [0.2] - put in SNDCTL_DSP_GETCAPS value. 14 * 01/02/2001 [0.3] - put in default hard/soft settings. 171 return -EFAULT; in ata_ct_law() 173 count--; in ata_ct_law() 192 return -EFAULT; in ata_ct_s8() 211 return -EFAULT; in ata_ct_u8() 213 count--; in ata_ct_u8() [all …]
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | ext-ctrls-flash.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _flash-controls: 17 .. _flash-controls-use-cases: 24 ------------------------------------------ 35 ---------------------------------------- 37 The synchronised LED flash is pre-programmed by the host (power and 46 ------------------ 52 .. _flash-control-id: 55 ----------------- 61 Defines the mode of the flash LED, the high-power white LED attached [all …]
|
/linux/Documentation/power/ |
H A D | pci.rst | 13 power management refer to Documentation/driver-api/pm/devices.rst and 27 1.1. Native and Platform-Based Power Management 28 ----------------------------------------------- 31 devices into states in which they draw less power (low-power states) at the 34 Usually, a device is put into a low-power state when it is underutilized or 36 again, it has to be put back into the "fully functional" state (full-power 41 PCI devices may be put into low-power states in two ways, by using the device 53 to put the device that sent it into the full-power state. However, the PCI Bus 68 Thus in many situations both the native and the platform-based power management 72 -------------------------------- [all …]
|
/linux/Documentation/devicetree/bindings/media/i2c/ |
H A D | maxim,max9286.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Jacopo Mondi <jacopo+renesas@jmondi.org> 12 - Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> 13 - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> 14 - Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> 18 Serial Links (GMSL) and outputs them on a CSI-2 D-PHY port using up to 4 data 28 '#address-cells': 31 '#size-cells': [all …]
|
/linux/drivers/video/fbdev/ |
H A D | pm3fb.c | 2 * linux/drivers/video/pm3fb.c -- 3DLabs Permedia3 frame buffer device 10 * Sven Luther, <luther@dpt-info.u-strasbg.fr> 16 * Copyright (C) 1998-1999 Ilario Nardinocchi (nardinoc@CS.UniBO.IT) 97 return fb_readl(par->v_regs + off); in PM3_READ_REG() 102 fb_writel(v, par->v_regs + off); in PM3_WRITE_REG() 151 int f, pre, post; in pm3fb_calculate_clock() local 157 for (pre = 1; pre < 256; pre++) { in pm3fb_calculate_clock() 159 freq = ((2*PM3_REF_CLOCK * f) >> post) / pre; in pm3fb_calculate_clock() 161 ? reqclock - freq in pm3fb_calculate_clock() 162 : freq - reqclock; in pm3fb_calculate_clock() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/ |
H A D | dm_pp_smu.h | 201 * Needed to set ASIC voltages for clocks programmed by DAL 236 * Note that when setting handshake to unsupported, the call is pre-emptive. That means 238 * request to go un-acked. Only when the call completes should such a state be applied to
|
/linux/include/net/libeth/ |
H A D | rx.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 16 /* Maximum headroom for worst-case calculations */ 20 /* Maximum supported L2-L4 header length */ 23 /* Always use order-0 pages */ 27 /* HW-writeable space in one buffer: truesize - headroom/tailroom, aligned */ 33 * struct libeth_fqe - structure representing an Rx buffer (fill queue element) 38 * Depending on the MTU, API switches between one-page-per-frame and shared 39 * page model (to conserve memory on bigger-page platforms). In case of the 49 * enum libeth_fqe_type - enum representing types of Rx buffers 52 * @LIBETH_FQE_HDR: buffer size is ```LIBETH_MAX_HEAD```-sized, for headers [all …]
|
/linux/drivers/watchdog/ |
H A D | da9063_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0+ 27 * others: timeout = 2048 ms * 2^(TWDSCALE-1). 33 #define DA9063_TWDSCALE_MAX (ARRAY_SIZE(wdt_timeout) - 1) 59 regmap_read(da9063->regmap, DA9063_REG_CONTROL_D, &val); in da9063_wdt_read_timeout() 66 return regmap_update_bits(da9063->regmap, DA9063_REG_CONTROL_D, in da9063_wdt_disable_timer() 79 * programmed because the timeout value combines two functions in da9063_wdt_update_timeout() 92 return regmap_update_bits(da9063->regmap, DA9063_REG_CONTROL_D, in da9063_wdt_update_timeout() 101 ret = da9063_wdt_update_timeout(da9063, wdd->timeout); in da9063_wdt_start() 103 dev_err(da9063->dev, "Watchdog failed to start (err = %d)\n", in da9063_wdt_start() 116 dev_alert(da9063->dev, "Watchdog failed to stop (err = %d)\n", in da9063_wdt_stop() [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | vga.c | 29 if (device->card_type >= NV_50) in nvkm_rdport() 40 if (device->card_type < NV_40) in nvkm_rdport() 51 if (device->card_type >= NV_50) in nvkm_wrport() 62 if (device->card_type < NV_40) in nvkm_wrport() 132 if (device->card_type < NV_50) in nvkm_lockvgac() 136 if (device->chipset == 0x11) { in nvkm_lockvgac() 150 * a) pre nv40, the head B range of PRMVIO regs at 0xc23c* was not exposed and 153 * b) in tied mode (4) head B is programmed to the values set on head A, and 164 if (device->card_type < NV_50) { in nvkm_rdvgaowner() 165 if (device->chipset == 0x11) { in nvkm_rdvgaowner() [all …]
|
/linux/arch/arm64/kvm/hyp/ |
H A D | vgic-v3-sr.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2012-2015 - ARM Ltd 10 #include <linux/irqchip/arm-gic-v3.h> 19 #define vtr_to_nr_apr_regs(v) (1 << (vtr_to_nr_pre_bits(v) - 5)) 201 u64 used_lrs = cpu_if->used_lrs; in __vgic_v3_save_state() 206 * LRs, and when reading back the VMCR on non-VHE systems. in __vgic_v3_save_state() 209 if (!cpu_if->vgic_sre) { in __vgic_v3_save_state() 215 if (used_lrs || cpu_if->its_vpe.its_vm) { in __vgic_v3_save_state() 221 write_gicreg(cpu_if->vgic_hcr & ~ICH_HCR_EL2_En, ICH_HCR_EL2); in __vgic_v3_save_state() 225 cpu_if->vgic_lr[i] &= ~ICH_LR_STATE; in __vgic_v3_save_state() [all …]
|
/linux/include/linux/ |
H A D | phylink.h | 24 MLO_AN_FIXED, /* Fixed-link mode */ 25 MLO_AN_INBAND, /* In-band protocol */ 28 * PHYLINK_PCS_NEG_NONE - protocol has no inband capability 29 * PHYLINK_PCS_NEG_OUTBAND - some out of band or fixed link setting 30 * PHYLINK_PCS_NEG_INBAND_DISABLED - inband mode disabled, e.g. 31 * 1000base-X with autoneg off 32 * PHYLINK_PCS_NEG_INBAND_ENABLED - inband mode enabled 34 * PHYLINK_PCS_NEG_INBAND - inband mode selected 35 * PHYLINK_PCS_NEG_ENABLED - negotiation mode enabled 104 * struct phylink_link_state - link state structure [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dce_i2c_hw.c | 32 dce_i2c_hw->ctx 34 dce_i2c_hw->regs->reg 38 dce_i2c_hw->shifts->field_name, dce_i2c_hw->masks->field_name 56 DC_I2C_TRANSACTION_COUNT, dce_i2c_hw->transaction_count - 1); in execute_transaction() 64 dce_i2c_hw->transaction_count = 0; in execute_transaction() 65 dce_i2c_hw->buffer_used_bytes = 0; in execute_transaction() 77 else if (value & dce_i2c_hw->masks->DC_I2C_SW_STOPPED_ON_NACK) in get_channel_status() 79 else if (value & dce_i2c_hw->masks->DC_I2C_SW_TIMEOUT) in get_channel_status() 81 else if (value & dce_i2c_hw->masks->DC_I2C_SW_ABORTED) in get_channel_status() 83 else if (value & dce_i2c_hw->masks->DC_I2C_SW_DONE) in get_channel_status() [all …]
|