/linux-6.14.4/arch/arm/boot/dts/qcom/ |
D | qcom-msm8974pro-sony-xperia-shinano-castor.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-msm8974pro-sony-xperia-shinano-common.dtsi" 6 compatible = "sony,xperia-castor", "qcom,msm8974pro", "qcom,msm8974"; 7 chassis-type = "tablet"; 9 vreg_bl_vddio: lcd-backlight-vddio { 10 compatible = "regulator-fixed"; 11 regulator-name = "vreg_bl_vddio"; 12 regulator-min-microvolt = <3150000>; 13 regulator-max-microvolt = <3150000>; 16 enable-active-high; [all …]
|
D | qcom-msm8226-samsung-matisse-common.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/input/input.h> 7 #include "qcom-msm8226.dtsi" 10 /delete-node/ &adsp_region; 11 /delete-node/ &smem_region; 21 #address-cells = <1>; 22 #size-cells = <1>; 25 stdout-path = "display0"; 28 compatible = "simple-framebuffer"; 37 gpio-hall-sensor { [all …]
|
D | qcom-apq8026-samsung-milletwifi.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 7 /dts-v1/; 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/power/summit,smb347-charger.h> 11 #include "qcom-msm8226.dtsi" 14 /delete-node/ &adsp_region; 15 /delete-node/ &smem_region; 18 model = "Samsung Galaxy Tab 4 8.0 Wi-Fi"; 20 chassis-type = "tablet"; 29 #address-cells = <1>; [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/leds/backlight/ |
D | lp855x-backlight.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/backlight/lp855x-backlight.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Artur Weber <[email protected]> 15 - ti,lp8550 16 - ti,lp8551 17 - ti,lp8552 18 - ti,lp8553 19 - ti,lp8555 [all …]
|
/linux-6.14.4/drivers/w1/slaves/ |
D | w1_therm.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 35 * In case the parasite power-detection is not working (seems to be the case 40 * - strong_pullup = 0 Disable strong pullup completely 41 * - strong_pullup = 1 Enable automatic strong pullup detection 42 * - strong_pullup = 2 Force strong pullup 66 #define MIN_TEMP -55 /* min temperature that can be measured */ 102 (((struct w1_therm_family_data *)(sl->family_data))->specific_functions) 105 * return the power mode of the sl slave : 1-ext, 0-parasite, <0 unknown 109 (((struct w1_therm_family_data *)(sl->family_data))->external_powered) 116 (((struct w1_therm_family_data *)(sl->family_data))->resolution) [all …]
|
D | w1_ds2405.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 23 MODULE_DESCRIPTION("Driver for 1-wire Dallas DS2405 PIO."); 24 MODULE_ALIAS("w1-family-" __stringify(W1_FAMILY_DS2405)); 28 struct w1_master *dev = sl->master; in w1_ds2405_select() 30 u64 dev_addr = le64_to_cpu(*(u64 *)&sl->reg_num); in w1_ds2405_select() 37 * We cannot use a normal Match ROM command in w1_ds2405_select() 53 /* wrong direction taken - no such device */ in w1_ds2405_select() 68 return -ENODEV; in w1_ds2405_read_pio() 75 struct w1_master *dev = sl->master; in state_show() 81 ret = mutex_lock_interruptible(&dev->bus_mutex); in state_show() [all …]
|
/linux-6.14.4/drivers/misc/ |
D | pch_phub.c | 1 // SPDX-License-Identifier: GPL-2.0-only 24 #define PCH_PHUB_ROM_WRITE_ENABLE 0x01 /* Enabling for writing ROM */ 25 #define PCH_PHUB_ROM_WRITE_DISABLE 0x00 /* Disabling for writing ROM */ 30 #define PCH_PHUB_ROM_START_ADDR_EG20T 0x80 /* ROM data area start address offset 32 #define PCH_PHUB_ROM_START_ADDR_ML7213 0x400 /* ROM data area start address 35 #define PCH_PHUB_ROM_START_ADDR_ML7223 0x400 /* ROM data area start address 47 /* CM-iTC */ 58 #define PCI_DEVICE_ID_ROHM_ML7223_mPHUB 0x8012 /* for Bus-m */ 59 #define PCI_DEVICE_ID_ROHM_ML7223_nPHUB 0x8002 /* for Bus-n */ 65 #define PCH_WORD_ADDR_MASK (~((1 << 2) - 1)) [all …]
|
/linux-6.14.4/drivers/net/wireless/mediatek/mt76/mt76x2/ |
D | pci_mcu.c | 1 // SPDX-License-Identifier: ISC 25 dev_err(dev->mt76.dev, in mt76pci_load_rom_patch() 26 "Could not get hardware semaphore for ROM PATCH\n"); in mt76pci_load_rom_patch() 27 return -ETIMEDOUT; in mt76pci_load_rom_patch() 39 dev_info(dev->mt76.dev, "ROM patch already applied\n"); in mt76pci_load_rom_patch() 43 ret = request_firmware(&fw, MT7662_ROM_PATCH, dev->mt76.dev); in mt76pci_load_rom_patch() 47 if (!fw || !fw->data || fw->size <= sizeof(*hdr)) { in mt76pci_load_rom_patch() 48 ret = -EIO; in mt76pci_load_rom_patch() 49 dev_err(dev->mt76.dev, "Failed to load firmware\n"); in mt76pci_load_rom_patch() 53 hdr = (struct mt76x02_patch_header *)fw->data; in mt76pci_load_rom_patch() [all …]
|
D | usb_mcu.c | 1 // SPDX-License-Identifier: ISC 23 mt76u_vendor_request(&dev->mt76, MT_VEND_DEV_MODE, in mt76x2u_mcu_load_ivb() 30 struct mt76_usb *usb = &dev->mt76.usb; in mt76x2u_mcu_enable_patch() 37 memcpy(usb->data, data, sizeof(data)); in mt76x2u_mcu_enable_patch() 38 mt76u_vendor_request(&dev->mt76, MT_VEND_DEV_MODE, in mt76x2u_mcu_enable_patch() 40 0x12, 0, usb->data, sizeof(data)); in mt76x2u_mcu_enable_patch() 45 struct mt76_usb *usb = &dev->mt76.usb; in mt76x2u_mcu_reset_wmt() 51 memcpy(usb->data, data, sizeof(data)); in mt76x2u_mcu_reset_wmt() 52 mt76u_vendor_request(&dev->mt76, MT_VEND_DEV_MODE, in mt76x2u_mcu_reset_wmt() 54 0x12, 0, usb->data, sizeof(data)); in mt76x2u_mcu_reset_wmt() [all …]
|
/linux-6.14.4/drivers/net/wireless/ath/ath6kl/ |
D | bmi.h | 2 * Copyright (c) 2004-2011 Atheros Communications Inc. 37 * command-specific data. 45 * BMI handles all required Target-side cache flushing. 104 * Semantics: Read a 32-bit Target SOC register. 114 * Semantics: Write a 32-bit Target SOC register. 126 * Semantics: Fetch the 4-byte Target information 141 * Semantics: Install a ROM Patch. 144 * u32 Target ROM Address 147 * u32 Activate? 1-->activate; 148 * 0-->install but do not activate [all …]
|
/linux-6.14.4/drivers/video/backlight/ |
D | lp855x_bl.c | 1 // SPDX-License-Identifier: GPL-2.0-only 40 #define DEFAULT_BL_NAME "lcd-backlight" 81 return i2c_smbus_write_byte_data(lp->client, reg, data); in lp855x_write_byte() 89 ret = i2c_smbus_read_byte_data(lp->client, reg); in lp855x_update_bit() 91 dev_err(lp->dev, "failed to read 0x%.2x\n", reg); in lp855x_update_bit() 106 switch (lp->chip_id) { in lp855x_is_valid_rom_area() 165 * d) update ROM area(optional) 171 u8 val, addr; in lp855x_configure() local 173 struct lp855x_platform_data *pd = lp->pdata; in lp855x_configure() 175 if (lp->cfg->pre_init_device) { in lp855x_configure() [all …]
|
/linux-6.14.4/drivers/mtd/maps/ |
D | pci.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * - Intel IQ80310 ATU. 9 * - Intel EBSA285 (blank rom programming mode). Tested working 27/09/2001 40 map_word val; in mtd_pci_read8() local 41 val.x[0]= readb(map->base + map->translate(map, ofs)); in mtd_pci_read8() 42 return val; in mtd_pci_read8() 48 map_word val; in mtd_pci_read32() local 49 val.x[0] = readl(map->base + map->translate(map, ofs)); in mtd_pci_read32() 50 return val; in mtd_pci_read32() 56 memcpy_fromio(to, map->base + map->translate(map, from), len); in mtd_pci_copyfrom() [all …]
|
/linux-6.14.4/drivers/vfio/pci/ |
D | vfio_pci_rdwr.c | 1 // SPDX-License-Identifier: GPL-2.0-only 19 #include <linux/io-64-nonatomic-lo-hi.h> 43 bool test_mem, u##size val, void __iomem *io) \ 46 down_read(&vdev->memory_lock); \ 48 up_read(&vdev->memory_lock); \ 49 return -EIO; \ 53 vfio_iowrite##size(val, io); \ 56 up_read(&vdev->memory_lock); \ 69 bool test_mem, u##size *val, void __iomem *io) \ 72 down_read(&vdev->memory_lock); \ [all …]
|
/linux-6.14.4/arch/x86/pci/ |
D | common.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Low-Level PCI Support for PC 5 * (c) 1999--2000 Martin Mares <[email protected]> 10 #include <linux/pci-acpi.h> 35 int pcibios_last_bus = -1; 41 int reg, int len, u32 *val) in raw_pci_read() argument 44 return raw_pci_ops->read(domain, bus, devfn, reg, len, val); in raw_pci_read() 46 return raw_pci_ext_ops->read(domain, bus, devfn, reg, len, val); in raw_pci_read() 47 return -EINVAL; in raw_pci_read() 51 int reg, int len, u32 val) in raw_pci_write() argument [all …]
|
/linux-6.14.4/sound/isa/ |
D | cmi8328.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Driver for C-Media CMI8328-based soundcards, such as AudioExcel AV500 7 * - CMI8328 - main chip (SB Pro emulation, gameport, OPL3, MPU401, CD-ROM) 8 * - CS4231A - WSS codec 9 * - Dream SAM9233+GMS950400+RAM+ROM: Wavetable MIDI, connected to MPU401 26 MODULE_AUTHOR("Ondrej Zary <linux@rainbow-software.org>"); 27 MODULE_DESCRIPTION("C-Media CMI8328"); 38 static int index[CMI8328_MAX] = {[0 ... (CMI8328_MAX-1)] = -1}; 39 static char *id[CMI8328_MAX] = {[0 ... (CMI8328_MAX-1)] = NULL}; 40 static long port[CMI8328_MAX] = {[0 ... (CMI8328_MAX-1)] = SNDRV_AUTO_PORT}; [all …]
|
/linux-6.14.4/drivers/pci/ |
D | pci-sysfs.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * (C) Copyright 2002-2004 Greg Kroah-Hartman <[email protected]> 4 * (C) Copyright 2002-2004 IBM Corp. 6 * (C) Copyright 2003 Hewlett-Packard 49 return sysfs_emit(buf, format_string, pdev->field); \ 69 * MSI-X, show the legacy INTx IRQ. in irq_show() 71 if (pdev->msi_enabled) in irq_show() 75 return sysfs_emit(buf, "%u\n", pdev->irq); in irq_show() 84 return sysfs_emit(buf, "%u\n", pdev->broken_parity_status); in broken_parity_status_show() 92 unsigned long val; in broken_parity_status_store() local [all …]
|
/linux-6.14.4/sound/soc/sof/intel/ |
D | hda-loader-skl.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 6 // Copyright(c) 2018-2022 Intel Corporation 11 #include <linux/dma-mapping.h> 23 #include "../sof-priv.h" 119 phys_addr_t addr = virt_to_phys(dmab_data->area); in cl_skl_cldma_setup_bdle() 124 * all the code fits. This could be improved with scatter-gather but the firmware in cl_skl_cldma_setup_bdle() 138 unsigned char val; in cl_skl_cldma_stream_run() local 151 val = snd_sof_dsp_read(sdev, HDA_DSP_BAR, in cl_skl_cldma_stream_run() 153 val &= HDA_CL_SD_CTL_RUN(1); in cl_skl_cldma_stream_run() 154 if (enable && val) in cl_skl_cldma_stream_run() [all …]
|
D | mtl.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 16 #include "../ipc4-priv.h" 19 #include "hda-ipc.h" 20 #include "../sof-audio.h" 49 * set DONE bit - tell DSP we have received the reply msg from DSP, and processed it, in mtl_ipc_dsp_done() 66 if (sdev->dspless_mode_selected) in mtl_dsp_check_ipc_irq() 100 struct sof_intel_hda_dev *hdev = sdev->pdata->hw_pdata; in mtl_ipc_send_msg() 101 struct sof_ipc4_msg *msg_data = msg->msg_data; in mtl_ipc_send_msg() 104 hdev->delayed_ipc_tx_msg = msg; in mtl_ipc_send_msg() 108 hdev->delayed_ipc_tx_msg = NULL; in mtl_ipc_send_msg() [all …]
|
/linux-6.14.4/drivers/video/fbdev/aty/ |
D | radeon_base.c | 38 * NON-INFRINGEMENT. IN NO EVENT SHALL ATI, VA LINUX SYSTEMS AND/OR 236 u32 val; member 263 static int default_dynclk = -2; 283 if (rinfo->no_schedule || oops_in_progress) in _radeon_msleep() 291 /* Called if (rinfo->errata & CHIP_ERRATA_PLL_DUMMYREADS) is set */ in radeon_pll_errata_after_index_slow() 298 if (rinfo->errata & CHIP_ERRATA_PLL_DELAY) { in radeon_pll_errata_after_data_slow() 302 if (rinfo->errata & CHIP_ERRATA_R300_CG) { in radeon_pll_errata_after_data_slow() 312 void _OUTREGP(struct radeonfb_info *rinfo, u32 addr, u32 val, u32 mask) in _OUTREGP() argument 317 spin_lock_irqsave(&rinfo->reg_lock, flags); in _OUTREGP() 320 tmp |= (val); in _OUTREGP() [all …]
|
/linux-6.14.4/drivers/video/ |
D | sticore.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/drivers/video/console/sticore.c - 7 * Copyright (C) 2001-2023 Helge Deller <[email protected]> 8 * Copyright (C) 2001-2002 Thomas Bogendoerfer <[email protected]> 11 * - call STI in virtual mode rather than in real mode 12 * - screen blanking with state_mgmt() in text mode STI ? 13 * - try to make it work on m68k hp workstations ;) 29 #include <asm/parisc-device.h> 44 static void *store_sti_val(struct sti_struct *sti, void *ptr, unsigned long val) in store_sti_val() argument 48 if (IS_ENABLED(CONFIG_64BIT) && sti->do_call64) { in store_sti_val() [all …]
|
/linux-6.14.4/drivers/firewire/ |
D | core-device.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2005-2006 Kristian Hoegsberg <[email protected]> 14 #include <linux/firewire-constants.h> 37 ci->p = p + 1; in fw_csr_iterator_init() 38 ci->end = ci->p + (p[0] >> 16); in fw_csr_iterator_init() 44 *key = *ci->p >> 24; in fw_csr_iterator_next() 45 *value = *ci->p & 0xffffff; in fw_csr_iterator_next() 47 return ci->p++ < ci->end; in fw_csr_iterator_next() 61 return ci.p - 1 + value; in search_directory() 76 return ci.p - 1 + value; in search_leaf() [all …]
|
/linux-6.14.4/net/netrom/ |
D | af_netrom.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 79 lockdep_set_class(&txq->_xmit_lock, &nr_netdev_xmit_lock_key); in nr_set_lockdep_one() 84 lockdep_set_class(&dev->addr_list_lock, &nr_netdev_addr_lock_key); in nr_set_lockdep_key() 107 if (nr_sk(s)->device == dev) in nr_kill_by_device() 151 if (!ax25cmp(&nr_sk(s)->source_addr, addr) && in nr_find_listener() 152 s->sk_state == TCP_LISTEN) { in nr_find_listener() 163 * Find a connected NET/ROM socket given my circuit IDs. 173 if (nr->my_index == index && nr->my_id == id) { in nr_find_socket() 185 * Find a connected NET/ROM socket given their circuit IDs. 196 if (nr->your_index == index && nr->your_id == id && in nr_find_peer() [all …]
|
/linux-6.14.4/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_minidump.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (c) 2009-2013 QLogic Corporation 151 u32 val; member 274 return hdr->saved_state[index]; in qlcnic_82xx_get_saved_state() 282 hdr->saved_state[index] = value; in qlcnic_82xx_set_saved_state() 289 hdr = fw_dump->tmpl_hdr; in qlcnic_82xx_cache_tmpl_hdr_values() 290 fw_dump->tmpl_hdr_size = hdr->size; in qlcnic_82xx_cache_tmpl_hdr_values() 291 fw_dump->version = hdr->version; in qlcnic_82xx_cache_tmpl_hdr_values() 292 fw_dump->num_entries = hdr->num_entries; in qlcnic_82xx_cache_tmpl_hdr_values() 293 fw_dump->offset = hdr->offset; in qlcnic_82xx_cache_tmpl_hdr_values() [all …]
|
/linux-6.14.4/drivers/scsi/ |
D | scsi_devinfo.c | 1 // SPDX-License-Identifier: GPL-2.0 43 * from the default, includes black-listed (broken) devices. The entries here 61 {"CHINON", "CD-ROM CDS-431", "H42", BLIST_NOLUN}, /* locks up */ 62 {"CHINON", "CD-ROM CDS-535", "Q14", BLIST_NOLUN}, /* locks up */ 63 {"DENON", "DRD-25X", "V", BLIST_NOLUN}, /* locks up */ 66 {"IBM", "2104-DU3", NULL, BLIST_NOLUN}, /* locks up */ 67 {"IBM", "2104-TU3", NULL, BLIST_NOLUN}, /* locks up */ 69 {"MAXTOR", "XT-3280", "PR02", BLIST_NOLUN}, /* locks up */ 70 {"MAXTOR", "XT-4380S", "B3C", BLIST_NOLUN}, /* locks up */ 71 {"MAXTOR", "MXT-1240S", "I1.2", BLIST_NOLUN}, /* locks up */ [all …]
|
/linux-6.14.4/arch/arm/mach-omap2/ |
D | sleep34xx.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 * Karthik Dasu <karthik-[email protected]> 9 * Richard Woodruff <r-[email protected]> 57 * with non-Thumb-2-capable firmware. 82 * Function to call rom code to save secure ram context. 86 .arch armv7-a 89 stmfd sp!, {r4 - r11, lr} @ save registers on stack 93 mov r1, #0 @ set task id for ROM code in r1 103 ldmfd sp!, {r4 - r11, pc} 115 * omap34xx_cpu_suspend() - This bit of code saves the CPU context if needed [all …]
|