/linux/arch/sparc/kernel/ |
H A D | sun4d_irq.c | 1 // SPDX-License-Identifier: GPL-2.0 29 * SBUS interrupts are encodes as a combination of board, level and slot. 34 unsigned int real_irq; /* interrupt level */ 38 static unsigned int sun4d_encode_irq(int board, int lvl, int slot) in sun4d_encode_irq() argument 40 return (board + 1) << 5 | (lvl << 2) | slot; in sun4d_encode_irq() 55 /* Specify which cpu handle interrupts from which board. 56 * Index is board - value is cpu. 82 /* SBUS interrupts are encoded integers including the board number 83 * (plus one), the SBUS level, and the SBUS slot number. Sun4D 89 * This table is indexed by SBUS interrupt level which can be [all …]
|
/linux/drivers/comedi/drivers/ni_routing/ |
H A D | README | 15 increasingly hard to find and the NI-MHDDK (comments in in example code). 22 varying purposes, but the end-user had to gain a knowledge of register 25 3) The names for signals and registers found in the various register level 26 programming manuals and vendor-provided documentation are _not_ even 27 close to the same names that are in the end-user documentation. 32 NIDAQmx(-base) c-libraries, nor with register level programming, _nor_ 34 information is through the proprietary NI-MAX software, which currently only 36 cannot be exported from NI-MAX, except by screenshot. 41 of signal routing capabilities of National Instruments data-acquisition and 42 control hardware. In order to facilitate the transfer of register-level [all …]
|
/linux/include/linux/comedi/ |
H A D | comedidev.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 4 * header file for kernel-only structures, variables, and constants 6 * COMEDI - Linux Control and Measurement Device Interface 7 * Copyright (C) 1997-2000 David A. Schleef <ds@schleef.org> 13 #include <linux/dma-mapping.h> 28 * struct comedi_subdevice - Working data for a COMEDI subdevice 34 * the low-level driver.) 36 * low-level driver.) 38 * the COMEDI core and user application. (Initialized by the low-level 42 * low-level driver, or changed from 0 to 1 during post-configuration.) [all …]
|
/linux/Documentation/devicetree/ |
H A D | usage-model.rst | 1 .. SPDX-License-Identifier: GPL-2.0 44 ---------- 56 In 2005, when PowerPC Linux began a major cleanup and to merge 32-bit 57 and 64-bit support, the decision was made to require DT support on all 61 blob without requiring a real Open Firmware implementation. U-Boot, 66 existing non-DT aware firmware. 71 out of mainline (nios) have some level of DT support. 74 ------------- 78 2.1 High Level View 79 ------------------- [all …]
|
/linux/arch/powerpc/platforms/52xx/ |
H A D | lite5200.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Freescale Lite5200 board support 34 { .compatible = "fsl,mpc5200-cdm", }, 35 { .compatible = "mpc5200-cdm", }, 40 { .compatible = "fsl,mpc5200-gpio", }, 41 { .compatible = "mpc5200-gpio", }, 49 * new board port, do *NOT* duplicate this code. Fix your boot firmware 68 out_8(&cdm->ext_48mhz_en, 0x00); in lite5200_fix_clock_config() 69 out_8(&cdm->fd_enable, 0x01); in lite5200_fix_clock_config() 70 if (in_be32(&cdm->rstcfg) & 0x40) /* Assumes 33Mhz clock */ in lite5200_fix_clock_config() [all …]
|
H A D | mpc52xx_pm.c | 1 // SPDX-License-Identifier: GPL-2.0 39 int mpc52xx_set_wakeup_gpio(u8 pin, u8 level) in mpc52xx_set_wakeup_gpio() argument 44 out_8(&gpiow->wkup_gpioe, in_8(&gpiow->wkup_gpioe) | (1 << pin)); in mpc52xx_set_wakeup_gpio() 46 out_8(&gpiow->wkup_ddr, in_8(&gpiow->wkup_ddr) & ~(1 << pin)); in mpc52xx_set_wakeup_gpio() 48 out_8(&gpiow->wkup_inten, in_8(&gpiow->wkup_inten) | (1 << pin)); in mpc52xx_set_wakeup_gpio() 49 /* low/high level creates wakeup interrupt */ in mpc52xx_set_wakeup_gpio() 50 tmp = in_be16(&gpiow->wkup_itype); in mpc52xx_set_wakeup_gpio() 52 tmp |= (!level + 1) << (pin * 2); in mpc52xx_set_wakeup_gpio() 53 out_be16(&gpiow->wkup_itype, tmp); in mpc52xx_set_wakeup_gpio() 55 out_8(&gpiow->wkup_maste, 1); in mpc52xx_set_wakeup_gpio() [all …]
|
/linux/drivers/comedi/ |
H A D | drivers.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * COMEDI - Linux Control and Measurement Device Interface 7 * Copyright (C) 1997-2000 David A. Schleef <ds@schleef.org> 17 #include <linux/dma-direction.h> 28 * comedi_set_hw_dev() - Set hardware device associated with COMEDI device 33 * comedi_auto_config() or one of its wrappers from the low-level COMEDI 36 * called directly by "legacy" low-level COMEDI drivers that rely on the 40 * If @dev->hw_dev is NULL, it gets a reference to @hw_dev and sets 41 * @dev->hw_dev, otherwise, it does nothing. Calling it multiple times 46 * Returns 0 if @dev->hw_dev was NULL or the same as @hw_dev, otherwise [all …]
|
/linux/drivers/comedi/drivers/ |
H A D | ni_atmio.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Comedi driver for NI AT-MIO E series cards 5 * COMEDI - Linux Control and Measurement Device Interface 6 * Copyright (C) 1997-2001 David A. Schleef <ds@schleef.org> 11 * Description: National Instruments AT-MIO-E series 13 * Devices: [National Instruments] AT-MIO-16E-1 (ni_atmio), 14 * AT-MIO-16E-2, AT-MIO-16E-10, AT-MIO-16DE-10, AT-MIO-64E-3, 15 * AT-MIO-16XE-50, AT-MIO-16XE-10, AT-AI-16XE-10 20 * a supported board if the I/O base is left unspecified with comedi_config. 21 * However, many of the isapnp id numbers are unknown. If your board is not [all …]
|
H A D | amplc_pci224.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 * COMEDI - Linux Control and Measurement Device Interface 22 * - ao_insn read/write 23 * - ao_do_cmd mode with the following sources: 25 * - start_src TRIG_INT TRIG_EXT 26 * - scan_begin_src TRIG_TIMER TRIG_EXT 27 * - convert_src TRIG_NOW 28 * - scan_end_src TRIG_COUNT 29 * - stop_src TRIG_COUNT TRIG_EXT TRIG_NONE 44 * Output range selection - PCI224: [all …]
|
H A D | amplc_pci230.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 * COMEDI - Linux Control and Measurement Device Interface 35 * --------- --------- 43 * The AI subdevice has 16 single-ended channels or 8 differential 46 * The PCI230 and PCI260 cards have 12-bit resolution. The PCI230+ and 47 * PCI260+ cards have 16-bit resolution. 51 * or PCI260 then it actually uses a "pseudo-differential" mode where the 62 * 0 => [-10, +10] V 63 * 1 => [-5, +5] V 64 * 2 => [-2.5, +2.5] V [all …]
|
H A D | ni_at_a2150.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Comedi driver for National Instruments AT-A2150 boards 6 * COMEDI - Linux Control and Measurement Device Interface 12 * Description: National Instruments AT-A2150 15 * Devices: [National Instruments] AT-A2150C (at_a2150c), AT-2150S (at_a2150s) 18 * [0] - I/O port base address 19 * [1] - IRQ (optional, required for timed conversions) 20 * [2] - DMA (optional, required for timed conversions) 25 * If you want to ac couple the board's inputs, use AREF_OTHER. 30 * 320360.pdf AT-A2150 User Manual [all …]
|
H A D | vmk80xx.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Velleman USB Board Low-Level Driver 8 * COMEDI - Linux Control and Measurement Device Interface 14 * Description: Velleman USB Board Low-Level Driver 22 * - analog input 23 * - analog output 24 * - digital input 25 * - digital output 26 * - counter 27 * - pwm [all …]
|
/linux/Documentation/driver-api/gpio/ |
H A D | intro.rst | 17 A "General Purpose Input/Output" (GPIO) is a flexible software-controlled 21 (BGA) packages. Board schematics show which external hardware connects to 22 which GPIOs. Drivers can be written generically, so that board setup code 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 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" [all …]
|
/linux/arch/sh/boards/mach-x3proto/ |
H A D | ilsel.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * arch/sh/boards/mach-x3proto/ilsel.c 5 * Helper routines for SH-X3 proto board ILSEL. 7 * Copyright (C) 2007 - 2010 Paul Mundt 21 * ILSEL0 - 0xb8100004 [ Levels 1 - 4 ] 22 * ILSEL1 - 0xb8100006 [ Levels 5 - 8 ] 23 * ILSEL2 - 0xb8100008 [ Levels 9 - 12 ] 24 * ILSEL3 - 0xb810000a [ Levels 13 - 15 ] 26 * With each level being relative to an ilsel_source_t. 32 * ILSEL level map, in descending order from the highest level down. [all …]
|
/linux/arch/arc/include/asm/ |
H A D | mach_desc.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 12 * struct machine_desc - Board specific callbacks, called from ARC common code 13 * Provided by each ARC board using MACHINE_START()/MACHINE_END(), so 14 * a multi-platform kernel builds with array of such descriptors. 19 * @name: Board/SoC name 25 * @init_machine: arch initcall level callback (e.g. populate static 27 * @init_late: Late initcall level callback 41 * Current machine - only accessible during boot. 46 * Machine type table - also only accessible during boot
|
/linux/sound/soc/codecs/ |
H A D | wm1250-ev1.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Driver for the 1250-EV1 audio I/O module 15 #include <sound/soc-dapm.h> 26 enum snd_soc_bias_level level) in wm1250_ev1_set_bias_level() argument 28 struct wm1250_priv *wm1250 = dev_get_drvdata(component->dev); in wm1250_ev1_set_bias_level() 30 switch (level) { in wm1250_ev1_set_bias_level() 38 gpiod_set_value_cansleep(wm1250->clk_ena, 1); in wm1250_ev1_set_bias_level() 42 gpiod_set_value_cansleep(wm1250->clk_ena, 0); in wm1250_ev1_set_bias_level() 50 SND_SOC_DAPM_ADC("ADC", "wm1250-ev1 Capture", SND_SOC_NOPM, 0, 0), 51 SND_SOC_DAPM_DAC("DAC", "wm1250-ev1 Playback", SND_SOC_NOPM, 0, 0), [all …]
|
/linux/Documentation/process/ |
H A D | maintainer-soc.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 -------- 10 The SoC subsystem is a place of aggregation for SoC-specific code. 13 * devicetrees for 32- & 64-bit ARM and RISC-V 14 * 32-bit ARM board files (arch/arm/mach*) 15 * 32- & 64-bit ARM defconfigs 16 * SoC-specific drivers across architectures, in particular for 32- & 64-bit 17 ARM, RISC-V and Loongarch 19 These "SoC-specific drivers" do not include clock, GPIO etc drivers that have 20 other top-level maintainers. The drivers/soc/ directory is generally meant [all …]
|
/linux/arch/arm64/boot/dts/amd/ |
H A D | amd-overdrive-rev-b0.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * DTS file for AMD Seattle Overdrive Development Board 9 /dts-v1/; 11 /include/ "amd-seattle-soc.dtsi" 12 /include/ "amd-seattle-cpus.dtsi" 15 model = "AMD Seattle (Rev.B0) Development Board (Overdrive)"; 16 compatible = "amd,seattle-overdrive", "amd,seattle"; 19 stdout-path = &serial0; 23 compatible = "arm,psci-0.2"; 62 compatible = "mmc-spi-slot"; [all …]
|
/linux/Documentation/arch/m68k/ |
H A D | buddha-driver.rst | 8 ------------------------------------------------------------------------ 11 Buddha-part of the Catweasel Zorro-II version 16 If you want to configure the board yourself (for example let 21 product number: 0 (42 for Catweasel Z-II) 23 Rom-vector: $1000 25 The card should be a Z-II board, size 64K, not for freemem 26 list, Rom-Vektor is valid, no second Autoconfig-board on the 30 as the Amiga Kickstart does: The lower nibble of the 8-Bit 36 otherwise your chance is only 1:16 to find the board :-). 38 The local memory-map is even active when mapped to $e8: [all …]
|
/linux/Documentation/scsi/ |
H A D | advansys.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 RISC-based, Bus-Mastering, Fast (10 Mhz) and Ultra (20 Mhz) Narrow 9 (8-bit transfer) SCSI Host Adapters for the ISA, EISA, VL, and PCI 10 buses and RISC-based, Bus-Mastering, Ultra (20 Mhz) Wide (16-bit 15 cache and board LRAM. A CDB is a single SCSI command. The driver 21 - ABP-480 - Bus-Master CardBus (16 CDB) 24 - ABP510/5150 - Bus-Master ISA (240 CDB) 25 - ABP5140 - Bus-Master ISA PnP (16 CDB) 26 - ABP5142 - Bus-Master ISA PnP with floppy (16 CDB) 27 - ABP902/3902 - Bus-Master PCI (16 CDB) [all …]
|
/linux/arch/powerpc/platforms/44x/ |
H A D | ppc476.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * PowerPC 476FPE board specific routines 10 * Copyright 2002-2005 MontaVista Software Inc. 13 * Copyright (c) 2003-2005 Zultys Technologies 98 { "akebono-avr" }, 104 .name = "akebono-avr", 124 /* Find top level interrupt controller */ in ppc47x_init_irq() 125 for_each_node_with_property(np, "interrupt-controller") { in ppc47x_init_irq() 130 panic("Can't find top level interrupt controller"); in ppc47x_init_irq() 133 if (of_device_is_compatible(np, "chrp,open-pic")) { in ppc47x_init_irq() [all …]
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-i2c-devices-turris-omnia-mcu | 5 Description: (RO) Contains board revision number. 7 Only available if board information is burned in the MCU (older 8 revisions have board information burned in the ATSHA204-A chip). 20 Only available if board information is burned in the MCU (older 21 revisions have board information burned in the ATSHA204-A chip). 35 - ``mcu`` makes the button press event be handled by the MCU to 37 - ``cpu`` makes the button press event be handled by the CPU. 97 Description: (RO) Contains the selected factory reset level, determined by 98 how long the rear reset button was held by the user during board 107 Description: (RO) Contains the 64-bit board serial number in hexadecimal [all …]
|
/linux/Documentation/spi/ |
H A D | spi-lm70llp.rst | 2 spi_lm70llp : LM70-LLP parport-to-SPI adapter 5 Supported board/chip: 7 * National Semiconductor LM70 LLP evaluation board 15 ----------- 17 temperature sensor evaluation board to the kernel's SPI core subsystem. 21 In effect, this driver turns the parallel port interface on the eval board 27 -------------------- 28 The schematic for this particular board (the LM70EVAL-LLP) is 31 https://download.datasheets.com/pdfs/documentation/nat/kit&board/lm70llpevalmanual.pdf 33 The hardware interfacing on the LM70 LLP eval board is as follows: [all …]
|
/linux/Documentation/devicetree/bindings/net/bluetooth/ |
H A D | mediatek,bluetooth.txt | 13 - compatible: Must be 14 "mediatek,mt7663u-bluetooth": for MT7663U device 15 "mediatek,mt7668u-bluetooth": for MT7668U device 16 - vcc-supply: Main voltage regulator 21 - pinctrl-names: Should be "default", "runtime" 22 - pinctrl-0: Should contain UART RXD low when the device is powered up to 24 - pinctrl-1: Should contain UART mode pin ctrl 30 - boot-gpios: GPIO same to the pin as UART RXD and used to keep LOW when 32 - pinctrl-names: Should be "default" 33 - pinctrl-0: Should contain UART mode pin ctrl [all …]
|
/linux/arch/arm/boot/dts/samsung/ |
H A D | s5pv210-smdkc110.dts | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2013-2014 Samsung Electronics, Co. Ltd. 10 * Board device tree source for YIC System SMDC110 board. 12 * NOTE: This file is completely based on original board file for mach-smdkc110 13 * available in Linux 3.15 and intends to provide equivalent level of hardware 17 /dts-v1/; 18 #include <dt-bindings/input/input.h> 34 pmic_ap_clk: clock-0 { 36 compatible = "fixed-clock"; 37 #clock-cells = <0>; [all …]
|