Home
last modified time | relevance | path

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

12

/linux-6.12.1/Documentation/devicetree/bindings/watchdog/
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 …]
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-6.12.1/arch/m68k/include/asm/
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-6.12.1/drivers/usb/gadget/udc/
Dsnps_udc_core.c1 // 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 …]
Dpxa25x_udc.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Intel PXA25x and IXP4xx on-chip full speed USB device controllers
30 #include <linux/dma-mapping.h>
40 #include <asm/mach-types.h>
48 #define UDC_RES1 0x0004 /* UDC Undocumented - Reserved1 */
49 #define UDC_RES2 0x0008 /* UDC Undocumented - Reserved2 */
50 #define UDC_RES3 0x000C /* UDC Undocumented - Reserved3 */
211 * not used here. IN-DMA (to host) is simple enough, when the data is
213 * other software can. OUT-DMA is buggy in most chip versions, as well
215 * bother using DMA. (Mostly-working IN-DMA support was available in
[all …]
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 …]
Datmel_usba_udc.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2005-2007 Atmel Corporation
15 #include <linux/dma-mapping.h>
39 struct usba_ep *ep = inode->i_private; in queue_dbg_open()
45 return -ENOMEM; in queue_dbg_open()
48 spin_lock_irq(&ep->udc->lock); in queue_dbg_open()
49 list_for_each_entry(req, &ep->queue, queue) { in queue_dbg_open()
53 list_add_tail(&req_copy->queue, queue_data); in queue_dbg_open()
55 spin_unlock_irq(&ep->udc->lock); in queue_dbg_open()
57 file->private_data = queue_data; in queue_dbg_open()
[all …]
Domap_udc.c1 // SPDX-License-Identifier: GPL-2.0+
3 * omap_udc.c -- for OMAP full speed udc; most chips support OTG.
6 * Copyright (C) 2004-2005 David Brownell
31 #include <linux/dma-mapping.h>
40 #include <asm/mach-types.h>
42 #include <linux/omap-dma.h>
43 #include <linux/platform_data/usb-omap1.h>
45 #include <linux/soc/ti/omap1-usb.h>
46 #include <linux/soc/ti/omap1-soc.h>
47 #include <linux/soc/ti/omap1-io.h>
[all …]
Dat91_udc.c1 // SPDX-License-Identifier: GPL-2.0+
3 * at91_udc -- driver for at91-series USB peripheral controller
32 #include <linux/mfd/syscon/atmel-matrix.h>
38 * This controller is simple and PIO-only. It's used in many AT91-series
40 * at91sam926x (arm926ejs, with MMU), and several no-mmu versions.
75 EP_INFO("ep3-int",
90 __raw_readl((udc)->udp_baseaddr + (reg))
92 __raw_writel((val), (udc)->udp_baseaddr + (reg))
94 /*-------------------------------------------------------------------------*/
108 "control", "out-iso", "out-bulk", "out-int", in proc_ep_show()
[all …]
/linux-6.12.1/arch/powerpc/platforms/ps3/
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("%s:%d\n", __func__, __LINE__); in ps3_halt()
98 DBG("%s:%d %s\n", __func__, __LINE__, str); in ps3_panic()
115 if (!p->size) in prealloc()
118 p->address = memblock_alloc(p->size, p->align); in prealloc()
[all …]
/linux-6.12.1/arch/arc/kernel/
Dmcip.c1 // SPDX-License-Identifier: GPL-2.0-only
13 #include <asm/irqflags-arcv2.h>
23 * Set mask to halt GFRC if any online core in SMP cluster is halted.
70 * Parameter specified halt cause: in mcip_update_debug_halt_mask()
71 * STATUS32[H]/actionpoint/breakpoint/self-halt in mcip_update_debug_halt_mask()
88 /* Update GFRC halt mask as new CPU came online */ in mcip_setup_per_cpu()
93 if (mp.dbg) in mcip_setup_per_cpu()
166 IS_AVAIL1(mp.dbg, "DEBUG "), in mcip_probe_n_setup()
184 * -dynamic routing (IRQ affinity)
185 * -load balancing (Round Robin interrupt distribution)
[all …]
/linux-6.12.1/drivers/usb/gadget/legacy/
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
37 #undef DBG
49 * Key parts that must be USB-specific are protocols defining how the
55 * - First, dev_config() is called when /dev/gadget/$CHIP is configured
60 * - Then, after a SET_CONFIGURATION control request, ep_config() is
63 * IN data or to read() OUT data. To halt the endpoint, a "wrong
85 /*----------------------------------------------------------------------*/
102 * - (UN)CONNECTED: read usb_gadgetfs_event(s) from it
[all …]
/linux-6.12.1/arch/powerpc/platforms/maple/
Dsetup.c1 // SPDX-License-Identifier: GPL-2.0-or-later
47 #include <asm/pci-bridge.h>
61 #define DBG(fmt...) udbg_printf(fmt) macro
63 #define DBG(fmt...) macro
103 sp = of_find_node_by_name(NULL, "service-processor"); in maple_restart()
108 maple_nvram_offset = of_get_property(sp, "restart-addr", NULL); in maple_restart()
109 maple_nvram_command = of_get_property(sp, "restart-value", NULL); in maple_restart()
131 sp = of_find_node_by_name(NULL, "service-processor"); in maple_power_off()
136 maple_nvram_offset = of_get_property(sp, "power-off-addr", NULL); in maple_power_off()
137 maple_nvram_command = of_get_property(sp, "power-off-value", NULL); in maple_power_off()
[all …]
/linux-6.12.1/arch/powerpc/kernel/
Dsetup-common.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Common boot and setup code for both 32-bit and 64-bit.
74 #define DBG(fmt...) udbg_printf(fmt) macro
76 #define DBG(fmt...) macro
79 /* The main machine-dep calls structure
86 int boot_cpuid = -1;
88 int __initdata boot_core_hwid = -1;
91 int boot_cpu_hwid = -1;
115 int crashing_cpu = -1;
177 if (ppc_md.halt) in machine_halt()
[all …]
Dsmp.c1 // SPDX-License-Identifier: GPL-2.0-or-later
10 * PowerPC-64 Support added by Dave Engebretsen, Peter Bergner, and
69 #define DBG(fmt...) udbg_printf(fmt) macro
71 #define DBG(fmt...) macro
116 * On big-cores system, thread_group_l1_cache_map for each CPU corresponds to
117 * the set its siblings that share the L1-cache.
122 * On some big-cores system, thread_group_l2_cache_map for each CPU
124 * L2-cache.
149 /* Special case - we inhibit secondary thread startup in smp_generic_cpu_bootable()
168 return -EINVAL; in smp_generic_kick_cpu()
[all …]
/linux-6.12.1/drivers/usb/gadget/function/
Df_mass_storage.c1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * f_mass_storage.c -- Mass Storage USB Composite Function
5 * Copyright (C) 2003-2008 Alan Stern
13 * appearing to the host as a disk drive or as a CD-ROM drive. In
16 * double-buffering for increased throughput.
20 * <Documentation/usb/mass-storage.rst> file.
34 * ->filename The path to the backing file for the LUN.
37 * ->ro Flag specifying access to the LUN shall be
38 * read-only. This is implied if CD-ROM
42 * ->removable Flag specifying that LUN shall be indicated as
[all …]
/linux-6.12.1/arch/powerpc/platforms/cell/
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-6.12.1/drivers/watchdog/
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 …]
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-6.12.1/drivers/scsi/csiostor/
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 …]
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-6.12.1/drivers/gpu/drm/msm/adreno/
Da2xx_gpu.c1 // SPDX-License-Identifier: GPL-2.0
15 struct msm_ringbuffer *ring = submit->ring; in a2xx_submit()
18 for (i = 0; i < submit->nr_cmds; i++) { in a2xx_submit()
19 switch (submit->cmd[i].type) { in a2xx_submit()
21 /* ignore IB-targets */ in a2xx_submit()
25 if (gpu->cur_ctx_seqno == submit->queue->ctx->seqno) in a2xx_submit()
30 OUT_RING(ring, lower_32_bits(submit->cmd[i].iova)); in a2xx_submit()
31 OUT_RING(ring, submit->cmd[i].size); in a2xx_submit()
38 OUT_RING(ring, submit->seqno); in a2xx_submit()
47 OUT_RING(ring, submit->seqno); in a2xx_submit()
[all …]
/linux-6.12.1/arch/mips/include/asm/
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-6.12.1/drivers/net/wireless/intel/iwlwifi/
Diwl-csr.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright (C) 2005-2014, 2018-2024 Intel Corporation
4 * Copyright (C) 2013-2014 Intel Mobile Communications GmbH
14 * low power states due to driver-invoked device resets
15 * (e.g. CSR_RESET_REG_FLAG_SW_RESET) or uCode-driven power-saving modes.
30 #define CSR_INT_COALESCING (CSR_BASE+0x004) /* accum ints, 32-usec units */
37 #define CSR_FUNC_SCRATCH (CSR_BASE+0x02c) /* Scratch register - used for FW dbg */
45 * 31-16: Reserved
46 * 15-4: Type of device: see CSR_HW_REV_TYPE_xxx definitions
47 * 3-2: Revision step: 0 = A, 1 = B, 2 = C, 3 = D
[all …]
/linux-6.12.1/arch/arm/boot/dts/microchip/
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 …]

12