Home
last modified time | relevance | path

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

12345678910>>...13

/linux/Documentation/devicetree/bindings/ipmi/
H A 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 …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A 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 …]
/linux/tools/testing/selftests/cgroup/
H A Dtest_memcontrol.c1 /* SPDX-License-Identifier: GPL-2.0 */
52 return -1; in test_memcg_subtree_control()
76 return -1; in test_memcg_subtree_control()
176 int ret = -1; in test_memcg_current_peak()
181 return -1; in test_memcg_current_peak()
210 int ret = -1; in test_memcg_current_peak()
216 return -1; in test_memcg_current_peak()
250 int peak_fd = - in test_memcg_current_peak()
590 long current, high, max; alloc_pagecache_max_30M() local
751 long current, max; test_memcg_max() local
811 int retries, err; reclaim_until() local
843 int retries; test_memcg_reclaim() local
949 long max, peak; test_memcg_swap_max_peak() local
1250 int retries = 0x10; /* nice round number */ tcp_client() local
[all...]
/linux/drivers/pci/controller/mobiveil/
H A 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 …]
/linux/drivers/char/ipmi/
H A 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 …]
/linux/drivers/char/xilinx_hwicap/
H A 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 …]
/linux/drivers/net/wireless/intel/iwlegacy/
H A 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 …]
/linux/drivers/platform/chrome/
H A Dcros_ec_sensorhub.c1 // SPDX-License-Identifier: GPL-2.0
21 #define DRV_NAME "cros-ec-sensorhub"
56 struct cros_ec_command *msg = sensorhub->msg; in cros_ec_sensorhub_register()
57 struct cros_ec_dev *ec = sensorhub->ec; in cros_ec_sensorhub_register()
58 int ret, i, retries; in cros_ec_sensorhub_register() local
62 msg->version = 1; in cros_ec_sensorhub_register()
63 msg->insize = sizeof(struct ec_response_motion_sense); in cros_ec_sensorhub_register()
64 msg->outsize = sizeof(struct ec_params_motion_sense); in cros_ec_sensorhub_register()
66 for (i = 0; i < sensorhub->sensor_num; i++) { in cros_ec_sensorhub_register()
67 sensorhub->params->cmd = MOTIONSENSE_CMD_INFO; in cros_ec_sensorhub_register()
[all …]
/linux/drivers/pci/controller/dwc/
H A Dpcie-designware.c1 // SPDX-License-Identifier: GPL-2.0
20 #include <linux/pcie-dwc.h>
26 #include "pcie-designware.h"
48 [DW_PCIE_NON_STICKY_RST] = "non-sticky",
70 pci->app_clks[i].id = dw_pcie_app_clks[i]; in dw_pcie_get_clocks()
73 pci->core_clks[i].id = dw_pcie_core_clks[i]; in dw_pcie_get_clocks()
75 ret = devm_clk_bulk_get_optional(pci->dev, DW_PCIE_NUM_APP_CLKS, in dw_pcie_get_clocks()
76 pci->app_clks); in dw_pcie_get_clocks()
80 return devm_clk_bulk_get_optional(pci->dev, DW_PCIE_NUM_CORE_CLKS, in dw_pcie_get_clocks()
81 pci->core_clks); in dw_pcie_get_clocks()
[all …]
/linux/Documentation/admin-guide/
H A 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
94 Set the number of in-memory log buffers. Valid numbers
95 range from 2-8 inclusive.
107 by the user. This turns on co-allocation of data of similar
114 Set the size of each in-memory log buffer. The size may be
[all …]
/linux/drivers/char/tpm/
H A 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 …]
H A Dtpm_i2c_nuvoton.c1 // 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/arch/arm/boot/dts/qcom/
H A 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 …]
/linux/drivers/comedi/drivers/
H A Djr3_pci.c1 // 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/include/uapi/linux/
H A Dhdreg.h1 /* 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 …]
H A Dwireless.h1 /* 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/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/
H A Drpc.c32 …* https://github.com/NVIDIA/open-gpu-kernel-modules/blob/535/src/nvidia/inc/kernel/gpu/gsp/message…
41 * - message element header (struct r535_gsp_msg), which mostly maintains
44 * - RPC message header (struct nvfw_gsp_rpc), which maintains the info
47 * - The payload, where the RPC message stays. E.g. the params of a
53 * +------------------------+
59 * |----------V-------------|
65 * |----------V-------------|
70 * +------------------------+
72 * The max size of a message queue element is 16 pages (including the
85 * - gsp_msg(msg): GSP message element (element header + GSP RPC header +
[all …]
/linux/net/ipv4/
H A Dtcp_timer.c1 // 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>
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_stam in tcp_clamp_rto_to_user_timeout()
150 int retries = READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_orphan_retries); /* May be zero. */ tcp_orphan_retries() local
[all...]
/linux/drivers/net/wireless/ath/ath5k/
H A Ddesc.c2 * Copyright (c) 2004-2008 Reyk Floeter <reyk@openbsd.org>
3 * Copyright (c) 2006-2008 Nick Kossifidis <mickflemm@gmail.com>
4 * Copyright (c) 2007-2008 Pavel Roskin <proski@gnu.org>
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/include/net/
H A Dllc_conn.h43 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/drivers/firewire/
H A Dsbp2.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 2005-2007 Kristian Hoegsberg <krh@bitplanet.net>
14 * Stefan Richter <stefanr@s5r6.in-berlin.de>
23 #include <linux/dma-mapping.h>
25 #include <linux/firewire-constants.h>
63 * - 128kB max transfer
66 * - 36 byte inquiry
70 * - skip mode page 8
74 * - fix capacity
76 * Avoids access beyond actual disk limits on devices with an off-by-one bug.
[all …]
/linux/drivers/net/wireless/ti/wl12xx/
H A Devent.h1 /* SPDX-License-Identifier: GPL-2.0-only */
65 /* bitmap of stations (by HLID) which exceeded max tx retries */
/linux/fs/smb/client/
H A Dsmb2pdu.c1 // SPDX-License-Identifier: LGPL-2.1
13 /* SMB2 PDU handling routines here - except for leftovers (eg session setup) */
80 if (!tcon || !tcon->ses) in smb3_encryption_required()
82 if ((tcon->ses->session_flags & SMB2_SESSION_FLAG_ENCRYPT_DATA) || in smb3_encryption_required()
83 (tcon->share_flags & SHI1005_FLAGS_ENCRYPT_DATA)) in smb3_encryption_required()
85 if (tcon->seal && in smb3_encryption_required()
86 (tcon->ses->server->capabilities & SMB2_GLOBAL_CAP_ENCRYPTION)) in smb3_encryption_required()
89 (tcon->ses->server->capabilities & SMB2_GLOBAL_CAP_ENCRYPTION)) in smb3_encryption_required()
101 shdr->ProtocolId = SMB2_PROTO_NUMBER; in smb2_hdr_assemble()
102 shdr->StructureSize = cpu_to_le16(64); in smb2_hdr_assemble()
[all …]
/linux/drivers/net/wireless/ti/wl18xx/
H A Devent.h1 /* SPDX-License-Identifier: GPL-2.0-only */
63 /* bitmap of stations (by HLID) which exceeded max tx retries */
/linux/include/scsi/
H A Dscsi_device.h1 /* SPDX-License-Identifier: GPL-2.0 */
8 #include <linux/blk-mq.h>
49 * originate in the mid-layer) */
86 /* put union of data structures, for non-simple event types,
92 * struct scsi_vpd - SCSI Vital Product Data
107 /* the next two are protected by the host->host_lock */
118 unsigned short max_queue_depth; /* max queue depth */
130 * vendor-specific cmd's */
133 void *hostdata; /* available to low-level driver */
144 #define SCSI_DEFAULT_VPD_LEN 255 /* default SCSI VPD page size (max) */
[all …]

12345678910>>...13