Home
last modified time | relevance | path

Searched +full:pmsg +full:- +full:size (Results 1 – 25 of 43) sorted by relevance

12

/Linux-v6.1/Documentation/admin-guide/
Dpstore-blk.rst1 .. SPDX-License-Identifier: GPL-2.0
7 ------------
10 block device and non-block device before the system crashes. You can get
13 mount -t pstore pstore /sys/fs/pstore
17 ---------------------
27 Configurations for driver are all about block device and non-block device,
31 -----------------------
51 #. /dev/<disk_name><decimal> represents the device number of partition - device
53 #. /dev/<disk_name>p<decimal> - same as the above; this form is used when disk
60 #. PARTUUID=00112233-4455-6677-8899-AABBCCDDEEFF represents the unique id of
[all …]
/Linux-v6.1/drivers/spi/
Dspi-topcliff-pch.c1 // SPDX-License-Identifier: GPL-2.0-only
79 #define MASK_SPBRR_SPBR_BITS ((1 << 10) - 1)
124 * struct pch_spi_data - Holds the SPI channel specific details
192 * struct pch_spi_board_data - Holds the SPI device specific details
218 * pch_spi_writereg() - Performs register writes
226 iowrite32(val, (data->io_remap_addr + idx)); in pch_spi_writereg()
230 * pch_spi_readreg() - Performs register reads
237 return ioread32(data->io_remap_addr + idx); in pch_spi_readreg()
254 * pch_spi_clear_fifo() - Clears the Transmit and Receive FIFOs
277 if (data->transfer_active) { in pch_spi_handler_sub()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/reserved-memory/
Dramoops.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: "http://devicetree.org/schemas/reserved-memory/ramoops.yaml#"
5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
11 recovered after a reboot. This is a child-node of "/reserved-memory", and
16 as kernel log messages, or for optional ECC error-correction data. The total
17 size of these optional buffers must fit in the reserved region.
20 records. These records have a configurable size, with a size of 0 indicating
23 At least one of "record-size", "console-size", "ftrace-size", or "pmsg-size"
24 must be set non-zero, but are otherwise optional as listed below.
[all …]
/Linux-v6.1/drivers/i2c/busses/
Di2c-brcmstb.c1 // SPDX-License-Identifier: GPL-2.0-only
20 * size. Cable modem and DSL SoCs with Peripheral i2c cores use 1 byte per
175 __bsc_readl(_dev->base + offsetof(struct bsc_regs, _reg))
178 __bsc_writel(_val, _dev->base + offsetof(struct bsc_regs, _reg))
182 return (N_DATA_REGS * dev->data_regsz); in brcmstb_i2c_get_xfersz()
187 return dev->data_regsz; in brcmstb_i2c_get_data_regsz()
196 dev->bsc_regmap->ctl_reg |= BSC_CTL_REG_INT_EN_MASK; in brcmstb_i2c_enable_disable_irq()
199 dev->bsc_regmap->ctl_reg &= ~BSC_CTL_REG_INT_EN_MASK; in brcmstb_i2c_enable_disable_irq()
202 bsc_writel(dev, dev->bsc_regmap->ctl_reg, ctl_reg); in brcmstb_i2c_enable_disable_irq()
211 dev_dbg(dev->device, "isr CTL_REG %x IIC_EN %x\n", in brcmstb_i2c_isr()
[all …]
Di2c-octeon-core.c2 * (C) Copyright 2009-2010
5 * Portions Copyright (C) 2010 - 2016 Cavium, Inc.
21 #include "i2c-octeon-core.h"
28 i2c->int_disable(i2c); in octeon_i2c_isr()
29 wake_up(&i2c->queue); in octeon_i2c_isr()
40 * octeon_i2c_wait - wait for the IFLG to be set
53 if (i2c->broken_irq_mode) { in octeon_i2c_wait()
54 u64 end = get_jiffies_64() + i2c->adap.timeout; in octeon_i2c_wait()
60 return octeon_i2c_test_iflg(i2c) ? 0 : -ETIMEDOUT; in octeon_i2c_wait()
63 i2c->int_enable(i2c); in octeon_i2c_wait()
[all …]
/Linux-v6.1/net/sunrpc/xprtrdma/
Dverbs.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 * Copyright (c) 2014-2017 Oracle. All rights reserved.
4 * Copyright (c) 2003-2007 Network Appliance, Inc. All rights reserved.
9 * COPYING in the main directory of this source tree, or the BSD-type
58 #include <asm-generic/barrier.h>
79 rpcrdma_regbuf_alloc(size_t size, enum dma_data_direction direction);
89 struct rpcrdma_ep *ep = r_xprt->rx_ep; in rpcrdma_xprt_drain()
90 struct rdma_cm_id *id = ep->re_id; in rpcrdma_xprt_drain()
95 if (atomic_inc_return(&ep->re_receiving) > 1) in rpcrdma_xprt_drain()
96 wait_for_completion(&ep->re_done); in rpcrdma_xprt_drain()
[all …]
/Linux-v6.1/fs/pstore/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
22 Defines default size of pstore kernel log storage.
132 data can be retrieved from /sys/fs/pstore/pmsg-ramoops-[ID].
163 For more information, see Documentation/admin-guide/ramoops.rst.
182 For more information, see Documentation/admin-guide/pstore-blk.rst
198 of partition - device number of disk plus the partition number
199 4) /dev/<disk_name>p<decimal> - same as the above, this form is
201 5) PARTUUID=00112233-4455-6677-8899-AABBCCDDEEFF representing the
204 partition using the format SSSSSSSS-PP, where SSSSSSSS is a zero-
205 filled hex representation of the 32-bit "NT disk signature", and PP
[all …]
Dpmsg.c1 // SPDX-License-Identifier: GPL-2.0-only
25 record.size = count; in write_pmsg()
29 return -EFAULT; in write_pmsg()
32 ret = psinfo->write_user(&record, buf); in write_pmsg()
45 #define PMSG_NAME "pmsg"
71 pmsg_class->devnode = pmsg_devnode; in pstore_register_pmsg()
Dram.c1 // SPDX-License-Identifier: GPL-2.0-only
32 "size of each dump done on oops/panic");
36 MODULE_PARM_DESC(console_size, "size of kernel console log");
40 MODULE_PARM_DESC(ftrace_size, "size of ftrace log");
44 MODULE_PARM_DESC(pmsg_size, "size of user space message log");
54 "size of reserved RAM used to store oops/panic logs");
59 "memory type: 0=write-combined (default), 1=unbuffered, 2=cached");
61 static int ramoops_max_reason = -1;
69 "if non-zero, the option enables ECC support and specifies "
70 "ECC buffer size in bytes (1 is a special value, means 16 "
[all …]
Dzone.c1 // SPDX-License-Identifier: GPL-2.0
26 * struct psz_buffer - header of zone to flush to storage
28 * @sig: signature to indicate header (PSZ_SIG xor PSZONE-type value)
42 * struct psz_kmsg_header - kmsg dump-specific header to flush to storage
51 * This is a sub-header for a kmsg dump, trailing after &psz_buffer.
64 * struct pstore_zone - single stored buffer
67 * @type: front-end type for this zone
68 * @name: front-end name for this zone
71 * @buffer_size: bytes in @buffer->data
90 * struct psz_context - all about running state of pstore/zone
[all …]
Dblk.c1 // SPDX-License-Identifier: GPL-2.0
3 * Implements pstore backend driver that write to block (or non-block) storage
24 MODULE_PARM_DESC(kmsg_size, "kmsg dump record size in kbytes");
34 static long pmsg_size = -1;
37 MODULE_PARM_DESC(pmsg_size, "pmsg size in kbytes");
42 static long console_size = -1;
45 MODULE_PARM_DESC(console_size, "console size in kbytes");
50 static long ftrace_size = -1;
53 MODULE_PARM_DESC(ftrace_size, "ftrace size in kbytes");
60 * blkdev - the block device to use for pstore storage
[all …]
/Linux-v6.1/drivers/net/ethernet/marvell/octeontx2/af/
Dmbox.c1 // SPDX-License-Identifier: GPL-2.0
20 struct otx2_mbox_dev *mdev = &mbox->dev[devid]; in __otx2_mbox_reset()
22 void *hw_mbase = mdev->hwbase; in __otx2_mbox_reset()
24 tx_hdr = hw_mbase + mbox->tx_start; in __otx2_mbox_reset()
25 rx_hdr = hw_mbase + mbox->rx_start; in __otx2_mbox_reset()
27 mdev->msg_size = 0; in __otx2_mbox_reset()
28 mdev->rsp_size = 0; in __otx2_mbox_reset()
29 tx_hdr->num_msgs = 0; in __otx2_mbox_reset()
30 tx_hdr->msg_size = 0; in __otx2_mbox_reset()
31 rx_hdr->num_msgs = 0; in __otx2_mbox_reset()
[all …]
/Linux-v6.1/net/netfilter/
Dnfnetlink_log.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * (C) 2006-2012 Patrick McHardy <kaber@trash.net>
9 * Based on the old ipv4-only ipt_ULOG.c:
10 * (C) 2000-2004 by Harald Welte <laforge@netfilter.org>
54 /* max packet size is limited by 16-bit struct nfattr nfa_len field */
55 #define NFULNL_COPY_RANGE_MAX (0xFFFF - NLA_HDRLEN)
66 struct sk_buff *skb; /* pre-allocatd skb */
75 unsigned int nlbufsiz; /* netlink buffer allocation size */
78 u_int32_t seq; /* instance-local sequential counter */
111 head = &log->instance_table[instance_hashfn(group_num)]; in __instance_lookup()
[all …]
Dnfnetlink_queue.c1 // SPDX-License-Identifier: GPL-2.0-only
9 * Based on the old ipv4-only ip_queue.c:
10 * (C) 2000-2002 James Morris <jmorris@intercode.com.au>
11 * (C) 2003-2005 Netfilter Core Team <coreteam@netfilter.org>
55 #define NFQNL_MAX_COPY_RANGE (0xffff - NLA_HDRLEN)
107 head = &q->instance_table[instance_hashfn(queue_num)]; in instance_lookup()
109 if (inst->queue_num == queue_num) in instance_lookup()
122 spin_lock(&q->instances_lock); in instance_create()
124 err = -EEXIST; in instance_create()
130 err = -ENOMEM; in instance_create()
[all …]
/Linux-v6.1/include/linux/
Dpstore_blk.h1 /* SPDX-License-Identifier: GPL-2.0 */
11 * struct pstore_device_info - back-end pstore/blk driver structure.
14 * linux/pstore.h. It means what front-ends this device support.
28 * struct pstore_blk_config - the pstore_blk backend configuration
32 * @kmsg_size: Total size of for kmsg dumps
33 * @pmsg_size: Total size of the pmsg storage area
34 * @console_size: Total size of the console storage area
35 * @ftrace_size: Total size for ftrace logging data (for all CPUs)
47 * pstore_blk_get_config - get a copy of the pstore_blk backend configuration
Dpstore_zone.h1 /* SPDX-License-Identifier: GPL-2.0 */
12 * struct pstore_zone_info - pstore/zone back-end driver structure
14 * @owner: Module which is responsible for this back-end driver.
15 * @name: Name of the back-end driver.
16 * @total_size: The total size in bytes pstore/zone can use. It must be greater
18 * @kmsg_size: The size of oops/panic zone. Zero means disabled, otherwise,
21 * @pmsg_size: The size of pmsg zone which is the same as @kmsg_size.
22 * @console_size:The size of console zone which is the same as @kmsg_size.
23 * @ftrace_size:The size of ftrace zone which is the same as @kmsg_size.
25 * @size and @offset are relative value to storage.
[all …]
/Linux-v6.1/drivers/hid/intel-ish-hid/ishtp/
Dclient.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 2003-2016, Intel Corporation.
12 #include <linux/dma-mapping.h>
20 int size; in ishtp_cl_get_tx_free_buffer_size() local
22 spin_lock_irqsave(&cl->tx_free_list_spinlock, tx_free_flags); in ishtp_cl_get_tx_free_buffer_size()
23 size = cl->tx_ring_free_size * cl->device->fw_client->props.max_msg_length; in ishtp_cl_get_tx_free_buffer_size()
24 spin_unlock_irqrestore(&cl->tx_free_list_spinlock, tx_free_flags); in ishtp_cl_get_tx_free_buffer_size()
26 return size; in ishtp_cl_get_tx_free_buffer_size()
32 return cl->tx_ring_free_size; in ishtp_cl_get_tx_free_rings()
37 * ishtp_read_list_flush() - Flush read queue
[all …]
/Linux-v6.1/arch/arm64/boot/dts/qcom/
Dmsm8992-lg-bullhead.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
7 /dts-v1/;
14 /delete-node/ &cont_splash_mem;
19 chassis-type = "handset";
21 qcom,msm-id = <251 0>, <252 0>;
22 qcom,pmic-id = <0x10009 0x1000A 0x0 0x0>;
25 /delete-node/ psci;
32 stdout-path = "serial0:115200n8";
35 reserved-memory {
36 #address-cells = <2>;
[all …]
Dmsm8992-xiaomi-libra.dts1 // SPDX-License-Identifier: BSD-3-Clause
6 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/gpio-keys.h>
17 chassis-type = "handset";
20 qcom,msm-id = <251 0>, <252 0>;
21 qcom,pmic-id = <65545 65546 0 0>;
22 qcom,board-id = <12 0>;
24 /* This enables graphical output via bootloader-enabled display */
28 #address-cells = <2>;
[all …]
Dsdm660-xiaomi-lavender.dts1 // SPDX-License-Identifier: GPL-2.0-only
7 /dts-v1/;
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/input/gpio-keys.h>
18 chassis-type = "handset";
25 #address-cells = <2>;
26 #size-cells = <2>;
29 stdout-path = "serial0:115200n8";
32 compatible = "simple-framebuffer";
41 vph_pwr: vph-pwr-regulator {
[all …]
Dsdm845-sony-xperia-tama.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
14 qcom,msm-id = <321 0x20001>; /* SDM845 v2.1 */
15 qcom,board-id = <8 0>;
17 gpio-keys {
18 compatible = "gpio-keys";
22 key-vol-down {
26 debounce-interval = <15>;
27 gpio-key,wakeup;
[all …]
Dmsm8994-sony-xperia-kitakami.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/input/gpio-keys.h>
18 * and requires driver-side changes (including CPR, be warned!!).
21 qcom,msm-id = <207 0x20000>, <207 0x20001>;
23 qcom,pmic-id = <0x10009 0x1000a 0x00 0x00>;
25 qcom,board-id = <8 0>;
28 /delete-node/ psci;
30 gpio-keys {
31 compatible = "gpio-keys";
[all …]
Dmsm8998-oneplus-common.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
3 * OnePlus 5(T) (cheeseburger / dumpling) common device tree source based on msm8998-mtp.dtsi
9 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
20 qcom,msm-id = <292 0x20001>; /* 8998 v2.1 */
23 #address-cells = <2>;
24 #size-cells = <2>;
29 compatible = "simple-framebuffer";
47 power-domains = <&mmcc MDSS_GDSC>;
[all …]
/Linux-v6.1/arch/arm/boot/dts/
Dqcom-msm8974-sony-xperia-rhine.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include "qcom-msm8974.dtsi"
3 #include "qcom-pm8841.dtsi"
4 #include "qcom-pm8941.dtsi"
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/leds/common.h>
7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
15 stdout-path = "serial0:115200n8";
18 gpio-keys {
19 compatible = "gpio-keys";
[all …]
/Linux-v6.1/drivers/staging/fieldbus/anybuss/
Dhost.c1 // SPDX-License-Identifier: GPL-2.0
3 * HMS Anybus-S Host Driver
11 * This driver (running on the CPU/SoC) and the Anybus-S card communicate
12 * by reading and writing data to/from the Anybus-S Dual-Port RAM (dpram).
13 * This is memory connected to both the SoC and Anybus-S card, which both sides
38 * b) a continuously-running task handling area requests (1 above)
39 * c) a continuously-running task handling mailbox requests (2 above)
44 * - create an isr which updates shared variables;
45 * - create a work_struct which handles software interrupts on a queue;
46 * - create a function which does reserve/update/unlock in a loop;
[all …]

12