Home
last modified time | relevance | path

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

12

/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
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()
31 id2 = id_from_prog_fd(fd2); 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 …]
/kernel/linux/linux-6.6/drivers/mfd/
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 …]
/kernel/linux/linux-5.10/drivers/mfd/
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 …]
/kernel/linux/linux-6.6/sound/isa/gus/
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 …]
/kernel/linux/linux-5.10/sound/isa/gus/
Dinterwave.c1 // SPDX-License-Identifier: GPL-2.0-or-later
41 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
45 static bool isapnp[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1};
54 static int joystick_dac[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 29};
55 /* 0 to 31, (0.59V-4.52V or 0.389V-2.98V) */
57 static int pcm_channels[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 2};
61 #define PFX "interwave-stb: "
63 #define INTERWAVE_PNP_DRIVER "interwave-stb"
84 MODULE_PARM_DESC(port_tc, "Tone control (TEA6330T - i2c bus) port # for InterWave driver.");
93 MODULE_PARM_DESC(joystick_dac, "Joystick DAC level 0.59V-4.52V or 0.389V-2.98V for InterWave driver…
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/panel/
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 …]
/kernel/linux/linux-6.6/sound/soc/codecs/
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 …]
/kernel/linux/linux-5.10/sound/soc/codecs/
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 …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/memory-controllers/ddr/
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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/smsc/
Dsmc911x.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * This is a driver for SMSC's LAN911{5,6,7,8} single-chip Ethernet devices.
18 "smc911x.c: v1.0 04-16-2005 by Dustin McIntire <dustin@sensoria.com>\n";
92 * Use power-down feature of the chip
169 DBG(SMC_DEBUG_FUNC, dev, "--> %s\n", __func__); in smc911x_reset()
179 } while (--timeout && !reg); in smc911x_reset()
187 spin_lock_irqsave(&lp->lock, flags); in smc911x_reset()
189 spin_unlock_irqrestore(&lp->lock, flags); in smc911x_reset()
191 while (resets--) { in smc911x_reset()
203 } while (--timeout && (reg & HW_CFG_SRST_)); in smc911x_reset()
[all …]
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 …]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/bios/
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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/bios/
Dbios_parser.c2 * Copyright 2012-15 Advanced Micro Devices, Inc.
55 bp->base.ctx->logger
57 #define DATA_TABLES(table) (bp->master_data_tbl->ListOfDataTables.table)
107 return &bp->base; in bios_parser_create()
116 kfree(bp->base.bios_local_image); in bios_parser_destruct()
117 kfree(bp->base.integrated_info); in bios_parser_destruct()
139 uint32_t object_table_offset = bp->object_info_tbl_offset + offset; in get_number_of_objects()
146 return table->ucNumberOfObjects; in get_number_of_objects()
154 le16_to_cpu(bp->object_info_tbl.v1_1->usConnectorObjectTableOffset)); in bios_parser_get_connectors_number()
166 uint32_t connector_table_offset = bp->object_info_tbl_offset in bios_parser_get_connector_id()
[all …]
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/displays/
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 …]
/kernel/linux/linux-6.6/drivers/video/fbdev/omap2/omapfb/displays/
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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/displays/
Dpanel-dsi-cm.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
106 if (ddata->bldev) in dsicm_bl_power()
107 backlight = ddata->bldev; in dsicm_bl_power()
108 else if (ddata->extbldev) in dsicm_bl_power()
109 backlight = ddata->extbldev; in dsicm_bl_power()
114 backlight->props.fb_blank = FB_BLANK_UNBLANK; in dsicm_bl_power()
115 backlight->props.state = ~(BL_CORE_FBBLANK | BL_CORE_SUSPENDED); in dsicm_bl_power()
116 backlight->props.power = FB_BLANK_UNBLANK; in dsicm_bl_power()
118 backlight->props.fb_blank = FB_BLANK_NORMAL; in dsicm_bl_power()
[all …]
/kernel/linux/linux-5.10/include/sound/ac97/
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 */
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 */
109 #define AC97_BC_18BIT_DAC 0x0040 /* 18-bit DAC resolution */
[all …]
/kernel/linux/linux-6.6/include/sound/ac97/
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 */
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 */
109 #define AC97_BC_18BIT_DAC 0x0040 /* 18-bit DAC resolution */
[all …]
/kernel/linux/linux-6.6/arch/arm/mach-ep93xx/
Dcore.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * arch/arm/mach-ep93xx/core.c
19 #include <linux/dma-mapping.h>
34 #include <linux/irqchip/arm-vic.h>
40 #include <linux/platform_data/video-ep93xx.h>
41 #include <linux/platform_data/keypad-ep93xx.h>
42 #include <linux/platform_data/spi-ep93xx.h>
45 #include "gpio-ep93xx.h"
124 * ep93xx_chip_revision() - returns the EP93xx chip revision
156 .name = "gpio-ep93xx",
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-ep93xx/
Dcore.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * arch/arm/mach-ep93xx/core.c
19 #include <linux/dma-mapping.h>
33 #include <linux/irqchip/arm-vic.h>
39 #include <linux/platform_data/video-ep93xx.h>
40 #include <linux/platform_data/keypad-ep93xx.h>
41 #include <linux/platform_data/spi-ep93xx.h>
44 #include "gpio-ep93xx.h"
122 * ep93xx_chip_revision() - returns the EP93xx chip revision
154 .name = "gpio-ep93xx",
[all …]
/kernel/linux/linux-6.6/drivers/memory/
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 …]
/kernel/linux/linux-5.10/drivers/regulator/
Dfan53555.c1 // SPDX-License-Identifier: GPL-2.0
42 #define DIE_REV 0x0F /* ID2 */
79 /* IC mask revision */
117 if (di->sleep_vol_cache == uV) in fan53555_set_suspend_voltage()
122 ret = regmap_update_bits(rdev->regmap, di->sleep_reg, in fan53555_set_suspend_voltage()
123 di->desc.vsel_mask, ret); in fan53555_set_suspend_voltage()
128 di->sleep_vol_cache = uV; in fan53555_set_suspend_voltage()
137 return regmap_update_bits(rdev->regmap, di->sleep_reg, in fan53555_set_suspend_enable()
145 return regmap_update_bits(rdev->regmap, di->sleep_reg, in fan53555_set_suspend_disable()
155 regmap_update_bits(rdev->regmap, di->mode_reg, in fan53555_set_mode()
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/smsc/
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 …]
/kernel/linux/linux-5.10/scripts/mod/
Dfile2alias.c5 * Copyright 2002-2003 Rusty Russell, IBM Corporation
14 #include "devicetable-offsets.h"
69 typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
76 typeof(((struct devid *)0)->f) *v = ((m) + OFF_##devid##_##f)
103 if (str[len - 1] != '*') in add_wildcard()
111 sprintf(str + len, "%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x", in add_uuid()
120 * in .o file. If in-consistent then userspace and kernel does not agree
141 if (*(uint8_t*)(symval+size-id_size+i)) { in device_id_check()
147 *(uint8_t*)(symval+size-id_size+i) ); in device_id_check()
190 "[%X-%X]", in do_usb_entry()
[all …]
/kernel/linux/linux-6.6/drivers/regulator/
Dfan53555.c1 // SPDX-License-Identifier: GPL-2.0
51 #define DIE_REV 0x0F /* ID2 */
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 …]

12