Lines Matching defs:code
518 * upstream, hard-code the maximum number of devices.
1147 /* FIXME: Fix the below inconsistency of code size being in bytes whereas
1466 /* FIXME: We should be calculating the size when we upload the code in
2193 const void *code,
2216 memcpy(pvr_bo->bo->map, code, code_size);
2225 * \brief Upload PDS program data and code segments from host memory to device
2233 * \param[in] code Pointer to PDS code segment to upload.
2234 * \param[in] code_size_dwords Size of PDS code segment in dwords.
2235 * \param[in] code_alignment Required alignment of the PDS code segment in
2241 * \return VK_SUCCESS on success, or error code otherwise.
2247 const uint32_t *code,
2255 const size_t code_size = code_size_dwords * sizeof(*code);
2260 const uint64_t bo_size = (!!code) ? (code_offset + code_aligned_size)
2266 assert(code || data);
2267 assert(!code || (code_size_dwords != 0 && code_alignment != 0));
2293 if (code) {
2295 code,
2302 /* Store code size in dwords. */