Home
last modified time | relevance | path

Searched refs:uc_css_header (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/gpu/drm/i915/gt/uc/
A Dintel_uc_fw_abi.h49 struct uc_css_header { struct
85 static_assert(sizeof(struct uc_css_header) == 128); argument
A Dintel_uc_fw.c590 static void guc_read_css_info(struct intel_uc_fw *uc_fw, struct uc_css_header *css) in guc_read_css_info()
642 struct uc_css_header *css; in __check_ccs_header()
646 if (unlikely(fw_size < sizeof(struct uc_css_header))) { in __check_ccs_header()
649 fw_size, sizeof(struct uc_css_header)); in __check_ccs_header()
653 css = (struct uc_css_header *)fw_data; in __check_ccs_header()
658 if (unlikely(size != sizeof(struct uc_css_header))) { in __check_ccs_header()
661 fw_size, sizeof(struct uc_css_header)); in __check_ccs_header()
672 size = sizeof(struct uc_css_header) + uc_fw->ucode_size + uc_fw->rsa_size; in __check_ccs_header()
1112 sizeof(struct uc_css_header) + uc_fw->ucode_size); in uc_fw_xfer()
1337 u32 offset = uc_fw->dma_start_offset + sizeof(struct uc_css_header) + uc_fw->ucode_size; in intel_uc_fw_copy_rsa()
A Dintel_huc_fw.c111 const struct uc_css_header *css = data; in css_valid()
113 if (unlikely(size < sizeof(struct uc_css_header))) in css_valid()
A Dintel_uc_fw.h279 return sizeof(struct uc_css_header) + uc_fw->ucode_size; in __intel_uc_fw_get_upload_size()
/linux/drivers/gpu/drm/xe/
A Dxe_uc_fw.c311 static int guc_read_css_info(struct xe_uc_fw *uc_fw, struct uc_css_header *css) in guc_read_css_info()
385 struct uc_css_header *css; in parse_css_header()
389 if (unlikely(fw_size < sizeof(struct uc_css_header))) { in parse_css_header()
392 fw_size, sizeof(struct uc_css_header)); in parse_css_header()
396 css = (struct uc_css_header *)fw_data; in parse_css_header()
401 if (unlikely(size != sizeof(struct uc_css_header))) { in parse_css_header()
405 fw_size, sizeof(struct uc_css_header)); in parse_css_header()
416 size = sizeof(struct uc_css_header) + uc_fw->ucode_size + in parse_css_header()
830 sizeof(struct uc_css_header) + uc_fw->ucode_size); in uc_fw_xfer()
A Dxe_uc_fw.h25 return sizeof(struct uc_css_header) + uc_fw->ucode_size + uc_fw->css_offset; in xe_uc_fw_rsa_offset()
172 return sizeof(struct uc_css_header) + uc_fw->ucode_size; in __xe_uc_fw_get_upload_size()
A Dxe_uc_fw_abi.h47 struct uc_css_header { struct
86 static_assert(sizeof(struct uc_css_header) == 128); argument

Completed in 45 milliseconds