Home
last modified time | relevance | path

Searched +full:max +full:- +full:retries (Results 1 – 25 of 856) sorted by relevance

12345678910>>...35

/kernel/linux/linux-6.6/Documentation/devicetree/bindings/ipmi/
Dipmi-ipmb.yaml1 # 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 …]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dpci_vsc.c1 // 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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dpci_vsc.c1 // 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 …]
/kernel/linux/linux-6.6/tools/testing/selftests/cgroup/
Dtest_memcontrol.c1 /* 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()
204 return -1; in alloc_pagecache_50M_noexit()
221 return -1; in alloc_anon_noexit()
242 for (limit = 10; limit > 0; limit--) { in cg_test_proc_killed()
248 return -1; in cg_test_proc_killed()
255 * A memory.min = 0, memory.max = 200M
[all …]
/kernel/linux/linux-5.10/drivers/pci/controller/mobiveil/
Dpcie-mobiveil.c1 // 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 …]
/kernel/linux/linux-6.6/drivers/pci/controller/mobiveil/
Dpcie-mobiveil.c1 // 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 …]
/kernel/linux/linux-6.6/drivers/char/xilinx_hwicap/
Dfifo_icap.c24 * (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 …]
/kernel/linux/linux-5.10/drivers/char/xilinx_hwicap/
Dfifo_icap.c24 * (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 …]
/kernel/linux/linux-6.6/drivers/char/ipmi/
Dipmi_bt_sm.c1 // 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 …]
/kernel/linux/linux-5.10/drivers/char/ipmi/
Dipmi_bt_sm.c1 // 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 …]
/kernel/linux/linux-6.6/drivers/pci/controller/dwc/
Dpcie-designware.c1 // 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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlegacy/
D3945-rs.c1 // 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 …]
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlegacy/
D3945-rs.c1 // 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 …]
/kernel/linux/linux-5.10/include/linux/mmc/
Dcore.h1 /* 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) */
171 int retries);
/kernel/linux/linux-6.6/include/linux/mmc/
Dcore.h1 /* 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);
/kernel/linux/linux-5.10/drivers/mtd/
Dmtdswap.c1 // 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 …]
/kernel/linux/linux-6.6/drivers/mtd/
Dmtdswap.c1 // 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 …]
/kernel/linux/linux-5.10/Documentation/admin-guide/
Dxfs.rst1 .. 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 …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dqcom-pm8941.dtsi1 // 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 …]
/kernel/linux/linux-6.6/Documentation/admin-guide/
Dxfs.rst1 .. 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 …]
/kernel/linux/linux-6.6/drivers/s390/block/
Ddasd_diag.c1 // 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 …]
/kernel/linux/linux-5.10/drivers/s390/block/
Ddasd_diag.c1 // SPDX-License-Identifier: GPL-2.0
43 #define DIAG_MAX_BLOCKS (((2 * PAGE_SIZE - sizeof(struct dasd_ccw_req) - \
101 * number of blocks on the device minus the specified offset. Return non-zero
107 struct dasd_diag_private *private = device->private; in mdsk_init_io()
108 struct dasd_diag_init_io *iib = &private->iib; in mdsk_init_io()
113 iib->dev_nr = private->dev_id.devno; in mdsk_init_io()
114 iib->block_size = blocksize; in mdsk_init_io()
115 iib->offset = offset; in mdsk_init_io()
116 iib->flaga = DASD_DIAG_FLAGA_DEFAULT; in mdsk_init_io()
121 *end_block = iib->end_block; in mdsk_init_io()
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/qcom/
Dpm8941.dtsi1 // 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 …]
/kernel/linux/linux-6.6/drivers/char/tpm/
Dtpm_i2c_infineon.c1 // 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 …]
/kernel/linux/linux-5.10/drivers/char/tpm/
Dtpm_i2c_infineon.c1 // 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 …]

12345678910>>...35