/Linux-v6.1/Documentation/devicetree/bindings/ipmi/ |
D | ipmi-ipmb.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/ipmi/ipmi-ipmb.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 12 - Corey Minyard <cminyard@mvista.com> 17 - ipmi-ipmb 21 - const: "ipmi" 30 retry-time: 33 Time between retries of sends, in milliseconds. Defaults to 250. 35 max-retries: [all …]
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | pci_vsc.c | 1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB 13 ((size) ? (0xffffffff >> (32 - (size))) : 0) 22 pci_read_config_dword((dev)->pdev, (dev)->vsc_addr + (offset), (val)) 24 pci_write_config_dword((dev)->pdev, (dev)->vsc_addr + (offset), (val)) 58 dev->vsc_addr = pci_find_capability(dev->pdev, in mlx5_pci_vsc_init() 60 if (!dev->vsc_addr) in mlx5_pci_vsc_init() 67 int retries = 0; in mlx5_vsc_gw_lock() local 71 pci_cfg_access_lock(dev->pdev); in mlx5_vsc_gw_lock() 73 if (retries > VSC_MAX_RETRIES) { in mlx5_vsc_gw_lock() 74 ret = -EBUSY; in mlx5_vsc_gw_lock() [all …]
|
/Linux-v6.1/tools/testing/selftests/cgroup/ |
D | test_memcontrol.c | 1 /* SPDX-License-Identifier: GPL-2.0 */ 98 int ret = -1; in alloc_anon_50M_check() 127 int ret = -1; in alloc_pagecache_50M_check() 133 return -1; in alloc_pagecache_50M_check() 199 return -1; in alloc_pagecache_50M_noexit() 232 for (limit = 10; limit > 0; limit--) { in cg_test_proc_killed() 238 return -1; in cg_test_proc_killed() 243 * A memory.min = 0, memory.max = 200M 309 if (cg_write(parent[0], "memory.max", "200M")) in test_memcg_protection() 312 if (cg_write(parent[0], "memory.swap.max", "0")) in test_memcg_protection() [all …]
|
/Linux-v6.1/drivers/pci/controller/dwc/ |
D | pcie-designware.c | 1 // SPDX-License-Identifier: GPL-2.0 20 #include "pcie-designware.h" 31 if (pci->version && pci->version != ver) in dw_pcie_version_detect() 32 dev_warn(pci->dev, "Versions don't match (%08x != %08x)\n", in dw_pcie_version_detect() 33 pci->version, ver); in dw_pcie_version_detect() 35 pci->version = ver; in dw_pcie_version_detect() 39 if (pci->type && pci->type != ver) in dw_pcie_version_detect() 40 dev_warn(pci->dev, "Types don't match (%08x != %08x)\n", in dw_pcie_version_detect() 41 pci->type, ver); in dw_pcie_version_detect() 43 pci->type = ver; in dw_pcie_version_detect() [all …]
|
/Linux-v6.1/drivers/pci/controller/mobiveil/ |
D | pcie-mobiveil.c | 1 // SPDX-License-Identifier: GPL-2.0 18 #include "pcie-mobiveil.h" 21 * mobiveil_pcie_sel_page - routine to access paged register 32 val = readl(pcie->csr_axi_slave_base + PAB_CTRL); in mobiveil_pcie_sel_page() 36 writel(val, pcie->csr_axi_slave_base + PAB_CTRL); in mobiveil_pcie_sel_page() 45 return pcie->csr_axi_slave_base + off; in mobiveil_pcie_comp_addr() 49 return pcie->csr_axi_slave_base + OFFSET_TO_PAGE_ADDR(off); in mobiveil_pcie_comp_addr() 54 if ((uintptr_t)addr & (size - 1)) { in mobiveil_pcie_read() 79 if ((uintptr_t)addr & (size - 1)) in mobiveil_pcie_write() 109 dev_err(&pcie->pdev->dev, "read CSR address failed\n"); in mobiveil_csr_read() [all …]
|
/Linux-v6.1/drivers/char/xilinx_hwicap/ |
D | fifo_icap.c | 24 * (c) Copyright 2007-2008 Xilinx Inc. 79 #define XHI_WFO_MAX_VACANCY 1024 /* Max Write FIFO Vacancy, in words */ 80 #define XHI_RFO_MAX_OCCUPANCY 256 /* Max Read FIFO Occupancy, in words */ 87 * fifo_icap_fifo_write - Write data to the write FIFO. 89 * @data: the 32-bit value to be written to the FIFO. 96 dev_dbg(drvdata->dev, "fifo_write: %x\n", data); in fifo_icap_fifo_write() 97 out_be32(drvdata->base_address + XHI_WF_OFFSET, data); in fifo_icap_fifo_write() 101 * fifo_icap_fifo_read - Read data from the Read FIFO. 108 u32 data = in_be32(drvdata->base_address + XHI_RF_OFFSET); in fifo_icap_fifo_read() 109 dev_dbg(drvdata->dev, "fifo_read: %x\n", data); in fifo_icap_fifo_read() [all …]
|
/Linux-v6.1/drivers/char/ipmi/ |
D | ipmi_bt_sm.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * The state machine for an Open IPMI BT sub-driver under ipmi_si.c, part 35 * Typical "Get BT Capabilities" values are 2-3 retries, 5-10 seconds, 37 * buffer (with a documented message of 160 bytes) so go for the max. 38 * Since the Open IPMI architecture is single-message oriented at this 64 BT_STATE_LONG_BUSY /* BT doesn't get hosed :-) */ 72 #define BT_STATE_CHANGE(X, Y) { bt->state = X; return Y; } 90 int BT_CAP_retries; /* Recommended retries */ 110 #define BT_STATUS bt->io->inputb(bt->io, 0) 111 #define BT_CONTROL(x) bt->io->outputb(bt->io, 0, x) [all …]
|
/Linux-v6.1/drivers/net/wireless/intel/iwlegacy/ |
D | 3945-rs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright(c) 2005 - 2011 Intel Corporation. All rights reserved. 8 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 26 #define RS_NAME "iwl-3945-rs" 50 {-60, RATE_54M_IDX}, 51 {-64, RATE_48M_IDX}, 52 {-72, RATE_36M_IDX}, 53 {-80, RATE_24M_IDX}, 54 {-84, RATE_18M_IDX}, 55 {-85, RATE_12M_IDX}, [all …]
|
/Linux-v6.1/include/linux/mmc/ |
D | core.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 40 #define MMC_CMD_MASK (3 << 5) /* non-SPI command type */ 69 #define mmc_resp_type(cmd) ((cmd)->flags & (MMC_RSP_PRESENT|MMC_RSP_136|MMC_RSP_CRC|MMC_RSP_BUSY|MM… 84 #define mmc_spi_resp_type(cmd) ((cmd)->flags & \ 90 #define mmc_cmd_type(cmd) ((cmd)->flags & MMC_CMD_MASK) 92 unsigned int retries; /* max number of retries */ member 115 unsigned int timeout_ns; /* data timeout (in ns, max 80ms) */ 176 int retries);
|
/Linux-v6.1/drivers/mtd/ |
D | mtdswap.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 * support and lock-less operation written by Adrian Hunter. 44 * without disturbing gc too much. This is made by defining max GC frequency. 59 #define BLOCK_ERROR (UINT_MAX - 1) 60 #define BLOCK_MAX (UINT_MAX - 2) 80 rb)->erase_count) 82 rb)->erase_count) 153 * page from the current block and is then pre-empted by the GC 160 #define TREE_ROOT(d, name) (&d->trees[MTDSWAP_ ## name].root) 161 #define TREE_EMPTY(d, name) (TREE_ROOT(d, name)->rb_node == NULL) [all …]
|
/Linux-v6.1/drivers/platform/x86/intel/ifs/ |
D | runtest.c | 1 // SPDX-License-Identifier: GPL-2.0-only 23 /* Max retries on the same chunk */ 56 "Exceeded number of Logical Processors (LP) allowed to run Scan-At-Field concurrently", 72 "Not all scan chunks were executed. Maximum forward progress retries exceeded"); in message_not_tested() 173 int retries; in ifs_test_core() local 181 activate.stop = ifsd->valid_chunks - 1; in ifs_test_core() 184 retries = MAX_IFS_RETRIES; in ifs_test_core() 205 if (--retries == 0) { in ifs_test_core() 211 retries = MAX_IFS_RETRIES; in ifs_test_core() 217 ifsd->scan_details = status.data; in ifs_test_core() [all …]
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | qcom-pm8941.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/iio/qcom,spmi-vadc.h> 3 #include <dt-bindings/interrupt-controller/irq.h> 4 #include <dt-bindings/spmi/spmi.h> 9 compatible = "qcom,pm8941", "qcom,spmi-pmic"; 11 #address-cells = <1>; 12 #size-cells = <0>; 15 compatible = "qcom,pm8941-rtc"; 18 reg-names = "rtc", "alarm"; 23 compatible = "qcom,pm8941-pwrkey"; [all …]
|
/Linux-v6.1/drivers/s390/block/ |
D | dasd_diag.c | 1 // SPDX-License-Identifier: GPL-2.0 22 #include <asm/asm-extable.h> 43 #define DIAG_MAX_BLOCKS (((2 * PAGE_SIZE - sizeof(struct dasd_ccw_req) - \ 100 * number of blocks on the device minus the specified offset. Return non-zero 106 struct dasd_diag_private *private = device->private; in mdsk_init_io() 107 struct dasd_diag_init_io *iib = &private->iib; in mdsk_init_io() 112 iib->dev_nr = private->dev_id.devno; in mdsk_init_io() 113 iib->block_size = blocksize; in mdsk_init_io() 114 iib->offset = offset; in mdsk_init_io() 115 iib->flaga = DASD_DIAG_FLAGA_DEFAULT; in mdsk_init_io() [all …]
|
/Linux-v6.1/Documentation/admin-guide/ |
D | xfs.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 on the SGI IRIX platform. It is completely multi-threaded, can 15 for further details. This implementation is on-disk compatible 25 Sets the buffered I/O end-of-file preallocation size when 28 through to 1GiB, inclusive, in power-of-2 increments. 30 The default behaviour is for dynamic end-of-file 40 on-disk. When the new form is used for the first time when 42 attributes) the on-disk superblock feature bit field will be 45 The default behaviour is determined by the on-disk feature 116 Set the number of in-memory log buffers. Valid numbers [all …]
|
/Linux-v6.1/drivers/char/tpm/ |
D | tpm_i2c_infineon.c | 1 // SPDX-License-Identifier: GPL-2.0-only 25 /* max. number of iterations after I2C NAK */ 31 /* max. number of iterations after I2C NAK for 'long' commands 62 /* In addition to the data itself, the buffer must fit the 7-bit I2C 74 * iic_tpm_read() - read from TPM register 80 * buffer (little-endian format, i.e. first byte is put into buffer[0]). 82 * NOTE: TPM is big-endian for multi-byte values. Multi-byte 90 * Return -EIO on error, 0 on success. 96 .addr = tpm_dev.client->addr, in iic_tpm_read() 101 .addr = tpm_dev.client->addr, in iic_tpm_read() [all …]
|
D | tpm_i2c_nuvoton.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 34 * i.e. max size required for I2C write is 34 = addr, command, 32 bytes data 58 dev_dbg(&client->dev, in i2c_nuvoton_read_buf() 59 "%s(offset=%u size=%u data=%*ph) -> sts=%d\n", __func__, in i2c_nuvoton_read_buf() 70 dev_dbg(&client->dev, in i2c_nuvoton_write_buf() 71 "%s(offset=%u size=%u data=%*ph) -> sts=%d\n", __func__, in i2c_nuvoton_write_buf() 90 struct i2c_client *client = to_i2c_client(chip->dev.parent); in i2c_nuvoton_read_status() 96 dev_err(&chip->dev, "%s() error return %d\n", __func__, in i2c_nuvoton_read_status() 111 for (i = 0, status = -1; i < TPM_I2C_RETRY_COUNT && status < 0; i++) { in i2c_nuvoton_write_status() 123 struct i2c_client *client = to_i2c_client(chip->dev.parent); in i2c_nuvoton_ready() [all …]
|
/Linux-v6.1/drivers/hwmon/ |
D | abituguru.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * abituguru.c Copyright (c) 2005-2006 Hans de Goede <hdegoede@redhat.com> 23 #include <linux/hwmon-sysfs.h> 32 /* max nr of sensors in bank1, a bank1 sensor can be in, temp or nc */ 35 * Warning if you increase one of the 2 MAX defines below to 10 or higher you 38 /* max nr of sensors in bank2, currently mb's with max 6 fans are known */ 40 /* max nr of pwm outputs, currently mb's with max 5 pwm outputs are known */ 44 #define ABIT_UGURU_VOLT_HIGH_ALARM_ENABLE 0x02 /* volt over max */ 47 #define ABIT_UGURU_VOLT_HIGH_ALARM_FLAG 0x20 /* volt is over max */ 64 * of the time it will reach this status within 30 - 90 ISA reads, and thus we [all …]
|
/Linux-v6.1/drivers/comedi/drivers/ |
D | jr3_pci.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * COMEDI - Linux Control and Measurement Device Interface 84 int max; member 116 int retries; member 119 static struct jr3_pci_poll_delay poll_delay_min_max(int min, int max) in poll_delay_min_max() argument 124 result.max = max; in poll_delay_min_max() 130 return get_s16(&sensor->command_word0) == 0; in is_complete() 140 set_u16(&sensor->transforms[num].link[i].link_type, in set_transforms() 141 transf->link[i].link_type); in set_transforms() 143 set_s16(&sensor->transforms[num].link[i].link_amount, in set_transforms() [all …]
|
/Linux-v6.1/include/uapi/linux/ |
D | hdreg.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 17 #define IDE_DRIVE_TASK_INVALID -1 137 * 0x01->0x02 Reserved 141 * 0x04->0x07 Reserved 146 * 0x09->0x0F Reserved 151 * 0x10->0x1F Reserved 153 #define WIN_READ 0x20 /* 28-Bit */ 154 #define WIN_READ_ONCE 0x21 /* 28-Bit without retries */ 155 #define WIN_READ_LONG 0x22 /* 28-Bit */ 156 #define WIN_READ_LONG_ONCE 0x23 /* 28-Bit without retries */ [all …]
|
D | wireless.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 7 * Authors : Jean Tourrilhes - HPL - <jt@hpl.hp.com> 8 * Copyright (c) 1997-2007 Jean Tourrilhes, All Rights Reserved. 16 * Initial APIs (1996 -> onward) : 17 * ----------------------------- 44 * New driver API (2002 -> onward) : 45 * ------------------------------- 53 * Wireless Events (2002 -> onward) : 54 * -------------------------------- 59 * -------------- [all …]
|
/Linux-v6.1/drivers/scsi/bfa/ |
D | bfa_defs_fcs.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2005-2014 Brocade Communications Systems, Inc. 4 * Copyright (c) 2014- QLogic Corporation. 8 * Linux driver for QLogic BR-series Fibre Channel Host Bus Adapter. 73 * - FCP IM and FCP TM roles cannot be enabled together for a FCS port 74 * - Create multiple ports if both IM and TM functions required. 75 * - Atleast one role must be specified. 142 u32 max_vports_supp; /* Max supported vports */ 144 u32 max_rports_supp; /* Max supported rports */ 161 u32 ns_retries; /* NS command retries */ [all …]
|
/Linux-v6.1/net/ipv4/ |
D | tcp_timer.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 * Corey Minyard <wf-rch!minyard@relay.EU.net> 13 * Florian La Roche, <flla@stud.uni-sb.de> 32 start_ts = tcp_sk(sk)->retrans_stamp; in tcp_clamp_rto_to_user_timeout() 33 if (!icsk->icsk_user_timeout) in tcp_clamp_rto_to_user_timeout() 34 return icsk->icsk_rto; in tcp_clamp_rto_to_user_timeout() 35 elapsed = tcp_time_stamp(tcp_sk(sk)) - start_ts; in tcp_clamp_rto_to_user_timeout() 36 remaining = icsk->icsk_user_timeout - elapsed; in tcp_clamp_rto_to_user_timeout() 40 return min_t(u32, icsk->icsk_rto, msecs_to_jiffies(remaining)); in tcp_clamp_rto_to_user_timeout() 49 if (!icsk->icsk_user_timeout || !icsk->icsk_probes_tstamp) in tcp_clamp_probe0_to_user_timeout() [all …]
|
/Linux-v6.1/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | location.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2015-2017 Intel Deutschland GmbH 4 * Copyright (C) 2018-2021 Intel Corporation 10 * enum iwl_location_subcmd_ids - location group command IDs 79 * struct iwl_tof_config_cmd - ToF configuration 81 * @one_sided_disabled: indicates if one-sided is disabled (or not) 93 * enum iwl_tof_bandwidth - values for iwl_tof_range_req_ap_entry.bandwidth 94 * @IWL_TOF_BW_20_LEGACY: 20 MHz non-HT 111 * enum iwl_tof_algo_type - Algorithym type for range measurement request 123 * enum iwl_tof_mcsi_ntfy - Enable/Disable MCSI notifications [all …]
|
/Linux-v6.1/drivers/scsi/cxlflash/ |
D | main.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 42 #define FC_MAX_NUM_LUNS 0x080 /* Max LUNs host can provision for port */ 44 #define FC_MAX_CAP_PORT 0x090 /* Max capacity all LUNs for port (4K blocks) */ 77 #define FC_PORT_STATUS_RETRY_CNT 100 /* 100 100ms retries = 10 seconds */ 107 if (ddv->flags & CXLFLASH_OCXL_DEV) in cxlflash_assign_ops() 112 if (!(ddv->flags & CXLFLASH_OCXL_DEV)) in cxlflash_assign_ops()
|
/Linux-v6.1/include/net/ |
D | llc_conn.h | 43 u8 retry_count; /* number of retries */ 51 u8 vS; /* seq# next in-seq I-PDU tx'd*/ 52 u8 vR; /* seq# next in-seq I-PDU rx'd*/ 53 u32 n2; /* max nbr re-tx's for timeout*/ 54 u32 n1; /* max nbr octets in I PDU */ 55 u8 k; /* tx window size; max = 127 */ 56 u8 rw; /* rx window size; max = 127 */ 67 the P-bit of acknowledge */ 91 skb->cb[sizeof(skb->cb) - 1] = type; in llc_set_backlog_type() 96 return skb->cb[sizeof(skb->cb) - 1]; in llc_backlog_type()
|