/linux-6.14.4/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 <[email protected]> 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-6.14.4/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)) 63 dev->vsc_addr = pci_find_capability(dev->pdev, in mlx5_pci_vsc_init() 65 if (!dev->vsc_addr) in mlx5_pci_vsc_init() 72 int retries = 0; in mlx5_vsc_gw_lock() local 76 pci_cfg_access_lock(dev->pdev); in mlx5_vsc_gw_lock() 78 if (retries > VSC_MAX_RETRIES) { in mlx5_vsc_gw_lock() 79 ret = -EBUSY; in mlx5_vsc_gw_lock() [all …]
|
/linux-6.14.4/tools/testing/selftests/cgroup/ |
D | test_memcontrol.c | 1 /* SPDX-License-Identifier: GPL-2.0 */ 98 int ret = -1; in alloc_anon_50M_check() 103 return -1; in alloc_anon_50M_check() 132 int ret = -1; in alloc_pagecache_50M_check() 138 return -1; in alloc_pagecache_50M_check() 172 int peak_fd = -1, peak_fd2 = -1, peak_fd3 = -1, peak_fd4 = -1; in test_memcg_current_peak() 198 * We'll open a few FDs for the same memory.peak file to exercise the free-path in test_memcg_current_peak() 200 * the linked-list handling. in test_memcg_current_peak() 204 if (peak_fd == -1) { in test_memcg_current_peak() 225 if (peak_fd2 == -1) in test_memcg_current_peak() [all …]
|
/linux-6.14.4/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-6.14.4/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-6.14.4/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-6.14.4/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-6.14.4/drivers/pci/controller/dwc/ |
D | pcie-designware.c | 1 // SPDX-License-Identifier: GPL-2.0 24 #include "pcie-designware.h" 46 [DW_PCIE_NON_STICKY_RST] = "non-sticky", 60 pci->app_clks[i].id = dw_pcie_app_clks[i]; in dw_pcie_get_clocks() 63 pci->core_clks[i].id = dw_pcie_core_clks[i]; in dw_pcie_get_clocks() 65 ret = devm_clk_bulk_get_optional(pci->dev, DW_PCIE_NUM_APP_CLKS, in dw_pcie_get_clocks() 66 pci->app_clks); in dw_pcie_get_clocks() 70 return devm_clk_bulk_get_optional(pci->dev, DW_PCIE_NUM_CORE_CLKS, in dw_pcie_get_clocks() 71 pci->core_clks); in dw_pcie_get_clocks() 79 pci->app_rsts[i].id = dw_pcie_app_rsts[i]; in dw_pcie_get_resets() [all …]
|
/linux-6.14.4/include/linux/mmc/ |
D | core.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 41 #define MMC_CMD_MASK (3 << 5) /* non-SPI command type */ 68 #define mmc_resp_type(cmd) ((cmd)->flags & (MMC_RSP_PRESENT|MMC_RSP_136|MMC_RSP_CRC|MMC_RSP_BUSY|MM… 83 #define mmc_spi_resp_type(cmd) ((cmd)->flags & \ 89 #define mmc_cmd_type(cmd) ((cmd)->flags & MMC_CMD_MASK) 91 unsigned int retries; /* max number of retries */ member 120 unsigned int timeout_ns; /* data timeout (in ns, max 80ms) */ 182 int retries);
|
/linux-6.14.4/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-6.14.4/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 35 * i.e. max size required for I2C write is 34 = addr, command, 32 bytes data 59 dev_dbg(&client->dev, in i2c_nuvoton_read_buf() 60 "%s(offset=%u size=%u data=%*ph) -> sts=%d\n", __func__, in i2c_nuvoton_read_buf() 71 dev_dbg(&client->dev, in i2c_nuvoton_write_buf() 72 "%s(offset=%u size=%u data=%*ph) -> sts=%d\n", __func__, in i2c_nuvoton_write_buf() 91 struct i2c_client *client = to_i2c_client(chip->dev.parent); in i2c_nuvoton_read_status() 97 dev_err(&chip->dev, "%s() error return %d\n", __func__, in i2c_nuvoton_read_status() 112 for (i = 0, status = -1; i < TPM_I2C_RETRY_COUNT && status < 0; i++) { in i2c_nuvoton_write_status() 124 struct i2c_client *client = to_i2c_client(chip->dev.parent); in i2c_nuvoton_ready() [all …]
|
/linux-6.14.4/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-6.14.4/arch/arm/boot/dts/qcom/ |
D | 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> 8 thermal-zones { 9 pm8941-thermal { 10 polling-delay-passive = <100>; 11 polling-delay = <0>; 12 thermal-sensors = <&pm8941_temp>; 40 compatible = "qcom,pm8941", "qcom,spmi-pmic"; [all …]
|
/linux-6.14.4/drivers/hwmon/ |
D | abituguru.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * abituguru.c Copyright (c) 2005-2006 Hans de Goede <[email protected]> 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-6.14.4/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 - <[email protected]> 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-6.14.4/drivers/platform/x86/intel/ifs/ |
D | runtest.c | 1 // SPDX-License-Identifier: GPL-2.0-only 23 /* Max retries on the same chunk */ 71 "Exceeded number of Logical Processors (LP) allowed to run Scan-At-Field concurrently", 88 cpumask_pr_args(cpu_smt_mask(cpu)), ifsd->cur_batch, ifsd->loaded_version); in message_not_tested() 102 "Not all scan chunks were executed. Maximum forward progress retries exceeded"); in message_not_tested() 122 cpumask_pr_args(cpu_smt_mask(cpu)), ifsd->cur_batch, ifsd->loaded_version); in message_fail() 172 timeout -= SPINUNIT; in wait_for_sibling_cpu() 189 ifsd = params->ifsd; in doscan() 191 if (ifsd->generation) { in doscan() 192 start = params->activate->gen2.start; in doscan() [all …]
|
/linux-6.14.4/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-6.14.4/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-2022 Intel Corporation 11 * enum iwl_location_subcmd_ids - location group command IDs 86 * struct iwl_tof_config_cmd - ToF configuration 88 * @one_sided_disabled: indicates if one-sided is disabled (or not) 100 * enum iwl_tof_bandwidth - values for iwl_tof_range_req_ap_entry.bandwidth 101 * @IWL_TOF_BW_20_LEGACY: 20 MHz non-HT 118 * enum iwl_tof_algo_type - Algorithym type for range measurement request 130 * enum iwl_tof_mcsi_ntfy - Enable/Disable MCSI notifications [all …]
|
/linux-6.14.4/net/ipv4/ |
D | tcp_timer.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 * Corey Minyard <wf-[email protected]> 13 * Florian La Roche, <[email protected]-sb.de> 34 user_timeout = READ_ONCE(icsk->icsk_user_timeout); in tcp_clamp_rto_to_user_timeout() 36 return icsk->icsk_rto; in tcp_clamp_rto_to_user_timeout() 38 elapsed = tcp_time_stamp_ts(tp) - tp->retrans_stamp; in tcp_clamp_rto_to_user_timeout() 39 if (tp->tcp_usec_ts) in tcp_clamp_rto_to_user_timeout() 42 remaining = user_timeout - elapsed; in tcp_clamp_rto_to_user_timeout() 46 return min_t(u32, icsk->icsk_rto, msecs_to_jiffies(remaining)); in tcp_clamp_rto_to_user_timeout() 55 user_timeout = READ_ONCE(icsk->icsk_user_timeout); in tcp_clamp_probe0_to_user_timeout() [all …]
|
/linux-6.14.4/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-6.14.4/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()
|
/linux-6.14.4/drivers/net/wireless/ath/ath5k/ |
D | desc.c | 2 * Copyright (c) 2004-2008 Reyk Floeter <[email protected]> 3 * Copyright (c) 2006-2008 Nick Kossifidis <[email protected]> 4 * Copyright (c) 2007-2008 Pavel Roskin <[email protected]> 34 * Here we handle the processing of the low-level hw descriptors 53 * ath5k_hw_setup_2word_tx_desc() - Initialize a 2-word tx control descriptor 62 * @tx_tries0: Max number of retransmissions 69 * Internal function to initialize a 2-Word TX control descriptor 72 * Returns 0 on success or -EINVAL on false input 91 tx_ctl = &desc->ud.ds_tx5210.tx_ctl; in ath5k_hw_setup_2word_tx_desc() 95 * - Zero retries don't make sense. in ath5k_hw_setup_2word_tx_desc() [all …]
|
/linux-6.14.4/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. 139 u32 ns_retries; /* NS command retries */ 182 u32 ms_retries; /* MS command retries */ 208 * (max retry of plogi) */ [all …]
|