Home
last modified time | relevance | path

Searched +full:dbg +full:- +full:halt (Results 1 – 22 of 22) sorted by relevance

/linux/Documentation/devicetree/bindings/watchdog/
H A Datmel,sama5d4-wdt.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/watchdog/atmel,sama5d4-wdt.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Eugen Hristev <eugen.hristev@microchip.com>
13 - $ref: watchdog.yaml#
18 - enum:
19 - atmel,sama5d4-wdt
20 - microchip,sam9x60-wdt
21 - microchip,sama7g5-wdt
[all …]
H A Datmel,at91sam9-wdt.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/watchdog/atmel,at91sam9-wdt.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Eugen Hristev <eugen.hristev@microchip.com>
15 const: atmel,at91sam9260-wdt
26 atmel,max-heartbeat-sec:
32 atmel,min-heartbeat-sec:
35 must be smaller than the max-heartbeat-sec value. It is used to
39 atmel,watchdog-type:
[all …]
/linux/arch/m68k/include/asm/
H A Dmcfwdebug.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 * mcfdebug.h -- ColdFire Debug Module support.
29 #define MCFDEBUG_TDR_TRC_HALT 0x40000000 /* Processor halt on BP */
75 #define MCFDEBUG_CSR_UHE 0x00000400 /* User mode halt enable */
80 #define MCFDEBUG_CSR_NPL 0x00000040 /* Non-pipelined mode */
95 unsigned short *dbg; in wdebug() local
98 dbg = (unsigned short *)((((unsigned long)dbg_spc) + 3) & 0xfffffffc); in wdebug()
101 dbg[0] = 0x2c80 | (reg & 0xf); in wdebug()
102 dbg[1] = (data >> 16) & 0xffff; in wdebug()
103 dbg[2] = data & 0xffff; in wdebug()
[all …]
/linux/arch/powerpc/platforms/ps3/
H A Dsetup.c1 // SPDX-License-Identifier: GPL-2.0-only
29 #define DBG udbg_printf macro
31 #define DBG pr_debug macro
56 return (ps3_firmware_version.raw > x.raw) - in ps3_compare_firmware_version()
74 DBG("%s:%d cmd '%s'\n", __func__, __LINE__, cmd); in ps3_restart()
82 DBG("%s:%d\n", __func__, __LINE__); in ps3_power_off()
90 DBG(" in ps3_halt()
[all...]
/linux/drivers/usb/gadget/legacy/
H A Dinode.c1 // SPDX-License-Identifier: GPL-2.0+
3 * inode.c -- user mode filesystem api for usb gadget controllers
5 * Copyright (C) 2003-2004 David Brownell
38 #undef DBG
50 * Key parts that must be USB-specific are protocols defining how the
56 * - First, dev_config() is called when /dev/gadget/$CHIP is configured
61 * - The
251 #define DBG( global() macro
254 #define DBG( global() macro
[all...]
/linux/drivers/usb/gadget/udc/
H A Dgoku_udc.c1 // 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 …]
/linux/arch/powerpc/platforms/cell/
H A Dsetup.c1 // SPDX-License-Identifier: GPL-2.0-or-later
36 #include <asm/pci-bridge.h>
43 #include <asm/ppc-pci.h>
49 #include <asm/cell-regs.h>
50 #include <asm/io-workarounds.h>
58 #define DBG(fmt...) udbg_printf(fmt) macro
60 #define DBG(fmt...) macro
90 if (dev->bus->self != NULL || dev->devfn != 0) in cell_fixup_pcie_rootcomplex()
93 hose = pci_bus_to_host(dev->bus); in cell_fixup_pcie_rootcomplex()
98 if (!of_device_is_compatible(hose->dn, "pciex")) in cell_fixup_pcie_rootcomplex()
[all …]
/linux/drivers/watchdog/
H A Dsama5d4_wdt.c1 // 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 …]
H A Dat91sam9_wdt.c1 // SPDX-License-Identifier: GPL-2.0+
5 * Copyright (C) 2008 Renaud CERRATO r.cerrato@til-technologies.fr
41 readl_relaxed((wdt)->base + (field))
43 writel_relaxed((val), (wdt)->base + (field))
52 #define secs_to_ticks(s) ((s) ? (((s) << 8) - 1) : 0)
123 if (time_before(jiffies, wdt->next_heartbeat) || in at91_ping()
124 !watchdog_active(&wdt->wdd)) { in at91_ping()
126 mod_timer(&wdt->timer, jiffies + wdt->heartbeat); in at91_ping()
136 wdt->next_heartbeat = jiffies + wdd->timeout * HZ; in at91_wdt_start()
148 wdd->timeout = new_timeout; in at91_wdt_set_timeout()
[all …]
/linux/drivers/scsi/csiostor/
H A Dcsio_mb.c4 * Copyright (c) 2008-2012 Chelsio Communications, Inc. All rights reserved.
16 * - Redistributions of source code must retain the above
20 * - Redistributions in binary form must reproduce the above
51 * csio_mb_fw_retval - FW return value from a mailbox response.
60 hdr = (struct fw_cmd_hdr *)(mbp->mb); in csio_mb_fw_retval()
62 return FW_CMD_RETVAL_G(ntohl(hdr->lo)); in csio_mb_fw_retval()
66 * csio_mb_hello - FW HELLO command helper
80 struct fw_hello_cmd *cmdp = (struct fw_hello_cmd *)(mbp->mb); in csio_mb_hello()
84 cmdp->op_to_write = htonl(FW_CMD_OP_V(FW_HELLO_CMD) | in csio_mb_hello()
86 cmdp->retval_len16 = htonl(FW_CMD_LEN16_V(sizeof(*cmdp) / 16)); in csio_mb_hello()
[all …]
H A Dcsio_hw.c4 * Copyright (c) 2008-2012 Chelsio Communications, Inc. All rights reserved.
16 * - Redistributions of source code must retain the above
20 * - Redistributions in binary form must reproduce the above
64 {"T580-Dbg 10G", "Chelsio T580-Dbg 10G [FCoE]"},
65 {"T520-CR 10G", "Chelsio T520-CR 10G [FCoE]"},
66 {"T522-CR 10G/1G", "Chelsio T522-CR 10G/1G [FCoE]"},
67 {"T540-CR 10G", "Chelsio T540-CR 10G [FCoE]"},
68 {"T520-BCH 10G", "Chelsio T520-BCH 10G [FCoE]"},
69 {"T540-BCH 10G", "Chelsio T540-BCH 10G [FCoE]"},
70 {"T540-CH 10G", "Chelsio T540-CH 10G [FCoE]"},
[all …]
/linux/arch/mips/include/asm/
H A Dsgiarcs.h194 LONG halt; /* Halt the machine. */ member
273 #define ROMVECTOR ((struct linux_romvec *) (long)(PROMBLOCK)->romvec)
303 #define SGIPROM_ROFILE 0x01 /* read-only file */
358 unsigned long dtable_base; /* Base addr of dbg table. */
368 * Macros for calling a 32-bit ARC implementation from 64-bit code
380 long __vec = (long) romvec->dest; \
388 long __vec = (long) romvec->dest; \
397 long __vec = (long) romvec->dest; \
407 long __vec = (long) romvec->dest; \
418 long __vec = (long) romvec->dest; \
[all …]
/linux/arch/powerpc/kernel/
H A Dsmp.c1 // SPDX-License-Identifier: GPL-2.0-or-later
10 * PowerPC-64 Support added by Dave Engebretsen, Peter Bergner, and
70 #define DBG(fmt...) udbg_printf(fmt) macro
72 #define DBG(fmt...) macro
117 * On big-cores system, thread_group_l1_cache_map for each CPU corresponds to
118 * the set its siblings that share the L1-cache.
123 * On some big-cores system, thread_group_l2_cache_map for each CPU
125 * L2-cache.
150 /* Special case - we inhibit secondary thread startup in smp_generic_cpu_bootable()
169 return -EINVAL; in smp_generic_kick_cpu()
[all …]
/linux/arch/arm/boot/dts/microchip/
H A Dat91sam9260.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * at91sam9260.dtsi - Device Tree Include file for AT91SAM9260 family SoC
7 * 2011 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
10 #include <dt-bindings/pinctrl/at91.h>
11 #include <dt-bindings/interrupt-controller/irq.h>
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/clock/at91.h>
14 #include <dt-bindings/mfd/at91-usart.h>
17 #address-cells = <1>;
18 #size-cells = <1>;
[all …]
H A Dat91sam9n12.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * at91sam9n12.dtsi - Device Tree include file for AT91SAM9N12 SoC
9 #include <dt-bindings/dma/at91.h>
10 #include <dt-bindings/pinctrl/at91.h>
11 #include <dt-bindings/interrupt-controller/irq.h>
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/clock/at91.h>
14 #include <dt-bindings/mfd/at91-usart.h>
17 #address-cells = <1>;
18 #size-cells = <1>;
[all …]
H A Dat91sam9263.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
3 * at91sam9263.dtsi - Device Tree Include file for AT91SAM9263 family SoC
5 * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
8 #include <dt-bindings/pinctrl/at91.h>
9 #include <dt-bindings/interrupt-controller/irq.h>
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/clock/at91.h>
12 #include <dt-bindings/mfd/at91-usart.h>
15 #address-cells = <1>;
16 #size-cells = <1>;
[all …]
H A Dat91sam9x5.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * at91sam9x5.dtsi - Device Tree Include file for AT91SAM9x5 family SoC
11 #include <dt-bindings/dma/at91.h>
12 #include <dt-bindings/pinctrl/at91.h>
13 #include <dt-bindings/interrupt-controller/irq.h>
14 #include <dt-bindings/gpio/gpio.h>
15 #include <dt-bindings/clock/at91.h>
16 #include <dt-bindings/mfd/at91-usart.h>
19 #address-cells = <1>;
20 #size-cells = <1>;
[all …]
H A Dat91sam9g45.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * at91sam9g45.dtsi - Device Tree Include file for AT91SAM9G45 family SoC
11 #include <dt-bindings/dma/at91.h>
12 #include <dt-bindings/pinctrl/at91.h>
13 #include <dt-bindings/interrupt-controller/irq.h>
14 #include <dt-bindings/gpio/gpio.h>
15 #include <dt-bindings/clock/at91.h>
16 #include <dt-bindings/mfd/at91-usart.h>
19 #address-cells = <1>;
20 #size-cells = <1>;
[all …]
H A Dsama5d3.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * sama5d3.dtsi - Device Tree Include file for SAMA5D3 family SoC
10 #include <dt-bindings/dma/at91.h>
11 #include <dt-bindings/pinctrl/at91.h>
12 #include <dt-bindings/interrupt-controller/irq.h>
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/clock/at91.h>
15 #include <dt-bindings/mfd/at91-usart.h>
18 #address-cells = <1>;
19 #size-cells = <1>;
[all …]
/linux/virt/kvm/
H A Dkvm_main.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Kernel-based Virtual Machine (KVM) Hypervisor
74 MODULE_DESCRIPTION("Kernel-based Virtual Machine (KVM) Hypervisor");
77 /* Architectures should define their poll value according to the halt latency */
82 /* Default doubles per-vcpu halt_poll_ns. */
92 /* Default halves per-vcpu halt_poll_ns. */
107 * kvm->lock --> kvm->slots_lock --> kvm->irq_lock
132 * - Prevent a compat task from opening /dev/kvm
133 * - If the open has been done by a 64bit task, and the KVM fd
137 unsigned long arg) { return -EINVAL; } in kvm_no_compat_ioctl()
[all …]
/linux/arch/x86/kvm/
H A Dx86.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Kernel-based Virtual Machine driver for Linux
16 * Ben-Ami Yassour <benami@il.ibm.com>
48 #include <linux/user-return-notifier.h>
62 #include <linux/entry-kvm.h>
109 ((struct kvm_vcpu *)(ctxt)->vcpu)
112 * - enable syscall per default because its emulated by KVM
113 * - enable LME and LMA per default on 64 bit KVM
144 *(((struct kvm_x86_ops *)0)->func));
147 #include <asm/kvm-x86-ops.h>
[all …]
/linux/drivers/gpu/drm/msm/adreno/
H A Da5xx_gpu.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* Copyright (c) 2016-2017 The Linux Foundation. All rights reserved.
10 #include <linux/nvmem-consumer.h>
26 if (a5xx_gpu->has_whereami) { in update_shadow_rptr()
48 spin_lock_irqsave(&ring->preempt_lock, flags); in a5xx_flush()
51 ring->cur = ring->next; in a5xx_flush()
56 spin_unlock_irqrestore(&ring->preempt_lock, flags); in a5xx_flush()
62 if (a5xx_gpu->cur_ring == ring && !a5xx_in_preempt(a5xx_gpu)) in a5xx_flush()
70 struct msm_ringbuffer *ring = submit->ring; in a5xx_submit_in_rb()
75 for (i = 0; i < submit->nr_cmds; i++) { in a5xx_submit_in_rb()
[all …]