/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | tc_opts.c | 1 // 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 …]
|
/linux-6.12.1/drivers/net/phy/ |
D | spi_ks8995.c | 1 // 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 …]
|
/linux-6.12.1/sound/isa/gus/ |
D | interwave.c | 1 // 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}; 56 #define INTERWAVE_PNP_DRIVER "interwave-stb" 76 MODULE_PARM_DESC(port_tc, "Tone control (TEA6330T - i2c bus) port # for InterWave driver."); 85 MODULE_PARM_DESC(joystick_dac, "Joystick DAC level 0.59V-4.52V or 0.389V-2.98V for InterWave driver… 146 unsigned long port = bus->private_value; in snd_interwave_i2c_setlines() [all …]
|
/linux-6.12.1/drivers/mfd/ |
D | wm8350-core.c | 1 // 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 …]
|
/linux-6.12.1/drivers/gpu/drm/panel/ |
D | panel-dsi-cm.c | 1 // 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 …]
|
/linux-6.12.1/Documentation/devicetree/bindings/memory-controllers/ddr/ |
D | jedec,lpddr2.yaml | 1 # 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 …]
|
/linux-6.12.1/sound/soc/codecs/ |
D | wm8804.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8804.c -- WM8804 S/PDIF transceiver driver 5 * Copyright 2010-11 Wolfson Microelectronics plc 25 #include <sound/soc-dapm.h> 36 { 3, 0x21 }, /* R3 - PLL1 */ 37 { 4, 0xFD }, /* R4 - PLL2 */ 38 { 5, 0x36 }, /* R5 - PLL3 */ 39 { 6, 0x07 }, /* R6 - PLL4 */ 40 { 7, 0x16 }, /* R7 - PLL5 */ 41 { 8, 0x18 }, /* R8 - PLL6 */ [all …]
|
D | wm2000.c | 1 // 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 …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/bios/ |
D | bios_parser.c | 2 * Copyright 2012-15 Advanced Micro Devices, Inc. 52 bp->base.ctx->logger 54 #define DATA_TABLES(table) (bp->master_data_tbl->ListOfDataTables.table) 104 return &bp->base; in bios_parser_create() 113 kfree(bp->base.bios_local_image); in bios_parser_destruct() 114 kfree(bp->base.integrated_info); in bios_parser_destruct() 136 uint32_t object_table_offset = bp->object_info_tbl_offset + offset; in get_number_of_objects() 138 table = ((ATOM_OBJECT_TABLE *) bios_get_image(&bp->base, in get_number_of_objects() 145 return table->ucNumberOfObjects; in get_number_of_objects() 153 le16_to_cpu(bp->object_info_tbl.v1_1->usConnectorObjectTableOffset)); in bios_parser_get_connectors_number() [all …]
|
/linux-6.12.1/drivers/video/fbdev/omap2/omapfb/displays/ |
D | panel-dsi-cm.c | 1 // 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 …]
|
/linux-6.12.1/Documentation/devicetree/bindings/memory-controllers/ |
D | nvidia,tegra20-emc.yaml | 1 # 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 …]
|
/linux-6.12.1/include/sound/ac97/ |
D | regs.h | 1 /* 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 …]
|
/linux-6.12.1/drivers/regulator/ |
D | mp8859.c | 1 // SPDX-License-Identifier: GPL-2.0 53 ret = regmap_write(rdev->regmap, MP8859_VOUT_L_REG, sel & 0x7); in mp8859_set_voltage_sel() 57 ret = regmap_write(rdev->regmap, MP8859_VOUT_H_REG, sel >> 3); in mp8859_set_voltage_sel() 61 ret = regmap_update_bits(rdev->regmap, MP8859_VOUT_GO_REG, in mp8859_set_voltage_sel() 72 ret = regmap_read(rdev->regmap, MP8859_VOUT_H_REG, &val_tmp); in mp8859_get_voltage_sel() 78 ret = regmap_read(rdev->regmap, MP8859_VOUT_L_REG, &val_tmp); in mp8859_get_voltage_sel() 93 change = from - to; in mp8859_set_voltage_time_sel() 95 change = to - from; in mp8859_set_voltage_time_sel() 105 ret = regmap_read(rdev->regmap, MP8859_CTL1_REG, &val); in mp8859_get_mode() 107 dev_err(&rdev->dev, "Failed to read mode: %d\n", ret); in mp8859_get_mode() [all …]
|
D | fan53555.c | 1 // 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 …]
|
/linux-6.12.1/drivers/memory/ |
D | of_memory.c | 1 // 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 …]
|
/linux-6.12.1/drivers/net/ethernet/smsc/ |
D | smc91x.c | 1 // 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 113 * Use power-down feature of the chip 198 spin_lock_irqsave(&lp->lock, smc_enable_flags); \ [all …]
|
/linux-6.12.1/drivers/net/wireless/ralink/rt2x00/ |
D | rt2500usb.h | 1 /* 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 …]
|
/linux-6.12.1/drivers/tty/serial/8250/ |
D | 8250_port.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Base port operations for 8250/16550-type serial ports 244 * tx_loadsz is set to 63-bytes instead of 64-bytes to implement 245 * workaround of errata A-008006 which states that tx_loadsz should 257 .name = "Palmchip BK-3103", 343 offset = offset << p->regshift; in hub6_serial_in() 344 outb(p->hub6 - 1 + offset, p->iobase); in hub6_serial_in() 345 return inb(p->iobase + 1); in hub6_serial_in() 350 offset = offset << p->regshift; in hub6_serial_out() 351 outb(p->hub6 - 1 + offset, p->iobase); in hub6_serial_out() [all …]
|
/linux-6.12.1/drivers/net/ethernet/amd/ |
D | amd8111e.c | 1 // 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 …]
|
/linux-6.12.1/Documentation/networking/ |
D | arcnet-hardware.rst | 1 .. 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 …]
|
/linux-6.12.1/drivers/scsi/ |
D | qla1280.h | 1 /* 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 …]
|
D | qla1280.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Copyright (C) 2001-2004 Jes Sorensen, Wild Open Source Inc. 8 * Copyright (C) 2003-2004 Christoph Hellwig 13 Revision History: 15 - Retain firmware image for error recovery. 17 - General code cleanup. 18 - Improve error recovery. 20 - Ditch all < 2.6 support 22 - use pci_map_single to map non-S/G requests 23 - remove qla1280_proc_info [all …]
|
/linux-6.12.1/drivers/net/ethernet/nvidia/ |
D | forcedeth.c | 1 // 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 …]
|
/linux-6.12.1/drivers/net/ethernet/marvell/ |
D | skge.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 133 CS_CLK_RUN_HOT = 1<<13,/* CLK_RUN hot m. (YUKON-Lite only) */ 134 CS_CLK_RUN_RST = 1<<12,/* CLK_RUN reset (YUKON-Lite only) */ 135 CS_CLK_RUN_ENA = 1<<11,/* CLK_RUN enable (YUKON-Lite only) */ 250 /* B2_MAC_CFG 8 bit MAC Configuration / Chip Revision */ 252 CFG_CHIP_R_MSK = 0xf<<4, /* Bit 7.. 4: Chip Revision */ 262 CHIP_ID_YUKON_LITE = 0xb1, /* Chip ID for YUKON-Lite (Rev. A1-A3) */ 263 CHIP_ID_YUKON_LP = 0xb2, /* Chip ID for YUKON-LP */ 264 CHIP_ID_YUKON_XL = 0xb3, /* Chip ID for YUKON-2 XL */ 265 CHIP_ID_YUKON_EC = 0xb6, /* Chip ID for YUKON-2 EC */ [all …]
|
D | sky2.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 30 /* Yukon-2 */ 32 PCI_Y2_PIG_ENA = 1<<31, /* Enable Plug-in-Go (YUKON-2) */ 33 PCI_Y2_DLL_DIS = 1<<30, /* Disable PCI DLL (YUKON-2) */ 34 PCI_SW_PWR_ON_RST= 1<<30, /* SW Power on Reset (Yukon-EX) */ 35 PCI_Y2_PHY2_COMA = 1<<29, /* Set PHY 2 to Coma Mode (YUKON-2) */ 36 PCI_Y2_PHY1_COMA = 1<<28, /* Set PHY 1 to Coma Mode (YUKON-2) */ 37 PCI_Y2_PHY2_POWD = 1<<27, /* Set PHY 2 to Power Down (YUKON-2) */ 38 PCI_Y2_PHY1_POWD = 1<<26, /* Set PHY 1 to Power Down (YUKON-2) */ 60 /* PCI_OUR_REG_3 32 bit Our Register 3 (Yukon-ECU only) */ [all …]
|