Home
last modified time | relevance | path

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

12345

/kernel/linux/linux-5.10/include/linux/mmc/
Dhost.h1 /* SPDX-License-Identifier: GPL-2.0-only */
12 #include <linux/fault-inject.h>
17 #include <linux/dma-direction.h>
108 * ios->clock might be 0. For some controllers, setting 0Hz
118 * 1 for a read-only card
119 * -ENOSYS when not supported (equal to NULL callback)
128 * -ENOSYS when not supported (equal to NULL callback)
179 /* Allocate resources, and make the CQE operational */
181 /* Free resources, and make the CQE non-operational */
184 * Issue a read, write or DCMD request to the CQE. Also deal with the
[all …]
/kernel/linux/linux-4.19/include/linux/mmc/
Dhost.h15 #include <linux/fault-inject.h>
20 #include <linux/dma-direction.h>
108 * ios->clock might be 0. For some controllers, setting 0Hz
118 * 1 for a read-only card
119 * -ENOSYS when not supported (equal to NULL callback)
128 * -ENOSYS when not supported (equal to NULL callback)
174 /* Allocate resources, and make the CQE operational */
176 /* Free resources, and make the CQE non-operational */
179 * Issue a read, write or DCMD request to the CQE. Also deal with the
180 * effect of ->cqe_off().
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/mmc/
Dmmc.txt6 - reg: Registers location and length.
7 - interrupts: Interrupts used by the MMC controller.
12 - broken-cd: There is no card detection available; polling must be used.
13 - cd-gpios: Specify GPIOs for card detection, see gpio binding
14 - non-removable: non-removable slot (like eMMC); assume always present.
17 - bus-width: Number of data lines, can be <1>, <4>, or <8>. The default
19 - wp-gpios: Specify GPIOs for write protection, see gpio binding
20 - cd-inverted: when present, polarity on the CD line is inverted. See the note
22 - cd-debounce-delay-ms: Set delay time before detecting card after card insert interrupt.
23 It's only valid when cd-gpios is present.
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/ulp/rtrs/
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.
28 MAX_IMM_TYPE_MASK = ((1 << MAX_IMM_TYPE_BITS) - 1),
30 MAX_IMM_PAYL_MASK = ((1 << MAX_IMM_PAYL_BITS) - 1),
121 struct ib_cqe cqe; member
129 * enum rtrs_msg_types - RTRS message types, see also rtrs/README
145 * enum rtrs_msg_flags - RTRS message flags.
155 * struct rtrs_sg_desc - RDMA-Buffer entry description
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/ulp/iser/
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>
127 * supports -EAGAIN scheme where tx is suspended till the QP has room for more *
147 - ISER_MAX_TX_MISC_PDUS \
148 - ISER_MAX_RX_MISC_PDUS) / \
185 * struct iser_data_buf - iSER data buffer
206 * struct iser_mem_reg - iSER memory registration info
[all …]
/kernel/linux/linux-4.19/drivers/infiniband/hw/cxgb4/
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
48 res_wr->op_nres = cpu_to_be32( in destroy_cq()
52 res_wr->len16_pkd = cpu_to_be32(DIV_ROUND_UP(wr_len, 16)); in destroy_cq()
53 res_wr->cookie = (uintptr_t)wr_waitp; in destroy_cq()
54 res = res_wr->res; in destroy_cq()
55 res->u.cq.restype = FW_RI_RES_TYPE_CQ; in destroy_cq()
56 res->u.cq.op = FW_RI_RES_OP_RESET; in destroy_cq()
57 res->u.cq.iqid = cpu_to_be32(cq->cqid); in destroy_cq()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/
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 …]
/kernel/linux/linux-4.19/drivers/infiniband/ulp/iser/
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>
101 #define MASK_4K (~(SIZE_4K-1))
131 * supports -EAGAIN scheme where tx is suspended till the QP has room for more *
151 - ISER_MAX_TX_MISC_PDUS \
152 - ISER_MAX_RX_MISC_PDUS) / \
189 * struct iser_data_buf - iSER data buffer
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mmc/
Dbrcm,sdhci-brcmstb.txt4 and the properties used by the sdhci-brcmstb driver.
11 - compatible: should be one of the following
12 - "brcm,bcm7425-sdhci"
13 - "brcm,bcm7445-sdhci"
14 - "brcm,bcm7216-sdhci"
16 Refer to clocks/clock-bindings.txt for generic clock consumer properties.
21 sd-uhs-sdr50;
22 sd-uhs-ddr50;
23 sd-uhs-sdr104;
24 sdhci,auto-cmd12;
[all …]
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:
46 non-removable:
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/efa/
Defa_com.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
3 * Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All rights reserved.
71 struct efa_com_mmio_read *mmio_read = &edev->mmio_read; in efa_com_reg_read32()
77 read_resp = mmio_read->read_resp; in efa_com_reg_read32()
79 spin_lock(&mmio_read->lock); in efa_com_reg_read32()
80 mmio_read->seq_num++; in efa_com_reg_read32()
83 read_resp->req_id = mmio_read->seq_num + 0x9aL; in efa_com_reg_read32()
86 mmio_read->seq_num); in efa_com_reg_read32()
88 writel(mmio_read_reg, edev->reg_bar + EFA_REGS_MMIO_REG_READ_OFF); in efa_com_reg_read32()
90 exp_time = jiffies + usecs_to_jiffies(mmio_read->mmio_read_timeout); in efa_com_reg_read32()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/
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 …]
/kernel/linux/linux-4.19/drivers/infiniband/hw/vmw_pvrdma/
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
66 * Masks and accessors for page directory, which is a two-level lookup:
67 * page directory -> page table -> page. Only one directory for now, but we
81 * Max MSI-X vectors.
99 #define PVRDMA_CQ_FLAG_ARMED_SOL BIT(0) /* Armed for solicited-only. */
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qede/
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.
33 /* In case lazy-allocation is allowed, postpone allocation until the in qede_alloc_rx_buffer()
37 if (allow_lazy && likely(rxq->filled_buffers > 12)) { in qede_alloc_rx_buffer()
38 rxq->filled_buffers--; in qede_alloc_rx_buffer()
44 return -ENOMEM; in qede_alloc_rx_buffer()
49 mapping = dma_map_page(rxq->dev, data, 0, in qede_alloc_rx_buffer()
50 PAGE_SIZE, rxq->data_direction); in qede_alloc_rx_buffer()
51 if (unlikely(dma_mapping_error(rxq->dev, mapping))) { in qede_alloc_rx_buffer()
[all …]
/kernel/linux/linux-4.19/drivers/net/ethernet/qlogic/qede/
Dqede_fp.c2 * Copyright (c) 2015-2017 QLogic Corporation
14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
58 /* In case lazy-allocation is allowed, postpone allocation until the in qede_alloc_rx_buffer()
62 if (allow_lazy && likely(rxq->filled_buffers > 12)) { in qede_alloc_rx_buffer()
63 rxq->filled_buffers--; in qede_alloc_rx_buffer()
69 return -ENOMEM; in qede_alloc_rx_buffer()
74 mapping = dma_map_page(rxq->dev, data, 0, in qede_alloc_rx_buffer()
75 PAGE_SIZE, rxq->data_direction); in qede_alloc_rx_buffer()
76 if (unlikely(dma_mapping_error(rxq->dev, mapping))) { in qede_alloc_rx_buffer()
[all …]
/kernel/linux/linux-4.19/drivers/infiniband/hw/cxgb3/
Diwch_provider.c14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
61 #include <rdma/cxgb3-abi.h>
66 struct iwch_dev *rhp = to_iwch_dev(context->device); in iwch_dealloc_ucontext()
71 list_for_each_entry_safe(mm, tmp, &ucontext->mmaps, entry) in iwch_dealloc_ucontext()
73 cxio_release_ucontext(&rhp->rdev, &ucontext->uctx); in iwch_dealloc_ucontext()
87 return ERR_PTR(-ENOMEM); in iwch_alloc_ucontext()
88 cxio_init_ucontext(&rhp->rdev, &context->uctx); in iwch_alloc_ucontext()
89 INIT_LIST_HEAD(&context->mmaps); in iwch_alloc_ucontext()
90 spin_lock_init(&context->mmap_lock); in iwch_alloc_ucontext()
[all …]
/kernel/linux/linux-5.10/drivers/mmc/host/
Dsdhci-brcmstb.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * sdhci-brcmstb.c Support for SDHCI on Broadcom BRCMSTB SoC's
15 #include "sdhci-pltfm.h"
43 dev_dbg(mmc_dev(mmc), "%s(): Setting HS400-Enhanced-Strobe mode\n", in sdhci_brcmstb_hs400es()
45 reg = readl(host->ioaddr + SDHCI_VENDOR); in sdhci_brcmstb_hs400es()
46 if (ios->enhanced_strobe) in sdhci_brcmstb_hs400es()
50 writel(reg, host->ioaddr + SDHCI_VENDOR); in sdhci_brcmstb_hs400es()
57 host->mmc->actual_clock = 0; in sdhci_brcmstb_set_clock()
59 clk = sdhci_calc_clk(host, clock, &host->mmc->actual_clock); in sdhci_brcmstb_set_clock()
73 dev_dbg(mmc_dev(host->mmc), "%s: Setting UHS signaling for %d timing\n", in sdhci_brcmstb_set_uhs_signaling()
[all …]
Dsdhci-tegra.c1 // SPDX-License-Identifier: GPL-2.0-only
7 #include <linux/dma-mapping.h>
23 #include <linux/mmc/slot-gpio.h>
27 #include "sdhci-pltfm.h"
119 /* SDMMC CQE Base Address for Tegra Host Ver 4.1 and Higher */
180 const struct sdhci_tegra_soc_data *soc_data = tegra_host->soc_data; in tegra_sdhci_readw()
182 if (unlikely((soc_data->nvquirks & NVQUIRK_FORCE_SDHCI_SPEC_200) && in tegra_sdhci_readw()
188 return readw(host->ioaddr + reg); in tegra_sdhci_readw()
201 pltfm_host->xfer_mode_shadow = val; in tegra_sdhci_writew()
204 writel((val << 16) | pltfm_host->xfer_mode_shadow, in tegra_sdhci_writew()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/amazon/ena/
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.
114 * 1 : ctrl_data - control buffer address valid
115 * 2 : ctrl_data_indirect - control buffer address
137 * 7:5 : sq_direction - 0x1 - Tx; 0x2 - Rx
188 * 7:5 : sq_direction - 0x1 - Tx, 0x2 - Rx
194 /* 3:0 : placement_policy - Describing where the SQ
196 * 0x1 - descriptors and headers are in OS memory,
197 * 0x3 - descriptors and headers in device memory
199 * 6:4 : completion_policy - Describing what policy
[all …]
/kernel/linux/linux-4.19/drivers/mmc/core/
Dcore.c4 * Copyright (C) 2003-2004 Russell King, All Rights Reserved.
6 * Copyright (C) 2005-2008 Pierre Ossman, All Rights Reserved.
28 #include <linux/fault-inject.h>
37 #include <linux/mmc/slot-gpio.h>
53 /* The max erase timeout, used when host->max_busy_timeout isn't specified */
87 struct mmc_command *cmd = mrq->cmd; in mmc_should_fail_request()
88 struct mmc_data *data = mrq->data; in mmc_should_fail_request()
90 -ETIMEDOUT, in mmc_should_fail_request()
91 -EILSEQ, in mmc_should_fail_request()
92 -EIO, in mmc_should_fail_request()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c3 * Copyright (c) 2007-2013 Broadcom Corporation
46 netif_napi_add(bp->dev, &bnx2x_fp(bp, i, napi), in bnx2x_add_all_napi_cnic()
57 netif_napi_add(bp->dev, &bnx2x_fp(bp, i, napi), in bnx2x_add_all_napi()
75 * bnx2x_move_fp - move content of the fastpath structure.
81 * Makes sure the contents of the bp->fp[to].napi is kept
89 struct bnx2x_fastpath *from_fp = &bp->fp[from]; in bnx2x_move_fp()
90 struct bnx2x_fastpath *to_fp = &bp->fp[to]; in bnx2x_move_fp()
91 struct bnx2x_sp_objs *from_sp_objs = &bp->sp_objs[from]; in bnx2x_move_fp()
92 struct bnx2x_sp_objs *to_sp_objs = &bp->sp_objs[to]; in bnx2x_move_fp()
93 struct bnx2x_fp_stats *from_fp_stats = &bp->fp_stats[from]; in bnx2x_move_fp()
[all …]
/kernel/linux/linux-4.19/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c3 * Copyright (c) 2007-2013 Broadcom Corporation
47 netif_napi_add(bp->dev, &bnx2x_fp(bp, i, napi), in bnx2x_add_all_napi_cnic()
58 netif_napi_add(bp->dev, &bnx2x_fp(bp, i, napi), in bnx2x_add_all_napi()
76 * bnx2x_move_fp - move content of the fastpath structure.
82 * Makes sure the contents of the bp->fp[to].napi is kept
90 struct bnx2x_fastpath *from_fp = &bp->fp[from]; in bnx2x_move_fp()
91 struct bnx2x_fastpath *to_fp = &bp->fp[to]; in bnx2x_move_fp()
92 struct bnx2x_sp_objs *from_sp_objs = &bp->sp_objs[from]; in bnx2x_move_fp()
93 struct bnx2x_sp_objs *to_sp_objs = &bp->sp_objs[to]; in bnx2x_move_fp()
94 struct bnx2x_fp_stats *from_fp_stats = &bp->fp_stats[from]; in bnx2x_move_fp()
[all …]
/kernel/linux/linux-5.10/drivers/mmc/core/
Dcore.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2003-2004 Russell King, All Rights Reserved.
7 * Copyright (C) 2005-2008 Pierre Ossman, All Rights Reserved.
24 #include <linux/fault-inject.h>
33 #include <linux/mmc/slot-gpio.h>
49 /* The max erase timeout, used when host->max_busy_timeout isn't specified */
84 struct mmc_command *cmd = mrq->cmd; in mmc_should_fail_request()
85 struct mmc_data *data = mrq->data; in mmc_should_fail_request()
87 -ETIMEDOUT, in mmc_should_fail_request()
88 -EILSEQ, in mmc_should_fail_request()
[all …]
/kernel/linux/linux-4.19/drivers/nvme/target/
Dfc.c11 * PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO
20 #include <linux/blk-mq.h>
27 #include <linux/nvme-fc-driver.h>
28 #include <linux/nvme-fc.h>
46 struct list_head ls_list; /* tgtport->ls_list */
61 /* desired maximum for a single sequence - if sg list allows it */
96 struct list_head fcp_list; /* tgtport->fcp_list */
161 return (iodptr - iodptr->tgtport->iod); in nvmet_fc_iodnum()
167 return (fodptr - fodptr->queue->fod); in nvmet_fc_fodnum()
183 #define NVMET_FC_QUEUEID_MASK ((u64)((1 << BYTES_FOR_QID_SHIFT) - 1))
[all …]
/kernel/linux/linux-4.19/drivers/net/ethernet/amazon/ena/
Dena_com.c14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
38 /* Timeout in micro-sec */
75 /* Abort - canceled by the driver */
99 if ((addr & GENMASK_ULL(ena_dev->dma_addr_bits - 1, 0)) != addr) { in ena_com_mem_addr_set()
100 pr_err("dma address has more bits that the device supports\n"); in ena_com_mem_addr_set()
101 return -EINVAL; in ena_com_mem_addr_set()
104 ena_addr->mem_addr_low = lower_32_bits(addr); in ena_com_mem_addr_set()
105 ena_addr->mem_addr_high = (u16)upper_32_bits(addr); in ena_com_mem_addr_set()
112 struct ena_com_admin_sq *sq = &queue->sq; in ena_com_admin_init_sq()
[all …]

12345