| /OK3568_Linux_fs/kernel/arch/openrisc/kernel/ |
| H A D | entry.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 12 * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se> 25 #include <asm/asm-offsets.h> 46 l.sw -8(r1),r2 /* store frame pointer */ ;\ 47 l.sw -4(r1),r9 /* store return address */ ;\ 50 l.addi r1,r1,-8 ;\ 52 l.lwz r9,-4(r1) /* restore return address */ ;\ 53 l.lwz r2,-8(r1) /* restore fp */ ;\ 59 l.sw -12(r1),t1 /* save extra reg */ ;\ 60 l.sw -8(r1),r2 /* store frame pointer */ ;\ [all …]
|
| H A D | head.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 11 * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se> 26 #include <asm/asm-offsets.h> 30 l.movhi rd,hi(-KERNELBASE) ;\ 73 #define EMERGENCY_PRINT_STORE_GPR4 l.sw 0x20(r0),r4 76 #define EMERGENCY_PRINT_STORE_GPR5 l.sw 0x24(r0),r5 79 #define EMERGENCY_PRINT_STORE_GPR6 l.sw 0x28(r0),r6 82 #define EMERGENCY_PRINT_STORE_GPR7 l.sw 0x2c(r0),r7 85 #define EMERGENCY_PRINT_STORE_GPR8 l.sw 0x30(r0),r8 88 #define EMERGENCY_PRINT_STORE_GPR9 l.sw 0x34(r0),r9 [all …]
|
| /OK3568_Linux_fs/kernel/arch/x86/math-emu/ |
| H A D | errors.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /*---------------------------------------------------------------------------+ 5 | The error handling functions for wm-FPU-emu | 9 | E-mail billm@jacobi.maths.monash.edu.au | 12 +---------------------------------------------------------------------------*/ 14 /*---------------------------------------------------------------------------+ 19 +---------------------------------------------------------------------------*/ 27 #include "exception.h" 68 EXCEPTION(EX_Invalid); 126 printk("SW: backward compatibility\n"); in FPU_printall() [all …]
|
| /OK3568_Linux_fs/u-boot/arch/microblaze/cpu/ |
| H A D | start.S | 6 * Yasushi SHOJI <yashi@atmark-techno.com> 8 * SPDX-License-Identifier: GPL-2.0+ 11 #include <asm-offsets.h> 32 addi r1, r1, -4 /* Decrement SP to top of memory */ 35 addi r1, r0, CONFIG_SYS_INIT_SP_OFFSET - CONFIG_VAL(SYS_MALLOC_F_LEN) 40 addi r1, r1, -4 /* Decrement SP to top of memory */ 42 /* Find-out if u-boot is running on BIG/LITTLE endian platform 47 * 4a) LITTLE endian - r10 contains 0x2 because it is the smallest 49 * 4b) BIG endian - r10 contains 0x0 because 0x2 offset is on addr 0x3 57 /* add opcode instruction for 32bit jump - 2 instruction imm & brai */ [all …]
|
| /OK3568_Linux_fs/kernel/arch/parisc/math-emu/ |
| H A D | driver.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Linux/PA-RISC Project (http://www.parisc-linux.org/) 5 * Floating-point emulation code 6 * Copyright (C) 2001 Hewlett-Packard (Paul Bame) <bame@debian.org> 9 * linux/arch/math-emu/driver.c.c 14 * Copyright (C) 2001 Hewlett-Packard <bame@debian.org> 20 #include "math-emu.h" 25 #define extru(r,pos,len) (((r) >> (31-(pos))) & (( 1 << (len)) - 1)) 29 /* Format of the floating-point exception registers. */ 31 unsigned int exception : 6; member [all …]
|
| /OK3568_Linux_fs/kernel/arch/mips/kernel/ |
| H A D | genex.S | 6 * Copyright (C) 1994 - 2000, 2001, 2003 Ralf Baechle 28 * General exception vector for all other CPUs. 31 * to fit into space reserved for the exception handler. 47 * General exception handler for CPUs with virtual coherency exception. 50 * exception) bytes to fit into space reserved for the exception handler. 75 * c0_badvaddr because after return from this exception handler the 76 * load / store will be re-executed. 80 li k1, -4 # Is this ... 89 sw k1, (k0) 100 sw k1, (k0) [all …]
|
| H A D | cps-vec-ns16550.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 9 #include <asm/asm-offsets.h> 25 # define UART_S sw 32 * _mips_cps_putc() - write a character to the UART 45 * _mips_cps_puts() - write a string to the UART 46 * @a0: pointer to NULL-terminated ASCII string 49 * Write a null-terminated ASCII string to the UART. 65 * _mips_cps_putx4 - write a 4b hex value to the UART 76 addiu a0, a0, -10 82 * _mips_cps_putx8 - write an 8b hex value to the UART [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/net/wireless/ |
| H A D | qcom,ath11k.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 # Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. 5 --- 7 $schema: http://devicetree.org/meta-schemas/core.yaml# 12 - Kalle Valo <kvalo@codeaurora.org> 21 - qcom,ipq8074-wifi 22 - qcom,ipq6018-wifi 29 - description: misc-pulse1 interrupt events 30 - description: misc-latch interrupt events 31 - description: sw exception interrupt events [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/include/ |
| H A D | bcmsdpcm.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * Software-specific definitions shared between device and host side 6 * Copyright (C) 1999-2017, Broadcom Corporation 14 * As a special exception, the copyright holders of this software give you 19 * derived from this software. The special exception does not apply to any 27 * <<Broadcom-WL-IPTag/Open:>> 29 * $Id: bcmsdpcm.h 614070 2016-01-21 00:55:57Z $ 109 * Software-defined protocol header 115 /* SW frame header */ 117 #define SDPCM_PACKET_SEQUENCE(p) (((uint8 *)p)[0] & 0xff) /* p starts w/SW Header */ [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/include/ |
| H A D | bcmsdpcm.h | 3 * Software-specific definitions shared between device and host side 7 * Copyright (C) 1999-2017, Broadcom Corporation 15 * As a special exception, the copyright holders of this software give you 20 * derived from this software. The special exception does not apply to any 28 * <<Broadcom-WL-IPTag/Open:>> 111 * Software-defined protocol header 117 /* SW frame header */ 119 #define SDPCM_PACKET_SEQUENCE(p) (((uint8 *)p)[0] & 0xff) /* p starts w/SW Header */ 123 #define SDPCM_PACKET_CHANNEL(p) (((uint8 *)p)[1] & 0x0f) /* p starts w/SW Header */ 127 #define SDPCM_PACKET_FLAGS(p) ((((uint8 *)p)[1] & 0xf0) >> 4) /* p starts w/SW Header */ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/include/ |
| H A D | bcmsdpcm.h | 3 * Software-specific definitions shared between device and host side 7 * Copyright (C) 1999-2017, Broadcom Corporation 15 * As a special exception, the copyright holders of this software give you 20 * derived from this software. The special exception does not apply to any 28 * <<Broadcom-WL-IPTag/Open:>> 111 * Software-defined protocol header 117 /* SW frame header */ 119 #define SDPCM_PACKET_SEQUENCE(p) (((uint8 *)p)[0] & 0xff) /* p starts w/SW Header */ 123 #define SDPCM_PACKET_CHANNEL(p) (((uint8 *)p)[1] & 0x0f) /* p starts w/SW Header */ 127 #define SDPCM_PACKET_FLAGS(p) ((((uint8 *)p)[1] & 0xf0) >> 4) /* p starts w/SW Header */ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/include/ |
| H A D | bcmsdpcm.h | 3 * Software-specific definitions shared between device and host side 7 * Copyright (C) 1999-2017, Broadcom Corporation 15 * As a special exception, the copyright holders of this software give you 20 * derived from this software. The special exception does not apply to any 28 * <<Broadcom-WL-IPTag/Open:>> 111 * Software-defined protocol header 117 /* SW frame header */ 119 #define SDPCM_PACKET_SEQUENCE(p) (((uint8 *)p)[0] & 0xff) /* p starts w/SW Header */ 123 #define SDPCM_PACKET_CHANNEL(p) (((uint8 *)p)[1] & 0x0f) /* p starts w/SW Header */ 127 #define SDPCM_PACKET_FLAGS(p) ((((uint8 *)p)[1] & 0xf0) >> 4) /* p starts w/SW Header */ [all …]
|
| H A D | dnglevent.h | 6 * Copyright (C) 1999-2017, Broadcom Corporation 14 * As a special exception, the copyright holders of this software give you 19 * derived from this software. The special exception does not apply to any 30 * <<Broadcom-WL-IPTag/Open:>> 32 * ----------------------------------------------------------------------------- 125 /* Enumerating top level SW entities for use by health check */
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/include/ |
| H A D | bcmsdpcm.h | 3 * Software-specific definitions shared between device and host side 13 * As a special exception, the copyright holders of this software give you 18 * derived from this software. The special exception does not apply to any 22 * <<Broadcom-WL-IPTag/Dual:>> 103 * Software-defined protocol header 110 /* SW frame header */ 112 #define SDPCM_PACKET_SEQUENCE(p) (((uint8 *)p)[0] & 0xff) /* p starts w/SW Header */ 116 #define SDPCM_PACKET_CHANNEL(p) (((uint8 *)p)[1] & 0x0f) /* p starts w/SW Header */ 120 #define SDPCM_PACKET_FLAGS(p) ((((uint8 *)p)[1] & 0xf0) >> 4) /* p starts w/SW Header */ 122 /* Next Read Len: lookahead length of next frame, in 16-byte units (rounded up) */ [all …]
|
| H A D | bcmrand.h | 12 * As a special exception, the copyright holders of this software give you 17 * derived from this software. The special exception does not apply to any 21 * <<Broadcom-WL-IPTag/Dual:>> 41 * |<-----Variable---->|<---Variable--->|<-----4 bytes-->|<---4 bytes---->|<---V--->|<--4B--->| 42 * |<------------- BCM_ENTROPY_HOST_MAXSIZE --------->| 45 /* The HOST need to provided 64 bytes (512 bits) entropy for the bcm SW RNG */
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/include/ |
| H A D | bcmsdpcm.h | 3 * Software-specific definitions shared between device and host side 13 * As a special exception, the copyright holders of this software give you 18 * derived from this software. The special exception does not apply to any 22 * <<Broadcom-WL-IPTag/Dual:>> 103 * Software-defined protocol header 110 /* SW frame header */ 112 #define SDPCM_PACKET_SEQUENCE(p) (((uint8 *)p)[0] & 0xff) /* p starts w/SW Header */ 116 #define SDPCM_PACKET_CHANNEL(p) (((uint8 *)p)[1] & 0x0f) /* p starts w/SW Header */ 120 #define SDPCM_PACKET_FLAGS(p) ((((uint8 *)p)[1] & 0xf0) >> 4) /* p starts w/SW Header */ 122 /* Next Read Len: lookahead length of next frame, in 16-byte units (rounded up) */ [all …]
|
| H A D | bcmrand.h | 12 * As a special exception, the copyright holders of this software give you 17 * derived from this software. The special exception does not apply to any 21 * <<Broadcom-WL-IPTag/Dual:>> 41 * |<-----Variable---->|<---Variable--->|<-----4 bytes-->|<---4 bytes---->|<---V--->|<--4B--->| 42 * |<------------- BCM_ENTROPY_HOST_MAXSIZE --------->| 45 /* The HOST need to provided 64 bytes (512 bits) entropy for the bcm SW RNG */
|
| /OK3568_Linux_fs/u-boot/arch/mips/cpu/ |
| H A D | start.S | 2 * Startup Code for MIPS32 CPU-core 6 * SPDX-License-Identifier: GPL-2.0+ 9 #include <asm-offsets.h> 50 li t9, 15 # UHI exception operation 56 li t0, -16 79 PTR_S sp, GD_MALLOC_BASE(k0) # gd->malloc_base offset 84 /* U-Boot entry point */ 94 * device with correct parameters. This config option is board-specific. 111 * Exception vector entry points. When running from ROM, an exception 124 /* Cache error exception */ [all …]
|
| /OK3568_Linux_fs/kernel/arch/ia64/kernel/ |
| H A D | unaligned.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Architecture-specific unaligned trap handling. 5 * Copyright (C) 1999-2002, 2004 Hewlett-Packard Co 7 * David Mosberger-Tang <davidm@hpl.hp.com> 9 * 2002/12/09 Fix rotating register handling (off-by-1 error, missing fr-rotation). Fix 10 * get_rse_reg() to not leak kernel bits to user-level (reading an out-of-frame 28 #include <asm/exception.h> 69 * For M-unit: 72 * --------|------|---------| 73 * [40-37] | [36] | [35:30] | [all …]
|
| /OK3568_Linux_fs/kernel/arch/powerpc/mm/nohash/ |
| H A D | tlb_low_64e.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 * Copyright (C) 2008-2009 15 #include <asm/asm-offsets.h> 17 #include <asm/exception-64e.h> 18 #include <asm/ppc-opcode.h> 21 #include <asm/feature-fixups.h> 36 * Note that, unlike non-bolted handlers, TLB_EXFRAME is not 99 /* We pre-test some combination of permissions to avoid double 120 rldicl. r10,r16,64-PGTABLE_EADDR_SIZE,PGTABLE_EADDR_SIZE+4 121 bne- dtlb_miss_fault_bolted /* Bail if fault addr is invalid */ [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/mach-berlin/ |
| H A D | platsmp.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Antoine Ténart <antoine.tenart@free-electrons.com> 20 * There are two reset registers, one with self-clearing (SC) 21 * reset and one with non-self-clearing reset (NON_SC). 47 return -EFAULT; in berlin_boot_secondary() 51 * exception vector. in berlin_boot_secondary() 64 np = of_find_compatible_node(NULL, NULL, "arm,cortex-a9-scu"); in berlin_smp_prepare_cpus() 70 np = of_find_compatible_node(NULL, NULL, "marvell,berlin-cpu-ctrl"); in berlin_smp_prepare_cpus() 84 * in the reset exception vector. in berlin_smp_prepare_cpus() 89 * Write the secondary startup address into the SW reset address in berlin_smp_prepare_cpus() [all …]
|
| /OK3568_Linux_fs/kernel/arch/mips/dec/prom/ |
| H A D | locore.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 12 * Simple general exception handling routine. This one is used for the 23 sw k0, 0(k1)
|
| /OK3568_Linux_fs/kernel/arch/arc/mm/ |
| H A D | tlbex.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * TLB Exception Handling for ARC 5 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) 8 * -MMU v1: moved out legacy code into a seperate file 9 * -MMU v3: PD{0,1} bits layout changed: They don't overlap anymore, 13 * -For MMU V2, we need not do heuristics at the time of commiting a D-TLB 14 * entry, so that it doesn't knock out it's I-TLB entry 15 * -Some more fine tuning: 19 * -Practically rewrote the I/D TLB Miss handlers 26 * -Passing ECR (Exception Cause REG) to do_page_fault( ) for printing [all …]
|
| /OK3568_Linux_fs/kernel/drivers/edac/ |
| H A D | cpc925_edac.c | 1 // SPDX-License-Identifier: GPL-2.0-only 34 #define CPC925_BIT(nr) (1UL << (CPC925_BITS_PER_REG - 1 - nr)) 50 * "CPC925 Bridge and Memory Controller User Manual, SA14-2761-02". 57 * Processor Interface Exception Mask Register (APIMASK) 61 APIMASK_DART = CPC925_BIT(0), /* DART Exception */ 64 APIMASK_STAT = CPC925_BIT(3), /* Status Exception */ 65 APIMASK_DERR = CPC925_BIT(4), /* Data Error Exception */ 66 APIMASK_ADRS0 = CPC925_BIT(5), /* Addressing Exception on PI0 */ 67 APIMASK_ADRS1 = CPC925_BIT(6), /* Addressing Exception on PI1 */ 83 * Processor Interface Exception Register (APIEXCP) [all …]
|
| /OK3568_Linux_fs/kernel/arch/riscv/kernel/ |
| H A D | entry.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 14 #include <asm/asm-offsets.h> 35 addi sp, sp, -(PT_SIZE_ON_STACK) 67 * Disable user-mode memory access as it should only be set in the 89 * Set the scratch register to 0, so that if a recursive exception 90 * occurs, the exception vector knows it came from the kernel 150 /* Check if exception code lies within bounds */ 160 * When running is M-Mode (no MMU config), MPIE does not get set. 168 /* Recover a0 - a7 for system calls */ 238 REG_L s0, TASK_TI_FLAGS(tp) /* current_thread_info->flags */ [all …]
|