Home
last modified time | relevance | path

Searched +full:supports +full:- +full:cqe (Results 1 – 25 of 68) sorted by relevance

123

/linux/include/linux/mmc/
H A Dhost.h1 /* SPDX-License-Identifier: GPL-2.0-only */
12 #include <linux/fault-inject.h>
18 #include <linux/dma-direction.h>
19 #include <linux/blk-crypto-profile.h>
187 * ios->clock might be 0. For some controllers, setting 0Hz
197 * 1 for a read-only card
198 * -ENOSYS when not supported (equal to NULL callback)
207 * -ENOSYS when not supported (equal to NULL callback)
233 /* Optional callback to prepare for SD high-speed tuning */
236 /* Optional callback to execute SD high-speed tuning */
[all …]
/linux/drivers/infiniband/ulp/iser/
H A Discsi_iser.h7 * based on code maintained by open-iscsi@googlegroups.com
11 * Copyright (c) 2013-2014 Mellanox Technologies. All rights reserved.
23 * - Redistributions of source code must retain the above
27 * - Redistributions in binary form must reproduce the above
58 #include <linux/dma-mapping.h>
125 * supports -EAGAIN scheme where tx is suspended till the QP has room for more *
145 - ISER_MAX_TX_MISC_PDUS \
146 - ISER_MAX_RX_MISC_PDUS) / \
181 * struct iser_data_buf - iSER data buffer
202 * struct iser_mem_reg - iSER memory registration info
[all …]
/linux/drivers/infiniband/ulp/rtrs/
H A Drtrs-pri.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 * Copyright (c) 2014 - 2018 ProfitBricks GmbH. All rights reserved.
6 * Copyright (c) 2018 - 2019 1&1 IONOS Cloud GmbH. All rights reserved.
7 * Copyright (c) 2019 - 2020 1&1 IONOS SE. All rights reserved.
29 * So the maximum sess_queue_depth is 65535 (2^16 - 1) in theory
38 MAX_IMM_TYPE_MASK = ((1 << MAX_IMM_TYPE_BITS) - 1),
40 MAX_IMM_PAYL_MASK = ((1 << MAX_IMM_PAYL_BITS) - 1),
128 struct ib_cqe cqe; member
136 * enum rtrs_msg_types - RTRS message types, see also rtrs/README
152 * enum rtrs_msg_flags - RTRS message flags.
[all …]
/linux/drivers/infiniband/hw/cxgb4/
H A Dcq.c2 * Copyright (c) 2009-2010 Chelsio, Inc. All rights reserved.
14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
49 res_wr->op_nres = cpu_to_be32( in destroy_cq()
53 res_wr->len16_pkd = cpu_to_be32(DIV_ROUND_UP(wr_len, 16)); in destroy_cq()
54 res_wr->cookie = (uintptr_t)wr_waitp; in destroy_cq()
55 res = res_wr->res; in destroy_cq()
56 res->u.cq.restype = FW_RI_RES_TYPE_CQ; in destroy_cq()
57 res->u.cq.op = FW_RI_RES_OP_RESET; in destroy_cq()
58 res->u.cq.iqid = cpu_to_be32(cq->cqid); in destroy_cq()
[all …]
/linux/Documentation/devicetree/bindings/mmc/
H A Dmmc-controller.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/mmc/mmc-controller.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Ulf Hansson <ulf.hansson@linaro.org>
25 "#address-cells":
30 "#size-cells":
37 broken-cd:
42 cd-gpios:
47 non-removable:
[all …]
H A Dbrcm,sdhci-brcmstb.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/mmc/brcm,sdhci-brcmstb.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Al Cooper <alcooperx@gmail.com>
11 - Florian Fainelli <f.fainelli@gmail.com>
16 - items:
17 - enum:
18 - brcm,bcm7216-sdhci
19 - const: brcm,bcm7445-sdhci
[all …]
/linux/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_dev_api.h2 * Copyright (c) 2012-2016 VMware, Inc. All rights reserved.
7 * 2-Clause License. This program is distributed in the hope that it
11 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html.
17 * The BSD 2-Clause License
23 * - Redistributions of source code must retain the above
27 * - Redistributions in binary form must reproduce the above
68 * Masks and accessors for page directory, which is a two-level lookup:
69 * page directory -> page table -> page. Only one directory for now, but we
83 * Max MSI-X vectors.
101 #define PVRDMA_CQ_FLAG_ARMED_SOL BIT(0) /* Armed for solicited-only. */
[all …]
/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede_fp.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
3 * Copyright (c) 2015-2017 QLogic Corporation
4 * Copyright (c) 2019-2020 Marvell International Ltd.
34 /* In case lazy-allocation is allowed, postpone allocation until the in qede_alloc_rx_buffer()
38 if (allow_lazy && likely(rxq->filled_buffers > 12)) { in qede_alloc_rx_buffer()
39 rxq->filled_buffers--; in qede_alloc_rx_buffer()
45 return -ENOMEM; in qede_alloc_rx_buffer()
50 mapping = dma_map_page(rxq->dev, data, 0, in qede_alloc_rx_buffer()
51 PAGE_SIZE, rxq->data_direction); in qede_alloc_rx_buffer()
52 if (unlikely(dma_mapping_error(rxq->dev, mapping))) { in qede_alloc_rx_buffer()
[all …]
/linux/drivers/infiniband/hw/efa/
H A Defa_com.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
3 * Copyright 2018-2024 Amazon.com, Inc. or its affiliates. All rights reserved.
74 struct efa_com_mmio_read *mmio_read = &edev->mmio_read; in efa_com_reg_read32()
80 read_resp = mmio_read->read_resp; in efa_com_reg_read32()
82 spin_lock(&mmio_read->lock); in efa_com_reg_read32()
83 mmio_read->seq_num++; in efa_com_reg_read32()
86 read_resp->req_id = mmio_read->seq_num + 0x9aL; in efa_com_reg_read32()
89 mmio_read->seq_num); in efa_com_reg_read32()
91 writel(mmio_read_reg, edev->reg_bar + EFA_REGS_MMIO_REG_READ_OFF); in efa_com_reg_read32()
93 exp_time = jiffies + usecs_to_jiffies(mmio_read->mmio_read_timeout); in efa_com_reg_read32()
[all …]
/linux/io_uring/
H A Drw.c1 // SPDX-License-Identifier: GPL-2.0
6 #include <linux/blk-mq.h>
37 if (req->flags & REQ_F_SUPPORT_NOWAIT) in io_file_supports_nowait()
43 return vfs_poll(req->file, &pt) & mask; in io_file_supports_nowait()
55 uiov = u64_to_user_ptr(rw->addr); in io_iov_compat_buffer_select_prep()
57 return -EFAULT; in io_iov_compat_buffer_select_prep()
58 if (__get_user(clen, &uiov->iov_len)) in io_iov_compat_buffer_select_prep()
59 return -EFAULT; in io_iov_compat_buffer_select_prep()
61 return -EINVAL; in io_iov_compat_buffer_select_prep()
63 rw->len = clen; in io_iov_compat_buffer_select_prep()
[all …]
/linux/drivers/mmc/host/
H A Dcqhci-crypto.c1 // SPDX-License-Identifier: GPL-2.0-only
8 #include <linux/blk-crypto.h>
9 #include <linux/blk-crypto-profile.h>
12 #include "cqhci-crypto.h"
14 /* Map from blk-crypto modes to CQHCI crypto algorithm IDs and key sizes */
31 return mmc->cqe_private; in cqhci_host_from_crypto_profile()
38 u32 slot_offset = cq_host->crypto_cfg_register + slot * sizeof(*cfg); in cqhci_crypto_program_key()
41 if (cq_host->ops->program_key) in cqhci_crypto_program_key()
42 return cq_host->ops->program_key(cq_host, cfg, slot); in cqhci_crypto_program_key()
45 cqhci_writel(cq_host, 0, slot_offset + 16 * sizeof(cfg->reg_val[0])); in cqhci_crypto_program_key()
[all …]
H A Dsdhci-tegra.c1 // SPDX-License-Identifier: GPL-2.0-only
9 #include <linux/dma-mapping.h>
20 #include <linux/mmc/slot-gpio.h>
32 #include "sdhci-cqhci.h"
33 #include "sdhci-pltfm.h"
130 /* SDMMC CQE Base Address for Tegra Host Ver 4.1 and Higher */
192 const struct sdhci_tegra_soc_data *soc_data = tegra_host->soc_data; in tegra_sdhci_readw()
194 if (unlikely((soc_data->nvquirks & NVQUIRK_FORCE_SDHCI_SPEC_200) && in tegra_sdhci_readw()
200 return readw(host->ioaddr + reg); in tegra_sdhci_readw()
213 pltfm_host->xfer_mode_shadow = val; in tegra_sdhci_writew()
[all …]
/linux/drivers/net/ethernet/amazon/ena/
H A Dena_admin_defs.h1 /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */
3 * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All rights reserved.
13 /* customer metrics - in correlation with
150 * 1 : ctrl_data - control buffer address valid
151 * 2 : ctrl_data_indirect - control buffer address
173 * 7:5 : sq_direction - 0x1 - Tx; 0x2 - Rx
224 * 7:5 : sq_direction - 0x1 - Tx, 0x2 - Rx
230 /* 3:0 : placement_policy - Describing where the SQ
232 * 0x1 - descriptors and headers are in OS memory,
233 * 0x3 - descriptors and headers in device memory
[all …]
H A Dena_com.c1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB
3 * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All rights reserved.
11 /* Timeout in micro-sec */
51 /* Abort - canceled by the driver */
75 if ((addr & GENMASK_ULL(ena_dev->dma_addr_bits - 1, 0)) != addr) { in ena_com_mem_addr_set()
76 netdev_err(ena_dev->net_device, in ena_com_mem_addr_set()
77 "DMA address has more bits that the device supports\n"); in ena_com_mem_addr_set()
78 return -EINVAL; in ena_com_mem_addr_set()
81 ena_addr->mem_addr_low = lower_32_bits(addr); in ena_com_mem_addr_set()
82 ena_addr->mem_addr_high = (u16)upper_32_bits(addr); in ena_com_mem_addr_set()
[all …]
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_cmn.c3 * Copyright (c) 2007-2013 Broadcom Corporation
47 netif_napi_add(bp->dev, &bnx2x_fp(bp, i, napi), bnx2x_poll); in bnx2x_add_all_napi_cnic()
57 netif_napi_add(bp->dev, &bnx2x_fp(bp, i, napi), bnx2x_poll); in bnx2x_add_all_napi()
74 * bnx2x_move_fp - move content of the fastpath structure.
80 * Makes sure the contents of the bp->fp[to].napi is kept
88 struct bnx2x_fastpath *from_fp = &bp->fp[from]; in bnx2x_move_fp()
89 struct bnx2x_fastpath *to_fp = &bp->fp[to]; in bnx2x_move_fp()
90 struct bnx2x_sp_objs *from_sp_objs = &bp->sp_objs[from]; in bnx2x_move_fp()
91 struct bnx2x_sp_objs *to_sp_objs = &bp->sp_objs[to]; in bnx2x_move_fp()
92 struct bnx2x_fp_stats *from_fp_stats = &bp->fp_stats[from]; in bnx2x_move_fp()
[all …]
/linux/include/linux/
H A Dio_uring_types.h16 * Must not be used with requests generating more than one CQE.
27 /* executed by io-wq */
134 * ring_entries - 1)
207 /* inline/task_work completion list, under ->uring_lock */
228 /* const or read-mostly hot data */
283 * ->iopoll_list is protected by the ctx->uring_lock for
306 * ->uring_cmd() by io_uring_cmd_insert_cancelable()
398 /* io-wq management, e.g. thread count */
419 /* protected by ->completion_lock */
423 * Protection for resize vs mmap races - both the mmap and resize
[all …]
/linux/drivers/nvme/target/
H A Dfc.c1 // SPDX-License-Identifier: GPL-2.0
8 #include <linux/blk-mq.h>
15 #include <linux/nvme-fc-driver.h>
16 #include <linux/nvme-fc.h>
32 struct list_head ls_rcv_list; /* tgtport->ls_rcv_list */
55 struct list_head lsreq_list; /* tgtport->ls_req_list */
60 /* desired maximum for a single sequence - if sg list allows it */
93 struct list_head fcp_list; /* tgtport->fcp_list */
179 return (iodptr - iodptr->tgtport->iod); in nvmet_fc_iodnum()
185 return (fodptr - fodptr->queue->fod); in nvmet_fc_fodnum()
[all …]
H A Dpassthru.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (c) 2017-2018 Western Digital Corporation or its
7 * Copyright (c) 2019-2020, Eideticom Inc.
27 * controller actually supports it. in nvmet_passthrough_override_cap()
29 if (!nvme_multi_css(ctrl->subsys->passthru_ctrl)) in nvmet_passthrough_override_cap()
30 ctrl->cap &= ~(1ULL << 43); in nvmet_passthrough_override_cap()
35 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_passthru_override_id_descs()
42 if (!ctrl->subsys->clear_ids) in nvmet_passthru_override_id_descs()
56 if (cur->nidl == 0) in nvmet_passthru_override_id_descs()
58 if (cur->nidt == NVME_NIDT_CSI) { in nvmet_passthru_override_id_descs()
[all …]
/linux/drivers/scsi/elx/efct/
H A Defct_hw.c1 // SPDX-License-Identifier: GPL-2.0
36 hw->link.status = SLI4_LINK_STATUS_MAX; in efct_hw_link_event_init()
37 hw->link.topology = SLI4_LINK_TOPO_NONE; in efct_hw_link_event_init()
38 hw->link.medium = SLI4_LINK_MEDIUM_MAX; in efct_hw_link_event_init()
39 hw->link.speed = 0; in efct_hw_link_event_init()
40 hw->link.loop_map = NULL; in efct_hw_link_event_init()
41 hw->link.fc_id = U32_MAX; in efct_hw_link_event_init()
50 struct efct *efct = hw->os; in efct_hw_read_max_dump_size()
55 if (PCI_FUNC(efct->pci->devfn) != 0) in efct_hw_read_max_dump_size()
58 if (sli_cmd_common_set_dump_location(&hw->sli, buf, 1, 0, NULL, 0)) in efct_hw_read_max_dump_size()
[all …]
/linux/tools/net/ynl/
H A Dethtool.py2 # SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
17 Verify and convert command-line arguments to the ynl-compatible request.
20 valid_attrs.remove('header') # not user-provided
44 Pretty-print a set of fields from the reply. desc specifies the
69 Print out the speed-lik
[all...]
/linux/arch/arm64/boot/dts/qcom/
H A Dqcs404-evb.dtsi1 // SPDX-License-Identifier: GPL-2.0
6 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
19 stdout-path = "serial0";
22 vph_pwr: vph-pwr-regulator {
23 compatible = "regulator-fixed";
24 regulator-name = "vph_pwr";
25 regulator-always-on;
26 regulator-boot-on;
[all …]
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dcmd.h1 /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */
2 /* Copyright (c) 2015-2018 Mellanox Technologies. All rights reserved */
190 /* QUERY_FW - Query Firmware
191 * -------------------------
193 * -----------------------
212 * Firmware Revision - Major
217 * Firmware Sub-minor version (Patch level)
222 * Firmware Revision - Minor
233 * every time a non-backward-compatible change is done for the command
250 * Firmware timestamp - hour
[all …]
/linux/drivers/nvme/host/
H A Dfc.c1 // SPDX-License-Identifier: GPL-2.0
12 #include <linux/blk-cgroup.h>
15 #include <linux/nvme-fc-driver.h>
16 #include <linux/nvme-fc.h>
19 #include <linux/blk-mq-pci.h>
66 struct list_head lsreq_list; /* rport->ls_req_list */
78 struct list_head lsrcv_list; /* rport->ls_rcv_list */
134 struct list_head endp_list; /* for lport->endp_list */
148 /* fc_ctrl flags values - specified as bit positions */
165 struct list_head ctrl_list; /* rport->ctrl_list */
[all …]
/linux/drivers/net/ethernet/microsoft/mana/
H A Dmana_en.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
37 struct gdma_queue *gdma_q = filp->private_data; in mana_dbg_q_read()
39 return simple_read_from_buffer(buf, count, pos, gdma_q->queue_mem_ptr, in mana_dbg_q_read()
40 gdma_q->queue_size); in mana_dbg_q_read()
60 apc->port_is_up = true; in mana_open()
75 if (!apc->port_is_up) in mana_close()
88 if (skb->protocol == htons(ETH_P_IP)) { in mana_checksum_info()
91 if (ip->protocol == IPPROTO_TCP) in mana_checksum_info()
94 if (ip->protocol == IPPROTO_UDP) in mana_checksum_info()
96 } else if (skb->protocol == htons(ETH_P_IPV6)) { in mana_checksum_info()
[all …]
/linux/include/rdma/
H A Dib_verbs.h1 /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */
18 #include <linux/dma-mapping.h>
204 if (attr->gid_type == IB_GID_TYPE_IB) in rdma_gid_attr_network_type()
207 if (attr->gid_type == IB_GID_TYPE_ROCE) in rdma_gid_attr_network_type()
210 if (ipv6_addr_v4mapped((struct in6_addr *)&attr->gid)) in rdma_gid_attr_network_type()
252 * This device supports the IB "base memory management extension",
270 /* The device supports paddin
372 unsigned int cqe; global() member
1599 int cqe; global() member
[all...]

123