Home
last modified time | relevance | path

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

12345678910>>...18

/kernel/linux/linux-6.6/Documentation/devicetree/bindings/leds/backlight/
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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/leds/backlight/
Dlp855x.txt4 - compatible: "ti,lp8550", "ti,lp8551", "ti,lp8552", "ti,lp8553",
6 - reg: I2C slave address (u8)
7 - dev-ctrl: Value of DEVICE CONTROL register (u8). It depends on the device.
10 - bl-name: Backlight device name (string)
11 - init-brt: Initial value of backlight brightness (u8)
12 - pwm-period: PWM period value. Set only PWM input mode used (u32)
13 - rom-addr: Register address of ROM area to be updated (u8)
14 - rom-val: Register value to be updated (u8)
15 - power-supply: Regulator which controls the 3V rail
16 - enable-supply: Regulator which controls the EN/VDDIO input
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/qcom/
Dqcom-msm8974pro-sony-xperia-shinano-castor.dts1 // SPDX-License-Identifier: GPL-2.0
2 #include "qcom-msm8974pro.dtsi"
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/leds/common.h>
7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
11 compatible = "sony,xperia-castor", "qcom,msm8974pro", "qcom,msm8974";
12 chassis-type = "tablet";
20 stdout-path = "serial0:115200n8";
23 gpio-keys {
24 compatible = "gpio-keys";
[all …]
Dqcom-apq8026-samsung-matisse-wifi.dts1 // SPDX-License-Identifier: BSD-3-Clause
6 /dts-v1/;
8 #include <dt-bindings/input/input.h>
9 #include "qcom-msm8226.dtsi"
12 /delete-node/ &adsp_region;
13 /delete-node/ &smem_region;
17 compatible = "samsung,matisse-wifi", "qcom,apq8026";
18 chassis-type = "tablet";
27 #address-cells = <1>;
28 #size-cells = <1>;
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dqcom-msm8974-sony-xperia-castor.dts1 #include "qcom-msm8974pro.dtsi"
2 #include "qcom-pm8841.dtsi"
3 #include "qcom-pm8941.dtsi"
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
10 compatible = "sony,xperia-castor", "qcom,msm8974";
17 stdout-path = "serial0:115200n8";
20 gpio-keys {
21 compatible = "gpio-keys";
[all …]
/kernel/linux/linux-5.10/drivers/w1/slaves/
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 mesured */
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 …]
/kernel/linux/linux-6.6/drivers/w1/slaves/
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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt76x2/
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 …]
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 …]
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt76x2/
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 …]
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 …]
/kernel/linux/linux-6.6/drivers/misc/
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 …]
/kernel/linux/linux-5.10/drivers/misc/
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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath6kl/
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 …]
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath6kl/
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 …]
/kernel/linux/linux-5.10/drivers/video/backlight/
Dlp855x_bl.c1 // SPDX-License-Identifier: GPL-2.0-only
39 #define DEFAULT_BL_NAME "lcd-backlight"
79 return i2c_smbus_write_byte_data(lp->client, reg, data); in lp855x_write_byte()
87 ret = i2c_smbus_read_byte_data(lp->client, reg); in lp855x_update_bit()
89 dev_err(lp->dev, "failed to read 0x%.2x\n", reg); in lp855x_update_bit()
104 switch (lp->chip_id) { in lp855x_is_valid_rom_area()
163 * d) update ROM area(optional)
169 u8 val, addr; in lp855x_configure() local
171 struct lp855x_platform_data *pd = lp->pdata; in lp855x_configure()
173 switch (lp->chip_id) { in lp855x_configure()
[all …]
/kernel/linux/linux-6.6/drivers/video/backlight/
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 …]
/kernel/linux/linux-6.6/drivers/mtd/maps/
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 …]
/kernel/linux/linux-5.10/drivers/mtd/maps/
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 …]
/kernel/linux/linux-5.10/arch/x86/pci/
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 …]
/kernel/linux/linux-6.6/arch/x86/pci/
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 …]
/kernel/linux/linux-6.6/sound/soc/sof/intel/
Dmtl.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
15 #include "../ipc4-priv.h"
18 #include "hda-ipc.h"
19 #include "../sof-audio.h"
46 * set DONE bit - tell DSP we have received the reply msg from DSP, and processed it, in mtl_ipc_dsp_done()
63 if (sdev->dspless_mode_selected) in mtl_dsp_check_ipc_irq()
96 struct sof_intel_hda_dev *hdev = sdev->pdata->hw_pdata; in mtl_ipc_send_msg()
97 struct sof_ipc4_msg *msg_data = msg->msg_data; in mtl_ipc_send_msg()
100 hdev->delayed_ipc_tx_msg = msg; in mtl_ipc_send_msg()
104 hdev->delayed_ipc_tx_msg = NULL; in mtl_ipc_send_msg()
[all …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/nvidia/
Dtegra210-p2371-2180.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include "tegra210-p2180.dtsi"
5 #include "tegra210-p2597.dtsi"
9 compatible = "nvidia,p2371-2180", "nvidia,tegra210";
14 avdd-pll-uerefe-supply = <&avdd_1v05_pll>;
15 hvddio-pex-supply = <&vdd_1v8>;
16 dvddio-pex-supply = <&vdd_pex_1v05>;
17 dvdd-pex-pll-supply = <&vdd_pex_1v05>;
18 hvdd-pex-pll-e-supply = <&vdd_1v8>;
[all …]
/kernel/linux/linux-5.10/arch/mips/txx9/rbtx4939/
Dsetup.c6 * Copyright (C) 2000-2001,2005-2007 Toshiba Corporation
7 * 2003-2005 (c) MontaVista Software, Inc. This file is licensed under the
46 ((((unsigned long)(addr) - IO_BASE) & 0xfff00000) == TXX9_CE(1))
60 int extarb = !(__raw_readq(&tx4939_ccfgptr->ccfg) & TX4939_CCFG_PCIARB); in rbtx4939_pci_setup()
67 if (!(__raw_readq(&tx4939_ccfgptr->pcfg) & TX4939_PCFG_ATA1MODE) && in rbtx4939_pci_setup()
68 (__raw_readq(&tx4939_ccfgptr->pcfg) & in rbtx4939_pci_setup()
83 0x01c0000000007608ULL, /* 64M ROM */
94 /* use user-configured speed */ in rbtx4939_ebusc_setup()
103 &tx4939_ebuscptr->cr[i]); in rbtx4939_ebusc_setup()
105 ____raw_writeq(____raw_readq(&tx4939_ebuscptr->cr[i]) in rbtx4939_ebusc_setup()
[all …]
/kernel/linux/linux-5.10/drivers/pci/
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
42 return sprintf(buf, format_string, pdev->field); \
59 return sprintf(buf, "%u\n", pdev->broken_parity_status); in broken_parity_status_show()
67 unsigned long val; in broken_parity_status_store() local
69 if (kstrtoul(buf, 0, &val) < 0) in broken_parity_status_store()
70 return -EINVAL; in broken_parity_status_store()
72 pdev->broken_parity_status = !!val; in broken_parity_status_store()
[all …]

12345678910>>...18