/Linux-v5.10/include/uapi/linux/ |
D | libc-compat.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 20 * (a) Include libc-compat.h in the UAPI header. 21 * e.g. #include <linux/libc-compat.h> 24 * (b) In libc-compat.h add enough code to detect that the comflicting 28 * guard macros of the form __UAPI_DEF_FOO and set their values to 1, else 65 /* Everything up to IFF_DYNAMIC, matches net/if.h until glibc 2.23 */ 72 #else /* _NET_IF_H */ 74 /* Linux headers included first, and we must define everything 82 /* Everything up to IFF_DYNAMIC, matches net/if.h until glibc 2.23 */ 108 #else [all …]
|
/Linux-v5.10/drivers/soc/amlogic/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 41 bool "Amlogic Meson Everything-Else Power Domains driver" 48 Say yes to expose Amlogic Meson Everything-Else Power Domains as
|
/Linux-v5.10/Documentation/driver-api/ |
D | isa.rst | 27 now (for oldisa-only drivers) become:: 52 unsigned int id`` pair directly -- with the device creation completely 59 ALSA would want to keep the old non-load behaviour, it could stick all 61 everything was found to be present and accounted for. If it wanted the 64 do everything in .probe() as before. 70 values have been passed in) and .probe() for everything else. This is 85 if (dev->platform_data == isa_driver) { 86 if (!isa_driver->match || 87 isa_driver->match(dev, to_isa_dev(dev)->id)) 89 dev->platform_data = NULL; [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/serial/ |
D | amlogic,meson-uart.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: "http://devicetree.org/schemas/serial/amlogic,meson-uart.yaml#" 6 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 11 - Neil Armstrong <narmstrong@baylibre.com> 15 of SoCs, and can be present either in the "Always-On" power domain or the 16 "Everything-Else" power domain. 18 The particularity of the "Always-On" Serial Interface is that the hardware 19 is active since power-on and does not need any clock gating and is usable 25 - description: Always-on power domain UART controller [all …]
|
/Linux-v5.10/arch/mips/sibyte/sb1250/ |
D | irq.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 74 unsigned int irq = d->irq; in sb1250_set_affinity() 114 unsigned int irq = d->irq; in disable_sb1250_irq() 121 unsigned int irq = d->irq; in enable_sb1250_irq() 129 unsigned int irq = d->irq; in ack_sb1250_irq() 148 #else in ack_sb1250_irq() 162 * Pass 2, the LDT world may be edge-triggered, but in ack_sb1250_irq() 164 * level-sensitive, the EOI is required. in ack_sb1250_irq() 173 .name = "SB1250-IMR", 205 * PCI and LDT to one cpu and everything else to the other [all …]
|
/Linux-v5.10/arch/x86/kernel/cpu/mtrr/ |
D | cyrix.c | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <asm/processor-cyrix.h> 7 #include <asm/processor-flags.h> 38 * Power of two, at least 4K on ARR0-ARR6, 256K on ARR7 in cyrix_get_arr() 42 *size = (reg < 7 ? 0x1UL : 0x40UL) << (shift - 1); in cyrix_get_arr() 43 else in cyrix_get_arr() 46 /* Bit 0 is Cache Enable on ARR7, Cache Disable on ARR0-ARR6 */ in cyrix_get_arr() 63 } else { in cyrix_get_arr() 83 * cyrix_get_free_region - get a free ARR. 88 * Returns: the index of the region on success, else -1 on error. [all …]
|
/Linux-v5.10/arch/mips/sibyte/bcm1480/ |
D | irq.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 51 irq -= BCM1480_NR_IRQS_HALF; in bcm1480_mask_irq() 68 irq -= BCM1480_NR_IRQS_HALF; in bcm1480_unmask_irq() 80 unsigned int irq_dirty, irq = d->irq; in bcm1480_set_affinity() 97 irq_dirty -= BCM1480_NR_IRQS_HALF; in bcm1480_set_affinity() 127 unsigned int irq = d->irq; in disable_bcm1480_irq() 134 unsigned int irq = d->irq; in enable_bcm1480_irq() 142 unsigned int irq_dirty, irq = d->irq; in ack_bcm1480_irq() 154 irq_dirty -= BCM1480_NR_IRQS_HALF; in ack_bcm1480_irq() 171 #else in ack_bcm1480_irq() [all …]
|
/Linux-v5.10/sound/arm/ |
D | pxa2xx-ac97-lib.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Based on sound/arm/pxa2xx-ac97.c and sound/soc/pxa/pxa2xx-ac97.c 21 #include <sound/pxa2xx-lib.h> 24 #include <mach/regs-ac97.h> 48 int val = -ENODEV; in pxa2xx_ac97_read() 52 return -ENODEV; in pxa2xx_ac97_read() 59 else in pxa2xx_ac97_read() 73 val = -ETIMEDOUT; in pxa2xx_ac97_read() 99 else in pxa2xx_ac97_write() 110 ret = -EIO; in pxa2xx_ac97_write() [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/power/ |
D | amlogic,meson-ee-pwrc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: "http://devicetree.org/schemas/power/amlogic,meson-ee-pwrc.yaml#" 6 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 8 title: Amlogic Meson Everything-Else Power Domains 11 - Neil Armstrong <narmstrong@baylibre.com> 14 The Everything-Else Power Domains node should be the child of a syscon 17 - compatible: Should be the following: 18 "amlogic,meson-gx-hhi-sysctrl", "simple-mfd", "syscon" 26 - amlogic,meson8-pwrc [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/mfd/ |
D | aspeed-lpc.txt | 5 The LPC bus is a means to bridge a host CPU to a number of low-bandwidth 11 The LPC controller is represented as a multi-function device to account for the 15 H8S/2168[1]", and everything else, where everything else is an eclectic 16 collection of functions with a esoteric register layout. "Everything else", 24 APB-to-LPC bridging amonst other functions. 27 as LPC firmware hub cycles, configuration of the LPC-to-AHB mapping, UART 39 [1] https://www.renesas.com/en-sg/doc/products/mpumcu/001/rej09b0078_h8s2168.pdf?key=7c888374547021… 40 …el.com/content/dam/www/public/us/en/documents/product-briefs/ipmi-second-gen-interface-spec-v2-rev… 46 - compatible: One of: 47 "aspeed,ast2400-lpc", "simple-mfd" [all …]
|
/Linux-v5.10/lib/ |
D | win_minmax.c | 1 // SPDX-License-Identifier: GPL-2.0 14 * the n'th best >= n-1'th best. It also makes sure that the three 19 * Upon getting a new min, we can forget everything earlier because 20 * it has no value - the new min is <= everything else in the window 32 u32 dt = val->t - m->s[0].t; in minmax_subwin_update() 42 m->s[0] = m->s[1]; in minmax_subwin_update() 43 m->s[1] = m->s[2]; in minmax_subwin_update() 44 m->s[2] = *val; in minmax_subwin_update() 45 if (unlikely(val->t - m->s[0].t > win)) { in minmax_subwin_update() 46 m->s[0] = m->s[1]; in minmax_subwin_update() [all …]
|
/Linux-v5.10/Documentation/core-api/ |
D | index.rst | 12 massive grab-bag of kerneldoc info left over from the docbook days; it 19 kernel-api 21 printk-basics 22 printk-formats 23 symbol-namespaces 25 Data structures and low-level utilities 38 circular-buffers 40 generic-radix-tree 42 bus-virt-phys-mapping 50 How Linux keeps everything from happening at the same time. See [all …]
|
/Linux-v5.10/drivers/net/ipa/ |
D | ipa_qmi.c | 1 // SPDX-License-Identifier: GPL-2.0 3 /* Copyright (c) 2013-2018, The Linux Foundation. All rights reserved. 4 * Copyright (C) 2018-2020 Linaro Ltd. 24 * both sides know when everything is ready to begin operating. The AP 53 * - Whenever the AP learns the modem has booted and its IPA QMI service 56 * - On the initial boot, the modem sets up the IPA microcontroller, and 58 * - When the modem is ready to receive an INIT_COMPLETE indication from 60 * - On the initial modem boot, everything is ready when: 61 * - AP has received a success response from its INIT_DRIVER request 62 * - AP has responded to a DRIVER_INIT_COMPLETE request [all …]
|
/Linux-v5.10/arch/mips/include/asm/ |
D | switch_to.h | 15 #include <asm/cpu-features.h> 24 * resume - resume execution of a task 44 * but did not actually use the FPU during the most recent time-slice (CU1 48 * force prompt migration - we're already switching the current CPU to a 60 prev->cpus_mask = prev->thread.user_cpus_allowed; \ 62 next->thread.emulated_fp = 0; \ 65 #else 90 unsigned long fcr31 = mask_fcr31_x(next->thread.fpu.fcr31); \ 94 pc = (void __user *)task_pt_regs(next)->cp0_epc; \ 95 next->thread.fpu.fcr31 &= ~fcr31; \ [all …]
|
/Linux-v5.10/arch/powerpc/kernel/ |
D | kvm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright 2010-2011 Freescale Semiconductor, Inc. 23 #include <asm/ppc-opcode.h> 26 #define KVM_MAGIC_PAGE (-4096L) 81 #else in kvm_patch_ins_ll() 90 #else in kvm_patch_ins_ld() 104 #else in kvm_patch_ins_std() 136 if ((kvm_tmp_index + len) > (kvm_tmp_end - kvm_tmp)) { in kvm_alloc() 166 /* Find out where we are and put everything there */ in kvm_patch_ins_mtmsrd() 167 distance_start = (ulong)p - (ulong)inst; in kvm_patch_ins_mtmsrd() [all …]
|
/Linux-v5.10/drivers/usb/storage/ |
D | karma.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * (c) 2006 Keith Bennett <keith@mcs.st-and.ac.uk> 21 #define DRV_NAME "ums-karma" 24 MODULE_AUTHOR("Bob Copeland <me@bobcopeland.com>, Keith Bennett <keith@mcs.st-and.ac.uk>"); 89 * with a 512-byte packet with the high four bits set and everything 90 * else null. Then we send 'RIOP\x80' followed by a zero and the 99 struct karma_data *data = (struct karma_data *) us->extra; in rio_karma_send_command() 102 memset(us->iobuf, 0, RIO_SEND_LEN); in rio_karma_send_command() 103 memcpy(us->iobuf, RIO_PREFIX, RIO_PREFIX_LEN); in rio_karma_send_command() 104 us->iobuf[5] = cmd; in rio_karma_send_command() [all …]
|
/Linux-v5.10/arch/mips/pci/ |
D | pci-sb1250.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (C) 2004 by Ralf Baechle (ralf@linux-mips.org) 8 * BCM1250-specific PCI support 15 * To access configuration space, we use ioremap. In the 32-bit 41 #define CFGADDR(bus, devfn, where) CFGOFFSET((bus)->number, (devfn), where) 56 * HT's level-sensitive interrupts require EOI, which is generated 57 * through a 4MB memory-mapped region 63 * Read/write 32-bit values in config space. 77 return dev->irq; in pcibios_map_irq() 88 * In PCI Device Mode, hide everything on bus 0 except the LDT host [all …]
|
D | pci-bcm1480.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (C) 2004 by Ralf Baechle (ralf@linux-mips.org) 8 * BCM1x80/1x55-specific PCI support 15 * To access configuration space, we use ioremap. In the 32-bit 20 * XXX: AT THIS TIME, ONLY the NATIVE PCI-X INTERFACE IS SUPPORTED. 41 #define CFGADDR(bus, devfn, where) CFGOFFSET((bus)->number, (devfn), where) 53 * Read/write 32-bit values in config space. 68 return -1; in pcibios_map_irq() 70 return K_BCM1480_INT_PCI_INTA - 1 + pin; in pcibios_map_irq() 81 * In PCI Device Mode, hide everything on bus 0 except the LDT host [all …]
|
/Linux-v5.10/arch/arm/mach-sa1100/ |
D | jornada720_ssp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * arch/arm/mac-sa1100/jornada720_ssp.c 28 * jornada_ssp_reverse - reverses input byte 31 * returns : 01110111 -> 11101110 48 * jornada_ssp_byte - waits for ready ssp bus and sends byte 54 * : %-ETIMEDOUT on timeout 62 if (!--timeout) { in jornada_ssp_byte() 64 return -ETIMEDOUT; in jornada_ssp_byte() 79 * jornada_ssp_inout - decide if input is command or trading byte 82 * : %-ETIMEDOUT on timeout failure [all …]
|
/Linux-v5.10/kernel/ |
D | reboot.c | 1 // SPDX-License-Identifier: GPL-2.0-only 22 * this indicates whether you can reboot with ctrl-alt-del: the default is yes 31 #else 57 * emergency_restart - reboot the system 80 * register_reboot_notifier - Register function to be called at reboot time 96 * unregister_reboot_notifier - Unregister previously registered reboot notifier 102 * Returns zero on success, or %-ENOENT on failure. 123 return -ENOMEM; in devm_register_reboot_notifier() 129 } else { in devm_register_reboot_notifier() 144 * register_restart_handler - Register function to be called to reset [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/dma/ |
D | dma-controller.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/dma/dma-controller.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Vinod Koul <vkoul@kernel.org> 13 - $ref: "dma-common.yaml#" 15 # Everything else is described in the common file 18 pattern: "^dma-controller(@.*)?$" 23 - | 24 dma: dma-controller@48000000 { [all …]
|
/Linux-v5.10/arch/powerpc/sysdev/ |
D | cpm2_pic.c | 9 * 1999-2001 (c) Dan Malek <dan@embeddedalley.com> 19 * There are two 32-bit registers (high/low) for up to 64 53 static unsigned long ppc_cached_irq_mask[2]; /* 2 32-bit registers */ 88 out_be32(&cpm2_intctl->ic_simrh + word, ppc_cached_irq_mask[word]); in cpm2_mask_irq() 100 out_be32(&cpm2_intctl->ic_simrh + word, ppc_cached_irq_mask[word]); in cpm2_unmask_irq() 111 out_be32(&cpm2_intctl->ic_sipnrh + word, 1 << bit); in cpm2_ack() 123 out_be32(&cpm2_intctl->ic_simrh + word, ppc_cached_irq_mask[word]); in cpm2_end_irq() 148 } else { in cpm2_set_irq_type() 159 else in cpm2_set_irq_type() 166 edibit = (14 - (src - CPM2_IRQ_EXT1)); in cpm2_set_irq_type() [all …]
|
/Linux-v5.10/fs/ntfs/ |
D | collate.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * collate.h - Defines for NTFS kernel collation handling. Part of the 4 * Linux-NTFS project. 20 * COLLATION_NTOFS_ULONG, so we return false for everything else for in ntfs_is_collation_rule_supported()
|
/Linux-v5.10/arch/arm64/include/asm/ |
D | extable.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 * with the main instruction path. This means when everything is well, 30 return regs->pc >= BPF_JIT_REGION_START && in in_bpf_jit() 31 regs->pc < BPF_JIT_REGION_END; in in_bpf_jit() 37 #else /* !CONFIG_BPF_JIT */
|
/Linux-v5.10/include/linux/ |
D | acct.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * BSD Process Accounting for Linux - Definitions 8 * BSD-style process accounting. The kernel accounting code and all 9 * user-level programs that try to do something useful with the 12 * Copyright (C) 1995 - 1997 Marco van Wieringen - ELM Consultancy B.V. 28 #else 38 * 2: extended variant (binary compatible on everything except M68K) 52 #else 55 #else 73 # else in jiffies_to_AHZ() [all …]
|