/Linux-v5.15/Documentation/admin-guide/ |
D | rtc.rst | 8 the local time zone or daylight savings time -- unless they dual boot 9 with MS-Windows -- but will instead be set to Coordinated Universal Time 12 The newest non-PC hardware tends to just count seconds, like the time(2) 16 Linux has two largely-compatible userspace RTC API families you may 19 * /dev/rtc ... is the RTC provided by PC compatible systems, 20 so it's not very portable to non-x86 systems. 25 Programmers need to understand that the PC/AT functionality is not 30 IRQ, so they can't all issue alarms; and where standard PC RTCs can 35 Old PC/AT-Compatible driver: /dev/rtc 36 -------------------------------------- [all …]
|
/Linux-v5.15/arch/arm/boot/dts/ |
D | sun8i-h3-orangepi-pc-plus.dts | 4 * This file is dual-licensed: you can use it either under the terms 43 /* The Orange Pi PC Plus is an extended version of the regular PC */ 44 #include "sun8i-h3-orangepi-pc.dts" 47 model = "Xunlong Orange Pi PC Plus"; 48 compatible = "xunlong,orangepi-pc-plus", "allwinner,sun8i-h3"; 51 /* ethernet0 is the H3 emac, defined in sun8i-h3.dtsi */ 57 vmmc-supply = <®_vcc3v3>; 58 bus-width = <4>; 59 non-removable; 64 * alias for it (which e.g. makes u-boot set a mac-address). [all …]
|
/Linux-v5.15/arch/arm64/include/asm/ |
D | preempt.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 12 return READ_ONCE(current_thread_info()->preempt.count); in preempt_count() 15 static inline void preempt_count_set(u64 pc) in preempt_count_set() argument 18 WRITE_ONCE(current_thread_info()->preempt.count, pc); in preempt_count_set() 22 task_thread_info(p)->preempt_count = FORK_PREEMPT_COUNT; \ 26 task_thread_info(p)->preempt_count = PREEMPT_DISABLED; \ 31 current_thread_info()->preempt.need_resched = 0; in set_preempt_need_resched() 36 current_thread_info()->preempt.need_resched = 1; in clear_preempt_need_resched() 41 return !current_thread_info()->preempt.need_resched; in test_preempt_need_resched() 46 u32 pc = READ_ONCE(current_thread_info()->preempt.count); in __preempt_count_add() local [all …]
|
/Linux-v5.15/arch/m68k/q40/ |
D | README | 6 available from this place or http://ftp.uni-erlangen.de/pub/unix/Linux/680x0/q40/ 13 is not implemented - do not try it! (See below) 15 For a list of kernel command-line options read the documentation for the 22 poll the floppy for this reason - something that can't be done in Linux. 27 drivers/char/q40_keyb.c # use PC keymaps for national keyboards 28 serial.c # normal PC driver - any speed 35 floppy.c # normal PC driver, DMA emu in asm/floppy.h 44 Various other PC drivers can be enabled simply by adding them to 57 requested - SRAM must start with '%LX$' signature to do this. '-d' option 62 only the penguin - and shell prompt if it gets that far.. [all …]
|
/Linux-v5.15/arch/sh/kernel/ |
D | traps_32.c | 1 // SPDX-License-Identifier: GPL-2.0 9 * Copyright (C) 2002 - 2010 Paul Mundt 81 * - note that PC _may not_ point to the faulting instruction 83 * - return 0 if emulation okay, -EFAULT on existential error 94 rn = ®s->regs[index]; in handle_unaligned_ins() 97 rm = ®s->regs[index]; in handle_unaligned_ins() 108 ret = -EFAULT; in handle_unaligned_ins() 114 srcu += regs->regs[0]; in handle_unaligned_ins() 119 dst += 4-count; in handle_unaligned_ins() 121 if (ma->from(dst, srcu, count)) in handle_unaligned_ins() [all …]
|
D | traps.c | 1 // SPDX-License-Identifier: GPL-2.0 37 printk("Process: %s (pid: %d, stack limit = %p)\n", current->comm, in die() 41 dump_mem("Stack: ", KERN_DEFAULT, regs->regs[15], in die() 71 * - userspace errors just cause EFAULT to be returned, resulting in SEGV 72 * - kernel/userspace interfaces cause a jump to an appropriate handler 73 * - other kernel errors are bad 79 fixup = search_exception_tables(regs->pc); in die_if_no_fixup() 81 regs->pc = fixup->fixup; in die_if_no_fixup() 93 unsigned long bugaddr = regs->pc; in handle_BUG() 102 if (bug->flags & BUGFLAG_UNWINDER) in handle_BUG() [all …]
|
/Linux-v5.15/drivers/net/wireless/intersil/hostap/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 39 support cards that don't have firmware in flash, such as D-Link 40 DWL-520 rev E and D-Link DWL-650 rev P. 46 bool "Support for non-volatile firmware download" 49 Allow Host AP driver to write firmware images to the non-volatile 61 Host AP driver's version for Prism2/2.5/3 PC Cards in PLX9052 based 85 tristate "Host AP driver for Prism2/2.5/3 PC Cards" 88 Host AP driver's version for Prism2/2.5/3 PC Cards.
|
/Linux-v5.15/include/linux/ |
D | posix-clock.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * posix-clock.h - support for dynamic clock devices 13 #include <linux/posix-timers.h> 19 * struct posix_clock_operations - functional interface to the clock 41 int (*clock_adjtime)(struct posix_clock *pc, struct __kernel_timex *tx); 43 int (*clock_gettime)(struct posix_clock *pc, struct timespec64 *ts); 45 int (*clock_getres) (struct posix_clock *pc, struct timespec64 *ts); 47 int (*clock_settime)(struct posix_clock *pc, 53 long (*ioctl) (struct posix_clock *pc, 56 int (*open) (struct posix_clock *pc, fmode_t f_mode); [all …]
|
/Linux-v5.15/include/uapi/linux/ |
D | perf_event.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 5 * Copyright (C) 2008-2009, Thomas Gleixner <tglx@linutronix.de> 6 * Copyright (C) 2008-2011, Red Hat, Inc., Ingo Molnar 7 * Copyright (C) 2008-2011, Red Hat, Inc., Peter Zijlstra 13 * For licencing details see kernel-base/COPYING 23 * User-space ABI bits: 37 PERF_TYPE_MAX, /* non-ABI */ 75 PERF_COUNT_HW_MAX, /* non-ABI */ 81 * { L1-D, L1-I, LLC, ITLB, DTLB, BPU, NODE } x 94 PERF_COUNT_HW_CACHE_MAX, /* non-ABI */ [all …]
|
/Linux-v5.15/tools/include/uapi/linux/ |
D | perf_event.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 5 * Copyright (C) 2008-2009, Thomas Gleixner <tglx@linutronix.de> 6 * Copyright (C) 2008-2011, Red Hat, Inc., Ingo Molnar 7 * Copyright (C) 2008-2011, Red Hat, Inc., Peter Zijlstra 13 * For licencing details see kernel-base/COPYING 23 * User-space ABI bits: 37 PERF_TYPE_MAX, /* non-ABI */ 75 PERF_COUNT_HW_MAX, /* non-ABI */ 81 * { L1-D, L1-I, LLC, ITLB, DTLB, BPU, NODE } x 94 PERF_COUNT_HW_CACHE_MAX, /* non-ABI */ [all …]
|
/Linux-v5.15/arch/arm/boot/compressed/ |
D | head.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 1996-2002 Russell King 12 #include "efi-header.S" 20 AR_CLASS( .arch armv7-a ) 21 M_CLASS( .arch armv7-m ) 105 kputc #'-' 109 kputc #'-' 114 kputc #'-' 158 * in little-endian form. 212 AR_CLASS( sub pc, pc, #3 ) @ A/R: switch to Thumb2 mode [all …]
|
/Linux-v5.15/fs/udf/ |
D | symlink.c | 5 * Symlink handling routines for the OSTA-UDF(tm) filesystem. 13 * (C) 1998-2001 Ben Fennema 35 struct pathComponent *pc; in udf_pc_to_char() local 41 tolen--; in udf_pc_to_char() 43 pc = (struct pathComponent *)(from + elen); in udf_pc_to_char() 45 switch (pc->componentType) { in udf_pc_to_char() 51 if (pc->lengthComponentIdent > 0) { in udf_pc_to_char() 52 elen += pc->lengthComponentIdent; in udf_pc_to_char() 58 return -ENAMETOOLONG; in udf_pc_to_char() 61 tolen--; in udf_pc_to_char() [all …]
|
/Linux-v5.15/arch/m68k/kernel/ |
D | head.S | 1 /* -*- mode: asm -*- 3 ** head.S -- This file contains the initial boot code for the 19 ** ++ Bjoern & Roman: ATARI-68040 support for the Medusa 22 ** Magnum- and FX-alternate ram 25 ** for linux-2.1.115 53 * 1) Remove register dependency through-out the file. 61 * write-ups on the structure of the file, and the features of the 65 * ------------------ 74 * actual per-machine specific code very simple. 77 * (the same for all machines) and mapping machine-specific I/O [all …]
|
/Linux-v5.15/arch/m68k/ifpsp060/src/ |
D | ftest.S | 3 M68000 Hi-Performance Microprocessor Division 5 Production Release P1.00 -- October 10, 1994 30 set SREGS, -64 31 set IREGS, -128 32 set IFPREGS, -224 33 set SFPREGS, -320 34 set IFPCREGS, -332 35 set SFPCREGS, -344 36 set ICCR, -346 37 set SCCR, -348 [all …]
|
/Linux-v5.15/tools/lib/perf/ |
D | mmap.c | 1 // SPDX-License-Identifier: GPL-2.0 21 map->fd = -1; in perf_mmap__init() 22 map->overwrite = overwrite; in perf_mmap__init() 23 map->unmap_cb = unmap_cb; in perf_mmap__init() 24 refcount_set(&map->refcnt, 0); in perf_mmap__init() 26 prev->next = map; in perf_mmap__init() 31 return map->mask + 1 + page_size; in perf_mmap__mmap_len() 37 map->prev = 0; in perf_mmap__mmap() 38 map->mask = mp->mask; in perf_mmap__mmap() 39 map->base = mmap(NULL, perf_mmap__mmap_len(map), mp->prot, in perf_mmap__mmap() [all …]
|
/Linux-v5.15/arch/arm64/boot/dts/rockchip/ |
D | rk3399-roc-pc-mezzanine.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Copyright (c) 2017 T-Chip Intelligent Technology Co., Ltd 7 /dts-v1/; 8 #include "rk3399-roc-pc.dtsi" 11 model = "Firefly ROC-RK3399-PC Mezzanine Board"; 12 compatible = "firefly,roc-rk3399-pc-mezzanine", "rockchip,rk3399"; 19 poe_12v: poe-12v { 20 compatible = "regulator-fixed"; 21 regulator-name = "poe_12v"; 22 regulator-always-on; [all …]
|
/Linux-v5.15/arch/arm/kernel/ |
D | entry-armv.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * linux/arch/arm/kernel/entry-armv.S 6 * ARM700 fix by Matthew Godbolt (linux-user@willothewisp.demon.co.uk) 9 * Low-level vector interface routines 19 #include <asm/glue-df.h> 20 #include <asm/glue-pf.h> 23 #include <mach/entry-macro.S> 30 #include <asm/uaccess-asm.h> 32 #include "entry-header.S" 33 #include <asm/entry-macro-multi.S> [all …]
|
/Linux-v5.15/arch/arm/nwfpe/ |
D | entry.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 23 strb r8, [r10, #TSK_USED_MATH] @ set current->used_math 26 ldr pc, [r4] @ Call FP emulator entry point 55 until it encounters a non floating point instruction, at which time it 63 #include <asm/asm-offsets.h> 67 mov r4, lr @ save the failure-return addresses 70 ldr r5, [sp, #S_PC] @ get contents of PC; 88 @ increment PC 96 str r5, [sp, #S_PC] @ update PC copy in regs
|
/Linux-v5.15/arch/m68k/ifpsp060/ |
D | CHANGES | 3 M68000 Hi-Performance Microprocessor Division 5 Production Release P1.00 -- October 10, 1994 31 --------------------------- 42 mode was pre-decrement or post-increment and the address register 49 --------- 56 ------- 66 ---- 70 ------ 71 Upon receiving a non-zero (failing) return value from 72 a {i,d}mem_{read,write}_{byte,word,long}() "call-out", [all …]
|
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | xdp.c | 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 47 * max_mtu = PAGE_SIZE - S - hr - hard_mtu (2) in mlx5e_xdp_max_mtu() 49 * SKB_DATA_ALIGN(PAGE_SIZE - S) + S, which is equal to PAGE_SIZE, in mlx5e_xdp_max_mtu() 71 xdptxd.data = xdpf->data; in mlx5e_xmit_xdp_buff() 72 xdptxd.len = xdpf->len; in mlx5e_xmit_xdp_buff() 74 if (xdp->rxq->mem.type == MEM_TYPE_XSK_BUFF_POOL) { in mlx5e_xmit_xdp_buff() 85 __set_bit(MLX5E_RQ_FLAG_XDP_XMIT, rq->flags); /* non-atomic */ in mlx5e_xmit_xdp_buff() 89 dma_addr = dma_map_single(sq->pdev, xdptxd.data, xdptxd.len, in mlx5e_xmit_xdp_buff() 91 if (dma_mapping_error(sq->pdev, dma_addr)) { in mlx5e_xmit_xdp_buff() [all …]
|
/Linux-v5.15/arch/sparc/kernel/ |
D | entry.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 15 void do_illegal_instruction(struct pt_regs *regs, unsigned long pc, 18 void do_priv_instruction(struct pt_regs *regs, unsigned long pc, 20 void do_memaccess_unaligned(struct pt_regs *regs, unsigned long pc, 22 void do_fpd_trap(struct pt_regs *regs, unsigned long pc, 24 void do_fpe_trap(struct pt_regs *regs, unsigned long pc, 26 void handle_tag_overflow(struct pt_regs *regs, unsigned long pc, 28 void handle_watchpoint(struct pt_regs *regs, unsigned long pc, 30 void handle_reg_access(struct pt_regs *regs, unsigned long pc, 32 void handle_cp_disabled(struct pt_regs *regs, unsigned long pc, [all …]
|
D | sun4v_ivec.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 48 /* Now get the cross-call arguments and handler PC, same 51 * 1st 64-bit word: low half is 32-bit PC, put into %g3 and jmpl to it 53 * 2nd 64-bit word: 64-bit arg, load into %g1 54 * 3rd 64-bit word: 64-bit arg, load into %g7 63 add %g2, 0x40 - 0x8 - 0x8, %g2 100 /* XXX There can be a full 64-byte block of data here. 103 * XXX need to add a 64-byte storage area in the struct ino_bucket 157 /* If the first word is non-zero, queue is full. */ 167 /* Copy 64-byte queue entry into kernel buffer. */ [all …]
|
/Linux-v5.15/drivers/net/can/usb/peak_usb/ |
D | pcan_usb_fd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * CAN driver for PEAK System PCAN-USB FD / PCAN-USB Pro FD adapter 5 * Copyright (C) 2013-2014 Stephane Grosjean <s.grosjean@peak-system.com> 23 /* PCAN-USB Pro FD adapter internal clock (Hz) */ 29 /* PCAN-USB Pro FD command timeout (ms.) */ 32 /* PCAN-USB Pro FD rx/tx buffers size */ 66 /* Extended USB commands (non uCAN commands) */ 103 /* Extended usage of uCAN commands CMD_xxx_xx_OPTION for PCAN-USB Pro FD */ 114 /* Extended usage of uCAN messages for PCAN-USB Pro FD */ 128 #define PCAN_UFD_OVMSG_CHANNEL(o) ((o)->channel & 0xf) [all …]
|
/Linux-v5.15/arch/m68k/fpsp040/ |
D | x_fline.S | 4 | fpsp_fline --- FPSP handler for fline exception 8 | Next, determine if the instruction is an fmovecr with a non-zero 10 | must be a real F-line exception. 34 | check for unimplemented vector first. Use EXC_VEC-4 because 38 cmpw #UNIMP_VEC,EXC_VEC-4(%a7) 42 | fmovecr with non-zero <ea> handling here 44 subl #4,%a7 |4 accounts for 2-word difference 47 link %a6,#-LOCAL_SIZE 48 fsave -(%a7) 49 moveml %d0-%d1/%a0-%a1,USER_DA(%a6) [all …]
|
/Linux-v5.15/arch/arm64/kernel/ |
D | alternative.c | 1 // SPDX-License-Identifier: GPL-2.0-only 20 #define __ALT_PTR(a, f) ((void *)&(a)->f + (a)->f) 43 * Check if the target PC is within an alternative block. 45 static bool branch_insn_requires_update(struct alt_instr *alt, unsigned long pc) in branch_insn_requires_update() argument 48 return !(pc >= replptr && pc <= (replptr + alt->alt_len)); in branch_insn_requires_update() 51 #define align_down(x, a) ((unsigned long)(x) & ~(((unsigned long)(a)) - 1)) 71 offset = target - (unsigned long)insnptr; in get_alt_insn() 79 * If we're replacing an adrp instruction, which uses PC-relative in get_alt_insn() 81 * PC. adrp operates on 4K aligned addresses. in get_alt_insn() 85 new_offset = target - align_down(insnptr, SZ_4K); in get_alt_insn() [all …]
|