/Linux-v6.6/Documentation/admin-guide/ |
D | pstore-blk.rst | 1 .. 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.6/drivers/spi/ |
D | spi-topcliff-pch.c | 1 // 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.6/Documentation/devicetree/bindings/reserved-memory/ |
D | ramoops.yaml | 1 # 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.6/drivers/i2c/busses/ |
D | i2c-brcmstb.c | 1 // 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 …]
|
D | i2c-octeon-core.c | 2 * (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.6/net/sunrpc/xprtrdma/ |
D | verbs.c | 1 // 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.6/kernel/printk/ |
D | printk.c | 1 // 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 …]
|
/Linux-v6.6/fs/pstore/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 21 Defines default size of pstore kernel log storage. 51 data can be retrieved from /sys/fs/pstore/pmsg-ramoops-[ID]. 82 For more information, see Documentation/admin-guide/ramoops.rst. 101 For more information, see Documentation/admin-guide/pstore-blk.rst 117 of partition - device number of disk plus the partition number 118 4) /dev/<disk_name>p<decimal> - same as the above, this form is 120 5) PARTUUID=00112233-4455-6677-8899-AABBCCDDEEFF representing the 123 partition using the format SSSSSSSS-PP, where SSSSSSSS is a zero- 124 filled hex representation of the 32-bit "NT disk signature", and PP [all …]
|
D | ram.c | 1 // 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"); 56 "size of reserved RAM used to store oops/panic logs"); 61 "memory type: 0=write-combined (default), 1=unbuffered, 2=cached"); 63 static int ramoops_max_reason = -1; 71 "if non-zero, the option enables ECC support and specifies " 72 "ECC buffer size in bytes (1 is a special value, means 16 " [all …]
|
D | pmsg.c | 1 // 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()
|
D | zone.c | 1 // 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 …]
|
/Linux-v6.6/drivers/net/ethernet/marvell/octeontx2/af/ |
D | mbox.c | 1 // 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.6/net/netfilter/ |
D | nfnetlink_log.c | 1 // 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 …]
|
D | nfnetlink_queue.c | 1 // 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> 32 #include <linux/cgroup-defs.h> 57 #define NFQNL_MAX_COPY_RANGE (0xffff - NLA_HDRLEN) 109 head = &q->instance_table[instance_hashfn(queue_num)]; in instance_lookup() 111 if (inst->queue_num == queue_num) in instance_lookup() 124 spin_lock(&q->instances_lock); in instance_create() 126 err = -EEXIST; in instance_create() [all …]
|
/Linux-v6.6/include/linux/ |
D | pstore_blk.h | 1 /* 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
|
D | pstore_zone.h | 1 /* 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.6/drivers/hid/intel-ish-hid/ishtp/ |
D | client.c | 1 // 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.6/arch/arm64/boot/dts/qcom/ |
D | sm4250-oneplus-billie2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 6 /dts-v1/; 15 qcom,msm-id = <0x1a1 0x10000 0x1bc 0x10000>; 16 qcom,board-id = <0x1000b 0x00>; 22 #address-cells = <2>; 23 #size-cells = <2>; 26 stdout-path = "framebuffer0"; 29 compatible = "simple-framebuffer"; 42 no-map; 48 record-size = <0x40000>; [all …]
|
D | sdm632-motorola-ocean.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 5 /dts-v1/; 9 #include <dt-bindings/leds/common.h> 11 /delete-node/ &cont_splash_mem; 12 /delete-node/ &qseecom_mem; 17 chassis-type = "handset"; 18 qcom,msm-id = <349 0>; 19 qcom,board-id = <0x141 0xc100>; 20 qcom,pmic-id = <0x10016 0x25 0x00 0x00>; 23 compatible = "led-backlight"; [all …]
|
D | msm8953-xiaomi-tissot.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 11 #include <dt-bindings/leds/common.h> 13 /delete-node/ &adsp_fw_mem; 14 /delete-node/ &qseecom_mem; 15 /delete-node/ &wcnss_fw_mem; 20 chassis-type = "handset"; 21 qcom,msm-id = <293 0>; 22 qcom,board-id = <0x1000b 0x00>; 24 gpio-keys { [all …]
|
D | msm8956-sony-xperia-loire.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 3 * Copyright (c) 2016-2022, AngeloGioacchino Del Regno 16 qcom,msm-id = <266 0x10001>; /* MSM8956 v1.1 */ 17 qcom,board-id = <8 0>; 27 stdout-path = "serial0:115200n8"; 30 reserved-memory { 31 cont-splash@83000000 { 38 record-size = <0x20000>; 39 console-size = <0x40000>; 40 ftrace-size = <0x20000>; [all …]
|
D | msm8992-lg-bullhead.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 2021-2022, Petr Vorel <petr.vorel@gmail.com> 9 /dts-v1/; 16 /delete-node/ &cont_splash_mem; 19 /delete-node/ &dfps_data_mem; 24 chassis-type = "handset"; 26 qcom,msm-id = <251 0>, <252 0>; 27 qcom,pmic-id = <0x10009 0x1000A 0x0 0x0>; 30 /delete-node/ psci; 37 stdout-path = "serial0:115200n8"; [all …]
|
D | msm8953-motorola-potter.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 5 /dts-v1/; 11 /delete-node/ &cont_splash_mem; 12 /delete-node/ &qseecom_mem; 17 chassis-type = "handset"; 18 qcom,msm-id = <293 0>; 19 qcom,board-id = <0x46 0x83a0>; 22 #address-cells = <2>; 23 #size-cells = <2>; 27 compatible = "simple-framebuffer"; [all …]
|
D | msm8953-xiaomi-vince.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 11 #include <dt-bindings/leds/common.h> 13 /delete-node/ &adsp_fw_mem; 14 /delete-node/ &cont_splash_mem; 15 /delete-node/ &qseecom_mem; 16 /delete-node/ &wcnss_fw_mem; 21 chassis-type = "handset"; 22 qcom,msm-id = <293 0>; 23 qcom,board-id = <0x1000b 0x08>; [all …]
|
D | sm6375-sony-xperia-murray-pdx225.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 18 /delete-node/ &pmk8350_pon; 23 chassis-type = "handset"; 26 #address-cells = <2>; 27 #size-cells = <2>; 31 compatible = "simple-framebuffer"; 49 gpio-keys { 50 compatible = "gpio-keys"; [all …]
|