Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/drivers/spi/
Dspi-topcliff-pch.c1 // SPDX-License-Identifier: GPL-2.0-only
79 #define MASK_SPBRR_SPBR_BITS ((1 << 10) - 1)
123 * struct pch_spi_data - Holds the SPI channel specific details
191 * struct pch_spi_board_data - Holds the SPI device specific details
217 * pch_spi_writereg() - Performs register writes
225 iowrite32(val, (data->io_remap_addr + idx)); in pch_spi_writereg()
229 * pch_spi_readreg() - Performs register reads
236 return ioread32(data->io_remap_addr + idx); in pch_spi_readreg()
253 * pch_spi_clear_fifo() - Clears the Transmit and Receive FIFOs
276 if (data->transfer_active) { in pch_spi_handler_sub()
[all …]
/kernel/linux/linux-5.10/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 -----------------------
53 #. /dev/<disk_name><decimal> represents the device number of partition - device
55 #. /dev/<disk_name>p<decimal> - same as the above; this form is used when disk
57 #. PARTUUID=00112233-4455-6677-8899-AABBCCDDEEFF represents the unique id of
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-brcmstb.c31 * size. Cable modem and DSL SoCs with Peripheral i2c cores use 1 byte per
186 __bsc_readl(_dev->base + offsetof(struct bsc_regs, _reg))
189 __bsc_writel(_val, _dev->base + offsetof(struct bsc_regs, _reg))
193 return (N_DATA_REGS * dev->data_regsz); in brcmstb_i2c_get_xfersz()
198 return dev->data_regsz; in brcmstb_i2c_get_data_regsz()
207 dev->bsc_regmap->ctl_reg |= BSC_CTL_REG_INT_EN_MASK; in brcmstb_i2c_enable_disable_irq()
210 dev->bsc_regmap->ctl_reg &= ~BSC_CTL_REG_INT_EN_MASK; in brcmstb_i2c_enable_disable_irq()
213 bsc_writel(dev, dev->bsc_regmap->ctl_reg, ctl_reg); in brcmstb_i2c_enable_disable_irq()
222 dev_dbg(dev->device, "isr CTL_REG %x IIC_EN %x\n", in brcmstb_i2c_isr()
229 complete(&dev->done); 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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/reserved-memory/
Dramoops.txt5 recovered after a reboot. This is a child-node of "/reserved-memory", and
10 as kernel log messages, or for optional ECC error-correction data. The total
11 size of these optional buffers must fit in the reserved region.
14 records. These records have a configurable size, with a size of 0 indicating
17 At least one of "record-size", "console-size", "ftrace-size", or "pmsg-size"
18 must be set non-zero, but are otherwise optional as listed below.
23 - compatible: must be "ramoops"
25 - reg: region of memory that is preserved between reboots
30 - ecc-size: enables ECC support and specifies ECC buffer size in bytes
33 - record-size: maximum size in bytes of each kmsg dump.
[all …]
/kernel/linux/linux-6.6/kernel/printk/
Dprintk.c1 // SPDX-License-Identifier: GPL-2.0-only
84 * console_mutex protects console_list updates and console->flags updates.
91 * console_sem protects updates to console->seq
153 return -EINVAL; in __control_devkmsg()
173 return -EINVAL; in __control_devkmsg()
215 return -EINVAL; in devkmsg_sysctl_set_loglvl()
238 return -EINVAL; in devkmsg_sysctl_set_loglvl()
247 * console_list_lock - Lock the console list
249 * For console list or console->flags updates
259 * Detecting if this context is really in the read-side critical in console_list_lock()
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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>
90 rpcrdma_regbuf_alloc(size_t size, enum dma_data_direction direction,
101 struct rpcrdma_ep *ep = r_xprt->rx_ep; in rpcrdma_xprt_drain()
102 struct rdma_cm_id *id = ep->re_id; in rpcrdma_xprt_drain()
107 ib_drain_rq(id->qp); in rpcrdma_xprt_drain()
112 ib_drain_sq(id->qp); in rpcrdma_xprt_drain()
[all …]
/kernel/linux/linux-6.6/fs/pstore/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
31 Defines default size of pstore kernel log storage.
81 data can be retrieved from /sys/fs/pstore/pmsg-ramoops-[ID].
124 For more information, see Documentation/admin-guide/ramoops.rst.
143 For more information, see Documentation/admin-guide/pstore-blk.rst
159 of partition - device number of disk plus the partition number
160 4) /dev/<disk_name>p<decimal> - same as the above, this form is
162 5) PARTUUID=00112233-4455-6677-8899-AABBCCDDEEFF representing the
165 partition using the format SSSSSSSS-PP, where SSSSSSSS is a zero-
166 filled hex representation of the 32-bit "NT disk signature", and PP
[all …]
Dram.c1 // SPDX-License-Identifier: GPL-2.0-only
34 "size of each dump done on oops/panic");
38 MODULE_PARM_DESC(console_size, "size of kernel console log");
42 MODULE_PARM_DESC(ftrace_size, "size of ftrace log");
46 MODULE_PARM_DESC(pmsg_size, "size of user space message log");
50 MODULE_PARM_DESC(blackbox_size, "size of blackbox log");
64 "size of reserved RAM used to store oops/panic logs");
69 "memory type: 0=write-combined (default), 1=unbuffered, 2=cached");
71 static int ramoops_max_reason = -1;
79 "if non-zero, the option enables ECC support and specifies "
[all …]
/kernel/linux/linux-5.10/fs/pstore/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
125 data can be retrieved from /sys/fs/pstore/pmsg-ramoops-[ID].
168 For more information, see Documentation/admin-guide/ramoops.rst.
188 For more information, see Documentation/admin-guide/pstore-blk.rst
204 of partition - device number of disk plus the partition number
205 4) /dev/<disk_name>p<decimal> - same as the above, this form is
207 5) PARTUUID=00112233-4455-6677-8899-AABBCCDDEEFF representing the
210 partition using the format SSSSSSSS-PP, where SSSSSSSS is a zero-
211 filled hex representation of the 32-bit "NT disk signature", and PP
212 is a zero-filled hex representation of the 1-based partition number.
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/af/
Dmbox.c1 // SPDX-License-Identifier: GPL-2.0
23 void *hw_mbase = mbox->hwbase + (devid * MBOX_SIZE); in __otx2_mbox_reset()
24 struct otx2_mbox_dev *mdev = &mbox->dev[devid]; in __otx2_mbox_reset()
27 tx_hdr = hw_mbase + mbox->tx_start; in __otx2_mbox_reset()
28 rx_hdr = hw_mbase + mbox->rx_start; in __otx2_mbox_reset()
30 mdev->msg_size = 0; in __otx2_mbox_reset()
31 mdev->rsp_size = 0; in __otx2_mbox_reset()
32 tx_hdr->num_msgs = 0; in __otx2_mbox_reset()
33 tx_hdr->msg_size = 0; in __otx2_mbox_reset()
34 rx_hdr->num_msgs = 0; in __otx2_mbox_reset()
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/qcom/
Dsdm660-xiaomi-lavender.dts1 // SPDX-License-Identifier: GPL-2.0-only
6 /dts-v1/;
19 stdout-path = "serial0:115200n8";
22 reserved-memory {
23 #address-cells = <2>;
24 #size-cells = <2>;
30 console-size = <0x20000>;
31 record-size = <0x20000>;
32 ftrace-size = <0x0>;
33 pmsg-size = <0x20000>;
[all …]
Dsdm630-sony-xperia-nile.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
6 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/input/gpio-keys.h>
17 qcom,msm-id = <318 0>;
18 qcom,board-id = <8 1>;
19 qcom,pmic-id = <0x1001b 0x101011a 0x00 0x00 0x1001b 0x201011a 0x00 0x00>;
21 /* This part enables graphical output via bootloader-enabled display */
25 #address-cells = <2>;
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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>
50 /* max packet size is limited by 16-bit struct nfattr nfa_len field */
51 #define NFULNL_COPY_RANGE_MAX (0xFFFF - NLA_HDRLEN)
62 struct sk_buff *skb; /* pre-allocatd skb */
70 unsigned int nlbufsiz; /* netlink buffer allocation size */
73 u_int32_t seq; /* instance-local sequential counter */
106 head = &log->instance_table[instance_hashfn(group_num)]; in __instance_lookup()
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/include/linux/
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.
24 * @blackbox_size:The size of blackbox zone which is the same as @kmsg_size.
[all …]

1234