/openbmc/linux/Documentation/hwmon/ |
H A D | sis5595.rst | 10 Addresses scanned: ISA in PCI-space encoded address 18 - Kyösti Mälkki <kmalkki@cc.hut.fi>, 19 - Mark D. Studebaker <mdsxyz123@yahoo.com>, 20 - Aurelien Jarno <aurelien@aurel32.net> 2.6 port 22 SiS southbridge has a LM78-like chip integrated on the same IC. 28 Version PCI ID PCI Revision 36 "blacklist" PCI ID and refuse to load. 39 NOT SUPPORTED PCI ID BLACKLIST PCI ID 55 ----------------- 69 ----------- [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/arm/ |
H A D | arm,vexpress-juno.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/arm/arm,vexpress-juno.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sudeep Holla <sudeep.holla@arm.com> 11 - Linus Walleij <linus.walleij@linaro.org> 15 multicore Cortex-A class systems. The Versatile Express family contains both 37 further subvariants are released of the core tile, even more fine-granular 45 - description: CoreTile Express A9x4 (V2P-CA9) has 4 Cortex A9 CPU cores 46 in MPCore configuration in a test chip on the core tile. See ARM [all …]
|
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | nand_micron.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Author: Boris Brezillon <boris.brezillon@free-electrons.com> 14 * Special Micron status bit 3 indicates that the block has been 15 * corrected by on-die ECC and should be rewritten. 20 * On chips with 8-bit ECC and additional bit can be used to distinguish 24 * ----- ----- ----- ----------- 27 * 0 1 0 4 - 6 errors corrected, recommend rewrite 29 * 1 0 0 1 - 3 errors corrected 31 * 1 1 0 7 - 8 errors corrected, recommend rewrite 69 static int micron_nand_setup_read_retry(struct nand_chip *chip, int retry_mode) in micron_nand_setup_read_retry() argument [all …]
|
/openbmc/linux/sound/isa/ |
H A D | es18xx.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (c) by Christian Fischbach <fishbach@pool.informatik.rwth-aachen.de> 5 * Copyright (c) by Abramo Bagnara <abramo@alsa-project.org> 10 * - There are pops (we can't delay in trigger function, cause midlevel 13 * - Support for 16 bit DMA seems to be broken. I've no hardware to tune it. 18 * - The chip has one half duplex pcm (with very limited full duplex support). 20 * - Duplex stereophonic sound is impossible. 21 * - Record and playback must share the same frequency rate. 23 * - The driver use dma2 for playback and dma1 for capture. 29 * - there are a first full duplex pcm and a second playback only pcm [all …]
|
/openbmc/linux/sound/isa/sb/ |
H A D | sb16.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 46 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ 47 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */ variable 50 static bool isapnp[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1}; 61 static int mic_agc[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1}; 66 static int seq_ports[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 4}; 71 module_param_array(id, charp, NULL, 0444); 72 MODULE_PARM_DESC(id, "ID string for SoundBlaster 16 soundcard."); 82 MODULE_PARM_DESC(mpu_port, "MPU-401 port # for SB16 driver."); 92 MODULE_PARM_DESC(dma8, "8-bit DMA # for SB16 driver."); [all …]
|
/openbmc/linux/include/uapi/linux/ |
H A D | gpio.h | 1 /* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */ 3 * <linux/gpio.h> - userspace ABI for the GPIO character devices 21 * Must be a multiple of 8 to ensure 32/64-bit alignment of structs. 26 * struct gpiochip_info - Information about a certain GPIO chip 27 * @name: the Linux kernel name of this GPIO chip 28 * @label: a functional name for this GPIO chip, such as a product 30 * @lines: number of GPIO lines on this chip 41 * Must be no greater than 64, as bitmaps are restricted here to 64-bits 42 * for simplicity, and a multiple of 2 to ensure 32/64-bit alignment of 54 * enum gpio_v2_line_flag - &struct gpio_v2_line_attribute.flags values [all …]
|
/openbmc/linux/drivers/hwmon/pmbus/ |
H A D | fsp-3y.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Hardware monitoring driver for FSP 3Y-Power PSUs 8 * David Brownell (and later adopted by Jan Kundrát). The device has some sort of a timing issue 38 int chip; member 46 static int page_log_to_page_real(int page_log, enum chips chip) in page_log_to_page_real() argument 48 switch (chip) { in page_log_to_page_real() 56 return -EINVAL; in page_log_to_page_real() 66 return -EINVAL; in page_log_to_page_real() 69 return -EINVAL; in page_log_to_page_real() 82 page_real = page_log_to_page_real(page_log, data->chip); in set_page() [all …]
|
/openbmc/u-boot/include/linux/mtd/ |
H A D | rawnand.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Copyright © 2000-2010 David Woodhouse <dwmw2@infradead.org> 29 /* Get the flash and manufacturer id and lookup if the type is supported. */ 31 struct nand_chip *chip, 53 * is supported now. If you add a chip with bigger oobsize/page 65 /* Select the chip by setting nCE to low */ 104 /* Extended commands for AG-AND device */ 108 * until the remaining sequence of commands has been completed 115 /* multi-bank error status (banks 0-3) */ 123 #define NAND_CMD_NONE -1 [all …]
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-max732x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 26 * - Push Pull Output 27 * - Input 28 * - Open Drain I/O 37 * - Group A : by I2C address 0b'110xxxx 38 * - Group B : by I2C address 0b'101xxxx 52 * NOTE: MAX7328/MAX7329 are drop-in replacements for PCF8574/a, so 57 #define PORT_OUTPUT 0x1 /* 'O' Push-Pull, Output Only */ 59 #define PORT_OPENDRAIN 0x3 /* 'P' Open-Drain, I/O */ 71 #define INT_NO_MASK 0x1 /* Has interrupts, no mask */ [all …]
|
H A D | gpiolib.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 24 * struct gpio_device - internal state container for GPIO devices 27 * @id: numerical ID number for the GPIO chip 31 * @chip: pointer to the corresponding gpiochip, holding static 39 * or name of the IP component in a System on Chip. 40 * @data: per-instance data assigned by the driver 46 * @sem: protects the structure from a NULL-pointer dereference of @chip by 47 * user-space operations when the device gets unregistered during 48 * a hot-unplug event 53 * GPIO chip has been removed, if it is still being used from [all …]
|
H A D | gpio-mxs.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 // Copyright (C) 2004-2010 Freescale Semiconductor, Inc. All Rights Reserved. 25 #define PINCTRL_DOUT(p) ((is_imx23_gpio(p) ? 0x0500 : 0x0700) + (p->id) * 0x10) 26 #define PINCTRL_DIN(p) ((is_imx23_gpio(p) ? 0x0600 : 0x0900) + (p->id) * 0x10) 27 #define PINCTRL_DOE(p) ((is_imx23_gpio(p) ? 0x0700 : 0x0b00) + (p->id) * 0x10) 28 #define PINCTRL_PIN2IRQ(p) ((is_imx23_gpio(p) ? 0x0800 : 0x1000) + (p->id) * 0x10) 29 #define PINCTRL_IRQEN(p) ((is_imx23_gpio(p) ? 0x0900 : 0x1100) + (p->id) * 0x10) 30 #define PINCTRL_IRQLEV(p) ((is_imx23_gpio(p) ? 0x0a00 : 0x1200) + (p->id) * 0x10) 31 #define PINCTRL_IRQPOL(p) ((is_imx23_gpio(p) ? 0x0b00 : 0x1300) + (p->id) * 0x10) 32 #define PINCTRL_IRQSTAT(p) ((is_imx23_gpio(p) ? 0x0c00 : 0x1400) + (p->id) * 0x10) [all …]
|
H A D | gpiolib-acpi.c | 1 // SPDX-License-Identifier: GPL-2.0 24 #include "gpiolib-acpi.h" 26 static int run_edge_events_on_boot = -1; 29 "Run edge _AEI event-handlers at boot: 0=no, 1=yes, -1=auto"); 50 * struct acpi_gpio_event - ACPI GPIO event handler data 52 * @node: list-entry of the events list of the struct acpi_gpio_chip 59 * @irq_requested:True if request_irq() has been done 89 struct gpio_chip *chip; member 95 * struct acpi_gpio_info - ACPI GPIO specific information 123 * for which the acpi_gpiochip_request_irqs() call has been deferred. [all …]
|
/openbmc/linux/sound/usb/6fire/ |
H A D | chip.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 12 #include "chip.h" 30 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-max */ 31 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* Id for card */ variable 38 module_param_array(id, charp, NULL, 0444); 39 MODULE_PARM_DESC(id, "ID string for the 6fire sound device."); 45 static void usb6fire_chip_abort(struct sfire_chip *chip) in usb6fire_chip_abort() argument 47 if (chip) { in usb6fire_chip_abort() 48 if (chip->pcm) in usb6fire_chip_abort() 49 usb6fire_pcm_abort(chip); in usb6fire_chip_abort() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/arm/amlogic/ |
H A D | amlogic,meson-gx-ao-secure.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/arm/amlogic/amlogic,meson-gx-ao-secure.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Neil Armstrong <neil.armstrong@linaro.org> 22 const: amlogic,meson-gx-ao-secure 24 - compatible 29 - const: amlogic,meson-gx-ao-secure 30 - const: syscon 35 amlogic,has-chip-id: [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/spi/ |
H A D | sprd,spi-adi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/spi/sprd,spi-adi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Orson Zhai <orsonzhai@gmail.com> 11 - Baolin Wang <baolin.wang7@gmail.com> 12 - Chunyan Zhang <zhang.lyra@gmail.com> 15 ADI is the abbreviation of Anolog-Digital interface, which is used to access 16 analog chip (such as PMIC) from digital chip. ADI controller follows the SPI 20 ADI controller has 50 channels including 2 software read/write channels and [all …]
|
/openbmc/linux/drivers/mux/ |
H A D | core.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #define pr_fmt(fmt) "mux-core: " fmt 25 * The idle-as-is "state" is not an actual state that may be selected, it 32 * struct mux_state - Represents a mux controller state specific to a given 37 * This structure is specific to the consumer that acquires it and has 67 ida_simple_remove(&mux_ida, mux_chip->id); in mux_chip_release() 72 .name = "mux-chip", 77 * mux_chip_alloc() - Allocate a mux-chip. 79 * @controllers: The number of mux controllers to allocate for this chip. 82 * After allocating the mux-chip with the desired number of mux controllers [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mips/ |
H A D | mscc.txt | 7 - compatible: "mscc,ocelot", "mscc,luton", "mscc,serval" or "mscc,jr2" 12 o CPU chip regs: 14 The SoC has a few registers (DEVCPU_GCB:CHIP_REGS) handling miscellaneous 15 functionalities: chip ID, general purpose register for software use, reset 19 - compatible: Should be "mscc,ocelot-chip-regs", "simple-mfd", "syscon" 20 - reg : Should contain registers location and length 24 compatible = "mscc,ocelot-chip-regs", "simple-mfd", "syscon"; 31 The SoC has a few registers (ICPU_CFG:CPU_SYSTEM_CTRL) handling configuration of 36 - compatible: Should be "mscc,ocelot-cpu-syscon", "syscon" 37 - reg : Should contain registers location and length [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/timestamp/ |
H A D | nvidia,tegra194-hte.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/timestamp/nvidia,tegra194-hte.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Tegra on chip generic hardware timestamping engine (HTE) provider 10 - Dipen Patel <dipenp@nvidia.com> 13 Tegra SoC has two instances of generic hardware timestamping engines (GTE) 14 known as GTE GPIO and GTE IRQ, which can monitor subset of GPIO and on chip 16 timestamp (taken from system counter) in its internal hardware FIFO. It has 24 - nvidia,tegra194-gte-aon [all …]
|
/openbmc/linux/drivers/cpufreq/ |
H A D | powernv-cpufreq.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 10 #define pr_fmt(fmt) "powernv-cpufreq: " fmt 43 * On an idle system we want the global pstate to ramp-down from max value to 44 * min over a span of ~5 secs. Also we want it to initially ramp-down slowly and 45 * then ramp-down rapidly later on. 60 * struct global_pstate_info - Per policy data structure to maintain history of 93 * indexed by a function of pstate id. 95 * @pstate_id: pstate id for this entry. 131 static struct chip { struct 132 unsigned int id; member [all …]
|
/openbmc/u-boot/drivers/i2c/ |
H A D | i2c-uclass.c | 1 // SPDX-License-Identifier: GPL-2.0+ 11 #include <dm/device-internal.h> 34 printf(" %s %x len=%x", m->flags & I2C_M_RD ? "R" : "W", in i2c_dump_msgs() 35 msg->addr, msg->len); in i2c_dump_msgs() 36 if (!(m->flags & I2C_M_RD)) in i2c_dump_msgs() 37 printf(": %x", m->buf[0]); in i2c_dump_msgs() 43 * i2c_setup_offset() - Set up a new message with a chip offset 45 * @chip: Chip to use 46 * @offset: Byte offset within chip 49 * @return 0 if OK, -EADDRNOTAVAIL if the offset length is 0. In that case the [all …]
|
/openbmc/linux/drivers/char/tpm/ |
H A D | tpm_infineon.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * Sirrix AG - security technologies <tpmdd@sirrix.com> and 10 * Applied Data Security Group, Ruhr-University Bochum, Germany 11 * Project-Homepage: http://www.trust.rub.de/projects/linux-device-driver-infineon-tpm/ 19 /* maximum number of WTX-packages */ 21 /* msleep-Time for WTX-packages */ 23 /* msleep-Time --> Interval to check status register */ 25 /* gives number of max. msleep()-calls before throwing timeout */ 144 static int empty_fifo(struct tpm_chip *chip, int clear_wrfifo) in empty_fifo() argument 163 this has nothing to say, since the TPM will give its answer in empty_fifo() [all …]
|
/openbmc/u-boot/drivers/tpm/ |
H A D | tpm_tis_infineon.c | 1 // SPDX-License-Identifier: GPL-2.0 26 #include <tpm-v1.h> 57 * tpm_tis_i2c_read() - read from TPM register 63 * buffer (little-endian format, i.e. first byte is put into buffer[0]). 65 * NOTE: TPM is big-endian for multi-byte values. Multi-byte 68 * Return -EIO on error, 0 on success. 73 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_i2c_read() local 78 if ((chip->chip_type == SLB9635) || (chip->chip_type == UNKNOWN)) { in tpm_tis_i2c_read() 89 /* After the TPM has successfully received the register address in tpm_tis_i2c_read() 128 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_i2c_write_generic() local [all …]
|
/openbmc/u-boot/doc/device-tree-bindings/mtd/ |
H A D | mtd-physmap.txt | 1 CFI or JEDEC memory-mapped NOR flash, MTD-RAM (NVRAM...) 6 - compatible : should contain the specific model of mtd chip(s) 7 used, if known, followed by either "cfi-flash", "jedec-flash", 8 "mtd-ram" or "mtd-rom". 9 - reg : Address range(s) of the mtd chip(s) 11 non-identical chips can be described in one node. 12 - bank-width : Width (in bytes) of the bank. Equal to the 14 - device-width : (optional) Width of a single mtd chip. If 15 omitted, assumed to be equal to 'bank-width'. 16 - #address-cells, #size-cells : Must be present if the device has [all …]
|
/openbmc/linux/sound/mips/ |
H A D | sgio2audio.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2003 Vivien Chappelier <vivien.chappelier@linux-mips.org> 15 #include <linux/dma-mapping.h> 32 MODULE_AUTHOR("Vivien Chappelier <vivien.chappelier@linux-mips.org>"); 36 static int index = SNDRV_DEFAULT_IDX1; /* Index 0-MAX */ 37 static char *id = SNDRV_DEFAULT_STR1; /* ID for this card */ variable 41 module_param(id, charp, 0444); 42 MODULE_PARM_DESC(id, "ID string for SGI O2 soundcard."); 65 #define CHANNEL_RING_MASK (CHANNEL_RING_SIZE - 1) 78 /* definition of the chip-specific record */ [all …]
|
/openbmc/u-boot/include/ |
H A D | spi.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Common SPI Interface: Controller-specific definitions 22 #define SPI_LSB_FIRST BIT(3) /* per-word bits-on-wire */ 46 * struct dm_spi_platdata - platform data for all SPI slaves 50 * dev_get_parent_platdata(slave->dev). 55 * @cs: Chip select number (0..n-1) 68 * struct spi_slave - Representation of a SPI slave 70 * For driver model this is the per-child data used by the SPI bus. It can 78 * controller-specific data. 84 * @bus: ID of the bus that the slave is attached to. For [all …]
|