/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() 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 …]
|
/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/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/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/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/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/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/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 */ 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 …]
|
/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/regulator/ |
D | fan53555.c | 1 // 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 …]
|
/linux-6.12.1/scripts/mod/ |
D | file2alias.c | 5 * Copyright 2002-2003 Rusty Russell, IBM Corporation 14 #include "devicetable-offsets.h" 73 typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f)) 80 typeof(((struct devid *)0)->f) *v = ((m) + OFF_##devid##_##f) 107 if (str[len - 1] != '*') in add_wildcard() 115 sprintf(str + len, "%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x", in add_uuid() 126 sprintf(str + len, "%02X%02X%02X%02X-%02X%02X-%02X%02X-%02X%02X-%02X%02X%02X%02X%02X%02X", in add_guid() 135 * in .o file. If in-consistent then userspace and kernel does not agree 153 if (*(uint8_t*)(symval+size-id_size+i)) { in device_id_check() 159 *(uint8_t*)(symval+size-id_size+i) ); in device_id_check() [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 …]
|
D | FlashPoint.c | 3 FlashPoint.c -- FlashPoint SCCB Manager for Linux 11 Copyright 1995-1996 by Mylex Corporation. All Rights Reserved 14 and a BSD-style copyright; see LICENSE.FlashPoint for details. 229 unsigned char niSysConf; /* Adapter Configuration byte - 231 unsigned char niScsiConf; /* SCSI Configuration byte - 233 unsigned char niScamConf; /* SCAM Configuration byte - 235 unsigned char niAdapId; /* Host Adapter ID - 276 #define TYPE_CODE0 0x63 /*Level2 Mstr (bits 7-6), */ 278 #define SLV_TYPE_CODE0 0xA3 /*Priority Bit set (bits 7-6), */ 294 enum scam_id_st { ID0, ID1, ID2, ID3, ID4, ID5, ID6, ID7, ID8, ID9, ID10, ID11, enumerator [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/firewire/ |
D | ohci.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2003-2006 Kristian Hoegsberg <krh@bitplanet.net> 13 #include <linux/dma-mapping.h> 15 #include <linux/firewire-constants.h> 43 #include "packet-header-definitions.h" 44 #include "phy-packet-definitions.h" 53 #define ohci_notice(ohci, f, args...) dev_notice(ohci->card.device, f, ##args) 54 #define ohci_err(ohci, f, args...) dev_err(ohci->card.device, f, ##args) 114 * A buffer that contains a block of DMA-able coherent memory used for 134 * List of page-sized buffers for storing DMA descriptors. [all …]
|
/linux-6.12.1/drivers/net/ethernet/broadcom/ |
D | tg3.c | 7 * Copyright (C) 2005-2016 Broadcom Corporation. 8 * Copyright (C) 2016-2017 Broadcom Limited. 14 * Copyright (C) 2000-2016 Broadcom Corporation. 15 * Copyright (C) 2016-2017 Broadcom Ltd. 52 #include <linux/dma-mapping.h> 56 #include <linux/hwmon-sysfs.h> 93 _tg3_flag(TG3_FLAG_##flag, (tp)->tg3_flags) 95 _tg3_flag_set(TG3_FLAG_##flag, (tp)->tg3_flags) 97 _tg3_flag_clear(TG3_FLAG_##flag, (tp)->tg3_flags) 123 * and dev->tx_timeout() should be called to fix the problem [all …]
|