Home
last modified time | relevance | path

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

12345

/freebsd/sys/contrib/device-tree/src/arm/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 …]
/freebsd/sys/contrib/device-tree/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 …]
H A 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 …]
/freebsd/sys/contrib/dev/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 …]
/freebsd/sys/dev/rtwn/
H A Dif_rtwn_efuse.c3 /*-
6 * Copyright (c) 2015-2016 Andriy Voskoboinyk <avos@FreeBSD.org>
82 rtwn_efuse_read_next(struct rtwn_softc *sc, uint8_t *val) in rtwn_efuse_read_next() argument
87 if (sc->next_rom_addr >= sc->efuse_maxlen) in rtwn_efuse_read_next()
91 reg = RW(reg, R92C_EFUSE_CTRL_ADDR, sc->next_rom_addr); in rtwn_efuse_read_next()
105 device_printf(sc->sc_dev, in rtwn_efuse_read_next()
107 sc->next_rom_addr); in rtwn_efuse_read_next()
111 *val = MS(reg, R92C_EFUSE_CTRL_DATA); in rtwn_efuse_read_next()
112 sc->next_rom_addr++; in rtwn_efuse_read_next()
118 rtwn_efuse_read_data(struct rtwn_softc *sc, uint8_t *rom, uint8_t off, in rtwn_efuse_read_data() argument
[all …]
/freebsd/sys/dev/qlxgb/
H A Dqla_reg.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2011-2013 Qlogic Corporation
160 * Flash ROM Access Registers ( Indirect Registers )
184 * 23:0 Physical ROM Address in bytes
191 * 1:0 max address bytes for ROM Interface
198 * 1:0 dummy bytes for ROM Instructions
228 #define READ_REG32(ha, reg) bus_read_4((ha->pci_reg), reg)
231 #define WRITE_REG32(ha, reg, val) \ argument
233 bus_write_4((ha->pci_reg), reg, val);\
[all …]
/freebsd/sys/dev/isci/
H A Disci_oem_parameters.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
6 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
100 * 512-byte block in the OROM region in isci_get_oem_parameters()
103 uint32_t *rom; in isci_get_oem_parameters() local
106 uint16_t vendor_id = isci->pci_common_header.vendor_id; in isci_get_oem_parameters()
107 uint16_t device_id = isci->pci_common_header.device_id; in isci_get_oem_parameters()
109 rom = (uint32_t *)(orom_start + offset); in isci_get_oem_parameters()
110 rom_header = (struct rom_header *)rom; in isci_get_oem_parameters()
112 ((uint8_t*)rom + rom_header->pcir_pointer); in isci_get_oem_parameters()
[all …]
/freebsd/usr.sbin/bhyve/
H A Dbootrom.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
56 * ROM region is 16 MB at the top of 4GB ("low") memory.
61 * It is allocated in page-multiple blocks on a first-come first-serve basis,
64 static char *romptr; /* Pointer to userspace-mapped bootrom region. */
87 int size, uint64_t *val, void *arg1 __unused, long arg2 __unused) in bootrom_var_mem_handler() argument
91 offset = addr - var.gpa; in bootrom_var_mem_handler()
98 memcpy(var.mmap + offset, val, size); in bootrom_var_mem_handler()
102 var.cmd = *(uint8_t *)val; in bootrom_var_mem_handler()
108 memset(val, 0, size); in bootrom_var_mem_handler()
[all …]
H A Dpci_emul.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
164 int bytes, uint32_t *val);
167 CFGWRITE(struct pci_devinst *pi, int coff, uint32_t val, int bytes) in CFGWRITE() argument
171 pci_set_cfgdata8(pi, coff, val); in CFGWRITE()
173 pci_set_cfgdata16(pi, coff, val); in CFGWRITE()
175 pci_set_cfgdata32(pi, coff, val); in CFGWRITE()
214 * emul is a string describing the type of PCI device e.g. virtio-net
218 * 1,virtio-net,tap0
229 * Helper function to parse a list of comma-separated options where
[all …]
/freebsd/contrib/elftoolchain/elfcopy/
H A Delfcopy.11 .\" Copyright (c) 2008-2009,2011 Joseph Koshy. All rights reserved.
24 .\" $Id: elfcopy.1 3642 2018-10-14 14:24:28Z jkoshy $
35 .Op Fl I Ar objformat | Fl s Ar objformat | Fl -input-target= Ns Ar objformat
36 .Op Fl K Ar symbolname | Fl -keep-symbol= Ns Ar symbolname
37 .Op Fl L Ar symbolname | Fl -localize-symbol= Ns Ar symbolname
38 .Op Fl N Ar symbolname | Fl -strip-symbol= Ns Ar symbolname
39 .Op Fl O Ar objformat | Fl -output-target= Ns Ar objformat
40 .Op Fl R Ar sectionname | Fl -remove-section= Ns Ar sectionname
41 .Op Fl S | Fl -strip-all
42 .Op Fl V | Fl -version
[all …]
/freebsd/sys/dev/rtwn/rtl8192c/
H A Dr92c_rom_defs.h1 /*-
30 * Some generic rom parsing macros.
33 #define RTWN_SIGN4TO8(val) (((val) & 0x08) ? (val) | 0xf0 : (val)) argument
/freebsd/sys/dev/ow/
H A Dow.c1 /*-
45 * lldev - link level device
46 * ndev - network / transport device (this module)
47 * pdev - presentation device (children of this module)
68 #define OW_LOCK(_sc) mtx_lock(&(_sc)->mtx)
69 #define OW_UNLOCK(_sc) mtx_unlock(&(_sc)->mtx)
70 #define OW_LOCK_DESTROY(_sc) mtx_destroy(&_sc->mtx)
71 #define OW_ASSERT_LOCKED(_sc) mtx_assert(&_sc->mtx, MA_OWNED)
72 #define OW_ASSERT_UNLOCKED(_sc) mtx_assert(&_sc->mtx, MA_NOTOWNED)
162 "1-Wire protocol");
[all …]
/freebsd/sys/compat/x86bios/
H A Dx86bios.c1 /*-
3 * Copyright (c) 2009-2010 Jung-uk Kim <jkim@FreeBSD.org>
62 (n), (r)->R_AX, (r)->R_BX, (r)->R_CX, (r)->R_DX, \
63 (r)->R_ES, (r)->R_DI); \
89 vmf->vmf_d in x86bios_emu2vmf()
382 x86bios_emu_wrb(struct x86emu * emu,uint32_t addr,uint8_t val) x86bios_emu_wrb() argument
394 x86bios_emu_wrw(struct x86emu * emu,uint32_t addr,uint16_t val) x86bios_emu_wrw() argument
411 x86bios_emu_wrl(struct x86emu * emu,uint32_t addr,uint32_t val) x86bios_emu_wrl() argument
444 uint16_t val; x86bios_emu_inw() local
463 uint32_t val; x86bios_emu_inl() local
484 x86bios_emu_outb(struct x86emu * emu,uint16_t port,uint8_t val) x86bios_emu_outb() argument
498 x86bios_emu_outw(struct x86emu * emu,uint16_t port,uint16_t val) x86bios_emu_outw() argument
514 x86bios_emu_outl(struct x86emu * emu,uint16_t port,uint32_t val) x86bios_emu_outl() argument
[all...]
/freebsd/contrib/llvm-project/lld/ELF/Arch/
H A DMSP430.cpp1 //===- MSP430.cpp ---------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // The MSP430 is a 16-bit microcontroller RISC architecture. The instruction set
13 // A typical MSP430 MCU has several kilobytes of RAM and ROM, plenty
16 //===----------------------------------------------------------------------===//
38 uint64_t val) const override;
62 void MSP430::relocate(uint8_t *loc, const Relocation &rel, uint64_t val) const { in relocate()
65 checkIntUInt(loc, val, 8, rel); in relocate()
66 *loc = val; in relocate()
[all …]
/freebsd/sys/dev/usb/wlan/
H A Dif_rsu.c3 /*-
22 * o tx a-mpdu
24 * o power-save operation
78 device_printf((_sc)->sc_dev, __VA_ARGS__); \
290 /* XXX hard-coded */
351 if (uaa->usb_mode != USB_MODE_HOST || in rsu_match()
352 uaa->info.bIfaceIndex != 0 || in rsu_match()
353 uaa->info.bConfigIndex != 0) in rsu_match()
373 * notification from net80211 that it'd like to do A-MPDU on the given TID.
378 struct rsu_softc *sc = ni->ni_ic->ic_softc; in rsu_ampdu_enable()
[all …]
/freebsd/sys/contrib/dev/iwlwifi/fw/
H A Ddump.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 * Copyright (C) 2012-2014, 2018-2025 Intel Corporation
4 * Copyright (C) 2013-2014 Intel Mobile Communications GmbH
5 * Copyright (C) 2015-2017 Intel Deutschland GmbH
8 #include "iwl-drv.h"
12 #include "iwl-io.h"
13 #include "iwl-prph.h"
14 #include "iwl-csr.h"
27 * read with u32-sized accesses, any members with a different size
38 u32 data1; /* error-specific data */
[all …]
/freebsd/sys/arm/freescale/imx/
H A Dimx_wdog.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
73 {"fsl,imx6sx-wdt", 1},
74 {"fsl,imx6sl-wdt", 1},
75 {"fsl,imx6q-wdt", 1},
76 {"fsl,imx53-wdt", 1},
77 {"fsl,imx51-wdt", 1},
78 {"fsl,imx50-wdt", 1},
79 {"fsl,imx35-wdt", 1},
80 {"fsl,imx27-wdt", 1},
[all …]
/freebsd/sys/contrib/device-tree/Bindings/dma/
H A Dfsl-imx-sdma.txt4 - compatible : Should be one of
5 "fsl,imx25-sdma"
6 "fsl,imx31-sdma", "fsl,imx31-to1-sdma", "fsl,imx31-to2-sdma"
7 "fsl,imx35-sdma", "fsl,imx35-to1-sdma", "fsl,imx35-to2-sdma"
8 "fsl,imx51-sdma"
9 "fsl,imx53-sdma"
10 "fsl,imx6q-sdma"
11 "fsl,imx7d-sdma"
12 "fsl,imx6ul-sdma"
13 "fsl,imx8mq-sdma"
[all …]
/freebsd/sys/dev/firewire/
H A Dfwcrom.c1 /*-
2 * SPDX-License-Identifier: BSD-4-Clause
4 * Copyright (c) 2002-2003
66 #define MAX_ROM (1024 - sizeof(uint32_t) * 5)
67 #define CROM_END(cc) ((vm_offset_t)(cc)->stack[0].dir + MAX_ROM - 1)
75 if (hdr->info_len <= 1) { in crom_init_context()
76 /* minimum or invalid ROM */ in crom_init_context()
77 cc->depth = -1; in crom_init_context()
80 p += 1 + hdr->info_len; in crom_init_context()
83 if (((struct csrdirectory *)p)->crc_len == 0) { in crom_init_context()
[all …]
/freebsd/sys/contrib/device-tree/src/arm64/nvidia/
H A Dtegra210-smaug.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/mfd/max77620.h>
6 #include <dt-bindings/pinctrl/pinctrl-tegra.h>
12 compatible = "google,smaug-rev8", "google,smaug-rev7",
13 "google,smaug-rev6", "google,smaug-rev5",
14 "google,smaug-rev4", "google,smaug-rev3",
15 "google,smaug-rev2", "google,smaug-rev1",
25 stdout-path = "serial0:115200n8";
[all …]
/freebsd/sys/contrib/device-tree/src/arm/samsung/
H A Dexynos4212-tab3.dtsi1 // SPDX-License-Identifier: GPL-2.0
9 /dts-v1/;
11 #include "exynos4412-ppmu-common.dtsi"
12 #include "exynos-mfc-reserved-memory.dtsi"
13 #include <dt-bindings/clock/samsung,s2mps11.h>
14 #include <dt-bindings/gpio/gpio.h>
15 #include <dt-bindings/leds/common.h>
16 #include <dt-bindings/input/gpio-keys.h>
17 #include <dt-bindings/input/input.h>
18 #include <dt-bindings/interrupt-controller/irq.h>
[all …]
/freebsd/sys/dev/pci/
H A Dvga_pci.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
53 #include <compat/x86bios/x86bios.h> /* To re-POST the card. */
75 int vga_pci_default_unit = -1;
77 &vga_pci_default_unit, -1, "Default VGA-compatible display");
117 * The parent bridge is a PCI-to-PCI bridge: check the in vga_pci_is_boot_display()
148 * FLR is unsupported on GPUs so attempt a power-management reset by cycling in vga_pci_reset()
180 * the original ROM may not be valid after boot. in vga_pci_map_bios()
192 * The parent bridge is a PCI-to-PCI bridge: check the in vga_pci_map_bios()
233 device_printf(dev, "initial ROM mapping failed -- resetting\n"); in vga_pci_map_bios()
[all …]

12345