Searched +full:libfdt +full:- +full:dev (Results 1 – 8 of 8) sorted by relevance
/linux/lib/ ! |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 31 converting bitfields between a CPU-usable representation and a 33 - Is little endian (bytes are reversed within a 32-bit group) 34 - The least-significant 32-bit word comes first (within a 64-bit 36 - The most significant bit of a byte is at its right (bit 0 of a 51 please refer to the KUnit documentation in Documentation/dev-tools/kunit/. 62 This option enables the use of hardware bit-reversal instructions on 102 bool "Access I/O in non-MMIO mode" 108 mechanism, the host-local I/O resource can be mapped into system 110 system can access the I/O devices with the mapped-logic PIO through [all …]
|
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 6 ccflags-remove-$(CONFIG_FUNCTION_TRACER) += $(CC_FLAGS_FTRACE) 8 # Branch profiling isn't noinstr-safe 10 CFLAGS_smp_processor_id.o += -DDISABLE_BRANCH_PROFILING 13 # These files are disabled because they produce lots of non-interesting and/or 21 KCOV_INSTRUMENT_fault-inject.o := n 25 # Use -ffreestanding to ensure that the compiler does not try to "optimize" 27 CFLAGS_string.o := -ffreestanding 33 CFLAGS_string.o += -fno-stack-protector 36 lib-y := ctype.o string.o vsprintf.o cmdline.o \ [all …]
|
/linux/drivers/tty/serial/8250/ ! |
H A D | 8250_ingenic.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2010 Lars-Peter Clausen <lars@metafoo.de> 12 #include <linux/libfdt.h> 46 return readl(port->membase + (offset << 2)); in early_in() 51 writel(value, port->membase + (offset << 2)); in early_out() 68 uart_console_write(&early_device->port, s, count, in ingenic_early_console_write() 72 static void __init ingenic_early_console_setup_clock(struct earlycon_device *dev) in ingenic_early_console_setup_clock() argument 82 prop = fdt_getprop(fdt, offset, "clock-frequency", NULL); in ingenic_early_console_setup_clock() 86 dev->port.uartclk = be32_to_cpup(prop); in ingenic_early_console_setup_clock() 89 static int __init ingenic_earlycon_setup_tail(struct earlycon_device *dev, in ingenic_earlycon_setup_tail() argument [all …]
|
/linux/drivers/of/ ! |
H A D | of_reserved_mem.c | 1 // SPDX-License-Identifier: GPL-2.0+ 16 #include <linux/libfdt.h> 47 return -ENOMEM; in early_init_dt_alloc_reserved_memory_arch() 63 * alloc_reserved_mem_array() - allocate memory for the reserved_mem 80 pr_err("Failed to allocate memory for reserved_mem array with err: %d", -EOVERFLOW); in alloc_reserved_mem_array() 86 pr_err("Failed to allocate memory for reserved_mem array with err: %d", -ENOMEM); in alloc_reserved_mem_array() 94 pr_err("Failed to allocate memory for reserved_mem array with err: %d", -EOVERFLOW); in alloc_reserved_mem_array() 98 memset_size = alloc_size - copy_size; in alloc_reserved_mem_array() 108 * fdt_reserved_mem_save_node() - save fdt node for second pass initialization 120 rmem->fdt_node = node; in fdt_reserved_mem_save_node() [all …]
|
H A D | unittest.c | 1 // SPDX-License-Identifier: GPL-2.0 6 #define pr_fmt(fmt) "### dt-test ### " fmt 10 #include <linux/dma-direct.h> /* to test phys_to_dma/dma_to_phys */ 14 #include <linux/libfdt.h> 29 #include <linux/i2c-mux.h> 54 #define OF_KREF_READ(NODE) kref_read(&(NODE)->kobj.kref) 85 np = of_find_node_by_path("/testcase-data"); in of_unittest_find_node_by_name() 87 unittest(np && name && !strcmp("/testcase-data", name), in of_unittest_find_node_by_name() 88 "find /testcase-data failed\n"); in of_unittest_find_node_by_name() 93 np = of_find_node_by_path("/testcase-data/"); in of_unittest_find_node_by_name() [all …]
|
/linux/arch/mips/cavium-octeon/ ! |
H A D | octeon-platform.c | 6 * Copyright (C) 2004-2017 Cavium, Inc. 15 #include <linux/libfdt.h> 18 #include <asm/octeon/cvmx-helper-board.h> 24 #include <asm/octeon/cvmx-uctlx-defs.h> 58 static void octeon2_usb_clocks_start(struct device *dev) in octeon2_usb_clocks_start() argument 78 if (dev->of_node) { in octeon2_usb_clocks_start() 82 uctl_node = of_get_parent(dev->of_node); in octeon2_usb_clocks_start() 84 dev_err(dev, "No UCTL device node\n"); in octeon2_usb_clocks_start() 88 "refclk-frequency", &clock_rate); in octeon2_usb_clocks_start() 90 dev_err(dev, "No UCTL \"refclk-frequency\"\n"); in octeon2_usb_clocks_start() [all …]
|
/linux/drivers/pci/hotplug/ ! |
H A D | pnv_php.c | 1 // SPDX-License-Identifier: GPL-2.0+ 11 #include <linux/libfdt.h> 19 #include <asm/pnv-pci.h> 20 #include <asm/ppc-pci.h> 27 ((sl)->pdev ? pci_warn((sl)->pdev, x) : dev_warn(&(sl)->bus->dev, x)) 47 struct pci_dev *pdev = php_slot->pdev; in pnv_php_disable_irq() 50 if (php_slot->irq > 0) { in pnv_php_disable_irq() 57 free_irq(php_slot->irq, php_slot); in pnv_php_disable_irq() 58 php_slot->irq = 0; in pnv_php_disable_irq() 62 if (pdev->msix_enabled) in pnv_php_disable_irq() [all …]
|
/linux/arch/arm64/ ! |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 285 ARM 64-bit (AArch64) Linux support. 293 # required due to use of the -Zfixed-x18 flag. 296 # -Zsanitizer=shadow-call-stack flag. 306 depends on $(cc-option,-fpatchable-function-entry=2) 332 # VA_BITS - PTDESC_TABLE_SHIFT 410 def_bool !$(as-instr,1:\n.inst 0\n.rept . - 1b\n\nnop\n.endr\n) 415 # https://github.com/llvm/llvm-project/commit/2a96f47c5ffca84cd774ad402cacd137f4bf45e2 465 at stage-2. 490 …bool "Cortex-A53: 826319: System might deadlock if a write cannot complete until read data is acce… [all …]
|