| /Linux-v5.15/drivers/gpu/drm/ |
| D | drm_property.c | 516 * NOTE: The idea seems to have been to use this to read all the blob in drm_mode_getproperty_ioctl() 519 * read the value for a blob property. It also doesn't make a lot of in drm_mode_getproperty_ioctl() 531 struct drm_property_blob *blob = in drm_property_free_blob() local 534 mutex_lock(&blob->dev->mode_config.blob_lock); in drm_property_free_blob() 535 list_del(&blob->head_global); in drm_property_free_blob() 536 mutex_unlock(&blob->dev->mode_config.blob_lock); in drm_property_free_blob() 538 drm_mode_object_unregister(blob->dev, &blob->base); in drm_property_free_blob() 540 kvfree(blob); in drm_property_free_blob() 544 * drm_property_create_blob - Create new blob property 546 * @length: Length to allocate for blob data [all …]
|
| D | drm_color_mgmt.c | 42 * Blob property to set the degamma lookup table (LUT) mapping pixel data 49 * Setting this to NULL (blob property value set to 0) means a 51 * driver boot-up state too. Drivers can access this blob through 62 * Blob property to set the current transformation matrix (CTM) apply to 67 * Setting this to NULL (blob property value set to 0) means a 69 * boot-up state too. Drivers can access the blob for the color conversion 73 * Blob property to set the gamma lookup table (LUT) mapping pixel data 80 * Setting this to NULL (blob property value set to 0) means a 82 * driver boot-up state too. Drivers can access this blob through 279 struct drm_property_blob *blob; in drm_crtc_legacy_gamma_set() local [all …]
|
| /Linux-v5.15/drivers/staging/media/atomisp/pci/ |
| D | sh_css_firmware.c | 66 struct ia_css_blob_descr *sh_css_blob_info; /* Only ISP blob info (no SP) */ 90 blob_data = fw_data + fw->blob.offset; in setup_binary() 94 sh_css_fw->blob.code = vmalloc(fw->blob.size); in setup_binary() 95 if (!sh_css_fw->blob.code) in setup_binary() 98 memcpy((void *)sh_css_fw->blob.code, blob_data, fw->blob.size); in setup_binary() 99 sh_css_fw->blob.data = (char *)sh_css_fw->blob.code + fw->blob.data_source; in setup_binary() 100 fw_minibuffer[binary_id].buffer = sh_css_fw->blob.code; in setup_binary() 111 const unsigned char *blob; in sh_css_load_blob_info() local 120 name = fw + bi->blob.prog_name_offset; in sh_css_load_blob_info() 121 blob = (const unsigned char *)fw + bi->blob.offset; in sh_css_load_blob_info() [all …]
|
| D | ia_css_acc_types.h | 73 /* Blob descriptor. 74 * This structure describes an SP or ISP blob. 80 /** Static blob data */ 81 u32 offset; /** Blob offset in fw file */ 85 u32 size; /** Size of blob */ 87 u32 icache_source; /** Position of icache in blob */ 90 u32 text_source; /** Position of text in blob */ 93 u32 data_source; /** Position of data in blob */ 296 CSS_ALIGN(const struct ia_css_blob_descr *blob, 8); 382 struct ia_css_blob_info blob; /** Blob info */ member [all …]
|
| /Linux-v5.15/scripts/dtc/ |
| D | fdtoverlay.c | 25 "apply a number of overlays to a base blob\n" 37 "Input base DT blob", 38 "Output DT blob", 54 * both the base blob and the overlay in apply_one() 97 char *blob = NULL; in do_fdtoverlay() local 102 blob = utilfdt_read(input_filename, &buf_len); in do_fdtoverlay() 103 if (!blob) { in do_fdtoverlay() 107 if (fdt_totalsize(blob) > buf_len) { in do_fdtoverlay() 109 "\nBase blob is incomplete (%lu / %" PRIu32 " bytes read)\n", in do_fdtoverlay() 110 (unsigned long)buf_len, fdt_totalsize(blob)); in do_fdtoverlay() [all …]
|
| D | fdtget.c | 104 * @param blob FDT blob 108 static int list_properties(const void *blob, int node) in list_properties() argument 114 prop = fdt_first_property_offset(blob, node); in list_properties() 119 data = fdt_get_property_by_offset(blob, prop, NULL); in list_properties() 120 name = fdt_string(blob, fdt32_to_cpu(data->nameoff)); in list_properties() 123 prop = fdt_next_property_offset(blob, prop); in list_properties() 132 * @param blob FDT blob 136 static int list_subnodes(const void *blob, int node) in list_subnodes() argument 145 tag = fdt_next_tag(blob, node, &nextoffset); in list_subnodes() 148 pathp = fdt_get_name(blob, node, NULL); in list_subnodes() [all …]
|
| D | flattree.c | 349 struct data blob = empty_data; in dt_to_blob() local 361 die("Unknown device tree blob version %d\n", version); in dt_to_blob() 381 "Warning: blob size %"PRIu32" >= minimum size %d\n", in dt_to_blob() 400 * Assemble the blob: start with the header, add with alignment in dt_to_blob() 404 blob = data_append_data(blob, &fdt, vi->hdr_size); in dt_to_blob() 405 blob = data_append_align(blob, 8); in dt_to_blob() 406 blob = data_merge(blob, reservebuf); in dt_to_blob() 407 blob = data_append_zeroes(blob, sizeof(struct fdt_reserve_entry)); in dt_to_blob() 408 blob = data_merge(blob, dtbuf); in dt_to_blob() 409 blob = data_merge(blob, strbuf); in dt_to_blob() [all …]
|
| D | fdtput.c | 120 static int store_key_value(void *blob, const char *node_name, in store_key_value() argument 126 node = fdt_path_offset(blob, node_name); in store_key_value() 132 err = fdt_setprop(blob, node, property, buf, len); in store_key_value() 146 * @param blob FDT blob to write into 150 static int create_paths(void *blob, const char *in_path) in create_paths() argument 166 node = fdt_subnode_offset_namelen(blob, offset, path, in create_paths() 169 node = fdt_add_subnode_namelen(blob, offset, path, in create_paths() 188 * @param blob FDT blob to write into 192 static int create_node(void *blob, const char *node_name) in create_node() argument 205 node = fdt_path_offset(blob, node_name); in create_node() [all …]
|
| /Linux-v5.15/drivers/gpu/drm/i915/gt/uc/ |
| D | intel_guc_ads.c | 21 * Layout of the ADS blob allocated for the GuC: 119 struct __guc_ads_blob *blob = guc->ads_blob; in intel_guc_ads_print_policy_info() local 121 if (unlikely(!blob)) in intel_guc_ads_print_policy_info() 125 drm_printf(dp, " DPC promote time = %u\n", blob->policies.dpc_promote_time); in intel_guc_ads_print_policy_info() 126 drm_printf(dp, " Max num work items = %u\n", blob->policies.max_num_work_items); in intel_guc_ads_print_policy_info() 127 drm_printf(dp, " Flags = %u\n", blob->policies.global_flags); in intel_guc_ads_print_policy_info() 142 struct __guc_ads_blob *blob = guc->ads_blob; in intel_guc_global_policies_update() local 147 if (!blob) in intel_guc_global_policies_update() 150 GEM_BUG_ON(!blob->ads.scheduler_policies); in intel_guc_global_policies_update() 152 guc_policies_init(guc, &blob->policies); in intel_guc_global_policies_update() [all …]
|
| /Linux-v5.15/drivers/of/ |
| D | fdt_address.c | 40 void (*count_cells)(const void *blob, int parentoffset, 48 static void __init fdt_bus_default_count_cells(const void *blob, int parentoffset, in fdt_bus_default_count_cells() argument 54 prop = fdt_getprop(blob, parentoffset, "#address-cells", NULL); in fdt_bus_default_count_cells() 62 prop = fdt_getprop(blob, parentoffset, "#size-cells", NULL); in fdt_bus_default_count_cells() 109 static int __init fdt_translate_one(const void *blob, int parent, in fdt_translate_one() argument 119 ranges = fdt_getprop(blob, parent, rprop, &rlen); in fdt_translate_one() 163 static u64 __init fdt_translate_address(const void *blob, int node_offset) in fdt_translate_address() argument 173 fdt_get_name(blob, node_offset, NULL)); in fdt_translate_address() 175 reg = fdt_getprop(blob, node_offset, "reg", &len); in fdt_translate_address() 178 fdt_get_name(blob, node_offset, NULL)); in fdt_translate_address() [all …]
|
| D | fdt.c | 83 static bool of_fdt_device_is_available(const void *blob, unsigned long node) in of_fdt_device_is_available() argument 85 const char *status = fdt_getprop(blob, node, "status", NULL); in of_fdt_device_is_available() 108 static void populate_properties(const void *blob, in populate_properties() argument 120 for (cur = fdt_first_property_offset(blob, offset); in populate_properties() 122 cur = fdt_next_property_offset(blob, cur)) { in populate_properties() 127 val = fdt_getprop_by_offset(blob, cur, &pname, &sz); in populate_properties() 205 static int populate_node(const void *blob, in populate_node() argument 216 pathp = fdt_get_name(blob, offset, &len); in populate_node() 240 populate_properties(blob, offset, mem, np, pathp, dryrun); in populate_node() 277 * @blob: The parent device tree blob [all …]
|
| /Linux-v5.15/arch/s390/include/uapi/asm/ |
| D | pkey.h | 23 #define SECKEYBLOBSIZE 64 /* secure key blob size is always 64 bytes */ 24 #define PROTKEYBLOBSIZE 80 /* protected key blob size is always 80 bytes */ 25 #define MAXPROTKEYSIZE 64 /* a protected key blob may be up to 64 bytes */ 28 #define MINEP11AESKEYBLOBSIZE 256 /* min EP11 AES key blob size */ 29 #define MAXEP11AESKEYBLOBSIZE 320 /* max EP11 AES key blob size */ 31 /* Minimum size of a key blob */ 78 /* Struct to hold a CCA AES secure key blob */ 80 __u8 seckey[SECKEYBLOBSIZE]; /* the secure key blob */ 87 __u8 protkey[MAXPROTKEYSIZE]; /* the protected key blob */ 116 struct pkey_seckey seckey; /* out: the secure key blob */ [all …]
|
| /Linux-v5.15/scripts/dtc/libfdt/ |
| D | libfdt.h | 130 * External helpers to access words from a device tree blob. They're built 190 * @fdt: FDT blob 199 * @fdt: FDT blob 214 * @fdt: FDT blob (const void *) 311 * fdt_move() relocates, if possible, the device tree blob located at 313 * with the existing device tree blob at fdt. Therefore, 334 * @fdt: pointer to the device tree blob 339 * strings block of the device tree blob at fdt, and optionally also 350 * @fdt: pointer to the device tree blob 354 * strings block of the device tree blob at fdt. [all …]
|
| D | fdt_overlay.c | 16 * @fdto: pointer to the device tree overlay blob 45 * @fdt: Base device tree blob 46 * @fdto: Device tree overlay blob 104 * @fdt: Base device tree blob 105 * @node: Device tree overlay blob 143 * @fdto: Device tree overlay blob 181 * @fdto: Device tree overlay blob 203 * @fdto: Device tree overlay blob 310 * @fdto: Device tree overlay blob 347 * @fdt: Base Device Tree blob [all …]
|
| /Linux-v5.15/security/keys/trusted-keys/ |
| D | trusted_tpm2.c | 79 work1 = payload->blob; in tpm2_key_encode() 80 work1 = asn1_encode_sequence(work1, work1 + sizeof(payload->blob), in tpm2_key_encode() 85 return work1 - payload->blob; in tpm2_key_encode() 102 u8 *blob; in tpm2_key_decode() local 106 ret = asn1_ber_decoder(&tpm2key_decoder, &ctx, payload->blob, in tpm2_key_decode() 114 blob = kmalloc(ctx.priv_len + ctx.pub_len + 4, GFP_KERNEL); in tpm2_key_decode() 115 if (!blob) in tpm2_key_decode() 118 *buf = blob; in tpm2_key_decode() 121 memcpy(blob, ctx.priv, ctx.priv_len); in tpm2_key_decode() 122 blob += ctx.priv_len; in tpm2_key_decode() [all …]
|
| /Linux-v5.15/drivers/staging/media/ipu3/ |
| D | ipu3-css-fw.c | 19 bi->type, bi->blob.size, name); in imgu_css_fw_show_binary() 149 const char *name = (void *)css->fwp + bi->blob.prog_name_offset; in imgu_css_fw_init() 152 if (bi->blob.prog_name_offset >= css->fw->size) in imgu_css_fw_init() 154 len = strnlen(name, css->fw->size - bi->blob.prog_name_offset); in imgu_css_fw_init() 155 if (len + 1 > css->fw->size - bi->blob.prog_name_offset || in imgu_css_fw_init() 159 if (bi->blob.size != bi->blob.text_size + bi->blob.icache_size in imgu_css_fw_init() 160 + bi->blob.data_size + bi->blob.padding_size) in imgu_css_fw_init() 162 if (bi->blob.offset + bi->blob.size > css->fw->size) in imgu_css_fw_init() 217 if (bi->blob.memory_offsets.offsets[IMGU_ABI_PARAM_CLASS_PARAM] in imgu_css_fw_init() 220 bi->blob.memory_offsets.offsets[IMGU_ABI_PARAM_CLASS_CONFIG] in imgu_css_fw_init() [all …]
|
| /Linux-v5.15/crypto/asymmetric_keys/ |
| D | tpm_parser.c | 14 const void *blob; member 19 * Note the key data of the ASN.1 blob. 27 ctx->blob = value; in tpm_note_key() 34 * Parse a TPM-encrypted private key blob. 48 return tpm_key_create(ctx.blob, ctx.blob_len); in tpm_parse() 54 * Attempt to parse a data blob for a key as a TPM private key blob. 61 * TPM 1.2 keys are max 2048 bits long, so assume the blob is no in tpm_key_preparse() 101 MODULE_DESCRIPTION("TPM private key-blob parser");
|
| /Linux-v5.15/drivers/s390/crypto/ |
| D | zcrypt_ep11misc.h | 23 #define TOKVER_EP11_AES 0x03 /* EP11 AES key blob (old style) */ 24 #define TOKVER_EP11_AES_WITH_HEADER 0x06 /* EP11 AES key blob with header */ 25 #define TOKVER_EP11_ECC_WITH_HEADER 0x07 /* EP11 ECC key blob with header */ 27 /* inside view of an EP11 secure key blob */ 35 u16 len; /* total length in bytes of this blob */ 50 /* check ep11 key magic to find out if this is an ep11 key blob */ 59 * Simple check if the key blob is a valid EP11 AES key blob with header. 68 * Simple check if the key blob is a valid EP11 ECC key blob with header. 77 * Simple check if the key blob is a valid EP11 AES key blob with 148 * Derive proteced key from EP11 key blob (AES and ECC keys).
|
| /Linux-v5.15/include/drm/ |
| D | drm_property.h | 133 * Object properties work like blob properties, but in a more 138 * Blob properties store a binary blob without any format restriction. 139 * The binary blobs are created as KMS standalone objects, and blob 140 * property instance values store the ID of their associated blob 141 * object. Blob properties are created by calling 144 * Actual blob objects to contain blob data are created using 147 * Besides the built-in limit to only accept blob objects blob 149 * blob properties exist is backwards compatibility with existing 201 * struct drm_property_blob - Blob data for &drm_property 204 * @head_global: entry on the global blob list in [all …]
|
| /Linux-v5.15/Documentation/ABI/testing/ |
| D | sysfs-firmware-qemu_fw_cfg | 30 The only legacy blob displayed is the fw_cfg device revision: 50 blob's 'file name' in the fw_cfg directory. 51 size The length of the blob, as given in the fw_cfg 53 key The value of the blob's selector key as given in the 56 raw The raw bytes of the blob, obtained by selecting the 58 of bytes equal to the blob size from the data 67 to give each blob a descriptive name. For example:: 84 blob names, ending in symlinks to the by_key entry for each 95 of fw_cfg blob names are always "well behaved". I.e., there is 97 a dirname component of another fw_cfg blob, in which case the
|
| /Linux-v5.15/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
| D | gk20a.c | 41 struct nvkm_blob blob; in gk20a_gr_av_to_init() local 48 ret = nvkm_firmware_load_blob(subdev, path, name, ver, &blob); in gk20a_gr_av_to_init() 52 nent = (blob.size / sizeof(struct gk20a_fw_av)); in gk20a_gr_av_to_init() 64 struct gk20a_fw_av *av = &((struct gk20a_fw_av *)blob.data)[i]; in gk20a_gr_av_to_init() 75 nvkm_blob_dtor(&blob); in gk20a_gr_av_to_init() 91 struct nvkm_blob blob; in gk20a_gr_aiv_to_init() local 98 ret = nvkm_firmware_load_blob(subdev, path, name, ver, &blob); in gk20a_gr_aiv_to_init() 102 nent = (blob.size / sizeof(struct gk20a_fw_aiv)); in gk20a_gr_aiv_to_init() 114 struct gk20a_fw_aiv *av = &((struct gk20a_fw_aiv *)blob.data)[i]; in gk20a_gr_aiv_to_init() 125 nvkm_blob_dtor(&blob); in gk20a_gr_aiv_to_init() [all …]
|
| /Linux-v5.15/drivers/gpu/drm/i915/display/ |
| D | intel_color.c | 352 const struct drm_property_blob *blob) in chv_load_cgm_csc() argument 355 const struct drm_color_ctm *ctm = blob->data; in chv_load_cgm_csc() 540 const struct drm_property_blob *blob) in i9xx_load_lut_8() argument 547 if (!blob) in i9xx_load_lut_8() 550 lut = blob->data; in i9xx_load_lut_8() 569 const struct drm_property_blob *blob) in i965_load_lut_10p6() argument 572 const struct drm_color_lut *lut = blob->data; in i965_load_lut_10p6() 573 int i, lut_size = drm_color_lut_size(blob); in i965_load_lut_10p6() 606 const struct drm_property_blob *blob) in ilk_load_lut_8() argument 613 if (!blob) in ilk_load_lut_8() [all …]
|
| /Linux-v5.15/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
| D | gp102.c | 39 struct nvkm_blob *blob = &fb->vpr_scrubber; in gp102_fb_vpr_scrub() local 49 hsbin_hdr = nvfw_bin_hdr(subdev, blob->data); in gp102_fb_vpr_scrub() 50 fw_hdr = nvfw_hs_header(subdev, blob->data + hsbin_hdr->header_offset); in gp102_fb_vpr_scrub() 51 lhdr = nvfw_hs_load_header(subdev, blob->data + fw_hdr->hdr_offset); in gp102_fb_vpr_scrub() 52 scrub_data = blob->data + hsbin_hdr->data_offset; in gp102_fb_vpr_scrub() 54 patch_loc = *(u32 *)(blob->data + fw_hdr->patch_loc); in gp102_fb_vpr_scrub() 55 patch_sig = *(u32 *)(blob->data + fw_hdr->patch_sig); in gp102_fb_vpr_scrub() 58 blob->data + fw_hdr->sig_dbg_offset + patch_sig, in gp102_fb_vpr_scrub() 62 blob->data + fw_hdr->sig_prod_offset + patch_sig, in gp102_fb_vpr_scrub()
|
| /Linux-v5.15/drivers/gpu/drm/nouveau/include/nvkm/core/ |
| D | os.h | 31 nvkm_blob_dtor(struct nvkm_blob *blob) in nvkm_blob_dtor() argument 33 kfree(blob->data); in nvkm_blob_dtor() 34 blob->data = NULL; in nvkm_blob_dtor() 35 blob->size = 0; in nvkm_blob_dtor()
|
| /Linux-v5.15/arch/mips/netlogic/ |
| D | Kconfig | 10 Add an FDT blob for XLP EVP boards into the kernel. 20 Add an FDT blob for XLP VP boards into the kernel. 30 Add an FDT blob for XLP FVP board into the kernel. 40 Add an FDT blob for XLP GVP board into the kernel. 49 Add an FDT blob for XLP RVP board into the kernel.
|