| /Linux-v5.4/arch/m68k/ifpsp060/ |
| D | CHANGES | 3 M68000 Hi-Performance Microprocessor Division 5 Production Release P1.00 -- October 10, 1994 17 IN NO EVENT SHALL MOTOROLA BE LIABLE FOR ANY DAMAGES WHATSOEVER 21 Motorola assumes no responsibility for the maintenance and support of the SOFTWARE. 26 No licenses are granted by implication, estoppel or otherwise under any patents 31 --------------------------- 42 mode was pre-decrement or post-increment and the address register 49 --------- 50 If {i,d}mem_{read,write}_{byte,word,long}() returns 56 ------- [all …]
|
| /Linux-v5.4/arch/sparc/mm/ |
| D | fault_32.c | 1 // SPDX-License-Identifier: GPL-2.0 50 printk(KERN_ALERT "tsk->{mm,active_mm}->context = %08lx\n", in unhandled_fault() 51 (tsk->mm ? tsk->mm->context : tsk->active_mm->context)); in unhandled_fault() 52 printk(KERN_ALERT "tsk->{mm,active_mm}->pgd = %08lx\n", in unhandled_fault() 53 (tsk->mm ? (unsigned long) tsk->mm->pgd : in unhandled_fault() 54 (unsigned long) tsk->active_mm->pgd)); in unhandled_fault() 58 asmlinkage int lookup_fault(unsigned long pc, unsigned long ret_pc, in lookup_fault() argument 75 insn = *((unsigned int *) pc); in lookup_fault() 83 insn = *((unsigned int *) pc); in lookup_fault() 93 regs.pc = pc; in lookup_fault() [all …]
|
| /Linux-v5.4/drivers/ide/ |
| D | ide-tape.c | 4 * Copyright (C) 1995-1999 Gadi Oxman <gadio@netvision.net.il> 5 * Copyright (C) 2003-2005 Bartlomiej Zolnierkiewicz 8 * of the faculty of electrical engineering in the Technion - Israel's 15 * Documentation/ide/ChangeLog.ide-tape.1995-2002 18 #define DRV_NAME "ide-tape" 79 * function in ide-tape. There are two cases in which we poll for DSC: 81 * 1. Before a read/write packet command, to ensure that we can transfer data 91 * here should be lower than the read/write frequency since those media access 92 * commands are slow. We start from a "fast" frequency - IDETAPE_DSC_MA_FAST 94 * (5 min), we switch it to a lower frequency - IDETAPE_DSC_MA_SLOW (1 min). [all …]
|
| D | ide-atapi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 #define DRV_NAME "ide-atapi" 30 return drive->media == ide_cdrom || drive->media == ide_optical; in dev_is_idecd() 39 u16 *id = drive->id; in ide_check_atapi_device() 52 if (drive->media == ide_floppy && device_type == 5 && in ide_check_atapi_device() 53 !strstr((char *)&id[ATA_ID_PROD], "CD-ROM") && in ide_check_atapi_device() 60 s, drive->name, protocol); in ide_check_atapi_device() 61 else if ((drive->media == ide_floppy && device_type != 0) || in ide_check_atapi_device() 62 (drive->media == ide_tape && device_type != 1)) in ide_check_atapi_device() 64 s, drive->name, device_type); in ide_check_atapi_device() [all …]
|
| /Linux-v5.4/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" 14 AR_CLASS( .arch armv7-a ) 15 M_CLASS( .arch armv7-m ) 97 kputc #'-' 125 kputc #'-' 129 kputc #'-' 134 kputc #'-' 174 AR_CLASS( sub pc, pc, #3 ) @ A/R: switch to Thumb2 mode [all …]
|
| /Linux-v5.4/Documentation/ABI/testing/ |
| D | sysfs-driver-hid-prodikeys | 7 that the pc-midi keyboard will output.midi data. 9 Type: Read/write 16 note held by the pc-midi driver. 19 Type: Read/write 25 Controls the octave shift modifier in the pc-midi driver. 27 0 means the no ocatve shift. 28 Range: -2..2 (minus 2 to plus 2) 29 Type: Read/Write
|
| /Linux-v5.4/arch/m68k/kernel/ |
| D | traps.c | 45 [VEC_RESETPC] = "RESET PC", 135 unsigned long fslw = fp->un.fmt4.pc; /* is really FSLW for access error */ in access_error060() 137 pr_debug("fslw=%#lx, fa=%#lx\n", fslw, fp->un.fmt4.effaddr); in access_error060() 140 /* branch prediction error -> clear branch cache */ in access_error060() 145 /* return if there's no other error */ in access_error060() 152 unsigned long addr = fp->un.fmt4.effaddr; in access_error060() 155 addr = (addr + PAGE_SIZE - 1) & PAGE_MASK; in access_error060() 165 do_page_fault(&fp->ptregs, addr, errorcode); in access_error060() 170 send_fault_sig(&fp->ptregs); in access_error060() 172 send_fault_sig(&fp->ptregs) > 0) { in access_error060() [all …]
|
| 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.4/arch/arm/mm/ |
| D | abort-lv4t.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 * : r4 = aborted context pc 11 * Returns : r4-r5, r9-r11, r13 preserved 15 * abort here if the I-TLB and D-TLB aren't seeing the same 25 mov r0, #0 @ clear r0, r1 (no FSR/FAR) 31 tst r8, #1 << 20 @ L = 1 -> write? 34 add pc, pc, r7, lsr #22 @ Now branch to the relevant processing routine 63 beq do_DataAbort @ no writeback -> no fixup 64 str r9, [sp, #-4]! 76 and r6, r6, #15 @ r6 = no. of registers to transfer. [all …]
|
| /Linux-v5.4/drivers/char/ |
| D | dtlk.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* -*- linux-c -*- 3 * dtlk.c - DoubleTalk PC driver for Linux 8 * 2000-03-18 Jim Van Zandt: Fix polling. 15 /* This driver is for the DoubleTalk PC, a speech synthesizer 20 The DoubleTalk PC contains four voice synthesizers: text-to-speech 30 DoubleTalk PC implement index markers. Both the TTS and LPC ports 33 The DoubleTalk PC generates no interrupts. 38 "write" sends bytes to the TTS port. It is the responsibility of 40 This driver was written for use with the text-to-speech [all …]
|
| /Linux-v5.4/drivers/ssb/ |
| D | driver_pcicore.c | 3 * Broadcom PCI-core driver 19 static u32 ssb_pcie_read(struct ssb_pcicore *pc, u32 address); 20 static void ssb_pcie_write(struct ssb_pcicore *pc, u32 address, u32 data); 21 static u16 ssb_pcie_mdio_read(struct ssb_pcicore *pc, u8 device, u8 address); 22 static void ssb_pcie_mdio_write(struct ssb_pcicore *pc, u8 device, 26 u32 pcicore_read32(struct ssb_pcicore *pc, u16 offset) in pcicore_read32() argument 28 return ssb_read32(pc->dev, offset); in pcicore_read32() 32 void pcicore_write32(struct ssb_pcicore *pc, u16 offset, u32 value) in pcicore_write32() argument 34 ssb_write32(pc->dev, offset, value); in pcicore_write32() 38 u16 pcicore_read16(struct ssb_pcicore *pc, u16 offset) in pcicore_read16() argument [all …]
|
| /Linux-v5.4/Documentation/trace/ |
| D | mmiotrace.rst | 2 In-kernel memory-mapped I/O tracing 11 Injection Test Harness. In Dec 2006 - Jan 2007, using the code from Intel, 15 Mmiotrace was built for reverse engineering any memory-mapped IO device with 19 Out-of-tree mmiotrace was originally modified for mainline inclusion and 24 ----------- 29 is on-line, therefore mmiotrace takes all but one CPU off-line during run-time 30 activation. You can re-enable CPUs by hand, but you have been warned, there 31 is no way to automatically detect if you are losing events due to CPUs racing. 35 --------------------- 38 $ mount -t debugfs debugfs /sys/kernel/debug [all …]
|
| /Linux-v5.4/arch/mips/dec/ |
| D | kn01-berr.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 36 * Bits 7:0 of the Control Register are write-only -- the 41 * There is no default value -- it has to be initialized. 70 static const char writestr[] = "write"; in dec_kn01_be_backend() 74 int data = regs->cp0_cause & 4; in dec_kn01_be_backend() 75 unsigned int __user *pc = (unsigned int __user *)regs->cp0_epc + in dec_kn01_be_backend() local 76 ((regs->cp0_cause & CAUSEF_BD) != 0); in dec_kn01_be_backend() 100 __get_user(insn.word, pc); in dec_kn01_be_backend() 101 vaddr = regs->regs[insn.i_format.rs] + in dec_kn01_be_backend() 104 vaddr = (long)pc; in dec_kn01_be_backend() [all …]
|
| /Linux-v5.4/arch/mips/kvm/ |
| D | trap_emul.c | 46 u32 __user *opc = (u32 __user *) vcpu->arch.pc; in kvm_trap_emul_no_handler() 47 u32 cause = vcpu->arch.host_cp0_cause; in kvm_trap_emul_no_handler() 49 unsigned long badvaddr = vcpu->arch.host_cp0_badvaddr; in kvm_trap_emul_no_handler() 59 kvm_err("Exception Code: %d not handled @ PC: %p, inst: 0x%08x BadVaddr: %#lx Status: %#x\n", in kvm_trap_emul_no_handler() 61 kvm_read_c0_guest_status(vcpu->arch.cop0)); in kvm_trap_emul_no_handler() 63 vcpu->run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_trap_emul_no_handler() 69 struct mips_coproc *cop0 = vcpu->arch.cop0; in kvm_trap_emul_handle_cop_unusable() 70 struct kvm_run *run = vcpu->run; in kvm_trap_emul_handle_cop_unusable() 71 u32 __user *opc = (u32 __user *) vcpu->arch.pc; in kvm_trap_emul_handle_cop_unusable() 72 u32 cause = vcpu->arch.host_cp0_cause; in kvm_trap_emul_handle_cop_unusable() [all …]
|
| /Linux-v5.4/drivers/net/can/sja1000/ |
| D | peak_pcmcia.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2010-2012 Stephane Grosjean <s.grosjean@peak-system.com> 5 * CAN driver for PEAK-System PCAN-PC Card 7 * Copyright (C) 2006-2010 PEAK System-Technik GmbH 22 MODULE_AUTHOR("Stephane Grosjean <s.grosjean@peak-system.com>"); 23 MODULE_DESCRIPTION("CAN driver for PEAK-System PCAN-PC Cards"); 25 MODULE_SUPPORTED_DEVICE("PEAK PCAN-PC Card"); 27 /* PEAK-System PCMCIA driver name */ 101 /* note: EEPROM Read/Write instructions include A8 bit */ 104 #define PCC_EEP_WRDI 0x04 /* EEPROM Write Disable */ [all …]
|
| /Linux-v5.4/arch/microblaze/mm/ |
| D | fault.c | 7 * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org) 43 * Check whether the instruction at regs->pc is a store using 50 if (get_user(inst, (unsigned int __user *)regs->pc)) in store_updates_sp() 70 /* MS: no context */ in bad_page_fault() 72 fixup = search_exception_tables(regs->pc); in bad_page_fault() 74 regs->pc = fixup->fixup; in bad_page_fault() 90 struct mm_struct *mm = current->mm; in do_page_fault() 96 regs->ear = address; in do_page_fault() 97 regs->esr = error_code; in do_page_fault() 114 as is current->mm == NULL. */ in do_page_fault() [all …]
|
| /Linux-v5.4/arch/alpha/kernel/ |
| D | ptrace.c | 1 // SPDX-License-Identifier: GPL-2.0 49 * Processes always block with the following stack-layout: 51 * +================================+ <---- task + 2*PAGE_SIZE 52 * | PALcode saved frame (ps, pc, | ^ 67 * which the register is saved. Register indices are 0-31 for integer 68 * regs, 32-63 for fp regs, and 64 for the pc. Notice that sp and 69 * zero have no stack-slot and need to be treated specially (see 77 (PAGE_SIZE*2 - sizeof(struct pt_regs) + offsetof(struct pt_regs, reg)) 80 (PAGE_SIZE*2 - sizeof(struct pt_regs) - sizeof(struct switch_stack) \ 91 PT_REG( r28), PT_REG( gp), -1, -1, [all …]
|
| /Linux-v5.4/arch/alpha/mm/ |
| D | fault.c | 1 // SPDX-License-Identifier: GPL-2.0 47 next_mm->context[smp_processor_id()] = mmc; in __load_new_mm_context() 49 pcb = ¤t_thread_info()->pcb; in __load_new_mm_context() 50 pcb->asn = mmc & HARDWARE_ASN_MASK; in __load_new_mm_context() 51 pcb->ptbr = ((unsigned long) next_mm->pgd - IDENT_ADDR) >> PAGE_SHIFT; in __load_new_mm_context() 64 * 2 = fault-on-read 65 * 3 = fault-on-execute 66 * 4 = fault-on-write 69 * -1 = instruction fetch 80 (((unsigned long *)regs)[(r) <= 8 ? (r) : (r) <= 15 ? (r)-16 : \ [all …]
|
| /Linux-v5.4/Documentation/networking/device_drivers/cirrus/ |
| D | cs89x0.txt | 3 ---- 30 2.1 CS8900-based Adapter Configuration 31 2.2 CS8920-based Adapter Configuration 43 5.2.1 Diagnostic Self-Test 62 The CS8900-based ISA Ethernet Adapters from Cirrus Logic follow 63 IEEE 802.3 standards and support half or full-duplex operation in ISA bus 65 in 16-bit ISA or EISA bus expansion slots and are available in 66 10BaseT-only or 3-media configurations (10BaseT, 10Base2, and AUI for 10Base-5 69 CS8920-based adapters are similar to the CS8900-based adapter with additional 80 or loaded at run-time as a device driver module. [all …]
|
| /Linux-v5.4/drivers/oprofile/ |
| D | cpu_buffer.c | 4 * @remark Copyright 2002-2009 OProfile authors 11 * Each CPU has a local buffer that stores PC value/event 52 cpu_buf->sample_lost_overflow++; in oprofile_cpu_buffer_inc_smpl_lost() 79 b->last_task = NULL; in alloc_cpu_buffers() 80 b->last_is_kernel = -1; in alloc_cpu_buffers() 81 b->tracing = 0; in alloc_cpu_buffers() 82 b->buffer_size = buffer_size; in alloc_cpu_buffers() 83 b->sample_received = 0; in alloc_cpu_buffers() 84 b->sample_lost_overflow = 0; in alloc_cpu_buffers() 85 b->backtrace_aborted = 0; in alloc_cpu_buffers() [all …]
|
| /Linux-v5.4/arch/m68k/ifpsp060/src/ |
| D | isp.S | 3 M68000 Hi-Performance Microprocessor Division 5 Production Release P1.00 -- October 10, 1994 17 IN NO EVENT SHALL MOTOROLA BE LIABLE FOR ANY DAMAGES WHATSOEVER 21 Motorola assumes no responsibility for the maintenance and support of the SOFTWARE. 26 No licenses are granted by implication, estoppel or otherwise under any patents label 98 mov.l %d0,-(%sp) 99 mov.l (_060ISP_TABLE-0x80+_off_chk,%pc),%d0 100 pea.l (_060ISP_TABLE-0x80,%pc,%d0) 106 mov.l %d0,-(%sp) 107 mov.l (_060ISP_TABLE-0x80+_off_divbyzero,%pc),%d0 [all …]
|
| /Linux-v5.4/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.4/arch/csky/mm/ |
| D | fault.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd. 33 regs->pc = fixup->nextinsn; in fixup_exception() 46 asmlinkage void do_page_fault(struct pt_regs *regs, unsigned long write, in do_page_fault() argument 51 struct mm_struct *mm = tsk->mm; in do_page_fault() 60 * We fault-in kernel-space virtual memory on-demand. The in do_page_fault() 71 * Synchronize this task's top level page-table in do_page_fault() 113 * If we're in an interrupt or have no user in do_page_fault() 119 down_read(&mm->mmap_sem); in do_page_fault() 123 if (vma->vm_start <= address) in do_page_fault() [all …]
|
| /Linux-v5.4/arch/arm64/kernel/ |
| D | ftrace.c | 1 // SPDX-License-Identifier: GPL-2.0-only 15 #include <asm/debug-monitors.h> 24 static int ftrace_modify_code(unsigned long pc, u32 old, u32 new, in ftrace_modify_code() argument 32 * could cause us to read or write to someplace that could cause harm. in ftrace_modify_code() 38 if (aarch64_insn_read((void *)pc, &replaced)) in ftrace_modify_code() 39 return -EFAULT; in ftrace_modify_code() 42 return -EINVAL; in ftrace_modify_code() 44 if (aarch64_insn_patch_text_nosync((void *)pc, new)) in ftrace_modify_code() 45 return -EPERM; in ftrace_modify_code() 55 unsigned long pc; in ftrace_update_ftrace_func() local [all …]
|
| /Linux-v5.4/tools/bpf/ |
| D | bpf_jit_disasm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 * 2) Load a BPF filter (e.g. `tcpdump -p -n -s 0 -i eth1 host 192.168.20.0/24`) 12 * 3) Run e.g. `bpf_jit_disasm -o` to read out the last JIT code 24 #include <dis-asm.h> 41 tpath[size - 1] = 0; in get_exec_path() 54 int count, i, pc = 0; in get_asm_insns() local 86 printf("%4x:\t", pc); in get_asm_insns() 88 count = disassemble(pc, &info); in get_asm_insns() 93 printf("%02x ", (uint8_t) image[pc + i]); in get_asm_insns() 97 pc += count; in get_asm_insns() [all …]
|