Home
last modified time | relevance | path

Searched refs:id_mask (Results 1 – 11 of 11) sorted by relevance

/Zephyr-latest/subsys/sip_svc/
Dsip_svc_id_mgr.c46 id_pool->id_mask = k_malloc(mask_size * sizeof(uint32_t)); in sip_svc_id_mgr_create()
47 if (!id_pool->id_mask) { in sip_svc_id_mgr_create()
64 id_pool->id_mask[i] = 0; in sip_svc_id_mgr_create()
74 k_free(id_pool->id_mask); in sip_svc_id_mgr_delete()
100 id_pool->id_mask[row] |= (1 << col); in sip_svc_id_mgr_alloc()
133 if (!(id_pool->id_mask[row] & (1 << col))) { in sip_svc_id_mgr_free()
138 id_pool->id_mask[row] &= ~(1 << col); in sip_svc_id_mgr_free()
Dsip_svc_id_mgr.h21 uint32_t *id_mask; member
/Zephyr-latest/drivers/can/
Dcan_common.c39 uint32_t id_mask; in z_impl_can_send() local
46 id_mask = CAN_EXT_ID_MASK; in z_impl_can_send()
48 id_mask = CAN_STD_ID_MASK; in z_impl_can_send()
51 CHECKIF((frame->id & ~(id_mask)) != 0U) { in z_impl_can_send()
82 uint32_t id_mask; in can_add_rx_filter() local
89 id_mask = CAN_EXT_ID_MASK; in can_add_rx_filter()
91 id_mask = CAN_STD_ID_MASK; in can_add_rx_filter()
94 CHECKIF(((filter->id & ~(id_mask)) != 0U) || ((filter->mask & ~(id_mask)) != 0U)) { in can_add_rx_filter()
Dcan_shell.c727 uint32_t id_mask; in cmd_can_send() local
741 id_mask = CAN_STD_ID_MASK; in cmd_can_send()
752 id_mask = CAN_EXT_ID_MASK; in cmd_can_send()
783 if (val > id_mask) { in cmd_can_send()
846 uint32_t id_mask; in cmd_can_filter_add() local
858 id_mask = CAN_STD_ID_MASK; in cmd_can_filter_add()
868 id_mask = CAN_EXT_ID_MASK; in cmd_can_filter_add()
890 if (val > id_mask) { in cmd_can_filter_add()
907 if (val > id_mask) { in cmd_can_filter_add()
915 val = id_mask; in cmd_can_filter_add()
/Zephyr-latest/tests/bluetooth/mesh/delayable_msg/src/
Dmain.c45 static uint16_t id_mask; variable
88 id_mask |= 1 << *(uint16_t *)cb_data; in start_cb()
110 id_mask = 0; in tc_setup()
233 zassert_equal(id_mask, 0x0001, "Delayed message context reallocation was broken"); in ZTEST()
235 zassert_equal(id_mask, 0x001F); in ZTEST()
261 zassert_equal(id_mask, 0x0007, "Delayed message chunks reallocation was broken"); in ZTEST()
263 zassert_equal(id_mask, 0x000F); in ZTEST()
337 zassert_equal(id_mask, 0x000F, "Not all scheduled messages were handled after stopping"); in ZTEST()
/Zephyr-latest/tests/drivers/can/api/src/
Dcommon.c214 uint32_t id_mask) in assert_frame_equal() argument
217 zassert_equal(frame1->id | id_mask, frame2->id | id_mask, "ID does not match"); in assert_frame_equal()
Dcommon.h165 uint32_t id_mask);
Dclassic.c725 uint32_t id_mask = ide ? CAN_EXT_ID_MASK : CAN_STD_ID_MASK; in add_remove_max_filters() local
729 .mask = id_mask, in add_remove_max_filters()
/Zephyr-latest/arch/arm/core/mmu/
Darm_mmu.c365 perms_attrs.id_mask = 0x0; in arm_mmu_convert_attr_flags()
367 perms_attrs.id_mask = 0x3; in arm_mmu_convert_attr_flags()
418 (ARM_MMU_PTE_ID_SECTION & perms_attrs.id_mask); in arm_mmu_l1_map_section()
485 perms_attrs.id_mask = (l1_page_table.entries[l1_index].l1_section_1m.id == in arm_mmu_remap_l1_section_to_l2_table()
655 (ARM_MMU_PTE_ID_SMALL_PAGE & perms_attrs.id_mask); in arm_mmu_l2_map_page()
Darm_mmu_priv.h198 uint32_t id_mask : 2; member
/Zephyr-latest/modules/openthread/platform/
Dradio.c1543 const uint16_t id_mask = 0x00ff << id_offset; in set_vendor_ie_header_lm() local
1562 element_id = (((uint16_t)ie_vendor_id) << id_offset) & id_mask; in set_vendor_ie_header_lm()