/openbmc/u-boot/doc/device-tree-bindings/memory/ |
H A D | memory.txt | 3 The memory binding for U-Boot is as in the ePAPR with the following additions: 5 Optional subnodes can be used defining the memory layout for different board 6 ID masks. To match a set of board ids, a board-id node may define match-mask 7 and match-value ints to define a mask to apply to the board id, and the value 9 defaults to -1, meaning that the value must fully match the board id. 13 - #address-cells: should be 1. 14 - #size-cells: should be 0. 18 reg - board ID or mask for this subnode 19 memory-banks - list of memory banks in the same format as normal 23 match-mask - A mask to apply to the board id. This must be accompanied by [all …]
|
/openbmc/linux/sound/soc/intel/avs/ |
H A D | board_selection.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // Copyright(c) 2021-2022 Intel Corporation. All rights reserved. 16 #include <sound/intel-nhlt.h> 17 #include <sound/soc-acpi.h> 18 #include <sound/soc-component.h> 23 MODULE_PARM_DESC(i2s_test, "Probe I2S test-board and skip all other I2S boards"); 57 if (mach->quirk_data == NULL) in dmi_match_quirk() 60 dmi_table = (struct dmi_system_id *)mach->quirk_data; in dmi_match_quirk() 72 /* supported I2S board codec configurations */ 75 .id = "INT343A", [all …]
|
/openbmc/u-boot/include/ |
H A D | board.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 9 * board or a specific device such as hard-wired GPIOs on GPIO expanders, 10 * read-only data in flash ICs, or similar. 14 * numeric ID (which will usually be defined as a enum in a header file). 16 * If for example the board had a read-only serial number flash IC, we could 21 * debug("board device not found."); 36 * detect() - Run the hardware info detection procedure for this 45 * Return: 0 if OK, -ve on error. 50 * get_bool() - Read a specific bool data value that describes the 52 * @dev: The board instance to gather the data. [all …]
|
/openbmc/linux/sound/soc/intel/common/ |
H A D | soc-acpi-intel-cht-match.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * soc-acpi-intel-cht-match.c - tables and support for CHT ACPI enumeration. 9 #include <sound/soc-acpi.h> 10 #include <sound/soc-acpi-intel-match.h> 16 static int cht_surface_quirk_cb(const struct dmi_system_id *id) in cht_surface_quirk_cb() argument 34 .id = "10EC5640", 35 .drv_name = "cht-bsw-rt5645", 37 .board = "cht-bsw", 38 .sof_tplg_filename = "sof-cht-rt5645.tplg", 79 * The Lenovo Yoga Tab 3 Pro YT3-X90, with Android factory OS has a buggy DSDT [all …]
|
H A D | soc-acpi-intel-byt-match.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * soc-acpi-intel-byt-match.c - tables and support for BYT ACPI enumeration. 9 #include <sound/soc-acpi.h> 10 #include <sound/soc-acpi-intel-match.h> 17 static int byt_rt5672_quirk_cb(const struct dmi_system_id *id) in byt_rt5672_quirk_cb() argument 23 static int byt_pov_p1006w_quirk_cb(const struct dmi_system_id *id) in byt_pov_p1006w_quirk_cb() argument 64 /* Note 105b is Foxcon's USB/PCI vendor id */ 88 /* Various devices use an ACPI id of 10EC5640 while using a rt5672 codec */ 90 .id = "10EC5640", 91 .drv_name = "cht-bsw-rt5672", [all …]
|
/openbmc/linux/include/uapi/linux/ |
H A D | zorro.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * linux/zorro.h -- Amiga AutoConfig (Zorro) Bus Definitions 5 * Copyright (C) 1995--2003 Geert Uytterhoeven 19 * Each Zorro board has a 32-bit ID of the form 25 * mmmmmmmmmmmmmmmm 16-bit Manufacturer ID (assigned by CBM (sigh)) 26 * pppppppp 8-bit Product ID (assigned by manufacturer) 27 * eeeeeeee 8-bit Extended Product ID (currently only used 32 #define ZORRO_MANUF(id) ((id) >> 16) argument 33 #define ZORRO_PROD(id) (((id) >> 8) & 0xff) argument 34 #define ZORRO_EPC(id) ((id) & 0xff) argument [all …]
|
/openbmc/linux/drivers/comedi/drivers/ |
H A D | das1800.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Comedi driver for Keithley DAS-1700/DAS-1800 series boards 6 * COMEDI - Linux Control and Measurement Device Interface 14 * Devices: [Keithley Metrabyte] DAS-1701ST (das-1701st), 15 * DAS-1701ST-DA (das-1701st-da), DAS-1701/AO (das-1701ao), 16 * DAS-1702ST (das-1702st), DAS-1702ST-DA (das-1702st-da), 17 * DAS-1702HR (das-1702hr), DAS-1702HR-DA (das-1702hr-da), 18 * DAS-1702/AO (das-1702ao), DAS-1801ST (das-1801st), 19 * DAS-1801ST-DA (das-1801st-da), DAS-1801HC (das-1801hc), 20 * DAS-1801AO (das-1801ao), DAS-1802ST (das-1802st), [all …]
|
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 | das16.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * COMEDI - Linux Control and Measurement Device Interface 16 * Devices: [Keithley Metrabyte] DAS-16 (das-16), DAS-16G (das-16g), 17 * DAS-16F (das-16f), DAS-1201 (das-1201), DAS-1202 (das-1202), 18 * DAS-1401 (das-1401), DAS-1402 (das-1402), DAS-1601 (das-1601), 19 * DAS-1602 (das-1602), 20 * [ComputerBoards] PC104-DAS16/JR (pc104-das16jr), 21 * PC104-DAS16JR/16 (pc104-das16jr/16), CIO-DAS16 (cio-das16), 22 * CIO-DAS16F (cio-das16/f), CIO-DAS16/JR (cio-das16/jr), 23 * CIO-DAS16JR/16 (cio-das16jr/16), CIO-DAS1401/12 (cio-das1401/12), [all …]
|
/openbmc/linux/drivers/parisc/ |
H A D | eisa_enumerator.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * eisa_enumerator.c - provide support for EISA adapters in PA-RISC machines 36 * little-endian on the big-endian PAROSC */ 54 static void print_eisa_id(char *s, u_int32_t id) in print_eisa_id() argument 60 rev = id & 0xff; in print_eisa_id() 61 id >>= 8; in print_eisa_id() 62 device = id & 0xff; in print_eisa_id() 63 id >>= 8; in print_eisa_id() 65 vendor[2] = '@' + (id & 0x1f); in print_eisa_id() 66 id >>= 5; in print_eisa_id() [all …]
|
/openbmc/linux/drivers/net/wireless/ath/ath10k/ |
H A D | core.c | 1 // SPDX-License-Identifier: ISC 3 * Copyright (c) 2005-2011 Atheros Communications Inc. 4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc. 5 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. 6 * Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved. 16 #include <linux/nvmem-consumer.h> 28 #include "wmi-ops.h" 57 MODULE_PARM_DESC(cryptmode, "Crypto mode: 0-hardware, 1-software"); 65 .id = QCA988X_HW_2_0_VERSION, 78 .board = QCA988X_HW_2_0_BOARD_DATA_FILE, [all …]
|
/openbmc/u-boot/arch/arm/include/asm/arch-tegra/ |
H A D | sys_proto.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 13 * tegra_board_id() - Get the board iD 15 * @return a board ID, or -ve on error 20 * tegra_lcd_pmic_init() - Set up the PMIC for a board 22 * @board_id: Board ID which may be used to select LCD type 23 * @return 0 if OK, -ve on error 28 * nvidia_board_init() - perform any board-specific init 30 * @return 0 if OK, -ve on error
|
/openbmc/linux/Documentation/networking/devlink/ |
H A D | devlink-info.rst | 1 .. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 7 The ``devlink-info`` mechanism enables device drivers to report device 10 The original motivation for the ``devlink-info`` API was twofold: 12 - making it possible to automate device and firmware management in a fleet 13 of machines in a vendor-independent fashion (see also 14 :ref:`Documentation/networking/devlink/devlink-flash.rst <devlink_flash>`); 15 - name the per component FW versions (as opposed to the crowded ethtool 18 ``devlink-info`` supports reporting multiple types of objects. Reporting driver 19 versions is generally discouraged - here, and via any other Linux API. 21 .. list-table:: List of top level info objects [all …]
|
H A D | nfp.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 .. list-table:: Generic parameters implemented 15 * - Name 16 - Mode 17 * - ``fw_load_policy`` 18 - permanent 19 * - ``reset_dev_on_drv_probe`` 20 - permanent 27 .. list-table:: devlink info versions implemented 30 * - Name [all …]
|
/openbmc/linux/drivers/net/ethernet/natsemi/ |
H A D | macsonic.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * a module again, and from the mac68k project, introduced more 32-bit cards 9 * and dhd's support for 16-bit cards. 21 * (C) 1995 by Andreas Busse (andy@waldorf-gmbh.de) 51 #include <linux/dma-mapping.h> 65 /* These should basically be bus-size and endian independent (since 68 #define SONIC_READ(reg) (nubus_readw(dev->base_addr + (reg * 4) \ 69 + lp->reg_offset)) 70 #define SONIC_WRITE(reg,val) (nubus_writew(val, dev->base_addr + (reg * 4) \ 71 + lp->reg_offset)) [all …]
|
/openbmc/linux/drivers/dio/ |
H A D | dio.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Code to support devices on the DIO and DIO-II bus 9 * of the next unconfigured device found that matches the given device ID. 10 * Note that the deviceid parameter should be the encoded ID. 20 * Return a character string describing this board [might be "" if 22 * void dio_config_board(int scode) mark board as configured in the list 23 * void dio_unconfig_board(int scode) mark board as no longer configured 42 /* DIO-II range */ 43 { .name = "DIO-II mem", .start = 0x01000000, .end = 0x1fffffff } 52 /* We associate each numeric ID with an appropriate descriptive string [all …]
|
/openbmc/u-boot/arch/arm/mach-omap2/omap3/ |
H A D | Kconfig | 3 # We only enable the clocks for the GPIO banks that a given board requies. 25 prompt "OMAP3 board select" 52 bool "CompuLab CM-T3530 and CM-T3730 boards" 58 bool "CompuLab CM-T3517 boards" 193 bool "Support OMAP3-specific ID and MFR function" 195 Support for an OMAP3-specific set of functions to return the 196 ID and MFR of the first attached NAND chip, if present. 201 source "board/logicpd/am3517evm/Kconfig" 202 source "board/teejet/mt_ventoux/Kconfig" 203 source "board/ti/beagle/Kconfig" [all …]
|
/openbmc/linux/drivers/media/usb/go7007/ |
H A D | go7007-usb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2005-2006 Micronas USA Inc. 22 #include "go7007-priv.h" 29 /* #define GO7007_I2C_DEBUG */ /* for debugging the EZ-USB I2C adapter */ 36 * Pipes on EZ-USB interface: 37 * 0 snd - Control 38 * 0 rcv - Control 39 * 2 snd - Download firmware (control) 40 * 4 rcv - Read Interrupt (interrupt) 41 * 6 rcv - Read Video (bulk) [all …]
|
/openbmc/u-boot/drivers/board/ |
H A D | board-uclass.c | 1 // SPDX-License-Identifier: GPL-2.0+ 9 #include <board.h> 20 if (!ops->detect) in board_detect() 21 return -ENOSYS; in board_detect() 23 return ops->detect(dev); in board_detect() 26 int board_get_bool(struct udevice *dev, int id, bool *val) in board_get_bool() argument 30 if (!ops->get_bool) in board_get_bool() 31 return -ENOSYS; in board_get_bool() 33 return ops->get_bool(dev, id, val); in board_get_bool() 36 int board_get_int(struct udevice *dev, int id, int *val) in board_get_int() argument [all …]
|
H A D | gazerbeam.c | 1 // SPDX-License-Identifier: GPL-2.0+ 9 #include <board.h> 29 * struct board_gazerbeam_priv - Private data structure for the gazerbeam board 31 * @reset_gpios: GPIOs for the board's reset GPIOs. 32 * @var_gpios: GPIOs for the board's hardware variant GPIOs 33 * @ver_gpios: GPIOs for the board's hardware version GPIOs 34 * @variant: Container for the board's hardware variant (CON/CPU) 35 * @multichannel: Container for the board's multichannel variant (MC4/MC2/SC) 36 * @hwversion: Container for the board's hardware version 48 * _read_board_variant_data() - Read variant information from the hardware. [all …]
|
/openbmc/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> 16 #include <sound/wm1250-ev1.h> 33 struct wm1250_priv *wm1250 = dev_get_drvdata(component->dev); in wm1250_ev1_set_bias_level() 37 ena = wm1250->gpios[WM1250_EV1_GPIO_CLK_ENA].gpio; in wm1250_ev1_set_bias_level() 39 ena = -1; in wm1250_ev1_set_bias_level() 63 SND_SOC_DAPM_ADC("ADC", "wm1250-ev1 Capture", SND_SOC_NOPM, 0, 0), 64 SND_SOC_DAPM_DAC("DAC", "wm1250-ev1 Playback", SND_SOC_NOPM, 0, 0), 79 struct wm1250_priv *wm1250 = snd_soc_component_get_drvdata(dai->component); in wm1250_ev1_hw_params() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/arm/ |
H A D | qcom.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/arm/qcom.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bjorn Andersson <bjorn.andersson@linaro.org> 15 To support this scheme, we encode this information into the board compatible 18 Each board must specify a top-level board compatible string with the following 21 compatible = "qcom,<SoC>[-<soc_version>][-<foundry_id>]-<board>[/<subtype>][-<board_version>]" 23 The 'SoC' and 'board' elements are required. All other elements are optional. 89 The 'board' element must be one of the following strings: [all …]
|
/openbmc/linux/drivers/media/common/siano/ |
H A D | sms-cards.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Card-specific functions for the Siano SMS1xxx USB dongle 8 #include "sms-cards.h" 14 .name = "Unknown board", 45 .name = "Hauppauge Okemo-A", 51 .name = "Hauppauge Okemo-B", 86 .lna_ctrl = -1, 134 .name = "Siano Denver (ATSC-M/H) Digital Receiver", 152 struct sms_board *sms_get_board(unsigned id) in sms_get_board() argument 154 BUG_ON(id >= ARRAY_SIZE(sms_boards)); in sms_get_board() [all …]
|
/openbmc/linux/drivers/media/pci/saa7164/ |
H A D | saa7164-cards.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (c) 2010-2015 Steven Toth <stoth@kernellabs.com> 17 * and keep the -i2c.c implementation clean. 31 /* Required during new board bringup */ 37 /* Required during new board bringup */ 42 .name = "Hauppauge WinTV-HVR2200", 51 .id = 0x1d, 58 .id = 0x04, 60 .name = "TDA18271-1", 65 .id = 0x1b, [all …]
|
/openbmc/linux/arch/sh/boards/ |
H A D | of-generic.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * SH generic board support, using device tree 5 * Copyright (C) 2015-2016 Smart Energy Instruments, Inc. 60 pr_info("SH generic board support: scanning for cpus\n"); in sh_of_smp_probe() 65 u64 id = of_get_cpu_hwid(np, 0); in sh_of_smp_probe() local 67 if (id < NR_CPUS) { in sh_of_smp_probe() 69 of_property_read_string(np, "enable-method", &method); in sh_of_smp_probe() 70 set_cpu_possible(id, true); in sh_of_smp_probe() 71 set_cpu_present(id, true); in sh_of_smp_probe() 72 __cpu_number_map[id] = id; in sh_of_smp_probe() [all …]
|