Home
last modified time | relevance | path

Searched +full:rom +full:- +full:val (Results 1 – 25 of 206) 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
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 …]
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/ &smem_region;
18 model = "Samsung Galaxy Tab 4 8.0 Wi-Fi";
20 chassis-type = "tablet";
29 #address-cells = <1>;
[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/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-iT
[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/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/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/sound/isa/
H A Dcmi8328.c1 // 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/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)
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/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_loc
189 u8 val = 0xFF; vfio_pci_core_do_io_rw() local
[all...]
/linux/drivers/video/
H A Dsticore.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/drivers/video/console/sticore.c -
7 * Copyright (C) 2001-2023 Helge Deller <deller@gmx.de>
8 * Copyright (C) 2001-2002 Thomas Bogendoerfer <tsbogend@alpha.franken.de>
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/drivers/firewire/
H A Dcore-device.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 2005-2006 Kristian Hoegsberg <krh@bitplanet.net>
14 #include <linux/firewire-constants.h>
37 ci->p = p + 1; in fw_csr_iterator_init()
38 ci->end = ci-> in fw_csr_iterator_init()
310 int key, val; show_immediate() local
582 u32 *rom, *stack; read_config_rom() local
[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/scsi/
H A Dscsi_devinfo.c1 // 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/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/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/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 …]

123456789