Lines Matching +full:hdr +full:- +full:engine
1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright(c) 2023 - Cornelis Networks, Inc.
4 * Copyright(c) 2015 - 2018 Intel Corporation.
27 #define num_pages(x) (1 + ((((x) - 1) & PAGE_MASK) >> PAGE_SHIFT))
43 #define PBC2LRH(x) ((((x) & 0xfff) << 2) - 4)
48 * @arr - Array to save the descriptor to.
49 * @idx - Index of the array at which the descriptor will be saved.
50 * @array_size - Size of the array arr.
51 * @dw - Update index into the header in DWs.
52 * @bit - Start bit.
53 * @width - Field width.
54 * @value - 16 bits of immediate data to write into the field.
55 * Returns -ERANGE if idx is invalid. If successful, returns the next index
62 return -ERANGE; in ahg_header_set()
79 hfi1_cdbg(SDMA, "[%u:%u:%u:%u] " fmt, (req)->pq->dd->unit, \
80 (req)->pq->ctxt, (req)->pq->subctxt, (req)->info.comp_idx, \
124 struct hfi1_pkt_header hdr; member
130 * Pointer to the SDMA engine for this request.
132 * each request will need it's own engine pointer.
186 struct hfi1_pkt_header hdr; member