Home
last modified time | relevance | path

Searched +full:rom +full:- +full:val (Results 1 – 25 of 203) sorted by relevance

123456789

/linux/arch/arm/boot/dts/qcom/
H A Dqcom-msm8974pro-sony-xperia-shinano-castor.dts1 // 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 …]
H A Dqcom-msm8226-samsung-matisse-common.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
7 * The .dts should first include qcom-msm8226.dtsi or msm8926.dtsi depending on
11 #include <dt-bindings/input/input.h>
14 /delete-node/ &adsp_region;
15 /delete-node/ &mba_region;
16 /delete-node/ &mpss_region;
17 /delete-node/ &smem_region;
27 #address-cells = <1>;
28 #size-cells = <1>;
31 stdout-path = "display0";
[all …]
H A Dqcom-apq8026-samsung-milletwifi.dts1 // 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/ &mba_region;
16 /delete-node/ &mpss_region;
17 /delete-node/ &smem_region;
20 model = "Samsung Galaxy Tab 4 8.0 Wi-Fi";
[all …]
/linux/Documentation/devicetree/bindings/leds/backlight/
H A Dlp855x-backlight.yaml1 # 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 <aweber.kernel@gmail.com>
15 - ti,lp8550
16 - ti,lp8551
17 - ti,lp8552
18 - ti,lp8553
19 - ti,lp8555
[all …]
/linux/drivers/w1/slaves/
H A Dw1_therm.c1 // 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 …]
H A Dw1_ds2405.c1 // 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/drivers/net/wireless/mediatek/mt76/mt76x2/
H A Dpci_mcu.c1 // 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 …]
H A Dusb_mcu.c1 // 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/drivers/misc/
H A Dpch_phub.c1 // 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/drivers/net/wireless/ath/ath6kl/
H A Dbmi.h2 * 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/drivers/video/backlight/
H A Dlp855x_bl.c1 // 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/drivers/mtd/maps/
H A Dpci.c1 // 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/drivers/vfio/pci/
H A Dvfio_pci_rdwr.c1 // 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/arch/x86/pci/
H A Dcommon.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Low-Level PCI Support for PC
5 * (c) 1999--2000 Martin Mares <mj@ucw.cz>
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/drivers/pci/
H A Dpci-sysfs.c1 // SPDX-License-Identifier: GPL-2.0
3 * (C) Copyright 2002-2004 Greg Kroah-Hartman <greg@kroah.com>
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/sound/soc/sof/intel/
H A Dhda-loader-skl.c1 // 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 …]
H A Dmtl.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
17 #include "../ipc4-priv.h"
20 #include "hda-ipc.h"
21 #include "../sof-audio.h"
50 * set DONE bit - tell DSP we have received the reply msg from DSP, and processed it, in mtl_ipc_dsp_done()
67 if (sdev->dspless_mode_selected) in mtl_dsp_check_ipc_irq()
101 struct sof_intel_hda_dev *hdev = sdev->pdata->hw_pdata; in mtl_ipc_send_msg()
102 struct sof_ipc4_msg *msg_data = msg->msg_data; in mtl_ipc_send_msg()
105 hdev->delayed_ipc_tx_msg = msg; in mtl_ipc_send_msg()
109 hdev->delayed_ipc_tx_msg = NULL; in mtl_ipc_send_msg()
[all …]
/linux/drivers/video/fbdev/aty/
H A Dradeon_base.c38 * 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/net/netrom/
H A Daf_netrom.c1 // 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/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_minidump.c1 // 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/drivers/media/radio/
H A Dsaa7706h.c1 // SPDX-License-Identifier: GPL-2.0-only
15 #include <media/v4l2-device.h>
16 #include <media/v4l2-ctrls.h>
22 $1C00 - $FFFF Not Used
23 $2200 - $3FFF Reserved YRAM (DSP2) space
24 $2000 - $21FF YRAM (DSP2)
25 $1FF0 - $1FFF Hardware Registers
26 $1280 - $1FEF Reserved XRAM (DSP2) space
27 $1000 - $127F XRAM (DSP2)
29 $0A00 - $0FFE Reserved
[all …]
/linux/arch/arm/mach-omap2/
H A Dsleep34xx.S1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 * Karthik Dasu <karthik-dp@ti.com>
9 * Richard Woodruff <r-woodruff2@ti.com>
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 …]
/linux/drivers/media/pci/pt3/
H A Dpt3_i2c.c1 // SPDX-License-Identifier: GPL-2.0
49 if ((cbuf->num_cmds % 2) == 0) in cmdbuf_add()
50 cbuf->tmp = cmd; in cmdbuf_add()
52 cbuf->tmp |= cmd << 4; in cmdbuf_add()
53 buf_idx = cbuf->num_cmds / 2; in cmdbuf_add()
54 if (buf_idx < ARRAY_SIZE(cbuf->data)) in cmdbuf_add()
55 cbuf->data[buf_idx] = cbuf->tmp; in cmdbuf_add()
57 cbuf->num_cmds++; in cmdbuf_add()
63 if (cbuf->num_cmds % 2) in put_end()
75 static void put_byte_write(struct pt3_i2cbuf *cbuf, u8 val) in put_byte_write() argument
[all …]
/linux/arch/arm/include/asm/
H A Dcp15.h1 /* SPDX-License-Identifier: GPL-2.0 */
14 #define CR_P (1 << 4) /* 32-bit exception handler */
15 #define CR_D (1 << 5) /* 32-bit data address range */
19 #define CR_R (1 << 9) /* ROM MMU protection */
55 extern unsigned long cr_alignment; /* defined in entry-armv.S */
59 unsigned long val; in get_cr() local
60 asm("mrc p15, 0, %0, c1, c0, 0 @ get CR" : "=r" (val) : : "cc"); in get_cr()
61 return val; in get_cr()
64 static inline void set_cr(unsigned long val) in set_cr() argument
67 : : "r" (val) : "cc"); in set_cr()
[all …]
/linux/drivers/net/ethernet/natsemi/
H A Dmacsonic.c1 // SPDX-License-Identifier: GPL-2.0
8 * a module again, and from the mac68k project, introduced more 32-bit cards
9 * and dhd's support for 16-bit cards.
21 * (C) 1995 by Andreas Busse (andy@waldorf-gmbh.de)
51 #include <linux/dma-mapping.h>
65 /* These should basically be bus-size and endian independent (since
68 #define SONIC_READ(reg) (nubus_readw(dev->base_addr + (reg * 4) \
69 + lp->reg_offset))
70 #define SONIC_WRITE(reg,val) (nubus_writew(val, dev->base_addr + (reg * 4) \ argument
71 + lp->reg_offset))
[all …]

123456789