Searched refs:can_mask (Results 1 – 5 of 5) sorted by relevance
96 zfilter->mask = sfilter->can_mask & BIT_MASK(29); in socketcan_to_can_filter()113 sfilter->can_mask = zfilter->mask; in socketcan_from_can_filter()114 sfilter->can_mask |= (zfilter->flags & CAN_FILTER_IDE) != 0 ? BIT(31) : 0; in socketcan_from_can_filter()117 sfilter->can_mask |= BIT(30); in socketcan_from_can_filter()
137 socketcan_id_t can_mask; member
35 socketcan_id_t can_mask; member115 if ((sframe.can_id & receivers[i].can_mask) != in zcan_received_cb()116 (receivers[i].can_id & receivers[i].can_mask)) { in zcan_received_cb()385 ((receivers[i].can_id & receivers[i].can_mask) == in is_already_attached()387 UNALIGNED_GET(&sfilter->can_mask)))) { in is_already_attached()425 sfilter.can_mask = receivers[i].can_mask; in can_close_socket()544 socketcan_id_t can_id, socketcan_id_t can_mask) in can_register_receiver() argument558 receivers[i].can_mask = can_mask; in can_register_receiver()568 socketcan_id_t can_id, socketcan_id_t can_mask) in can_unregister_receiver() argument576 receivers[i].can_mask == can_mask) { in can_unregister_receiver()[all …]
105 sfilter.can_mask = BIT(31) | 1234; in ZTEST()132 expected.can_mask = BIT(31) | 1234; in ZTEST()134 expected.can_mask |= BIT(30); in ZTEST()148 zassert_equal(sfilter.can_mask, expected.can_mask, "CAN mask not same"); in ZTEST()
111 def _add_filter(self, can_id: int, can_mask: int, extended: bool) -> None:164 can_mask = can_filter['can_mask']166 self._add_filter(can_id, can_mask, extended)