| /linux/Documentation/admin-guide/ |
| H A D | parport.rst | 4 The ``parport`` code provides parallel-port support under Linux. This 12 because there are a lot of people using the same IRQ for their 16 port-sharing) and architecture-dependent (which deals with actually 28 architecture-dependent code with (for example):: 30 # insmod parport_pc io=0x3bc,0x378,0x278 irq=none,7,auto 32 to tell the ``parport`` code that you want three PC-style ports, one at 33 0x3bc with no IRQ, one at 0x378 using IRQ 7, and one at 0x278 with an 34 auto-detected IRQ. Currently, PC-style (``parport_pc``), Sun ``bpp``, 43 -------- 49 options parport_pc io=0x378,0x278 irq=7,auto [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 36 - Output values are writable (high=1, low=0). Some chips also have 37 options about how that value is driven, so that for example only one 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 …]
|
| H A D | consumer.rst | 21 - Simple compile coverage with e.g. COMPILE_TEST - it does not matter that 25 - Truly optional GPIOLIB support - where the driver does not really make use 26 of the GPIOs on certain compile-time configurations for certain systems, but 27 will use it under other compile-time configurations. In this case the 35 All the functions that work with the descriptor-based GPIO interface are 45 With the descriptor-based interface, GPIOs are identified with an opaque, 46 non-forgeable handler that must be obtained through a call to one of the 62 see Documentation/driver-api/gpio/board.rst 87 with IS_ERR() (they will never return a NULL pointer). -ENOENT will be returned 94 instead of -ENOENT if no GPIO has been assigned to the requested function:: [all …]
|
| /linux/arch/alpha/kernel/ |
| H A D | sys_nautilus.c | 1 // SPDX-License-Identifier: GPL-2.0 15 * a) Driven by AMD 751 aka IRONGATE (northbridge): 19 * b) Driven by ALI M1543C (southbridge) 40 #include <asm/irq.h> 68 /* Preserve the IRQ set up by the console. */ in nautilus_map_irq() 70 u8 irq; in nautilus_map_irq() local 71 /* UP1500: AGP INTA is actually routed to IRQ 5, not IRQ 10 as in nautilus_map_irq() 75 dev->bus->self && dev->bus->self->device == 0x700f) in nautilus_map_irq() 77 pci_read_config_byte(dev, PCI_INTERRUPT_LINE, &irq); in nautilus_map_irq() 78 return irq; in nautilus_map_irq() [all …]
|
| /linux/Documentation/devicetree/bindings/pinctrl/ |
| H A D | pinctrl-st.txt | 3 Each multi-function pin is controlled, driven and routed through the 5 and multiple alternate functions(ALT1 - ALTx) that directly connect 9 Pull Up (PU) are driven by the related PIO block. 14 GPIO bank can have one of the two possible types of interrupt-wirings. 20 | |----> [gpio-bank (n) ] 21 | |----> [gpio-bank (n + 1)] 22 [irqN]-- | irq-mux |----> [gpio-bank (n + 2)] 23 | |----> [gpio-bank (... )] 24 |_________|----> [gpio-bank (n + 7)] 28 [irqN]----> [gpio-bank (n)] [all …]
|
| /linux/drivers/thermal/intel/ |
| H A D | intel_soc_dts_thermal.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 #include <asm/intel-family.h> 23 /* IRQ 86 is a fixed APIC interrupt for BYT DTS Aux threshold notifications */ 30 static irqreturn_t soc_irq_thread_fn(int irq, void *dev_data) in soc_irq_thread_fn() argument 51 return -ENODEV; in intel_soc_thermal_init() 61 soc_dts_thres_gsi = (int)match_cpu->driver_data; in intel_soc_thermal_init() 71 pr_warn("intel_soc_dts: Could not get IRQ for GSI %d, err %d\n", in intel_soc_thermal_init() 86 * interrupt driven. in intel_soc_thermal_init()
|
| /linux/drivers/iio/imu/ |
| H A D | adis_trigger.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Author: Lars-Peter Clausen <lars@metafoo.de> 31 unsigned long direction = adis->irq_flag & IRQF_TRIGGER_MASK; in adis_validate_irq_flag() 34 if (adis->data->unmasked_drdy) in adis_validate_irq_flag() 35 adis->irq_flag |= IRQF_NO_AUTOEN; in adis_validate_irq_flag() 39 * IMU devices with FIFO support have the watermark pin level driven in adis_validate_irq_flag() 46 adis->irq_flag |= IRQF_TRIGGER_RISING; in adis_validate_irq_flag() 49 direction != IRQF_TRIGGER_FALLING && !adis->data->has_fifo) { in adis_validate_irq_flag() 50 dev_err(&adis->spi->dev, "Invalid IRQ mask: %08lx\n", in adis_validate_irq_flag() 51 adis->irq_flag); in adis_validate_irq_flag() [all …]
|
| /linux/Documentation/devicetree/bindings/misc/ |
| H A D | xlnx,sd-fec.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/misc/xlnx,sd-fec.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Cvetic, Dragan <dragan.cvetic@amd.com> 11 - Erim, Salih <salih.erim@amd.com> 15 which provides high-throughput LDPC and Turbo Code implementations. 17 customer specified Quasi-cyclic (QC) codes. The Turbo decode functionality 23 const: xlnx,sd-fec-1.1 33 - description: Main processing clock for processing core [all …]
|
| /linux/arch/arm64/boot/dts/amlogic/ |
| H A D | meson-gxm-s912-libretech-pc.dts | 1 // SPDX-License-Identifier: GPL-2.0 7 /dts-v1/; 9 #include "meson-gxm.dtsi" 10 #include "meson-gx-libretech-pc.dtsi" 13 compatible = "libretech,aml-s912-pc", "amlogic,s912", 14 "amlogic,meson-gxm"; 15 model = "Libre Computer AML-S912-PC"; 17 typec2_vbus: regulator-typec2-vbus { 18 compatible = "regulator-fixed"; 19 regulator-name = "TYPEC2_VBUS"; [all …]
|
| /linux/Documentation/devicetree/bindings/net/ |
| H A D | cpsw.txt | 2 ------------------------------------------------------ 5 - compatible : Should be one of the below:- 7 "ti,am335x-cpsw" for AM335x controllers 8 "ti,am4372-cpsw" for AM437x controllers 9 "ti,dra7-cpsw" for DRA7x controllers 10 - reg : physical base address and size of the cpsw 12 - interrupts : property with a value describing the interrupt 14 - cpdma_channels : Specifies number of channels in CPDMA 15 - ale_entries : Specifies No of entries ALE can hold 16 - bd_ram_size : Specifies internal descriptor RAM size [all …]
|
| /linux/include/linux/ssb/ |
| H A D | ssb_driver_pci.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 15 #define SSB_PCICORE_CTL_RST 0x00000002 /* PCI_RESET driven out to pin */ 17 #define SSB_PCICORE_CTL_CLK 0x00000008 /* Gate for clock driven out to pin */ 93 /* Enable IRQ routing for a specific device */ 122 return -ENODEV; in ssb_pcicore_plat_dev_init() 127 return -ENODEV; in ssb_pcicore_pcibios_map_irq()
|
| /linux/arch/arm/plat-orion/ |
| H A D | time.c | 2 * arch/arm/plat-orion/time.c 10 * Timer 0 is used as free-running clocksource, while timer 1 is 18 #include <linux/irq.h> 47 * SoC-specific data. 80 return -ETIME; in orion_clkevt_next_event() 141 writel(ticks_per_jiffy - 1, timer_base + TIMER1_RELOAD_OFF); in orion_clkevt_set_periodic() 142 writel(ticks_per_jiffy - 1, timer_base + TIMER1_VAL_OFF); in orion_clkevt_set_periodic() 169 static irqreturn_t orion_timer_interrupt(int irq, void *dev_id) in orion_timer_interrupt() argument 197 unsigned int irq, unsigned int tclk) in orion_time_init() argument 202 * Set SoC-specific data. in orion_time_init() [all …]
|
| /linux/arch/arm/mach-pxa/ |
| H A D | gumstix.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * arch/arm/mach-pxa/include/mach/gumstix.h 8 /* BTRESET - Reset line to Bluetooth module, active low signal. */ 14 GPIOn - Input from MAX823 (or equiv), normalizing USB +5V into a clean 18 /* GPIOx - Connects to USB D+ and used as a pull-up after GPIOn 19 has detected a cable insertion; driven low otherwise. */ 41 * ETH is the IRQ line in from the ethernet chip to the PXA
|
| /linux/Documentation/devicetree/bindings/net/bluetooth/ |
| H A D | nxp,88w8987-bt.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/bluetooth/nxp,88w8987-bt.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 This binding describes UART-attached NXP bluetooth chips. These chips 11 are dual-radio chips supporting WiFi and Bluetooth. The bluetooth 12 works on standard H4 protocol over 4-wire UART. The RTS and CTS lines 14 asserts break signal over UART-TX line to put the chip into power save 15 state. De-asserting break wakes up the BT chip. 18 - Neeraj Sanjay Kale <neeraj.sanjaykale@nxp.com> [all …]
|
| /linux/virt/kvm/ |
| H A D | irqchip.c | 1 // SPDX-License-Identifier: GPL-2.0-only 28 irq_rt = srcu_dereference_check(kvm->irq_routing, &kvm->irq_srcu, in kvm_irq_map_gsi() 29 lockdep_is_held(&kvm->irq_lock)); in kvm_irq_map_gsi() 30 if (irq_rt && gsi < irq_rt->nr_rt_entries) { in kvm_irq_map_gsi() 31 hlist_for_each_entry(e, &irq_rt->map[gsi], link) { in kvm_irq_map_gsi() 44 irq_rt = srcu_dereference(kvm->irq_routing, &kvm->irq_srcu); in kvm_irq_map_chip_pin() 45 return irq_rt->chip[irqchip][pin]; in kvm_irq_map_chip_pin() 52 if (!kvm_arch_irqchip_in_kernel(kvm) || (msi->flags & ~KVM_MSI_VALID_DEVID)) in kvm_send_userspace_msi() 53 return -EINVAL; in kvm_send_userspace_msi() 55 route.msi.address_lo = msi->address_lo; in kvm_send_userspace_msi() [all …]
|
| /linux/Documentation/devicetree/bindings/display/imx/ |
| H A D | nxp,imx8mq-dcss.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/display/imx/nxp,imx8mq-dcss.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Laurentiu Palcu <laurentiu.palcu@nxp.com> 17 2.2) or MIPI-DSI. The DCSS is intended to support up to 4kp60 displays. HDR10 23 const: nxp,imx8mq-dcss 27 - description: DCSS base address and size, up to IRQ steer start 28 - description: DCSS BLKCTL base address and size 32 - description: Context loader completion and error interrupt [all …]
|
| /linux/drivers/media/pci/cx88/ |
| H A D | cx88-mpeg.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 18 #include <linux/dma-mapping.h> 22 /* ------------------------------------------------------------------ */ 47 if (dev->core->board.mpeg & CX88_MPEG_DVB) in request_module_async() 48 request_module("cx88-dvb"); in request_module_async() 49 if (dev->core->board.mpeg & CX88_MPEG_BLACKBIRD) in request_module_async() 50 request_module("cx88-blackbird"); in request_module_async() 55 INIT_WORK(&dev->request_module_wk, request_module_async); in request_modules() 56 schedule_work(&dev->request_module_wk); in request_modules() 61 flush_work(&dev->request_module_wk); in flush_request_modules() [all …]
|
| /linux/arch/powerpc/platforms/44x/ |
| H A D | warp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (c) 2008-2009 PIKA Technologies 62 np = of_find_compatible_node(NULL, NULL, "pika,fpga-sd"); in warp_post_info() 64 return -ENOENT; in warp_post_info() 69 return -ENOENT; in warp_post_info() 111 .name = "leds-gpio", 112 .id = -1, 118 static irqreturn_t temp_isr(int irq, void *context) in temp_isr() argument 144 * Because green and red power LEDs are normally driven by leds-gpio driver, 146 * ourselves, we acquire both and then create leds-gpio platform device [all …]
|
| /linux/arch/sh/boards/mach-sdk7786/ |
| H A D | setup.c | 1 // SPDX-License-Identifier: GPL-2.0 15 #include <linux/irq.h> 19 #include <mach/irq.h> 25 #include <asm/smp-ops.h> 29 .end = 0x07fff8b0 + sizeof(u16) - 1, 35 .id = -1, 48 .name = "smsc911x-memory", 50 .end = 0x07ffff00 + SZ_256 - 1, 54 .name = "smsc911x-irq", 70 .id = -1, [all …]
|
| /linux/drivers/net/can/sja1000/ |
| H A D | ems_pcmcia.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (C) 2010 Markus Plessing <plessing@ems-wuensche.com> 22 MODULE_AUTHOR("Markus Plessing <plessing@ems-wuensche.com>"); 23 MODULE_DESCRIPTION("Socket-CAN driver for EMS CPC-CARD cards"); 43 * This means normal output mode , push-pull and the correct polarity. 51 * is driven by the first one CLKOUT output. 54 #define EMS_PCMCIA_MEM_SIZE 4096 /* Size of the remapped io-memory */ 63 PCMCIA_DEVICE_PROD_ID123("EMS_T_W", "CPC-Card", "V2.0", 0xeab1ea23, 72 return readb(priv->reg_base + port); in ems_pcmcia_read_reg() 78 writeb(val, priv->reg_base + port); in ems_pcmcia_write_reg() [all …]
|
| /linux/drivers/soc/fsl/qbman/ |
| H A D | qman_portal.c | 1 /* Copyright 2008 - 2016 Freescale Semiconductor, Inc. 48 struct device *dev = pcfg->dev; in portal_set_cpu() 51 pcfg->iommu_domain = iommu_paging_domain_alloc(dev); in portal_set_cpu() 52 if (IS_ERR(pcfg->iommu_domain)) { in portal_set_cpu() 54 pcfg->iommu_domain = NULL; in portal_set_cpu() 57 ret = fsl_pamu_configure_l1_stash(pcfg->iommu_domain, cpu); in portal_set_cpu() 63 ret = iommu_attach_device(pcfg->iommu_domain, dev); in portal_set_cpu() 72 qman_set_sdest(pcfg->channel, cpu); in portal_set_cpu() 78 iommu_domain_free(pcfg->iommu_domain); in portal_set_cpu() 79 pcfg->iommu_domain = NULL; in portal_set_cpu() [all …]
|
| /linux/drivers/gpu/drm/arm/ |
| H A D | malidp_hw.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * (C) COPYRIGHT 2013-2016 ARM Limited. All rights reserved. 57 u32 vsync_irq; /* IRQ bit used for signaling during VSYNC */ 66 s16 yuv2rgb_offset; /* offset to the YUV->RGB matrix entries */ 195 * @param hwdev - malidp_hw_device structure containing the HW description 196 * @param addrs - array of addresses for each plane 197 * @param pitches - array of pitches for each plane 198 * @param num_planes - number of planes to be written 199 * @param w - width of the output frame 200 * @param h - height of the output frame [all …]
|
| /linux/drivers/gpio/ |
| H A D | gpio-max730x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * The Maxim MAX7300/1 device is an I2C/SPI driven GPIO expander. There are 11 * - DIN must be stable at the rising edge of clock. 12 * - when writing: 13 * - always clock in 16 clocks at once 14 * - at DIN: D15 first, D0 last 15 * - D0..D7 = databyte, D8..D14 = commandbyte 16 * - D15 = low -> write command 17 * - when reading 18 * - always clock in 16 clocks at once [all …]
|
| /linux/drivers/clocksource/ |
| H A D | timer-fttmr010.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Based on a rewrite of arch/arm/mach-gemini/timer.c: 7 * Copyright (C) 2001-2006 Storlink, Corp. 8 * Copyright (C) 2008-2009 Paulius Zaleckas <paulius.zaleckas@teltonika.lt> 81 * - aspeed timer overflow interrupt is controlled by bits in Control 83 * - aspeed timers always generate interrupt when either one of the 124 return readl(local_fttmr->base + TIMER2_COUNT); in fttmr010_read_current_timer_up() 129 return ~readl(local_fttmr->base + TIMER2_COUNT); in fttmr010_read_current_timer_down() 149 fttmr010->timer_shutdown(evt); in fttmr010_timer_set_next_event() 151 if (fttmr010->is_aspeed) { in fttmr010_timer_set_next_event() [all …]
|
| /linux/sound/arm/ |
| H A D | pxa2xx-ac97-lib.c | |