/linux/Documentation/userspace-api/gpio/ |
H A D | sysfs.rst | 6 been moved to Documentation/ABI/obsolete/sysfs-gpio. 16 ---------------------- 27 then changing its output state, then updating the code before re-enabling 38 Please read Documentation/driver-api/gpio/drivers-on-gpio.rst 44 -------------- 47 - Control interfaces used to get userspace control over GPIOs; 49 - GPIOs themselves; and 51 - GPIO controllers ("gpio_chip" instances). 55 The control interfaces are write-only: 91 is configured as an output, this value may be written; [all …]
|
/linux/Documentation/admin-guide/media/ |
H A D | fimc.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 Copyright |copy| 2012 - 2013 Samsung Electronics Co., Ltd. 17 drivers/media/platform/samsung/exynos4-is directory. 20 -------------- 22 S5PC100 (mem-to-mem only), S5PV210, Exynos4210 25 ------------------ 27 - camera parallel interface capture (ITU-R.BT601/565); 28 - camera serial interface capture (MIPI-CSI2); 29 - memory-to-memory processing (color space conversion, scaling, mirror 31 - dynamic pipeline re-configuration at runtime (re-attachment of any FIMC [all …]
|
H A D | rkisp1.rst | 1 .. SPDX-License-Identifier: GPL-2.0 14 rkisp1 and uses the Media-Controller API. 27 - RKISP1_V10: used at least in rk3288 and rk3399 28 - RKISP1_V11: declared in the original vendor code, but not used 29 - RKISP1_V12: used at least in rk3326 and px30 30 - RKISP1_V13: used at least in rk1808 36 .. kernel-figure:: rkisp1.dot 43 - rkisp1_mainpath: capture device for retrieving images, usually in higher 45 - rkisp1_selfpath: capture device for retrieving images. 46 - rkisp1_stats: a metadata capture device that sends statistics. [all …]
|
/linux/include/uapi/linux/usb/ |
H A D | gadgetfs.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * Filesystem based user-mode API to USB Gadget controller hardware 6 * on endpoint files found in one directory. They are configured by 8 * i/o requests. When ep0 is configured, the device can enumerate; 44 * both 32-bit and 64-bit kernels. 75 * complete when they're sitting in the FIFO unread.
|
/linux/drivers/pwm/ |
H A D | pwm-atmel-tcb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 72 struct atmel_tcb_pwm_device *tcbpwm = &tcbpwmc->pwms[pwm->hwpwm]; in atmel_tcb_pwm_request() 76 ret = clk_prepare_enable(tcbpwmc->clk); in atmel_tcb_pwm_request() 80 tcbpwm->duty = 0; in atmel_tcb_pwm_request() 81 tcbpwm->period = 0; in atmel_tcb_pwm_request() 82 tcbpwm->div = 0; in atmel_tcb_pwm_request() 84 guard(spinlock)(&tcbpwmc->lock); in atmel_tcb_pwm_request() 86 regmap_read(tcbpwmc->regmap, ATMEL_TC_REG(tcbpwmc->channel, CMR), &cmr); in atmel_tcb_pwm_request() 89 * Timer Counter is already configured as a PWM generator. in atmel_tcb_pwm_request() 92 if (pwm->hwpwm == 0) in atmel_tcb_pwm_request() [all …]
|
/linux/arch/arc/kernel/ |
H A D | intc-compact.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2011-12 Synopsys, Inc. (www.synopsys.com) 18 * -Platform independent, needed for each CPU (not foldable into init_IRQ) 19 * -Called very early (start_kernel -> setup_arch -> setup_processor) 22 * -Optionally, setup the High priority Interrupts as Level 2 IRQs 32 * Write to register, even if no LV2 IRQs configured to reset it in arc_init_IRQ() 38 pr_info("Level-2 interrupts bitset %x\n", level_mask); in arc_init_IRQ() 54 * ARC700 core includes a simple on-chip intc supporting 55 * -per IRQ enable/disable 56 * -2 levels of interrupts (high/low) [all …]
|
/linux/Documentation/networking/ |
H A D | arcnet.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 See also arcnet-hardware.txt in this directory for jumper-setting 10 and cabling information if you're like many of us and didn't happen to get a 25 ARCnet 0.32 ALPHA first made it into the Linux kernel 1.1.80 - this was 36 If you don't e-mail me about your success/failure soon, I may be forced to 40 If you think so, why not flame me in a quick little e-mail? Please also 41 include the type of card(s) you're using, software, size of network, and 44 My e-mail address is: apenwarr@worldvisions.ca 55 The previous release resulted from many months of on-and-off effort from me 58 ARCnet 2.10 ALPHA, Tomasz's all-new-and-improved RFC1051 support has been [all …]
|
/linux/Documentation/devicetree/bindings/usb/ |
H A D | amlogic,meson-g12a-usb-ctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/usb/amlogic,meson-g12a-usb-ctrl.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Neil Armstrong <neil.armstrong@linaro.org> 14 The Amlogic G12A embeds a DWC3 USB IP Core configured for USB2 and USB3 15 in host-only mode, and a DWC2 IP Core configured for USB2 peripheral mode 20 One of the USB2 PHYs can be re-routed in peripheral mode to a DWC2 USB IP. 25 The Amlogic A1 embeds a DWC3 USB IP Core configured for USB2 in 26 host-only mode. [all …]
|
/linux/arch/arm/mach-pxa/ |
H A D | mfp-pxa2xx.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 * the following MFP_xxx bit definitions in mfp.h are re-used for pxa2xx: 19 * bit 23 - Input/Output (PXA2xx specific) 20 * bit 24 - Wakeup Enable(PXA2xx specific) 21 * bit 25 - Keep Output (PXA2xx specific) 34 * Note: MFP_LPM_KEEP_OUTPUT has no effect on pins configured for input. 49 /* NOTE: pins configured as output _must_ provide a low power state, 58 * Note: pins configured as GPIO are always initialized to input
|
/linux/Documentation/sound/soc/ |
H A D | overview.rst | 6 provide better ALSA support for embedded system-on-chip processors (e.g. 9 had some limitations:- 12 CPU. This is not ideal and leads to code duplication - for example, 18 machine specific code to re-route audio, enable amps, etc., after such an 31 features :- 38 core and are subsequently matched and configured when the application 54 multiple re-usable component drivers :-
|
/linux/include/net/ |
H A D | nsh.h | 10 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 12 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 14 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 18 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 27 * discussion of MPLS-related forwarding requirements. 32 * example [I-D.ietf-sfc-oam-framework] for one approach). 34 * The O bit MUST be set for OAM packets and MUST NOT be set for non-OAM 50 * configurable via the control plane; the configured initial value can 65 * Length: The total length, in 4-byte words, of NSH including the Base 77 * 0x0 - This is a reserved value. Implementations SHOULD silently [all …]
|
/linux/drivers/staging/media/atomisp/pci/ |
H A D | gdc_v2_defs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 21 #define HRT_GDC_N 1024 /* Top-level design constant, equal to the number of ent… 24 #define HRT_GDC_BLI_FRAC_BITS 4 /* Number of fractional bits for the bi-linear interpola… 28 #define HRT_GDC_BCI_COEF_ONE (1 << (HRT_GDC_BCI_COEF_BITS - 2)) /* We represent signed… 29 /* The supported range is [-256, .., +256] */ 30 /* in 14-bit signed notation, */ 32 /* -s is inserted to solve this issue, and */ 34 #define HRT_GDC_BCI_COEF_MASK ((1 << HRT_GDC_BCI_COEF_BITS) - 1) 42 // |-----|---|--------|------------------------| 46 // 1 - Configure reg [all …]
|
/linux/Documentation/power/ |
H A D | suspend-and-interrupts.rst | 10 ----------------------------------- 14 ->prepare, ->suspend and ->suspend_late callbacks have been executed for all 29 Device IRQs are re-enabled during system resume, right before the "early" phase 30 of resuming devices (that is, before starting to execute ->resume_early 35 ------------------------ 38 suspend-resume cycle, including the "noirq" phases of suspending and resuming 41 but also to IPIs and to some other special-purpose interrupts. 44 requesting a special-purpose interrupt. It causes suspend_device_irqs() to 46 expected during the suspend-resume cycle, but does not guarantee that the 47 interrupt will wake the system from a suspended state -- for such cases it is [all …]
|
/linux/Documentation/arch/x86/ |
H A D | intel_txt.rst | 6 Technology (Intel(R) TXT), defines platform-level enhancements that 13 - Provides dynamic root of trust for measurement (DRTM) 14 - Data protection in case of improper shutdown 15 - Measurement and verification of launched environment 18 non-vPro systems. It is currently available on desktop systems 30 - LinuxTAG 2008: 31 http://www.linuxtag.org/2008/en/conf/events/vp-donnerstag.html 33 - TRUST2008: 34 http://www.trust-conference.eu/downloads/Keynote-Speakers/ 35 3_David-Grawrock_The-Front-Door-of-Trusted-Computing.pdf [all …]
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_vf_lib.c | 1 // SPDX-License-Identifier: GPL-2.0 13 * ice_get_vf_by_id - Get pointer to VF by ID 30 hash_for_each_possible_rcu(pf->vfs.table, vf, entry, vf_id) { in ice_get_vf_by_id() 31 if (vf->vf_id == vf_id) { in ice_get_vf_by_id() 34 if (kref_get_unless_zero(&vf->refcnt)) in ice_get_vf_by_id() 49 * ice_release_vf - Release VF associated with a refcount 59 pci_dev_put(vf->vfdev); in ice_release_vf() 61 vf->vf_ops->free(vf); in ice_release_vf() 65 * ice_put_vf - Release a reference to a VF 77 kref_put(&vf->refcnt, ice_release_vf); in ice_put_vf() [all …]
|
/linux/arch/s390/pci/ |
H A D | pci.c | 1 // SPDX-License-Identifier: GPL-2.0 13 * Hoang-Nam Nguyen 14 * Jan-Bernd Themann 65 /* AEN structures that must be preserved over KVM module re-insertion */ 77 if (tmp->fid == fid) { in get_zdev_by_fid() 95 if (zdev->state == ZPCI_FN_STATE_STANDBY && in zpci_remove_reserved_devices() 96 !clp_get_state(zdev->fid, &state) && in zpci_remove_reserved_devices() 98 list_move_tail(&zdev->entry, &remove); in zpci_remove_reserved_devices() 108 return ((struct zpci_bus *) bus->sysdata)->domain_nr; in pci_domain_nr() 122 u64 req = ZPCI_CREATE_REQ(zdev->fh, dmaas, ZPCI_MOD_FC_REG_IOAT); in zpci_register_ioat() [all …]
|
/linux/Documentation/virt/kvm/x86/ |
H A D | running-nested-guests.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 can be KVM-based or a different hypervisor). The straightforward 12 .----------------. .----------------. 17 |----------------'--'----------------| 22 .------------------------------------------------------. 25 |------------------------------------------------------| 27 '------------------------------------------------------' 31 - L0 – level-0; the bare metal host, running KVM 33 - L1 – level-1 guest; a VM running on L0; also called the "guest 36 - L2 – level-2 guest; a VM running on L1, this is the "nested guest" [all …]
|
/linux/drivers/fpga/ |
H A D | altera-fpga2sdram.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2013-2016 Altera Corporation, All Rights Reserved. 16 * not support reconfiguring the ports. The ports are configured by code 20 * This driver supports enabling and disabling of the configured ports, which 23 * reprogramming the FPGA and re-enabled after the FPGA has been programmed. 26 #include <linux/fpga/fpga-bridge.h> 58 struct alt_fpga2sdram_data *priv = bridge->priv; in alt_fpga2sdram_enable_show() 61 regmap_read(priv->sdrctl, ALT_SDR_CTL_FPGAPORTRST_OFST, &value); in alt_fpga2sdram_enable_show() 63 return (value & priv->mask) == priv->mask; in alt_fpga2sdram_enable_show() 69 return regmap_update_bits(priv->sdrctl, ALT_SDR_CTL_FPGAPORTRST_OFST, in _alt_fpga2sdram_enable_set() [all …]
|
/linux/drivers/usb/serial/ |
H A D | keyspan_usa28msg.h | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 5 Copyright (C) 1998-2000 InnoSys Incorporated. All Rights Reserved 6 This file is available under a BSD-style copyright 19 Copyright (C) 1998-2000 InnoSys Incorporated. All Rights Reserved 21 This file is available under a BSD-style copyright 45 USB OUT (host -> USA28, transmit) messages contain a 48 If the port is configured for parity, the data will be an 63 USB IN (USA28 -> host, receive) messages contain data and parity 70 If parity is not configured, the format is: 88 2000jun01 add extended BSD-style copyright text [all …]
|
/linux/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_device_queue_manager_cik.c | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 3 * Copyright 2014-2022 Advanced Micro Devices, Inc. 45 asic_ops->set_cache_memory_policy = set_cache_memory_policy_cik; in device_queue_manager_init_cik() 46 asic_ops->update_qpd = update_qpd_cik; in device_queue_manager_init_cik() 47 asic_ops->init_sdma_vm = init_sdma_vm; in device_queue_manager_init_cik() 48 asic_ops->mqd_manager_init = mqd_manager_init_cik; in device_queue_manager_init_cik() 53 /* In 64-bit mode, we can only control the top 3 bits of the LDS, in compute_sh_mem_bases_64bit() 57 * LDS: X0000000'00000000 - X0000001'00000000 (4GB) in compute_sh_mem_bases_64bit() 58 * Scratch: X0000001'00000000 - X0000002'00000000 (4GB) in compute_sh_mem_bases_64bit() 59 * GPUVM: Y0010000'00000000 - Y0020000'00000000 (1TB) in compute_sh_mem_bases_64bit() [all …]
|
H A D | kfd_device_queue_manager_vi.c | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 3 * Copyright 2014-2022 Advanced Micro Devices, Inc. 45 asic_ops->set_cache_memory_policy = set_cache_memory_policy_vi; in device_queue_manager_init_vi() 46 asic_ops->update_qpd = update_qpd_vi; in device_queue_manager_init_vi() 47 asic_ops->init_sdma_vm = init_sdma_vm; in device_queue_manager_init_vi() 48 asic_ops->mqd_manager_init = mqd_manager_init_vi; in device_queue_manager_init_vi() 53 /* In 64-bit mode, we can only control the top 3 bits of the LDS, in compute_sh_mem_bases_64bit() 57 * LDS: X0000000'00000000 - X0000001'00000000 (4GB) in compute_sh_mem_bases_64bit() 58 * Scratch: X0000001'00000000 - X0000002'00000000 (4GB) in compute_sh_mem_bases_64bit() 59 * GPUVM: Y0010000'00000000 - Y0020000'00000000 (1TB) in compute_sh_mem_bases_64bit() [all …]
|
/linux/Documentation/networking/dsa/ |
H A D | bcm_sf2.rst | 8 - xDSL gateways such as BCM63138 9 - streaming/multimedia Set Top Box such as BCM7445 10 - Cable Modem/residential gateways such as BCM7145/BCM3390 13 ports, offering a range of built-in and customizable interfaces: 15 - single integrated Gigabit PHY 16 - quad integrated Gigabit PHY 17 - quad external Gigabit PHY w/ MDIO multiplexer 18 - integrated MoCA PHY 19 - several external MII/RevMII/GMII/RGMII interfaces 22 fail-over not to lose packets during a MoCA role re-election, as well as out of [all …]
|
/linux/Documentation/driver-api/gpio/ |
H A D | intro.rst | 17 A "General Purpose Input/Output" (GPIO) is a flexible software-controlled 25 System-on-Chip (SOC) processors heavily rely on GPIOs. In some cases, every 26 non-dedicated pin can be configured as a GPIO; and most chips have at least 31 Most PC southbridges have a few dozen GPIO-capable pins (with only the BIOS 32 firmware knowing how they're used). 36 - Output values are writable (high=1, low=0). Some chips also have 38 value might be driven, supporting "wire-OR" and similar schemes for the 41 - Input values are likewise readable (1, 0). Some chips support readback 42 of pins configured as "output", which is very useful in such "wire-OR" 44 input de-glitch/debounce logic, sometimes with software controls. [all …]
|
/linux/sound/pci/hda/ |
H A D | hda_bind.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * HD-audio codec driver binding 28 u32 id = codec->probe_id ? codec->probe_id : codec->core.vendor_id; in hda_codec_match() 29 u32 rev_id = codec->core.revision_id; in hda_codec_match() 31 for (list = driver->id; list->vendor_id; list++) { in hda_codec_match() 32 if (list->vendor_id == id && in hda_codec_match() 33 (!list->rev_id || list->rev_id == rev_id)) { in hda_codec_match() 34 codec->preset = list; in hda_codec_match() 47 if (codec->bus->shutdown) in hda_codec_unsol_event() 51 if (codec->core.dev.power.power_state.event != PM_EVENT_ON) in hda_codec_unsol_event() [all …]
|
/linux/Documentation/driver-api/dmaengine/ |
H A D | dmatest.rst | 15 The dmatest module can be configured to test a specific channel. It can also 21 capability of the following: DMA_MEMCPY (memory-to-memory), DMA_MEMSET 22 (const-to-memory or memory-to-memory, when emulated), DMA_XOR, DMA_PQ. 28 Part 1 - How to build the test module 33 Device Drivers -> DMA Engine support -> DMA Test client 38 Part 2 - When dmatest is built as a module 57 Example of multi-channel test usage (new in the 5.0 kernel):: 68 For all tests, starting in the 5.0 kernel, either single- or multi-channel, 80 % ls -1 /sys/class/dma/ 103 % modprobe -r dmatest [all …]
|