Searched refs:can_id (Results 1 – 4 of 4) sorted by relevance
41 zframe->flags |= (sframe->can_id & BIT(31)) != 0 ? CAN_FRAME_IDE : 0; in socketcan_to_can_frame()42 zframe->flags |= (sframe->can_id & BIT(30)) != 0 ? CAN_FRAME_RTR : 0; in socketcan_to_can_frame()45 zframe->id = sframe->can_id & BIT_MASK(29); in socketcan_to_can_frame()65 sframe->can_id = zframe->id; in socketcan_from_can_frame()66 sframe->can_id |= (zframe->flags & CAN_FRAME_IDE) != 0 ? BIT(31) : 0; in socketcan_from_can_frame()67 sframe->can_id |= (zframe->flags & CAN_FRAME_RTR) != 0 ? BIT(30) : 0; in socketcan_from_can_frame()95 zfilter->flags |= (sfilter->can_id & BIT(31)) != 0 ? CAN_FILTER_IDE : 0; in socketcan_to_can_filter()96 zfilter->id = sfilter->can_id & BIT_MASK(29); in socketcan_to_can_filter()102 } else if ((sfilter->can_id & BIT(30)) == 0) { in socketcan_to_can_filter()120 sfilter->can_id = zfilter->id; in socketcan_from_can_filter()[all …]
103 socketcan_id_t can_id; member124 socketcan_id_t can_id; member
26 sframe.can_id = BIT(31) | 1234; in ZTEST()48 sframe.can_id |= BIT(30); in ZTEST()68 expected.can_id = BIT(31) | 1234; in ZTEST()83 zassert_equal(sframe.can_id, expected.can_id, "CAN ID not same"); in ZTEST()88 expected.can_id |= BIT(30); in ZTEST()92 zassert_equal(sframe.can_id, expected.can_id, "CAN ID not same"); in ZTEST()104 sfilter.can_id = BIT(31) | BIT(30) | 1234; in ZTEST()131 expected.can_id = BIT(31) | BIT(30) | 1234; in ZTEST()144 zassert_equal(sfilter.can_id, expected.can_id, "CAN ID not same"); in ZTEST()
38 socketcan_id_t can_id; member119 if ((sframe.can_id & receivers[i].can_mask) != in zcan_received_cb()120 (receivers[i].can_id & receivers[i].can_mask)) { in zcan_received_cb()389 ((receivers[i].can_id & receivers[i].can_mask) == in is_already_attached()390 (UNALIGNED_GET(&sfilter->can_id) & in is_already_attached()428 sfilter.can_id = receivers[i].can_id; in can_close_socket()548 socketcan_id_t can_id, socketcan_id_t can_mask) in can_register_receiver() argument561 receivers[i].can_id = can_id; in can_register_receiver()572 socketcan_id_t can_id, socketcan_id_t can_mask) in can_unregister_receiver() argument579 receivers[i].can_id == can_id && in can_unregister_receiver()[all …]