Home
last modified time | relevance | path

Searched full:attributes (Results 1 – 25 of 245) sorted by relevance

12345678910

/Zephyr-Core-3.5.0/modules/openthread/platform/
Dcrypto_psa.c119 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in ensureKeyIsLoaded() local
120 psa_status_t status = psa_get_key_attributes(aKeyRef, &attributes); in ensureKeyIsLoaded()
127 psa_reset_key_attributes(&attributes); in ensureKeyIsLoaded()
153 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in otPlatCryptoImportKey() local
160 psa_set_key_type(&attributes, toPsaKeyType(aKeyType)); in otPlatCryptoImportKey()
161 psa_set_key_algorithm(&attributes, toPsaAlgorithm(aKeyAlgorithm)); in otPlatCryptoImportKey()
162 psa_set_key_usage_flags(&attributes, toPsaKeyUsage(aKeyUsage)); in otPlatCryptoImportKey()
166 psa_set_key_lifetime(&attributes, PSA_KEY_LIFETIME_PERSISTENT); in otPlatCryptoImportKey()
167 psa_set_key_id(&attributes, *aKeyRef); in otPlatCryptoImportKey()
170 psa_set_key_lifetime(&attributes, PSA_KEY_LIFETIME_VOLATILE); in otPlatCryptoImportKey()
[all …]
/Zephyr-Core-3.5.0/include/zephyr/mem_mgmt/
Dmem_attr.h54 * marked with memory attributes.
63 /** Memory region attributes */
80 * @brief Check if a buffer has correct size and attributes.
83 * attributes fully match a memory region in terms of size and attributes.
85 * This is usually used to verify that a buffer has the expected attributes
89 * The expected set of attributes for the buffer is and-matched against the
90 * full set of attributes for the memory region it belongs to (bitmask). So the
91 * buffer is considered matching when at least that set of attributes are valid
93 * attributes besides the one passed as parameter).
102 * @retval -EINVAL if the buffer has the wrong set of attributes.
/Zephyr-Core-3.5.0/include/zephyr/dt-bindings/memory-attr/
Dmemory-attr.h12 * Generic memory attributes.
14 * Generic memory attributes that should be common to all architectures.
28 * Software specific memory attributes.
30 * Software can define their own memory attributes if needed using the
39 * Architecture specific memory attributes.
41 * Architectures can define their own memory attributes if needed using the
Dmemory-attr-arm.h13 * Architecture specific ARM MPU related attributes.
19 * types must be added, these must rely on the generic memory attributes.
/Zephyr-Core-3.5.0/subsys/net/lib/coap/
Dcoap_link_format.c134 static bool match_attributes(const char * const *attributes, in match_attributes() argument
143 for (attr = attributes; attr && *attr; attr++) { in match_attributes()
163 const char * const *attributes = NULL; in match_queries_resource() local
170 if (meta && meta->attributes) { in match_queries_resource()
171 attributes = meta->attributes; in match_queries_resource()
174 if (!attributes) { in match_queries_resource()
187 return match_attributes(attributes, query); in match_queries_resource()
323 static int format_attributes(const char * const *attributes, in format_attributes() argument
331 if (!attributes) { in format_attributes()
336 for (attr = attributes; *attr; attr++) { in format_attributes()
[all …]
/Zephyr-Core-3.5.0/doc/services/mem_mgmt/
Dindex.rst3 Memory Attributes
6 It is possible in the devicetree to mark the memory regions with attributes by
11 The set of general attributes that can be specified in the property are defined
34 architecture-specific and software-specific custom attributes that can be
51 marked with attributes is by using the provided ``mem-attr`` helper library by
53 list of memory regions and their attributes are compiled in a user-accessible
55 and act on regions and attributes (see next section for more details).
/Zephyr-Core-3.5.0/subsys/bluetooth/mesh/
Dcrypto_psa.c182 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in bt_mesh_sha256_hmac_raw_key() local
189 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_SIGN_MESSAGE); in bt_mesh_sha256_hmac_raw_key()
190 psa_set_key_lifetime(&attributes, PSA_KEY_LIFETIME_VOLATILE); in bt_mesh_sha256_hmac_raw_key()
191 psa_set_key_algorithm(&attributes, PSA_ALG_HMAC(PSA_ALG_SHA_256)); in bt_mesh_sha256_hmac_raw_key()
192 psa_set_key_type(&attributes, PSA_KEY_TYPE_HMAC); in bt_mesh_sha256_hmac_raw_key()
193 psa_set_key_bits(&attributes, 256); in bt_mesh_sha256_hmac_raw_key()
195 status = psa_import_key(&attributes, key, 32, &key_id); in bt_mesh_sha256_hmac_raw_key()
201 psa_reset_key_attributes(&attributes); in bt_mesh_sha256_hmac_raw_key()
304 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in bt_mesh_dhkey_gen() local
307 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_DERIVE); in bt_mesh_dhkey_gen()
[all …]
/Zephyr-Core-3.5.0/doc/connectivity/bluetooth/api/
Dgatt.rst12 attributes the service contains. The helper macro :c:macro:`BT_GATT_SERVICE()`
15 Attributes can be declared using the :c:struct:`bt_gatt_attr` struct or using
71 field only attributes which matches will be discovered, in contrast setting it
72 to NULL allows all attributes to be discovered.
75 Caching discovered attributes is not supported.
79 more attributes can be set, though setting multiple handles requires the option:
/Zephyr-Core-3.5.0/scripts/footprint/
Dsize_report82 if 'DW_AT_location' in die.attributes:
83 loc_attr = die.attributes['DW_AT_location']
96 if 'DW_AT_low_pc' in die.attributes:
97 low = die.attributes['DW_AT_low_pc'].value
99 high_pc = die.attributes['DW_AT_high_pc']
223 file_index = die.attributes['DW_AT_decl_file'].value
285 if 'DW_AT_location' in die.attributes:
291 if ('DW_AT_abstract_origin' in die.attributes) or (
292 'DW_AT_specification' in die.attributes):
297 elif 'DW_AT_low_pc' in die.attributes:
[all …]
/Zephyr-Core-3.5.0/include/zephyr/arch/arc/v2/mpu/
Darc_core_mpu.h16 * attributes.
18 * Each MPU is different and has a different set of attributes, hence instead
19 * of having the attributes at this level the arc_mpu_core defines the intent
22 * of operations and attributes for each MPU and it is responsibility of the
/Zephyr-Core-3.5.0/doc/kernel/memory_management/
Dshared_multi_heap.rst8 attributes (cacheable, non-cacheable, etc...).
62 correct set of attributes for the needed memory. The framework will take
75 Adding new attributes
78 The API does not enforce any attributes, but at least it defines the two most
/Zephyr-Core-3.5.0/scripts/generate_usb_vif/constants/
Dother_constants.py11 ATTRIBUTES = "attributes" variable
/Zephyr-Core-3.5.0/include/zephyr/arch/arm/mpu/
Dnxp_mpu.h65 /* Super User Attributes */
133 /* NXP MPU region access permission attributes */
151 /* Read-Write access permission attributes */
165 /* Execution-allowed attributes */
180 * MPU attributes to be checked against write-ability.
202 * MPU attributes to be checked against execution
228 /* Region Attributes */
Darm_mpu_v7m.h153 /* Attributes belonging to RASR (including the encoded region size) */
164 /* Read-Write access permission attributes */
172 /* Execution-allowed attributes */
186 /* Read-Write access permission attributes (default cache-ability) */
206 /* Execution-allowed attributes (default-cacheability) */
223 * MPU attributes to be checked against write-ability.
246 * MPU attributes to be checked against execution
252 /* Attributes for no-cache enabling (share-ability is selected by default) */
Darm_mpu_v8.h86 /* Memory Attributes for Device Memory
116 /* Memory Attributes for Normal Memory */
308 /* Attributes belonging to RBAR */
335 /* Read-Write access permission attributes */
345 /* Execution-allowed attributes */
357 * MPU attributes to be checked against write-ability.
379 * MPU attributes to be checked against execution
385 /* Attributes for no-cache enabling (share-ability is selected by default) */
387 /* Read-Write access permission attributes */
401 /* Execution-allowed attributes */
/Zephyr-Core-3.5.0/scripts/generate_usb_vif/
Dgenerate_vif.py45 def add_attributes_to_xml_element(xml_ele, attributes): argument
46 for key, value in attributes.items():
50 def add_element_to_xml(xml_ele, name, text=None, attributes=None): argument
54 if attributes:
55 add_attributes_to_xml_element(new_xml_ele, attributes)
62 attributes = elements[element_name].get(other_constants.ATTRIBUTES,
65 attributes)
/Zephyr-Core-3.5.0/include/zephyr/net/
Dcoap_link_format.h38 * In case you want to add attributes to the resources included in the
43 const char * const *attributes; member
/Zephyr-Core-3.5.0/include/zephyr/multi_heap/
Dshared_multi_heap.h34 * of memory regions with different capabilities / attributes (cacheable,
57 * the correct set of attributes for the needed memory. The framework will
64 * @brief SMH region attributes enumeration type.
66 * Enumeration type for some common memory region attributes.
80 /** Maximum number of standard attributes. */
/Zephyr-Core-3.5.0/tests/application_development/code_relocation/src/
Dtest_file1.c71 /* Print values which were placed using attributes */ in ZTEST()
72 printk("Address of custom_section, func placed using attributes %p\n", in ZTEST()
74 printk("Address of custom_section data placed using attributes %p\n\n", in ZTEST()
/Zephyr-Core-3.5.0/include/zephyr/linker/
Ddebug-sections.ld12 SECTION_PROLOGUE(.gnu.build.attributes, 0,) { *(.gnu.build.attributes .gnu.build.attributes.*) }
/Zephyr-Core-3.5.0/include/zephyr/debug/
Dgdbstub.h37 /** Memory region attributes */
38 uint16_t attributes; member
48 * with read/write attributes. This is used to restrict
/Zephyr-Core-3.5.0/soc/xtensa/espressif_esp32/esp32/
Dgdbstub.c21 .attributes = GDB_MEM_REGION_RW,
28 .attributes = GDB_MEM_REGION_RW,
35 .attributes = GDB_MEM_REGION_RW,
42 .attributes = GDB_MEM_REGION_RO,
49 .attributes = GDB_MEM_REGION_RW,
56 .attributes = GDB_MEM_REGION_RO,
63 .attributes = GDB_MEM_REGION_RW,
70 .attributes = GDB_MEM_REGION_RW,
77 .attributes = GDB_MEM_REGION_RW,
87 .attributes = GDB_MEM_REGION_RO,
[all …]
/Zephyr-Core-3.5.0/include/zephyr/drivers/sensor/
Dveml7700.h72 * @brief VEML7700 specific sensor attributes.
75 * use the generic attributes <tt>SENSOR_ATTR_UPPER_THRESH</tt> and
85 * All attributes must be set for the <tt>SENSOR_CHAN_LIGHT</tt> channel.
128 * threshold window attributes for the sensors interrupt handling.
/Zephyr-Core-3.5.0/drivers/mm/
Dmm_drv_intel_adsp_regions.c24 uint32_t attributes, uint32_t position, uint32_t *total_size) in append_region() argument
28 virtual_memory_regions[position].attr = attributes; in append_region()
/Zephyr-Core-3.5.0/drivers/usb/udc/
Dudc_common.c206 static uint8_t ep_attrib_get_transfer(uint8_t attributes) in ep_attrib_get_transfer() argument
208 return attributes & USB_EP_TRANSFER_TYPE_MASK; in ep_attrib_get_transfer()
214 const uint8_t attributes, in ep_check_config() argument
242 switch (ep_attrib_get_transfer(attributes)) { in ep_check_config()
272 const uint8_t attributes, in ep_update_mps() argument
284 switch (ep_attrib_get_transfer(attributes)) { in ep_update_mps()
302 const uint8_t attributes, in udc_ep_try_config() argument
317 ret = ep_check_config(dev, cfg, ep, attributes, *mps, interval); in udc_ep_try_config()
319 ep_update_mps(dev, cfg, attributes, mps); in udc_ep_try_config()
329 const uint8_t attributes, in udc_ep_enable_internal() argument
[all …]

12345678910