| /linux/Documentation/devicetree/bindings/remoteproc/ |
| H A D | qcom,sc7280-mss-pil.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/remoteproc/qcom,sc7280-mss-pil.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sibi Sankar <quic_sibis@quicinc.com> 19 - qcom,sc7280-mss-pil 23 - description: MSS QDSP6 registers 24 - description: RMB registers 26 reg-names: 28 - const: qdsp6 [all …]
|
| H A D | qcom,sc7180-mss-pil.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/remoteproc/qcom,sc7180-mss-pil.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sibi Sankar <quic_sibis@quicinc.com> 19 - qcom,sc7180-mss-pil 23 - description: MSS QDSP6 registers 24 - description: RMB registers 26 reg-names: 28 - const: qdsp6 [all …]
|
| H A D | qcom,sc7280-adsp-pil.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/remoteproc/qcom,sc7280-adsp-pil.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Srinivasa Rao Mandadapu <quic_srivasam@quicinc.com> 19 - qcom,sc7280-adsp-pil 23 - description: qdsp6ss register 24 - description: efuse q6ss register 28 - description: Phandle to apps_smmu node with sid mask 32 - description: Watchdog interrupt [all …]
|
| H A D | qcom,q6v5.txt | 6 - compatible: 10 "qcom,ipq8074-wcss-pil" 11 "qcom,qcs404-wcss-pil" 13 - reg: 15 Value type: <prop-encoded-array> 19 - reg-names: 24 - interrupts-extended: 26 Value type: <prop-encoded-array> 27 Definition: reference to the interrupts that match interrupt-names 29 - interrupt-names: [all …]
|
| /linux/Documentation/devicetree/bindings/bus/ |
| H A D | qcom,ssc-block-bus.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/bus/qcom,ssc-block-bus.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Michael Srba <Michael.Srba@seznam.cz> 27 - const: qcom,msm8998-ssc-block-bus 28 - const: qcom,ssc-block-bus 32 - description: SSCAON_CONFIG0 registers 33 - description: SSCAON_CONFIG1 registers 35 reg-names: [all …]
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | vpe_v6_1.c | 68 base = vpe->ring.adev->reg_offset[VPE_HWIP][inst][0]; in vpe_v6_1_get_reg_offset() 73 static void vpe_v6_1_halt(struct amdgpu_vpe *vpe, bool halt) in vpe_v6_1_halt() argument 75 struct amdgpu_device *adev = vpe->ring.adev; in vpe_v6_1_halt() 78 for (i = 0; i < vpe->num_instances; i++) { in vpe_v6_1_halt() 80 f32_cntl = REG_SET_FIELD(f32_cntl, VPEC_F32_CNTL, HALT, halt ? 1 : 0); in vpe_v6_1_halt() 81 f32_cntl = REG_SET_FIELD(f32_cntl, VPEC_F32_CNTL, TH1_RESET, halt ? 1 : 0); in vpe_v6_1_halt() 93 &adev->vpe.trap_irq); in vpe_v6_1_irq_init() 102 struct amdgpu_device *adev = vpe->ring.adev; in vpe_v6_1_set_collaborate_mode() 105 if (!vpe->collaborate_mode) in vpe_v6_1_set_collaborate_mode() 108 for (i = 0; i < vpe->num_instances; i++) { in vpe_v6_1_set_collaborate_mode() [all …]
|
| /linux/arch/alpha/kernel/ |
| H A D | process.c | 1 // SPDX-License-Identifier: GPL-2.0 9 * This file handles the architecture-dependent parts of process handling. 87 ((unsigned long)hwrpb + hwrpb->processor_offset in common_shutdown_1() 88 + hwrpb->processor_size * cpuid); in common_shutdown_1() 89 pflags = &cpup->flags; in common_shutdown_1() 96 /* Secondaries halt here. */ in common_shutdown_1() 102 halt(); in common_shutdown_1() 106 if (how->mode == LINUX_REBOOT_CMD_RESTART) { in common_shutdown_1() 107 if (!how->restart_cmd) { in common_shutdown_1() 126 /* Wait for the secondaries to halt. */ in common_shutdown_1() [all …]
|
| /linux/arch/openrisc/kernel/ |
| H A D | process.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 11 * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se> 13 * This file handles the architecture-dependent parts of process handling... 50 * Used at user space -> kernel transitions. 63 /* Whoops - the platform was unable to reboot. Tell the user! */ in machine_restart() 64 pr_emerg("Reboot failed -- System halted\n"); in machine_restart() 69 * This is used if a sys-off handler was not set by a power management 80 * here to freeze the system for e.g. post-mortem debug purpose when 81 * possible. This halt has nothing to do with the idle halt. 85 printk(KERN_INFO "*** MACHINE HALT ***\n"); in machine_halt() [all …]
|
| /linux/arch/sh/kernel/ |
| H A D | reboot.c | 1 // SPDX-License-Identifier: GPL-2.0 65 .halt = native_machine_halt, 88 machine_ops.halt(); in machine_halt() 92 void machine_crash_shutdown(struct pt_regs *regs) in machine_crash_shutdown() argument 94 machine_ops.crash_shutdown(regs); in machine_crash_shutdown()
|
| /linux/drivers/usb/isp1760/ |
| H A D | isp1760-udc.c | 1 // SPDX-License-Identifier: GPL-2.0 22 #include "isp1760-core.h" 23 #include "isp1760-regs.h" 24 #include "isp1760-udc.h" 52 return isp1760_field_read(udc->fields, field); in isp1760_udc_read() 57 isp1760_field_write(udc->fields, field, val); in isp1760_udc_write() 64 regmap_raw_read(udc->regs, reg, &val, 4); in isp1760_udc_read_raw() 73 regmap_raw_read(udc->regs, reg, &val, 2); in isp1760_udc_read_raw16() 82 regmap_raw_write(udc->regs, reg, &val_le, 4); in isp1760_udc_write_raw() 89 regmap_raw_write(udc->regs, reg, &val_le, 2); in isp1760_udc_write_raw16() [all …]
|
| /linux/drivers/usb/gadget/udc/aspeed-vhub/ |
| H A D | epn.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * aspeed-vhub -- Driver for Aspeed SoC "vHub" USB gadget 5 * epn.c - Generic endpoints management 25 #include <linux/dma-mapping.h> 42 unsigned int act = req->req.actual; in ast_vhub_epn_kick() 43 unsigned int len = req->req.length; in ast_vhub_epn_kick() 47 WARN_ON(req->active); in ast_vhub_epn_kick() 50 chunk = len - act; in ast_vhub_epn_kick() 51 if (chunk > ep->ep.maxpacket) in ast_vhub_epn_kick() 52 chunk = ep->ep.maxpacket; in ast_vhub_epn_kick() [all …]
|
| /linux/arch/hexagon/kernel/ |
| H A D | traps.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 2010-2014, The Linux Foundation. All rights reserved. 93 task->comm, task_pid_nr(task)); in do_show_stack() 101 task->thread.switch_sp)->fp; in do_show_stack() 106 printk("%s-- Corrupt frame pointer %p\n", loglvl, fp); in do_show_stack() 114 /* Expect kernel stack to be in-bounds */ in do_show_stack() 116 high = low + THREAD_SIZE - 8; in do_show_stack() 133 printk("%s-- Corrupt frame pointer %p\n", loglvl, newfp); in do_show_stack() 139 struct pt_regs *regs = (struct pt_regs *) (((void *)fp) in do_show_stack() local 142 if (regs->syscall_nr != -1) { in do_show_stack() [all …]
|
| /linux/drivers/usb/gadget/udc/ |
| H A D | snps_udc_core.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * amd5536.c -- AMD 5536 UDC high/full speed USB device controller 5 * Copyright (C) 2005-2007 AMD (https://www.amd.com) 76 /* set_rde -- Is used to control enabling of RX DMA. Problem is 85 * set_rde -1 == not used, means it is alloed to be set to 0 or 1 90 static int set_rde = -1; 111 EP_INFO("ep1in-int", 113 EP_INFO("ep2in-bulk", 115 EP_INFO("ep3in-bulk", 117 EP_INFO("ep4in-bulk", [all …]
|
| H A D | goku_udc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Toshiba TC86C001 ("Goku-S") USB Device Controller driver 5 * Copyright (C) 2000-2002 Lineo 12 * This device has ep0 and three semi-configurable bulk/interrupt endpoints. 14 * - Endpoint numbering is fixed: ep{1,2,3}-bulk 15 * - Gadget drivers can choose ep maxpacket (8/16/32/64) 16 * - Gadget drivers can choose direction (IN, OUT) 17 * - DMA works with ep1 (OUT transfers) and ep2 (IN transfers). 21 // #define USB_TRACE /* packet-level success messages */ 49 #define DRIVER_VERSION "30-Oct 2003" [all …]
|
| H A D | net2280.c | 1 // SPDX-License-Identifier: GPL-2.0+ 27 * Copyright (C) 2003-2005 PLX Technology, Inc. 28 * Copyright (C) 2014 Ricardo Ribalda - Qtechnology/AS 39 #include <linux/dma-mapping.h> 87 EP_INFO("ep-a", 89 EP_INFO("ep-b", 91 EP_INFO("ep-c", 93 EP_INFO("ep-d", 95 EP_INFO("ep-e", 97 EP_INFO("ep-f", [all …]
|
| /linux/arch/arm64/boot/dts/qcom/ |
| H A D | sc7280-herobrine-lte-sku.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 10 reserved-memory { 13 no-map; 16 mdata_mem: mpss-metadata { 17 alloc-ranges = <0x0 0xa0000000 0x0 0x20000000>; 19 no-map; 25 qcom,gsi-loader = "modem"; 30 compatible = "qcom,sc7280-mss-pil"; 32 reg-names = "qdsp6", "rmb"; 39 clock-names = "iface", "offline", "snoc_axi", "pka", "xo"; [all …]
|
| /linux/arch/x86/include/asm/ |
| H A D | reboot.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 void (*halt)(void); member 21 void native_machine_crash_shutdown(struct pt_regs *regs); 41 void run_crash_ipi_callback(struct pt_regs *regs);
|
| /linux/drivers/watchdog/ |
| H A D | sama5d4_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2015-2019 Microchip Technology Inc. and its subsidiaries 26 #define WDT_SEC2TICKS(s) ((s) ? (((s) << 8) - 1) : 0) 51 #define wdt_enabled (!(wdt->mr & AT91_WDT_WDDIS)) 54 readl_relaxed((wdt)->reg_base + (field)) 66 while (time_before(jiffies, wdt->last_ping + WDT_DELAY)) in wdt_write() 68 writel_relaxed(val, wdt->reg_base + field); in wdt_write() 69 wdt->last_ping = jiffies; in wdt_write() 74 if (time_before(jiffies, wdt->last_ping + WDT_DELAY)) in wdt_write_nosleep() 76 writel_relaxed(val, wdt->reg_base + field); in wdt_write_nosleep() [all …]
|
| /linux/arch/sh/include/asm/ |
| H A D | reboot.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 void (*halt)(void); member 20 void native_machine_crash_shutdown(struct pt_regs *regs);
|
| /linux/drivers/scsi/mvsas/ |
| H A D | mv_chips.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 7 * Copyright 2009-2011 Marvell. <yuxiangl@marvell.com> 14 #define mr32(reg) readl(regs + reg) 15 #define mw32(reg, val) writel((val), regs + reg) 21 #define iow32(reg, val) outl(val, (unsigned long)(regs + reg)) 22 #define ior32(reg) inl((unsigned long)(regs + reg)) 23 #define iow16(reg, val) outw((unsigned long)(val, regs + reg)) 24 #define ior16(reg) inw((unsigned long)(regs + reg)) 25 #define iow8(reg, val) outb((unsigned long)(val, regs + reg)) 26 #define ior8(reg) inb((unsigned long)(regs + reg)) [all …]
|
| /linux/drivers/bus/ |
| H A D | qcom-ssc-block-bus.c | 1 // SPDX-License-Identifier: GPL-2.0-only 17 /* AXI Halt Register Offsets */ 68 ret = clk_prepare_enable(data->xo_clk); in qcom_ssc_block_bus_init() 74 ret = clk_prepare_enable(data->aggre2_clk); in qcom_ssc_block_bus_init() 80 ret = clk_prepare_enable(data->gcc_im_sleep_clk); in qcom_ssc_block_bus_init() 90 reg32_clear_bits(data->reg_mpm_sscaon_config0, in qcom_ssc_block_bus_init() 93 reg32_clear_bits(data->reg_mpm_sscaon_config1, BIT(31)); in qcom_ssc_block_bus_init() 95 ret = clk_prepare_enable(data->aggre2_north_clk); in qcom_ssc_block_bus_init() 101 ret = reset_control_deassert(data->ssc_reset); in qcom_ssc_block_bus_init() 107 ret = reset_control_deassert(data->ssc_bcr); in qcom_ssc_block_bus_init() [all …]
|
| /linux/drivers/usb/host/ |
| H A D | ohci-q.c | 1 // SPDX-License-Identifier: GPL-1.0+ 6 * (C) Copyright 2000-2002 David Brownell <dbrownell@users.sourceforge.net> 16 int last = urb_priv->length - 1; in urb_free_priv() 23 td = urb_priv->td [i]; in urb_free_priv() 29 list_del (&urb_priv->pending); in urb_free_priv() 33 /*-------------------------------------------------------------------------*/ 42 __releases(ohci->lock) in finish_urb() 43 __acquires(ohci->lock) in finish_urb() 45 struct device *dev = ohci_to_hcd(ohci)->self.controller; in finish_urb() 46 struct usb_host_endpoint *ep = urb->ep; in finish_urb() [all …]
|
| H A D | oxu210hp-hcd.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * This code is *strongly* based on EHCI-HCD code by David Brownell since 7 * the chip is a quasi-EHCI compatible. 26 #include <linux/dma-mapping.h> 83 #define EHCI_TUNE_CERR 3 /* 0-3 qtd retries; 0 == don't stop */ 86 #define EHCI_TUNE_MULT_HS 1 /* 1-3 transactions/uframe; 4.10.3 */ 102 u32 hcs_params; /* HCSPARAMS - offset 0x4 */ 111 u32 hcc_params; /* HCCPARAMS - offset 0x8 */ 117 #define HCC_64BIT_ADDR(p) ((p)&(1)) /* true: can use 64-bit addr */ 118 u8 portroute[8]; /* nibbles for routing - offset 0xC */ [all …]
|
| /linux/drivers/net/can/rcar/ |
| H A D | rcar_can.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 /* Renesas R-Car CAN device driver 36 * mailbox 60 - 63 - Rx FIFO mailboxes 37 * mailbox 56 - 59 - Tx FIFO mailboxes 38 * non-FIFO mailboxes are not used 40 #define RCAR_CAN_N_MBX 64 /* Number of mailboxes in non-FIFO mode */ 41 #define RCAR_CAN_RX_FIFO_MBX 60 /* Mailbox - window to Rx FIFO */ 42 #define RCAR_CAN_TX_FIFO_MBX 56 /* Mailbox - window to Tx FIFO */ 49 u8 dlc; /* Data Length Code - bits [0..3] */ 57 u32 mkr_2_9[8]; /* Mask Registers 2-9 */ [all …]
|
| /linux/arch/nios2/kernel/ |
| H A D | process.c | 2 * Architecture-dependent parts of process handling. 56 pr_notice("Machine halt...\n"); in machine_halt() 74 void show_regs(struct pt_regs *regs) in show_regs() argument 80 regs->r1, regs->r2, regs->r3, regs->r4); in show_regs() 83 regs->r5, regs->r6, regs->r7, regs->r8); in show_regs() 86 regs->r9, regs->r10, regs->r11, regs->r12); in show_regs() 89 regs->r13, regs->r14, regs->r15); in show_regs() 92 regs->ra, regs->fp, regs->sp, regs->gp); in show_regs() 95 regs->ea, regs->estatus); in show_regs() 104 u64 clone_flags = args->flags; in copy_thread() [all …]
|