Home
last modified time | relevance | path

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

/Zephyr-Core-2.7.6/tests/drivers/can/api/src/
Dmain.c119 .id_mask = CAN_STD_ID_MASK
127 .id_mask = CAN_STD_ID_MASK
135 .id_mask = TEST_CAN_STD_MASK
143 .id_mask = TEST_CAN_STD_MASK
152 .id_mask = CAN_EXT_ID_MASK
160 .id_mask = CAN_EXT_ID_MASK
168 .id_mask = TEST_CAN_EXT_MASK
176 .id_mask = TEST_CAN_EXT_MASK
188 .id_mask = CAN_STD_ID_MASK
200 .id_mask = CAN_EXT_ID_MASK
[all …]
/Zephyr-Core-2.7.6/tests/drivers/can/stm32/src/
Dmain.c60 .id_mask = CAN_STD_ID_MASK
68 .id_mask = CAN_EXT_ID_MASK
76 .id_mask = TEST_CAN_EXT_MASK
84 .id_mask = CAN_STD_ID_MASK
/Zephyr-Core-2.7.6/tests/subsys/canbus/frame/src/
Dmain.c92 expected.id_mask = 1234U; in test_can_filter_to_zcan_filter()
108 zassert_equal(msg_filter.id_mask, expected.id_mask, in test_can_filter_to_zcan_filter()
125 msg_filter.id_mask = 1234U; in test_zcan_filter_to_can_filter()
/Zephyr-Core-2.7.6/drivers/can/
Dcan_utils.h25 if ((msg->id ^ filter->id) & filter->id_mask) { in can_utils_filter_match()
Dcan_net.c150 .id_mask = CAN_NET_IF_ADDR_MCAST_MASK | in attach_mcast_filter()
245 .id_mask = CAN_NET_IF_ADDR_DEST_MASK in can_attach_unicast_filter()
272 .id_mask = CAN_NET_IF_ADDR_DEST_MASK, in can_attach_eth_bridge_filter()
297 .id_mask = CAN_NET_IF_ADDR_MCAST_MASK, in can_attach_all_mcast_filter()
Dcan_loopback.c141 filter->id_mask); in can_loopback_attach_isr()
145 ((filter->id_type && (filter->id_mask == CAN_STD_ID_MASK)) || in can_loopback_attach_isr()
146 (!filter->id_type && (filter->id_mask == CAN_EXT_ID_MASK))) ? in can_loopback_attach_isr()
Dcan_shell.c352 filter.id_mask = mask; in cmd_attach()
354 filter.id_mask = ext ? CAN_EXT_ID_MASK : CAN_STD_ID_MASK; in cmd_attach()
368 filter.id, ext ? "extended" : "standard", filter.id_mask, in cmd_attach()
Dcan_stm32.c852 return (filter->id_mask << CAN_FIRX_STD_ID_POS) | in can_generate_std_mask()
859 return (filter->id_mask << CAN_FIRX_EXT_EXT_ID_POS) | in can_generate_ext_mask()
898 if (filter->id_mask != CAN_STD_ID_MASK) { in can_stm32_set_filter()
906 if (filter->id_mask != CAN_EXT_ID_MASK) { in can_stm32_set_filter()
915 filter->id_mask); in can_stm32_set_filter()
Dcan_mcan.c766 .id2 = filter->id_mask, in can_mcan_attach_std()
825 .id2 = filter->id_mask, in can_mcan_attach_ext()
Dcan_mcux_flexcan.c256 *mask = FLEXCAN_RX_MB_STD_MASK(src->id_mask, src->rtr_mask, 1); in mcux_flexcan_copy_zfilter_to_mbconfig()
260 *mask = FLEXCAN_RX_MB_EXT_MASK(src->id_mask, src->rtr_mask, 1); in mcux_flexcan_copy_zfilter_to_mbconfig()
/Zephyr-Core-2.7.6/samples/drivers/can/src/
Dmain.c60 .id_mask = CAN_EXT_ID_MASK in rx_thread()
174 .id_mask = CAN_STD_ID_MASK in main()
/Zephyr-Core-2.7.6/include/drivers/
Dcan.h245 uint32_t id_mask : 29; member
948 zfilter->id_mask = filter->can_mask & BIT_MASK(29); in can_copy_filter_to_zfilter()
965 (zfilter->id_type << 31) | zfilter->id_mask; in can_copy_zfilter_to_filter()
/Zephyr-Core-2.7.6/tests/drivers/can/canfd/src/
Dmain.c93 .id_mask = CAN_STD_ID_MASK
101 .id_mask = CAN_STD_ID_MASK
/Zephyr-Core-2.7.6/samples/net/sockets/can/src/
Dmain.c37 .id_mask = CAN_STD_ID_MASK
/Zephyr-Core-2.7.6/doc/reference/networking/
Dcan_api.rst236 .id_mask = CAN_STD_ID_MASK
267 .id_mask = 0x7F0
295 .id_mask = CAN_EXT_ID_MASK
/Zephyr-Core-2.7.6/modules/canopennode/
DCO_driver.c278 filter.id_mask = mask; in CO_CANrxBufferInit()
/Zephyr-Core-2.7.6/subsys/net/lib/openthread/platform/
Dradio.c1149 const uint16_t id_mask = 0x00ff << id_offset; in set_vendor_ie_header_lm() local
1167 element_id = (((uint16_t)ie_vendor_id) << id_offset) & id_mask; in set_vendor_ie_header_lm()
/Zephyr-Core-2.7.6/subsys/canbus/isotp/
Disotp.c585 .id_mask = mask in attach_ff_filter()
1160 .id_mask = CAN_EXT_ID_MASK in attach_fc_filter()
/Zephyr-Core-2.7.6/subsys/net/l2/canbus/
D6locan.c1600 .id_mask = CAN_EXT_ID_MASK in canbus_attach_dad_resp_filter()
1631 .id_mask = (CAN_NET_IF_ADDR_MASK << CAN_NET_IF_ADDR_DEST_POS) in canbus_attach_dad_filter()
/Zephyr-Core-2.7.6/tests/subsys/canbus/isotp/conformance/src/
Dmain.c297 .id_mask = mask in attach_msgq()