/linux/arch/arm/boot/dts/qcom/ |
H A 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 …]
|
H A 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 …]
|
H A 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/Documentation/devicetree/bindings/leds/backlight/ |
H A 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 <aweber.kernel@gmail.com> 15 - ti,lp8550 16 - ti,lp8551 17 - ti,lp8552 18 - ti,lp8553 19 - ti,lp8555 [all …]
|
/linux/drivers/net/wireless/ath/ath6kl/ |
H A 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/drivers/video/backlight/ |
H A 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() 102 static bool lp855x_is_valid_rom_area(struct lp855x *lp, u8 addr) in lp855x_is_valid_rom_area() argument 106 switch (lp->chip_id) { in lp855x_is_valid_rom_area() 130 return addr >= start && addr <= end; in lp855x_is_valid_rom_area() 165 * d) update ROM area(optional) 171 u8 val, addr; in lp855x_configure() local [all …]
|
/linux/drivers/zorro/ |
H A D | zorro.c | 4 * Copyright (C) 1995-2003 Geert Uytterhoeven 19 #include <linux/dma-mapping.h> 63 if (id == ZORRO_WILDCARD || id == z->id) in zorro_find_device() 73 * (128 chunks, physical 0x00200000-0x009fffff). 79 * - z2ram device 80 * - SCSI DMA bounce buffers 101 start = start < Z2RAM_START ? 0x00000000 : start-Z2RAM_START; in mark_region() 102 end = end > Z2RAM_END ? Z2RAM_SIZE : end-Z2RAM_START; in mark_region() 120 for (i = 0; i < bridge->num_resources; i++) { in zorro_find_parent_resource() 121 if (resource_contains(&bridge->resource[i], &z->resource)) in zorro_find_parent_resource() [all …]
|
/linux/drivers/net/wwan/iosm/ |
H A D | iosm_ipc_mmio.h | 1 /* SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2020-21 Intel Corporation. 29 IPC_MEM_DEVICE_IPC_INVALID = -1 32 /* Boot ROM exit status. */ 68 * struct iosm_mmio - MMIO region mapped to the doorbell scratchpad. 94 * ipc_mmio_init - Allocate mmio instance data 103 * ipc_mmio_set_psi_addr_and_size - Set start address and size of the 107 * @addr: PSI address 110 void ipc_mmio_set_psi_addr_and_size(struct iosm_mmio *ipc_mmio, dma_addr_t addr, 114 * ipc_mmio_set_contex_info_addr - Stores the Context Info Address in [all …]
|
/linux/arch/arm/mach-omap2/ |
H A D | sleep34xx.S | 1 /* 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 …]
|
H A D | omap-secure.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #include <linux/arm-smccc.h> 23 #include "omap-secure.h" 39 * We only check that the OP-TEE node is present and available. The in omap_optee_init_check() 40 * OP-TEE kernel driver is not needed for the type of interaction made in omap_optee_init_check() 41 * with OP-TEE here so the driver's status is not checked. in omap_optee_init_check() 50 * omap_secure_dispatcher - Routine to dispatch low power secure 57 * Return the non-zero error value on failure. 101 * If this platform has OP-TEE installed we use ARM SMC calls in omap_smc1() 102 * otherwise fall back to the OMAP ROM style calls. in omap_smc1() [all …]
|
/linux/net/netrom/ |
H A 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() 145 static struct sock *nr_find_listener(ax25_address *addr) in nr_find_listener() argument 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. [all …]
|
/linux/drivers/video/ |
H A 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 <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> 48 if (IS_ENABLED(CONFIG_64BIT) && sti->do_call64) { in store_sti_val() 49 /* used for 64-bit STI ROM */ in store_sti_val() [all …]
|
/linux/drivers/char/tpm/eventlog/ |
H A D | tpm1.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 13 * Maintained by: <tpmdd-devel@lists.sourceforge.net> 38 "S-CRTM Contents", 39 "S-CRTM Version", 46 "Non-Host Code", 47 "Non-Host Config", 48 "Non-Host Info" 59 "Option ROM", 60 "Option ROM config", 62 "Option ROM microcode ", [all …]
|
/linux/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_minidump.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (c) 2009-2013 QLogic Corporation 61 u32 addr; member 75 u32 addr; member 104 u32 addr; member 142 u32 addr; member 147 u32 addr; 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() [all …]
|
/linux/Documentation/devicetree/bindings/mtd/ |
H A D | atmel-nand.txt | 4 Documentation/devicetree/bindings/memory-controllers/atmel,ebi.txt). 11 - compatible: should be one of the following 12 "atmel,at91rm9200-nand-controller" 13 "atmel,at91sam9260-nand-controller" 14 "atmel,at91sam9261-nand-controller" 15 "atmel,at91sam9g45-nand-controller" 16 "atmel,sama5d3-nand-controller" 17 "microchip,sam9x60-nand-controller" 18 - ranges: empty ranges property to forward EBI ranges definitions. 19 - #address-cells: should be set to 2. [all …]
|
/linux/Documentation/ABI/stable/ |
H A D | firewire-cdev | 1 What: /dev/fw[0-9]+ 4 Contact: linux1394-devel@lists.sourceforge.net 7 firewire-core and IEEE 1394 device drivers implemented in 8 userspace. The ioctl(2)- and read(2)-based ABI is defined and 9 documented in <linux/firewire-cdev.h>. 11 This ABI offers most of the features which firewire-core also 18 - The 1394 node which is associated with the file: 20 - Asynchronous request transmission 21 - Get the Configuration ROM 22 - Query node ID [all …]
|
/linux/sound/soc/sof/intel/ |
H A 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() local 124 * all the code fits. This could be improved with scatter-gather but the firmware in cl_skl_cldma_setup_bdle() 127 bdl[0] = cpu_to_le32(lower_32_bits(addr)); in cl_skl_cldma_setup_bdle() 128 bdl[1] = cpu_to_le32(upper_32_bits(addr)); in cl_skl_cldma_setup_bdle() 158 } while (--retries); in cl_skl_cldma_stream_run() 161 dev_err(sdev->dev, "%s: failed to set Run bit=%d enable=%d\n", in cl_skl_cldma_stream_run() [all …]
|
/linux/tools/testing/selftests/ia64/ |
H A D | aliasing-test.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * (c) Copyright 2007 Hewlett-Packard Development Company, L.P. 27 void *addr; in map_mem() local 31 if (fd == -1) { in map_mem() 33 return -1; in map_mem() 38 if (rc == -1) in map_mem() 42 addr = mmap(NULL, length, PROT_READ|PROT_WRITE, MAP_SHARED, fd, offset); in map_mem() 43 if (addr == MAP_FAILED) in map_mem() 47 c = (int *) addr; in map_mem() 48 while (c < (int *) (addr + length)) in map_mem() [all …]
|
/linux/arch/arm/kernel/ |
H A D | vmlinux-xip.lds.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 /* No __ro_after_init data in the .rodata section - which will always be ro */ 49 _xiprom = .; /* XIP ROM area to be mapped */ 57 _stext = .; /* Text and read-only data */ 64 __ex_table : AT(ADDR(__ex_table) - LOAD_OFFSET) { 104 _exiprom = .; /* End of XIP ROM area */ 112 #define LOAD_OFFSET (PAGE_OFFSET + TEXT_OFFSET - __data_loc) 117 .data.ro_after_init : AT(ADDR(.data.ro_after_init) - LOAD_OFFSET) { 124 .init.data : AT(ADDR(.init.data) - LOAD_OFFSET) { 127 .exit.data : AT(ADDR(.exit.data) - LOAD_OFFSET) { [all …]
|
/linux/drivers/vfio/pci/ |
H A D | vfio_pci_rdwr.c | 1 // SPDX-License-Identifier: GPL-2.0-only 19 #include <linux/io-64-nonatomic-lo-hi.h> 46 down_read(&vdev->memory_lock); \ 48 up_read(&vdev->memory_loc [all...] |
/linux/drivers/scsi/qla2xxx/ |
H A D | qla_sup.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (c) 2003-2014 QLogic Corporation 18 * qla2x00_lock_nvram_access() - 25 struct device_reg_2xxx __iomem *reg = &ha->iobase->isp; in qla2x00_lock_nvram_access() 28 data = rd_reg_word(®->nvram); in qla2x00_lock_nvram_access() 31 data = rd_reg_word(®->nvram); in qla2x00_lock_nvram_access() 35 wrt_reg_word(®->u.isp2300.host_semaphore, 0x1); in qla2x00_lock_nvram_access() 36 rd_reg_word(®->u.isp2300.host_semaphore); in qla2x00_lock_nvram_access() 38 data = rd_reg_word(®->u.isp2300.host_semaphore); in qla2x00_lock_nvram_access() 42 wrt_reg_word(®->u.isp2300.host_semaphore, 0x1); in qla2x00_lock_nvram_access() [all …]
|
/linux/include/uapi/linux/ |
H A D | cdrom.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * -- <linux/cdrom.h> 4 * General header file for linux CD-ROM drivers 9 * 1998-2002 Jens Axboe, axboe@suse.de 19 * As of Linux 2.1.x, all Linux CD-ROM application programs will use this 21 * a uniform interface between software accessing CD-ROMs and the various 23 * 23 different kinds of strange CD-ROM drives, but at least there will 24 * now be one, and only one, Linux CD-ROM interface. 27 * should use the O_NONBLOCK option when opening a CD-ROM device 33 * - drive = open("/dev/cdrom", O_RDONLY); [all …]
|
/linux/arch/x86/boot/compressed/ |
H A D | pgtable_64.c | 1 // SPDX-License-Identifier: GPL-2.0 48 * EFI systems may not provide legacy ROM. The memory may not be mapped in find_trampoline_placement() 51 * Only look for values in the legacy ROM for non-EFI system. in find_trampoline_placement() 53 signature = (char *)&boot_params_ptr->efi_info.efi_loader_signature; in find_trampoline_placement() 69 for (i = boot_params_ptr->e820_entries - 1; i >= 0; i--) { in find_trampoline_placement() 72 entry = &boot_params_ptr->e820_table[i]; in find_trampoline_placement() 75 if (bios_start <= entry->addr) in find_trampoline_placement() 78 /* Skip non-RAM entries. */ in find_trampoline_placement() 79 if (entry->type != E820_TYPE_RAM) in find_trampoline_placement() 83 if (bios_start > entry->addr + entry->size) in find_trampoline_placement() [all …]
|
/linux/drivers/media/pci/pt3/ |
H A D | pt3_i2c.c | 1 // 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() 91 cmdbuf_add(cbuf, (i == size - 1) ? I_DATA_H_NOP : I_DATA_L_NOP); in put_byte_read() [all …]
|
/linux/arch/m68k/amiga/ |
H A D | config.c | 32 #include <asm/bootinfo-amiga.h> 79 [AMI_500-AMI_500] = s_a500, 80 [AMI_500PLUS-AMI_500] = s_a500p, 81 [AMI_600-AMI_500] = s_a600, 82 [AMI_1000-AMI_500] = s_a1000, 83 [AMI_1200-AMI_500] = s_a1200, 84 [AMI_2000-AMI_500] = s_a2000, 85 [AMI_2500-AMI_500] = s_a2500, 86 [AMI_3000-AMI_500] = s_a3000, 87 [AMI_3000T-AMI_500] = s_a3000t, [all …]
|