Home
last modified time | relevance | path

Searched refs:blob (Results 1 – 25 of 173) sorted by relevance

1234567

/Linux-v5.4/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_ads.c71 struct __guc_ads_blob *blob = guc->ads_blob; in __guc_ads_init() local
77 guc_policies_init(&blob->policies); in __guc_ads_init()
94 blob->ads.golden_context_lrca[engine_class] = 0; in __guc_ads_init()
95 blob->ads.eng_state_size[engine_class] = in __guc_ads_init()
101 blob->system_info.slice_enabled = hweight8(RUNTIME_INFO(dev_priv)->sseu.slice_mask); in __guc_ads_init()
102 blob->system_info.rcs_enabled = 1; in __guc_ads_init()
103 blob->system_info.bcs_enabled = 1; in __guc_ads_init()
105 blob->system_info.vdbox_enable_mask = VDBOX_MASK(dev_priv); in __guc_ads_init()
106 blob->system_info.vebox_enable_mask = VEBOX_MASK(dev_priv); in __guc_ads_init()
107 blob->system_info.vdbox_sfc_support_mask = RUNTIME_INFO(dev_priv)->vdbox_sfc_access; in __guc_ads_init()
[all …]
/Linux-v5.4/drivers/gpu/drm/
Ddrm_property.c531 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()
561 struct drm_property_blob *blob; in drm_property_create_blob() local
567 blob = kvzalloc(sizeof(struct drm_property_blob)+length, GFP_KERNEL); in drm_property_create_blob()
568 if (!blob) in drm_property_create_blob()
573 INIT_LIST_HEAD(&blob->head_file); in drm_property_create_blob()
[all …]
Ddrm_writeback.c180 struct drm_property_blob *blob; in drm_writeback_connector_init() local
188 blob = drm_property_create_blob(dev, n_formats * sizeof(*formats), in drm_writeback_connector_init()
190 if (IS_ERR(blob)) in drm_writeback_connector_init()
191 return PTR_ERR(blob); in drm_writeback_connector_init()
229 blob->base.id); in drm_writeback_connector_init()
230 wb_connector->pixel_formats_blob_ptr = blob; in drm_writeback_connector_init()
239 drm_property_blob_put(blob); in drm_writeback_connector_init()
/Linux-v5.4/drivers/of/
Dfdt_address.c40 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 …]
Dfdt.c82 static bool of_fdt_device_is_available(const void *blob, unsigned long node) in of_fdt_device_is_available() argument
84 const char *status = fdt_getprop(blob, node, "status", NULL); in of_fdt_device_is_available()
107 static void populate_properties(const void *blob, in populate_properties() argument
119 for (cur = fdt_first_property_offset(blob, offset); in populate_properties()
121 cur = fdt_next_property_offset(blob, cur)) { in populate_properties()
126 val = fdt_getprop_by_offset(blob, cur, &pname, &sz); in populate_properties()
208 static bool populate_node(const void *blob, in populate_node() argument
219 pathp = fdt_get_name(blob, offset, &l); in populate_node()
243 populate_properties(blob, offset, mem, np, pathp, dryrun); in populate_node()
287 static int unflatten_dt_nodes(const void *blob, in unflatten_dt_nodes() argument
[all …]
/Linux-v5.4/scripts/dtc/
Dfdtput.c120 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()
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()
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()
212 node = fdt_add_subnode(blob, node, p + 1); in create_node()
225 char *blob; in do_fdtput() local
[all …]
Dfdtget.c108 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()
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()
192 static int show_data_for_item(const void *blob, struct display_info *disp, in show_data_for_item() argument
200 err = list_properties(blob, node); in show_data_for_item()
[all …]
Dflattree.c349 struct data blob = empty_data; in dt_to_blob() local
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()
415 blob = data_append_zeroes(blob, padlen); in dt_to_blob()
417 if (fwrite(blob.val, blob.len, 1, f) != 1) { in dt_to_blob()
429 data_free(blob); in dt_to_blob()
[all …]
Dfdtdump.c46 static void dump_blob(void *blob) in dump_blob() argument
48 struct fdt_header *bph = blob; in dump_blob()
53 (struct fdt_reserve_entry *)((char *)blob + off_mem_rsvmap); in dump_blob()
54 const char *p_struct = (const char *)blob + off_dt; in dump_blob()
55 const char *p_strings = (const char *)blob + off_str; in dump_blob()
/Linux-v5.4/drivers/staging/media/ipu3/
Dipu3-css-fw.c19 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.4/security/apparmor/include/
Dcred.h24 struct aa_label **blob = cred->security + apparmor_blob_sizes.lbs_cred; in cred_label() local
26 AA_BUG(!blob); in cred_label()
27 return *blob; in cred_label()
33 struct aa_label **blob = cred->security + apparmor_blob_sizes.lbs_cred; in set_cred_label() local
35 AA_BUG(!blob); in set_cred_label()
36 *blob = label; in set_cred_label()
/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/subdev/secboot/
Dacr.c36 void *blob; in nvkm_acr_load_firmware() local
48 blob = kmemdup(fw->data, fw->size, GFP_KERNEL); in nvkm_acr_load_firmware()
50 if (!blob) in nvkm_acr_load_firmware()
53 return blob; in nvkm_acr_load_firmware()
/Linux-v5.4/drivers/ata/
Dpata_octeon_cf.c384 u16 blob; in octeon_cf_tf_read16() local
388 blob = __raw_readw(base + 0xc); in octeon_cf_tf_read16()
389 tf->feature = blob >> 8; in octeon_cf_tf_read16()
391 blob = __raw_readw(base + 2); in octeon_cf_tf_read16()
392 tf->nsect = blob & 0xff; in octeon_cf_tf_read16()
393 tf->lbal = blob >> 8; in octeon_cf_tf_read16()
395 blob = __raw_readw(base + 4); in octeon_cf_tf_read16()
396 tf->lbam = blob & 0xff; in octeon_cf_tf_read16()
397 tf->lbah = blob >> 8; in octeon_cf_tf_read16()
399 blob = __raw_readw(base + 6); in octeon_cf_tf_read16()
[all …]
/Linux-v5.4/drivers/staging/rtl8192e/rtl8192e/
Dr8192E_firmware.c95 static bool _rtl92e_fw_prepare(struct net_device *dev, struct rt_fw_blob *blob, in _rtl92e_fw_prepare() argument
114 memset(blob->data, 0, padding); in _rtl92e_fw_prepare()
116 memset(blob->data + padding + fw->size, 0, 4); in _rtl92e_fw_prepare()
117 memcpy(blob->data + padding, fw->data, fw->size); in _rtl92e_fw_prepare()
119 blob->size = round_up(fw->size, 4) + padding; in _rtl92e_fw_prepare()
122 for (i = padding; i < blob->size; i += 4) { in _rtl92e_fw_prepare()
123 u32 *data = (u32 *)(blob->data + i); in _rtl92e_fw_prepare()
/Linux-v5.4/include/linux/
Dfirmware.h35 #define DECLARE_BUILTIN_FIRMWARE(name, blob) \ argument
36 DECLARE_BUILTIN_FIRMWARE_SIZE(name, &(blob), sizeof(blob))
38 #define DECLARE_BUILTIN_FIRMWARE_SIZE(name, blob, size) \ argument
40 __used __section(.builtin_fw) = { name, blob, size }
/Linux-v5.4/Documentation/ABI/testing/
Dsysfs-firmware-qemu_fw_cfg30 The only legacy blob displayed is the fw_cfg device revision:
49 blob's 'file name' in the fw_cfg directory.
50 size : The length of the blob, as given in the fw_cfg
52 key : The value of the blob's selector key as given in the
55 raw : The raw bytes of the blob, obtained by selecting the
57 of bytes equal to the blob size from the data
65 to give each blob a descriptive name. For example:
82 blob names, ending in symlinks to the by_key entry for each
93 of fw_cfg blob names are always "well behaved". I.e., there is
95 a dirname component of another fw_cfg blob, in which case the
Dsysfs-firmware-ofw35 Exports the FDT blob that was passed to the kernel by
37 as kexec to access the raw binary. This blob is also
39 made to the blob by the bootloader.
48 blob, and verified at late_initcall time. The sysfs
50 i.e., if the FDT blob has not been modified in the mean
/Linux-v5.4/drivers/gpu/drm/nouveau/dispnv50/
Dlut.c32 nv50_lut_load(struct nv50_lut *lut, int buffer, struct drm_property_blob *blob, in nv50_lut_load() argument
35 struct drm_color_lut *in = blob ? blob->data : NULL; in nv50_lut_load()
52 load(in, blob->length / sizeof(*in), mem); in nv50_lut_load()
/Linux-v5.4/tools/testing/selftests/tpm2/
Dtpm2_tests.py26 blob = self.client.seal(self.root_key, data, auth, None)
27 result = self.client.unseal(self.root_key, blob, auth, None)
45 blob = self.client.seal(self.root_key, data, auth, policy_dig)
53 result = self.client.unseal(self.root_key, blob, auth, handle)
65 blob = self.client.seal(self.root_key, data, auth, None)
67 result = self.client.unseal(self.root_key, blob, auth[:-1] + 'B', None)
88 blob = self.client.seal(self.root_key, data, auth, policy_dig)
102 result = self.client.unseal(self.root_key, blob, auth, handle)
121 result = self.client.unseal(self.root_key, blob, auth, handle)
138 blob = self.client.seal(self.root_key, data, auth, None)
/Linux-v5.4/drivers/gpu/drm/i915/display/
Dintel_color.c389 const struct drm_property_blob *blob) in i9xx_load_luts_internal() argument
403 if (blob) { in i9xx_load_luts_internal()
404 const struct drm_color_lut *lut = blob->data; in i9xx_load_luts_internal()
490 const struct drm_property_blob *blob) in i965_load_lut_10p6() argument
493 const struct drm_color_lut *lut = blob->data; in i965_load_lut_10p6()
494 int i, lut_size = drm_color_lut_size(blob); in i965_load_lut_10p6()
521 const struct drm_property_blob *blob) in ilk_load_lut_10() argument
524 const struct drm_color_lut *lut = blob->data; in ilk_load_lut_10()
525 int i, lut_size = drm_color_lut_size(blob); in ilk_load_lut_10()
557 const struct drm_property_blob *blob, in ivb_load_lut_10() argument
[all …]
/Linux-v5.4/crypto/asymmetric_keys/
Dasym_tpm.c120 const unsigned char *blob, uint32_t bloblen, in tpm_unbind() argument
153 bloblen, blob, 0, 0); in tpm_unbind()
164 storebytes(tb, blob, bloblen); in tpm_unbind()
206 const unsigned char *blob, uint32_t bloblen, in tpm_sign() argument
239 bloblen, blob, 0, 0); in tpm_sign()
250 storebytes(tb, blob, bloblen); in tpm_sign()
318 kfree(tk->blob); in asym_tpm_destroy()
544 tk->blob, tk->blob_len, &keyhandle); in tpm_key_decrypt()
693 tk->blob, tk->blob_len, &keyhandle); in tpm_key_sign()
831 const void *cur = tk->blob; in extract_key_parameters()
[all …]
Dtpm_parser.c14 const void *blob; member
27 ctx->blob = value; in tpm_note_key()
48 return tpm_key_create(ctx.blob, ctx.blob_len); in tpm_parse()
/Linux-v5.4/include/crypto/
Dasym_tpm_subtype.h8 void *blob; member
15 struct tpm_key *tpm_key_create(const void *blob, uint32_t blob_len);
/Linux-v5.4/arch/mips/netlogic/
DKconfig10 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.
/Linux-v5.4/security/apparmor/
Dmatch.c77 static struct table_header *unpack_table(char *blob, size_t bsize) in unpack_table() argument
89 th.td_id = be16_to_cpu(*(__be16 *) (blob)) - 1; in unpack_table()
92 th.td_flags = be16_to_cpu(*(__be16 *) (blob + 2)); in unpack_table()
93 th.td_lolen = be32_to_cpu(*(__be32 *) (blob + 8)); in unpack_table()
94 blob += sizeof(struct table_header); in unpack_table()
110 UNPACK_ARRAY(table->td_data, blob, th.td_lolen, in unpack_table()
113 UNPACK_ARRAY(table->td_data, blob, th.td_lolen, in unpack_table()
116 UNPACK_ARRAY(table->td_data, blob, th.td_lolen, in unpack_table()
281 struct aa_dfa *aa_dfa_unpack(void *blob, size_t size, int flags) in aa_dfa_unpack() argument
285 char *data = blob; in aa_dfa_unpack()

1234567