/linux/tools/perf/util/ |
H A D | print_insn.c | 1 // SPDX-License-Identifier: GPL-2.0 13 #include "machine.h" 16 #include "dump-insn.h" 24 for (int i = 0; i < sample->insn_len; i++) { in sample__fprintf_insn_raw() 25 printed += fprintf(fp, "%02x", (unsigned char)sample->insn[i]); in sample__fprintf_insn_raw() 26 if (sample->insn_len - i > 1) in sample__fprintf_insn_raw() 35 int capstone_init(struct machine *machine, csh *cs_handle, bool is64, bool disassembler_style); 37 int capstone_init(struct machine *machine, csh *cs_handle, bool is64, bool disassembler_style) in capstone_init() argument 40 cs_mode mode; in capstone_init() local 42 if (machine__is(machine, "x86_64") && is64) { in capstone_init() [all …]
|
H A D | unwind-libunwind.c | 1 // SPDX-License-Identifier: GPL-2.0 21 struct machine *machine; in unwind__prepare_access() local 34 machine = maps__machine(maps); in unwind__prepare_access() 35 /* env->arch is NULL for live-mode (i.e. perf top) */ in unwind__prepare_access() 36 if (!machine in unwind__prepare_access() [all...] |
/linux/sound/soc/intel/boards/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 bool "Intel Machine drivers" 6 Intel ASoC Machine Drivers. If you have a Intel machine that 12 the questions about Intel ASoC machine drivers. 73 This adds the ASoC machine driver for Intel Broadwell platforms with 110 tristate "Baytrail and Baytrail-CR with RT5640 codec" 117 This adds support for ASoC machine driver for Intel(R) Baytrail and Baytrail-CR 123 tristate "Baytrail and Baytrail-CR with RT5651 codec" 130 This adds support for ASoC machine driver for Intel(R) Baytrail and Baytrail-CR 136 tristate "Baytrail and Baytrail-CR with WM5102 codec" [all …]
|
/linux/sound/soc/intel/avs/boards/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 2 menu "Intel AVS Machine drivers" 44 tristate "HD-Audio generic board" 54 This adds support for I2S test-board which can be used to verify 93 This adds support for ASoC machine driver with NAU8825 I2S audio codec. 117 tristate "rt274 in I2S mode" 122 This adds support for ASoC machine driver with RT274 I2S audio codec. 127 tristate "rt286 in I2S mode" 132 This adds support for ASoC machine driver with RT286 I2S audio codec. 137 tristate "rt298 in I2S mode" [all …]
|
/linux/arch/powerpc/platforms/44x/ |
H A D | machine_check.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 14 unsigned long reason = regs->esr; in machine_check_4xx() 22 printk(" machine check in kernel mode.\n"); in machine_check_4xx() 29 unsigned long reason = regs->esr; in machine_check_440A() 31 printk("Machine check in kernel mode.\n"); in machine_check_440A() 33 printk("Instruction Synchronous Machine Check exception\n"); in machine_check_440A() 48 printk("I-Cache Parity Error\n"); in machine_check_440A() 51 printk("D-Cache Search Parity Error\n"); in machine_check_440A() 53 printk("D-Cache Flush Parity Error\n"); in machine_check_440A() 55 printk("Machine Check exception is imprecise\n"); in machine_check_440A() [all …]
|
/linux/drivers/base/ |
H A D | soc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) ST-Ericsson SA 2011 5 * Author: Lee Jones <lee.jones@linaro.org> for ST-Ericsson. 36 static DEVICE_ATTR(machine, 0444, soc_info_show, NULL); 44 return &soc_dev->dev; in soc_device_to_device() 54 if ((attr == &dev_attr_machine.attr) && soc_dev->attr->machine) in soc_attribute_mode() 55 return attr->mode; in soc_attribute_mode() 56 if ((attr == &dev_attr_family.attr) && soc_dev->attr->family) in soc_attribute_mode() 57 return attr->mode; in soc_attribute_mode() 58 if ((attr == &dev_attr_revision.attr) && soc_dev->attr->revision) in soc_attribute_mode() [all …]
|
/linux/Documentation/networking/ |
H A D | plip.rst | 1 .. SPDX-License-Identifier: GPL-2.0 14 ----------------- 17 This device interface allows a point-to-point connection between two 25 printer port. PLIP is a non-standard, but [can use] uses the standard 26 LapLink null-printer cable [can also work in turbo mode, with a PLIP 62 ------------------- 77 On these machines, the PLIP driver can be used in IRQ-less mode, where 79 and if such data is available, process it. This mode is less efficient than 80 the IRQ mode, because the driver has to check the parallel port many times 82 indicate that there isn't a noticeable performance drop when using IRQ-less [all …]
|
H A D | phy.rst | 26 #. Increase code-reuse 27 #. Increase overall code-maintainability 67 for one of the users. (e.g. "git grep fsl,.*-mdio arch/powerpc/boot/dts/") 72 The Reduced Gigabit Medium Independent Interface (RGMII) is a 12-pin 84 or the PCB traces insert the correct 1.5-2ns delay 97 * PHY devices may offer sub-nanosecond granularity in how they allow a 114 MAC driver looks at the phy_interface_t value, for any other mode but 115 PHY_INTERFACE_MODE_RGMII, it should make sure that the MAC-level delays are 130 ----------------------------------------- 192 PHY's software state machine, and registered for the PHY's interrupt, if it [all …]
|
/linux/Documentation/arch/arm/ |
H A D | booting.rst | 9 The following documentation is relevant to 2.4.18-rmk6 and beyond. 21 3. Detect the machine type. 28 --------------------------- 37 this in a machine dependent manner. (It may use internal algorithms 39 the RAM in the machine, or any other method the boot loader designer 44 ----------------------------- 60 Documentation/admin-guide/kernel-parameters.rst. 63 3. Detect the machine type 64 -------------------------- 69 MANDATORY except for DT-only platforms [all …]
|
/linux/arch/powerpc/platforms/chrp/ |
H A D | pci.c | 1 // SPDX-License-Identifier: GPL-2.0 19 #include <asm/pci-bridge.h> 40 if (bus->number > 7) in gg2_read_config() 46 cfg_data = hose->cfg_data + ((bus->number<<16) | (devfn<<8) | off); in gg2_read_config() 67 if (bus->number > 7) in gg2_write_config() 73 cfg_data = hose->cfg_data + ((bus->number<<16) | (devfn<<8) | off); in gg2_write_config() 102 | (((bus->number - hose->first_busno) & 0xff) << 16) in rtas_read_config() 103 | (hose->global_number << 24); in rtas_read_config() 104 int ret = -1; in rtas_read_config() 117 | (((bus->number - hose->first_busno) & 0xff) << 16) in rtas_write_config() [all …]
|
/linux/Documentation/arch/powerpc/ |
H A D | ultravisor.rst | 1 .. SPDX-License-Identifier: GPL-2.0 16 (PVR=0x004e1203) or greater will be PEF-capable. A new ISA release 19 When enabled, PEF adds a new higher privileged mode, called Ultravisor 20 mode, to POWER architecture. Along with the new mode there is new 22 for short). Ultravisor mode is the highest privileged mode in POWER 25 +------------------+ 29 +------------------+ 31 +------------------+ 33 +------------------+ 35 +------------------+ [all …]
|
/linux/arch/powerpc/include/asm/ |
H A D | reg_booke.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 6 * Copyright 2009-2010 Freescale Semiconductor, Inc. 12 #include <asm/ppc-opcode.h> 14 /* Machine State Register (MSR) Fields */ 16 #define MSR_UCLE_LG 26 /* User-mode cache lock enable */ 23 #define MSR_CM_LG 31 /* Computation Mode (0=32-bit, 1=64-bit) */ 129 #define SPRN_MCARU 0x239 /* Machine Check Address Register Upper */ 130 #define SPRN_MCSRR0 0x23A /* Machine Check Save and Restore Register 0 */ 131 #define SPRN_MCSRR1 0x23B /* Machine Check Save and Restore Register 1 */ 132 #define SPRN_MCSR 0x23C /* Machine Check Status Register */ [all …]
|
/linux/tools/testing/selftests/powerpc/tm/ |
H A D | tm-trap.c | 1 // SPDX-License-Identifier: GPL-2.0-only 67 thread_endianness = MSR_LE & ucp->uc_mcontext.gp_regs[PT_MSR]; in trap_signal_handler() 70 * Little-Endian Machine in trap_signal_handler() 94 * not in transacional mode). On te other hand, if after in trap_signal_handler() 95 * the return from the signal handler the endianness in- in trap_signal_handler() 98 * and (4) are executed (tbegin.; trap;) and we get sim- in trap_signal_handler() 99 * ilaly on the trap signal handler, but now in TM mode. in trap_signal_handler() 104 * Finally, getting a trap in TM mode or not is just in trap_signal_handler() 109 * a trap caught in non-transactional mode is the very in trap_signal_handler() 116 ucp->uc_mcontext.gp_regs[PT_NIP] += 16; in trap_signal_handler() [all …]
|
/linux/Documentation/devicetree/bindings/interrupt-controller/ |
H A D | andestech,plicsw.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/interrupt-controller/andestech,plicsw.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Andes machine-level software interrupt controller 12 controller (PLIC_SW). PLIC_SW directly connects to the machine-mode 13 inter-processor interrupt lines of CPUs, so RISC-V per-CPU local interrupt 15 generate machine-mode inter-processor interrupts through programming its 19 - Ben Zong-You Xie <ben717@andestech.com> 24 - enum: [all …]
|
/linux/include/linux/ |
H A D | fsl_ifc.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 21 * - IFC version 1.0 implements 4 banks. 22 * - IFC version 1.1 onward implements 8 banks. 35 * CSPR - Chip Select Property Register 50 /* Machine Select */ 69 (__ilog2(n) - IFC_AMASK_SHIFT)) 72 * Chip Select Option Register IFC_NAND Machine 110 #define CSOR_NAND_PB(n) ((__ilog2(n) - 5) << CSOR_NAND_PB_SHIFT) 123 * Chip Select Option Register - NOR Flash Mode 125 /* Enable Address shift Mode */ [all …]
|
/linux/tools/perf/ |
H A D | builtin-report.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * builtin-report.c 23 #include "util/mem-events.h" 34 #include "util/mem-info.h" 39 #include <subcmd/parse-options.h> 40 #include <subcmd/exec-cmd.h> 41 #include "util/parse-events.h" 48 #include "util/time-utils.h" 54 #include "util/block-info.h" 73 #include <event-parse.h> [all …]
|
H A D | builtin-buildid-list.c | 2 * builtin-buildid-list.c 4 * Builtin buildid-list command: list buildids in perf.data, in the running 11 #include "util/build-id.h" 16 #include <subcmd/parse-options.h> 49 struct machine *machine; in buildid__show_kernel_maps() local 52 machine = machine__new_host(&host_env); in buildid__show_kernel_maps() 53 machine__for_each_kernel_map(machine, buildid__map_cb, NULL); in buildid__show_kernel_maps() 54 machine__delete(machine); in buildid__show_kernel_maps() 65 return ret < 0 ? ret : -EINVAL; in sysfs__fprintf_build_id() 77 return ret < 0 ? ret : -EINVAL; in filename__fprintf_build_id() [all …]
|
H A D | builtin-mem.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <subcmd/parse-options.h> 11 #include "util/trace-event.h" 16 #include "util/mem-events.h" 51 struct perf_mem *mem = (struct perf_mem *)opt->value; in parse_record_events() 57 exit(-1); in parse_record_events() 65 exit(-1); in parse_record_events() 67 mem->operation = 0; in parse_record_events() 83 "perf mem record [<options>] -- <command> [<options>]", in __cmd_record() 90 return -1; in __cmd_record() [all …]
|
/linux/include/math-emu/ |
H A D | soft-fp.h | 1 /* Software floating-point emulation. 22 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ 27 #include <asm/sfp-machine.h> 29 /* Allow sfp-machine to have its own byte order definitions. */ 57 /* inf - inf */ 112 * sfp-machine may override this and e.g. 183 #include <math-emu/op-1.h> 184 #include <math-emu/op-2.h> 185 #include <math-emu/op-4.h> 186 #include <math-emu/op-8.h> [all …]
|
/linux/tools/power/pm-graph/ |
H A D | bootgraph.8 | 3 bootgraph \- Kernel boot timing analysis 13 timeline is split into two phases: kernel mode & user mode. kernel mode 15 Once user mode begins, the init process is called, and the init calls 24 Generates output files in subdirectory: boot-yymmdd-HHMMSS 30 \fB-h\fR 33 \fB-v\fR 36 \fB-addlogs\fR 40 \fB-result \fIfile\fR 43 \fB-o \fIname\fR 47 e.g. boot-{hostname}-{date}-{time} [all …]
|
/linux/Documentation/virt/uml/ |
H A D | user_mode_linux_howto_v2.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 Welcome to User Mode Linux 15 User Mode Linux is the first Open Source virtualization platform (first 25 Most OSes today have built-in support for a number of "fake" 27 User Mode Linux takes this concept to the ultimate extreme - there 30 concepts which map onto something provided by the host - files, sockets, 36 The UML kernel is just a process running on Linux - same as any other 40 host machine assists UML in intercepting everything the program running 49 Why Would I Want User Mode Linux? 53 * If User Mode Linux kernel crashes, your host kernel is still fine. It [all …]
|
/linux/drivers/spi/ |
H A D | spi-mpc52xx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * Note: this driver does not support the MPC5200 PSC in SPI mode. For 31 MODULE_DESCRIPTION("MPC52xx SPI (non-PSC) Driver"); 57 #define FSM_STOP 0 /* Nothing more for the state machine to */ 62 #define FSM_CONTINUE 2 /* Keep iterating the state machine */ 104 if (ms->gpio_cs_count > 0) { in mpc52xx_spi_chipsel() 105 cs = spi_get_chipselect(ms->message->spi, 0); in mpc52xx_spi_chipsel() 106 gpiod_set_value(ms->gpio_cs[cs], value); in mpc52xx_spi_chipsel() 108 out_8(ms->regs + SPI_PORTDATA, value ? 0 : 0x08); in mpc52xx_spi_chipsel() 119 ms->rx_buf = ms->transfer->rx_buf; in mpc52xx_spi_start_transfer() [all …]
|
/linux/Documentation/mm/ |
H A D | hwpoison.rst | 16 High level machine check handler. Handles pages reported by the 25 when that happens another machine check will happen. 41 The code consists of a the high level handler in mm/memory-failure.c, 46 of applications. KVM support requires a recent qemu-kvm release. 49 KVM can inject the machine check into the guest with the proper 67 This is the mode used by KVM qemu. 81 Enable early kill mode globally 84 Set early/late kill mode/revert to system default 89 arg2 defines thread specific mode 104 return current mode [all …]
|
/linux/drivers/net/ethernet/atheros/atl1e/ |
H A D | atl1e_hw.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 6 * Copyright(c) 1999 - 2005 Intel Corporation. All rights reserved. 200 /* IRQ Anti-Lost Timer Initial Value Register */ 206 #define IDLE_STATUS_RXMAC 1 /* 1: RXMAC state machine is in non-IDLE state. 0: RXMAC i… 207 #define IDLE_STATUS_TXMAC 2 /* 1: TXMAC state machine is in non-IDLE state. 0: TXMAC i… 208 #define IDLE_STATUS_RXQ 4 /* 1: RXQ state machine is in non-IDLE state. 0: RXQ is … 209 #define IDLE_STATUS_TXQ 8 /* 1: TXQ state machine is in non-IDLE state. 0: TXQ is … 210 #define IDLE_STATUS_DMAR 0x10 /* 1: DMAR state machine is in non-IDLE state. 0: DMAR is… 211 #define IDLE_STATUS_DMAW 0x20 /* 1: DMAW state machine is in non-IDLE state. 0: DMAW is… 212 #define IDLE_STATUS_SMB 0x40 /* 1: SMB state machine is in non-IDLE state. 0: SMB is … [all …]
|
/linux/Documentation/virt/kvm/s390/ |
H A D | s390-pv-boot.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 ------- 13 Documentation/virt/kvm/s390/s390-pv.rst for details." 17 KVM to decrypt the protected virtual machine. 19 Based on this data, KVM will make the protected virtual machine known 27 switch into PV mode itself, the user can load encrypted guest 33 ------- 44 Subcode 10: Move into Protected Virtualization mode 46 The new PV load-device-specific-parameters field specifies all data 47 that is necessary to move into PV mode. [all …]
|