Home
last modified time | relevance | path

Searched +full:revision +full:- +full:id1 (Results 1 – 25 of 32) sorted by relevance

12

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtc_opts.c1 // SPDX-License-Identifier: GPL-2.0
8 #define ping_cmd "ping -q -c1 -w1 127.0.0.1 > /dev/null"
18 __u32 fd1, fd2, id1, id2; in serial_test_tc_opts_basic() local
27 fd1 = bpf_program__fd(skel->progs.tc1); in serial_test_tc_opts_basic()
28 fd2 = bpf_program__fd(skel->progs.tc2); in serial_test_tc_opts_basic()
30 id1 = id_from_prog_fd(fd1); in serial_test_tc_opts_basic()
33 ASSERT_NEQ(id1, id2, "prog_ids_1_2"); in serial_test_tc_opts_basic()
38 ASSERT_EQ(skel->bss->seen_tc1, false, "seen_tc1"); in serial_test_tc_opts_basic()
39 ASSERT_EQ(skel->bss->seen_tc2, false, "seen_tc2"); in serial_test_tc_opts_basic()
58 ASSERT_EQ(optq.revision, 2, "revision"); in serial_test_tc_opts_basic()
[all …]
/openbmc/linux/drivers/net/phy/
H A Dspi_ks8995.c1 // SPDX-License-Identifier: GPL-2.0
26 /* ------------------------------------------------------------------------ */
29 #define KS8995_REG_ID1 0x01 /* Chip ID1 */
174 /* create_spi_cmd - create a chip specific SPI command header
191 result <<= ks->chip->addr_width + ks->chip->addr_shift; in create_spi_cmd()
193 result |= address << ks->chip->addr_shift; in create_spi_cmd()
197 /* ------------------------------------------------------------------------ */
219 mutex_lock(&ks->lock); in ks8995_read()
220 err = spi_sync(ks->spi, &m); in ks8995_read()
221 mutex_unlock(&ks->lock); in ks8995_read()
[all …]
/openbmc/linux/sound/isa/gus/
H A Dinterwave.c1 // SPDX-License-Identifier: GPL-2.0-or-later
35 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
39 static bool isapnp[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1};
48 static int joystick_dac[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 29};
49 /* 0 to 31, (0.59V-4.52V or 0.389V-2.98V) */
51 static int pcm_channels[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 2};
55 #define PFX "interwave-stb: "
57 #define INTERWAVE_PNP_DRIVER "interwave-stb"
78 MODULE_PARM_DESC(port_tc, "Tone control (TEA6330T - i2c bus) port # for InterWave driver.");
87 MODULE_PARM_DESC(joystick_dac, "Joystick DAC level 0.59V-4.52V or 0.389V-2.98V for InterWave driver…
[all …]
/openbmc/u-boot/board/freescale/t208xrdb/
H A Dcpld.h1 /* SPDX-License-Identifier: GPL-2.0+ */
7 * CPLD register set of T2080RDB board-specific.
10 u8 chip_id1; /* 0x00 - Chip ID1 register */
11 u8 chip_id2; /* 0x01 - Chip ID2 register */
12 u8 hw_ver; /* 0x02 - Hardware Revision Register */
13 u8 sw_ver; /* 0x03 - Software Revision register */
14 u8 res0[12]; /* 0x04 - 0x0F - not used */
15 u8 reset_ctl; /* 0x10 - Reset control Register */
16 u8 flash_csr; /* 0x11 - Flash control and status register */
17 u8 thermal_csr; /* 0x12 - Thermal control and status register */
[all …]
/openbmc/linux/drivers/mfd/
H A Dwm8350-core.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * wm8350-core.c -- Device access for Wolfson WM8350
65 return regmap_update_bits(wm8350->regmap, reg, mask, 0); in wm8350_clear_bits()
71 return regmap_update_bits(wm8350->regmap, reg, mask, mask); in wm8350_set_bits()
80 err = regmap_read(wm8350->regmap, reg, &data); in wm8350_reg_read()
82 dev_err(wm8350->dev, "read from reg R%d failed\n", reg); in wm8350_reg_read()
92 ret = regmap_write(wm8350->regmap, reg, val); in wm8350_reg_write()
95 dev_err(wm8350->dev, "write to reg R%d failed\n", reg); in wm8350_reg_write()
105 err = regmap_bulk_read(wm8350->regmap, start_reg, dest, regs); in wm8350_block_read()
107 dev_err(wm8350->dev, "block read starting from R%d failed\n", in wm8350_block_read()
[all …]
/openbmc/u-boot/drivers/power/pmic/
H A Das3722.c1 // SPDX-License-Identifier: GPL-2.0+
48 pr_err("failed to read ID1 register: %d\n", ret); in as3722_read_id()
69 return -EINVAL; in as3722_sd_set_voltage()
85 return -EINVAL; in as3722_ldo_set_voltage()
99 uint id, revision; in as3722_probe() local
102 ret = as3722_read_id(dev, &id, &revision); in as3722_probe()
110 return -ENOENT; in as3722_probe()
113 debug("AS3722 revision %#x found on I2C bus %s\n", revision, dev->name); in as3722_probe()
135 dev->name); in as3722_bind()
136 return -ENXIO; in as3722_bind()
[all …]
/openbmc/linux/drivers/gpu/drm/panel/
H A Dpanel-dsi-cm.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/
81 if (ddata->bldev) in dsicm_bl_power()
82 backlight = ddata->bldev; in dsicm_bl_power()
83 else if (ddata->extbldev) in dsicm_bl_power()
84 backlight = ddata->extbldev; in dsicm_bl_power()
96 ddata->hw_guard_wait = msecs_to_jiffies(guard_msec); in hw_guard_start()
97 ddata->hw_guard_end = jiffies + ddata->hw_guard_wait; in hw_guard_start()
102 unsigned long wait = ddata->hw_guard_end - jiffies; in hw_guard_wait()
104 if ((long)wait > 0 && wait <= ddata->hw_guard_wait) { in hw_guard_wait()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/memory-controllers/ddr/
H A Djedec,lpddr2.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/memory-controllers/ddr/jedec,lpddr2.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: LPDDR2 SDRAM compliant to JEDEC JESD209-2
10 - Krzysztof Kozlowski <krzk@kernel.org>
13 - $ref: jedec,lpddr-props.yaml#
18 - items:
19 - enum:
20 - elpida,ECB240ABACN
[all …]
/openbmc/linux/sound/soc/codecs/
H A Dwm8804.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm8804.c -- WM8804 S/PDIF transceiver driver
5 * Copyright 2010-11 Wolfson Microelectronics plc
26 #include <sound/soc-dapm.h>
37 { 3, 0x21 }, /* R3 - PLL1 */
38 { 4, 0xFD }, /* R4 - PLL2 */
39 { 5, 0x36 }, /* R5 - PLL3 */
40 { 6, 0x07 }, /* R6 - PLL4 */
41 { 7, 0x16 }, /* R7 - PLL5 */
42 { 8, 0x18 }, /* R8 - PLL6 */
[all …]
H A Dwm2000.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm2000.c -- WM2000 ALSA Soc Audio driver
5 * Copyright 2008-2011 Wolfson Microelectronics PLC.
13 * system-specific calibration information. If supplied as a
14 * sequence of ASCII-encoded hexidecimal bytes this can be converted
17 * perl -e 'while (<>) { s/[\r\n]+// ; printf("%c", hex($_)); }'
85 return regmap_write(wm2000->regmap, reg, value); in wm2000_write()
90 struct i2c_client *i2c = wm2000->i2c; in wm2000_reset()
96 wm2000->anc_mode = ANC_OFF; in wm2000_reset()
106 regmap_read(wm2000->regmap, reg, &val); in wm2000_poll_bit()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/bios/
H A Dbios_parser.c2 * Copyright 2012-15 Advanced Micro Devices, Inc.
54 bp->base.ctx->logger
56 #define DATA_TABLES(table) (bp->master_data_tbl->ListOfDataTables.table)
106 return &bp->base; in bios_parser_create()
115 kfree(bp->base.bios_local_image); in bios_parser_destruct()
116 kfree(bp->base.integrated_info); in bios_parser_destruct()
138 uint32_t object_table_offset = bp->object_info_tbl_offset + offset; in get_number_of_objects()
140 table = ((ATOM_OBJECT_TABLE *) bios_get_image(&bp->base, in get_number_of_objects()
147 return table->ucNumberOfObjects; in get_number_of_objects()
155 le16_to_cpu(bp->object_info_tbl.v1_1->usConnectorObjectTableOffset)); in bios_parser_get_connectors_number()
[all …]
/openbmc/linux/drivers/video/fbdev/omap2/omapfb/displays/
H A Dpanel-dsi-cm.c1 // SPDX-License-Identifier: GPL-2.0-only
92 ddata->hw_guard_wait = msecs_to_jiffies(guard_msec); in hw_guard_start()
93 ddata->hw_guard_end = jiffies + ddata->hw_guard_wait; in hw_guard_start()
98 unsigned long wait = ddata->hw_guard_end - jiffies; in hw_guard_wait()
100 if ((long)wait > 0 && time_before_eq(wait, ddata->hw_guard_wait)) { in hw_guard_wait()
108 struct omap_dss_device *in = ddata->in; in dsicm_dcs_read_1()
112 r = in->ops.dsi->dcs_read(in, ddata->channel, dcs_cmd, buf, 1); in dsicm_dcs_read_1()
124 struct omap_dss_device *in = ddata->in; in dsicm_dcs_write_0()
125 return in->ops.dsi->dcs_write(in, ddata->channel, &dcs_cmd, 1); in dsicm_dcs_write_0()
130 struct omap_dss_device *in = ddata->in; in dsicm_dcs_write_1()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/memory-controllers/
H A Dnvidia,tegra20-emc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/memory-controllers/nvidia,tegra20-emc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Dmitry Osipenko <digetx@gmail.com>
11 - Jon Hunter <jonathanh@nvidia.com>
12 - Thierry Reding <thierry.reding@gmail.com>
15 The External Memory Controller (EMC) interfaces with the off-chip SDRAM to
17 various performance-affecting settings beyond the obvious SDRAM configuration
23 const: nvidia,tegra20-emc
[all …]
/openbmc/linux/include/sound/ac97/
H A Dregs.h1 /* SPDX-License-Identifier: GPL-2.0+
6 * For more details look to AC '97 component specification revision 2.1
33 /* range 0x28-0x3a - AUDIO AC'97 2.0 extensions */
44 /* range 0x3c-0x58 - MODEM */
59 /* range 0x5a-0x7b - Vendor Specific */
60 #define AC97_VENDOR_ID1 0x7c /* Vendor ID1 */
61 #define AC97_VENDOR_ID2 0x7e /* Vendor ID2 / revision */
62 /* range 0x60-0x6f (page 1) - extended codec registers */
63 #define AC97_CODEC_CLASS_REV 0x60 /* Codec Class/Revision */
108 #define AC97_BC_16BIT_DAC 0x0000 /* 16-bit DAC resolution */
[all …]
/openbmc/linux/drivers/memory/
H A Dof_memory.c1 // SPDX-License-Identifier: GPL-2.0-or-later
19 * of_get_min_tck() - extract min timing values for ddr
38 ret |= of_property_read_u32(np, "tRPab-min-tck", &min->tRPab); in of_get_min_tck()
39 ret |= of_property_read_u32(np, "tRCD-min-tck", &min->tRCD); in of_get_min_tck()
40 ret |= of_property_read_u32(np, "tWR-min-tck", &min->tWR); in of_get_min_tck()
41 ret |= of_property_read_u32(np, "tRASmin-min-tck", &min->tRASmin); in of_get_min_tck()
42 ret |= of_property_read_u32(np, "tRRD-min-tck", &min->tRRD); in of_get_min_tck()
43 ret |= of_property_read_u32(np, "tWTR-min-tck", &min->tWTR); in of_get_min_tck()
44 ret |= of_property_read_u32(np, "tXP-min-tck", &min->tXP); in of_get_min_tck()
45 ret |= of_property_read_u32(np, "tRTP-min-tck", &min->tRTP); in of_get_min_tck()
[all …]
/openbmc/linux/drivers/net/ethernet/smsc/
H A Dsmc91x.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * This is a driver for SMSC's 91C9x/91C1xx single-chip Ethernet devices.
37 * 29/09/03 Russell King - add driver model support
38 * - ethtool support
39 * - convert to use generic MII interface
40 * - add link up/down notification
41 * - don't try to handle full negotiation in
43 * - clean up (and fix stack overrun) in PHY
112 * Use power-down feature of the chip
197 spin_lock_irqsave(&lp->lock, smc_enable_flags); \
[all …]
/openbmc/u-boot/arch/arm/mach-imx/mx6/
H A Dsoc.c1 // SPDX-License-Identifier: GPL-2.0+
12 #include <asm/arch/imx-regs.h>
16 #include <asm/mach-imx/boot_mode.h>
17 #include <asm/mach-imx/dma.h>
18 #include <asm/mach-imx/hab.h>
63 return readl(&scu->config) & 3; in get_nr_cpus()
69 u32 reg = readl(&anatop->digprog_sololite); in get_cpu_rev()
74 reg = readl(&anatop->digprog); in get_cpu_rev()
76 cfg = readl(&scu->config) & 3; in get_cpu_rev()
92 major--; in get_cpu_rev()
[all …]
/openbmc/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2500usb.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com>
36 * Default offset is required for RSSI <-> dBm conversion.
63 * MAC_CSR0: ASIC revision number.
238 * ACK_TIMEOUT: ACK Timeout in unit of 1-us.
288 * TXRX_CSR6: CCK TX BBP ID1.
306 * TXRX_CSR8: OFDM TX BBP ID1.
315 * TXRX_CSR9: TX ACK time-out.
350 * TSF_SYNC: Tsf sync, 0: disable, 1: infra, 2: ad-hoc/master mode.
498 * BBP pre-TX registers.
[all …]
/openbmc/linux/drivers/regulator/
H A Dfan53555.c1 // SPDX-License-Identifier: GPL-2.0
50 #define DIE_ID 0x0F /* ID1 */
112 /* IC mask revision */
158 if (di->sleep_vol_cache == uV) in fan53555_set_suspend_voltage()
163 ret = regmap_update_bits(rdev->regmap, di->sleep_reg, in fan53555_set_suspend_voltage()
164 di->desc.vsel_mask, ret); in fan53555_set_suspend_voltage()
169 di->sleep_vol_cache = uV; in fan53555_set_suspend_voltage()
178 return regmap_update_bits(rdev->regmap, di->sleep_en_reg, in fan53555_set_suspend_enable()
186 return regmap_update_bits(rdev->regmap, di->sleep_en_reg, in fan53555_set_suspend_disable()
196 regmap_update_bits(rdev->regmap, di->mode_reg, in fan53555_set_mode()
[all …]
/openbmc/linux/drivers/tty/serial/8250/
H A D8250_port.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Base port operations for 8250/16550-type serial ports
255 * tx_loadsz is set to 63-bytes instead of 64-bytes to implement
256 * workaround of errata A-008006 which states that tx_loadsz should
268 .name = "Palmchip BK-3103",
354 offset = offset << p->regshift; in hub6_serial_in()
355 outb(p->hub6 - 1 + offset, p->iobase); in hub6_serial_in()
356 return inb(p->iobase + 1); in hub6_serial_in()
361 offset = offset << p->regshift; in hub6_serial_out()
362 outb(p->hub6 - 1 + offset, p->iobase); in hub6_serial_out()
[all …]
/openbmc/linux/drivers/net/ethernet/amd/
H A Damd8111e.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 * Copyright 1996-1999 Thomas Bogendoerfer [ pcnet32.c ]
28 Revision History:
30 Initial Revision.
73 #include <linux/dma-mapping.h>
101 void __iomem *mmio = lp->mmio; in amd8111e_read_phy()
114 } while (--repeat && (reg_val & PHY_CMD_ACTIVE)); in amd8111e_read_phy()
122 return -EINVAL; in amd8111e_read_phy()
131 void __iomem *mmio = lp->mmio; in amd8111e_write_phy()
144 } while (--repeat && (reg_val & PHY_CMD_ACTIVE)); in amd8111e_write_phy()
[all …]
/openbmc/linux/Documentation/networking/
H A Darcnet-hardware.rst1 .. SPDX-License-Identifier: GPL-2.0
11 2) This file is no longer Linux-specific. It should probably be moved out
17 e-mail apenwarr@worldvisions.ca with any settings for your particular card,
39 There are two "types" of ARCnet - STAR topology and BUS topology. This
46 well-designed standard. It uses something called "modified token passing"
47 which makes it completely incompatible with so-called "Token Ring" cards,
63 programming interface also means that when high-performance hardware
73 although they are generally kept down to the Ethernet-style 1500 bytes.
91 - Avery Pennraun <apenwarr@worldvisions.ca>
92 - Stephen A. Wood <saw@hallc1.cebaf.gov>
[all …]
/openbmc/linux/drivers/scsi/
H A Dqla1280.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
77 /* Command retry count (0-65535) */
85 /* ISP request and response entry counts (37-65535) */
95 /* NOTE: the sp->cmd will be NULL when this completion is
118 #define ISP_CFG0_HWMSK 0x000f /* Hardware revision mask */
126 #define ISP_CFG1_F128 BIT_6 /* 128-byte FIFO threshold */
127 #define ISP_CFG1_F64 BIT_4|BIT_5 /* 128-byte FIFO threshold */
128 #define ISP_CFG1_F32 BIT_5 /* 128-byte FIFO threshold */
129 #define ISP_CFG1_F16 BIT_4 /* 128-byte FIFO threshold */
139 #define PCI_64BIT_SLOT BIT_14 /* PCI 64-bit slot indicator. */
[all …]
/openbmc/linux/drivers/net/ethernet/nvidia/
H A Dforcedeth.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * engineered documentation written by Carl-Daniel Hailfinger
15 * Copyright (C) 2004 Carl-Daniel Hailfinger (invalid MAC handling, insane
50 #include <linux/dma-mapping.h>
73 #define DEV_HAS_MSI_X 0x0000080 /* device supports MSI-X */
483 * - DESC_VER_1: Original
484 * - DESC_VER_2: support for jumbo frames.
485 * - DESC_VER_3: 64-bit format.
568 /* MSI/MSI-X defines */
638 u64 tx_bytes; /* should be ifconfig->tx_bytes + 4*tx_packets */
[all …]
/openbmc/qemu/hw/arm/
H A Dsbsa-ref.c24 #include "qemu/error-report.h"
39 #include "hw/ide/ide-bus.h"
40 #include "hw/ide/ahci-sysbus.h"
44 #include "hw/pci-host/gpex.h"
45 #include "hw/qdev-properties.h"
53 #include "target/arm/cpu-qom.h"
65 * and the SBSA watchdog-timer). Older (<2.11) versions of the TF-A firmware
110 #define TYPE_SBSA_MACHINE MACHINE_TYPE_NAME("sbsa-ref")
137 /* 32-bit address PCIE MMIO space */
170 qemu_fdt_add_subnode(sms->fdt, intc_nodename); in sbsa_fdt_add_gic_node()
[all …]

12