Home
last modified time | relevance | path

Searched +full:non +full:- +full:pc (Results 1 – 25 of 428) sorted by relevance

12345678910>>...18

/linux/tools/testing/selftests/bpf/progs/
H A Dverifier_sdiv.c1 // SPDX-License-Identifier: GPL-2.0
15 __description("SDIV32, non-zero imm divisor, check 1")
16 __success __success_unpriv __retval(-20)
20 w0 = -41; \ in sdiv32_non_zero_imm_1()
27 __description("SDIV32, non-zero imm divisor, check 2")
28 __success __success_unpriv __retval(-20)
33 w0 s/= -2; \ in sdiv32_non_zero_imm_2()
39 __description("SDIV32, non-zero imm divisor, check 3")
44 w0 = -41; \ in sdiv32_non_zero_imm_3()
45 w0 s/= -2; \ in sdiv32_non_zero_imm_3()
[all …]
/linux/Documentation/admin-guide/
H A Drtc.rst8 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/arch/arm/boot/dts/allwinner/
H A Dsun8i-h3-orangepi-pc-plus.dts4 * 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 = <&reg_vcc3v3>;
58 bus-width = <4>;
59 non-removable;
64 * alias for it (which e.g. makes u-boot set a mac-address).
[all …]
/linux/arch/arm64/include/asm/
H A Dpreempt.h1 /* SPDX-License-Identifier: GPL-2.0 */
13 return READ_ONCE(current_thread_info()->preempt.count); in preempt_count()
16 static inline void preempt_count_set(u64 pc) in preempt_count_set() argument
19 WRITE_ONCE(current_thread_info()->preempt.count, pc); in preempt_count_set()
23 task_thread_info(p)->preempt_count = FORK_PREEMPT_COUNT; \
27 task_thread_info(p)->preempt_count = PREEMPT_DISABLED; \
32 current_thread_info()->preempt.need_resched = 0; in set_preempt_need_resched()
37 current_thread_info()->preempt.need_resched = 1; in clear_preempt_need_resched()
42 return !current_thread_info()->preempt.need_resched; in test_preempt_need_resched()
47 u32 pc = READ_ONCE(current_thread_info()->preempt.count); in __preempt_count_add() local
[all …]
/linux/arch/m68k/q40/
H A DREADME6 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
33 block/floppy.c # normal PC driver, DMA emu in asm/floppy.h
43 Various other PC drivers can be enabled simply by adding them to
56 requested - SRAM must start with '%LX$' signature to do this. '-d' option
61 only the penguin - and shell prompt if it gets that far..
[all …]
/linux/arch/sh/kernel/
H A Dtraps_32.c1 // SPDX-License-Identifier: GPL-2.0
9 * Copyright (C) 2002 - 2010 Paul Mundt
99 * - note that PC _may not_ point to the faulting instruction
101 * - return 0 if emulation okay, -EFAULT on existential error
112 rn = &regs->regs[index]; in handle_unaligned_ins()
115 rm = &regs->regs[index]; in handle_unaligned_ins()
126 ret = -EFAULT; in handle_unaligned_ins()
132 srcu += regs->regs[0]; in handle_unaligned_ins()
137 dst += 4-count; in handle_unaligned_ins()
139 if (ma->from(dst, srcu, count)) in handle_unaligned_ins()
[all …]
H A Dtraps.c1 // SPDX-License-Identifier: GPL-2.0
39 printk("Process: %s (pid: %d, stack limit = %p)\n", current->comm, in die()
43 dump_mem("Stack: ", KERN_DEFAULT, regs->regs[15], in die()
73 * - userspace errors just cause EFAULT to be returned, resulting in SEGV
74 * - kernel/userspace interfaces cause a jump to an appropriate handler
75 * - other kernel errors are bad
81 fixup = search_exception_tables(regs->pc); in die_if_no_fixup()
83 regs->pc = fixup->fixup; in die_if_no_fixup()
95 unsigned long bugaddr = regs->pc; in handle_BUG()
104 if (bug->flags & BUGFLAG_UNWINDER) in handle_BUG()
[all …]
/linux/tools/perf/util/
H A Ddwarf-aux.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 * dwarf-aux.h : libdw auxiliary interfaces
32 /* Get the lowest PC in DIE (including range list) */
47 /* Get callsite line number of inline-function instance */
83 /* Search a non-inlined function including given address */
87 /* Search a non-inlined function with tail call at given address */
99 /* Search a non-inlined function by name and returns its return type */
142 int die_get_scopes(Dwarf_Die *cu_die, Dwarf_Addr pc, Dwarf_Die **scopes);
163 Dwarf_Die *die_find_variable_by_reg(Dwarf_Die *sc_die, Dwarf_Addr pc, int reg,
178 int die_get_cfa(Dwarf *dwarf, u64 pc, int *preg, int *poffset);
/linux/arch/arm/boot/compressed/
H A Dhead.S1 /* 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 )
101 kputc #'-'
105 kputc #'-'
110 kputc #'-'
154 * in little-endian form.
209 AR_CLASS( sub pc, pc, #3 ) @ A/R: switch to Thumb2 mode
[all …]
/linux/arch/m68k/kernel/
H A Dhead.S1 /* SPDX-License-Identifier: GPL-2.0-or-later
2 ** -*- mode: asm -*-
4 ** head.S -- This file contains the initial boot code for the
20 ** ++ Bjoern & Roman: ATARI-68040 support for the Medusa
23 ** Magnum- and FX-alternate ram
26 ** for linux-2.1.115
49 * 1) Remove register dependency through-out the file.
57 * write-ups on the structure of the file, and the features of the
61 * ------------------
70 * actual per-machine specific code very simple.
[all …]
/linux/tools/include/uapi/linux/
H A Dperf_event.h1 /* 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 */
78 PERF_COUNT_HW_MAX, /* non-ABI */
84 * { L1-D, L1-I, LLC, ITLB, DTLB, BPU, NODE } x
97 PERF_COUNT_HW_CACHE_MAX, /* non-ABI */
[all …]
/linux/arch/m68k/ifpsp060/src/
H A Dftest.S3 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/arch/arm/nwfpe/
H A Dentry.S1 /* SPDX-License-Identifier: GPL-2.0-or-later */
24 strb r8, [r10, #TSK_USED_MATH] @ set current->used_math
27 ldr pc, [r4] @ Call FP emulator entry point
56 until it encounters a non floating point instruction, at which time it
64 #include <asm/asm-offsets.h>
68 mov r4, lr @ save the failure-return addresses
71 ldr r5, [sp, #S_PC] @ get contents of PC;
89 @ increment PC
97 str r5, [sp, #S_PC] @ update PC copy in regs
118 @ Check whether the instruction is a co-processor instruction.
[all …]
/linux/arch/sparc/kernel/
H A Dentry.h1 /* 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 …]
H A Dsun4v_ivec.S1 /* 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/arch/m68k/ifpsp060/
H A DCHANGES3 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/drivers/net/can/usb/peak_usb/
H A Dpcan_usb_fd.c1 // 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 */
77 /* Extended USB commands (non uCAN commands) */
114 /* Extended usage of uCAN commands CMD_xxx_xx_OPTION for PCAN-USB Pro FD */
125 /* Extended usage of uCAN messages for PCAN-USB Pro FD */
139 #define PCAN_UFD_OVMSG_CHANNEL(o) ((o)->channel & 0xf)
[all …]
/linux/include/linux/
H A Dposix-clock.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * posix-clock.h - support for dynamic clock devices
13 #include <linux/posix-timers.h>
20 * struct posix_clock_operations - functional interface to the clock
42 int (*clock_adjtime)(struct posix_clock *pc, struct __kernel_timex *tx);
44 int (*clock_gettime)(struct posix_clock *pc, struct timespec64 *ts);
46 int (*clock_getres) (struct posix_clock *pc, struct timespec64 *ts);
48 int (*clock_settime)(struct posix_clock *pc,
69 * struct posix_clock - represents a dynamic posix clock
95 * struct posix_clock_context - represents clock file operations context
[all …]
/linux/arch/m68k/fpsp040/
H A Dx_fline.S4 | 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/Documentation/dev-tools/
H A Dkfence.rst1 .. SPDX-License-Identifier: GPL-2.0
4 Kernel Electric-Fence (KFENCE)
7 Kernel Electric-Fence (KFENCE) is a low-overhead sampling-based memory safety
8 error detector. KFENCE detects heap out-of-bounds access, use-after-free, and
9 invalid-free errors.
15 non-production test workloads. One way to quickly achieve a large enough total
19 -----
26 ``kfence.sample_interval`` to non-zero value), configure the kernel with::
46 causes CPU wake-ups when the system is completely idle. This may be undesirable
47 on power-constrained systems. The boot parameter ``kfence.deferrable=1``
[all …]
/linux/lib/
H A Dasn1_decoder.c1 // SPDX-License-Identifier: GPL-2.0-or-later
66 if (unlikely(datalen - dp < 2)) { in asn1_find_indefinite_length()
78 if (--indef_level <= 0) { in asn1_find_indefinite_length()
79 *_len = dp - *_dp; in asn1_find_indefinite_length()
88 if (unlikely(datalen - dp < 2)) in asn1_find_indefinite_length()
107 n = len - 0x80; in asn1_find_indefinite_length()
108 if (unlikely(n > sizeof(len) - 1)) in asn1_find_indefinite_length()
110 if (unlikely(n > datalen - dp)) in asn1_find_indefinite_length()
113 for (; n > 0; n--) { in asn1_find_indefinite_length()
118 if (len > datalen - dp) in asn1_find_indefinite_length()
[all …]
/linux/arch/arm/mach-omap2/
H A Dsleep34xx.S1 /* 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.
78 ldmfd sp!, {pc} @ restore regs and return
86 .arch armv7-a
89 stmfd sp!, {r4 - r11, lr} @ save registers on stack
103 ldmfd sp!, {r4 - r11, pc}
115 * omap34xx_cpu_suspend() - This bit of code saves the CPU context if needed
121 * - only the minimum set of functions gets copied to internal SRAM at boot
[all …]
/linux/drivers/bcma/
H A Ddriver_pci_host.c5 * Copyright 2005 - 2011, Broadcom Corporation
7 * Copyright 2011, 2012, Hauke Mehrtens <hauke@hauke-m.de>
24 /* Assume one-hot slot wiring */
28 bool bcma_core_pci_is_in_hostmode(struct bcma_drv_pci *pc) in bcma_core_pci_is_in_hostmode() argument
30 struct bcma_bus *bus = pc->core->bus; in bcma_core_pci_is_in_hostmode()
34 chipid_top = (bus->chipinfo.id & 0xFF00); in bcma_core_pci_is_in_hostmode()
39 bcma_core_enable(pc->core, 0); in bcma_core_pci_is_in_hostmode()
41 return !mips_busprobe32(tmp, pc->core->io_addr); in bcma_core_pci_is_in_hostmode()
44 static u32 bcma_pcie_read_config(struct bcma_drv_pci *pc, u32 address) in bcma_pcie_read_config() argument
46 pcicore_write32(pc, BCMA_CORE_PCI_CONFIG_ADDR, address); in bcma_pcie_read_config()
[all …]
/linux/tools/lib/perf/
H A Dmmap.c1 // SPDX-License-Identifier: GPL-2.0
23 map->fd = -1; in perf_mmap__init()
24 map->overwrite = overwrite; in perf_mmap__init()
25 map->unmap_cb = unmap_cb; in perf_mmap__init()
26 refcount_set(&map->refcnt, 0); in perf_mmap__init()
28 prev->next = map; in perf_mmap__init()
33 return map->mas in perf_mmap__mmap_len()
95 struct perf_event_mmap_page *pc = map->base; perf_mmap__empty() local
482 struct perf_event_mmap_page *pc = map->base; perf_mmap__read_self() local
[all...]
/linux/arch/arm64/kernel/
H A Dalternative.c1 // SPDX-License-Identifier: GPL-2.0-only
23 #define __ALT_PTR(a, f) ((void *)&(a)->f + (a)->f)
27 #define ALT_CAP(a) ((a)->cpucap & ~ARM64_CB_BIT)
28 #define ALT_HAS_CB(a) ((a)->cpucap & ARM64_CB_BIT)
49 * Check if the target PC is within an alternative block.
51 static __always_inline bool branch_insn_requires_update(struct alt_instr *alt, unsigned long pc) in branch_insn_requires_update() argument
54 return !(pc >= replptr && pc <= (replptr + alt->alt_len)); in branch_insn_requires_update()
57 #define align_down(x, a) ((unsigned long)(x) & ~(((unsigned long)(a)) - 1))
77 offset = target - (unsigned long)insnptr; in get_alt_insn()
85 * If we're replacing an adrp instruction, which uses PC-relative in get_alt_insn()
[all …]

12345678910>>...18