Searched refs:can_mask (Results 1 – 4 of 4) sorted by relevance
97 zfilter->mask = sfilter->can_mask & BIT_MASK(29); in socketcan_to_can_filter()100 if ((sfilter->can_mask & BIT(30)) == 0) { in socketcan_to_can_filter()124 sfilter->can_mask = zfilter->mask; in socketcan_from_can_filter()125 sfilter->can_mask |= (zfilter->flags & CAN_FILTER_IDE) != 0 ? BIT(31) : 0; in socketcan_from_can_filter()129 sfilter->can_mask |= BIT(30); in socketcan_from_can_filter()
126 socketcan_id_t can_mask; member
39 socketcan_id_t can_mask; 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()391 UNALIGNED_GET(&sfilter->can_mask)))) { in is_already_attached()429 sfilter.can_mask = receivers[i].can_mask; in can_close_socket()548 socketcan_id_t can_id, socketcan_id_t can_mask) in can_register_receiver() argument562 receivers[i].can_mask = can_mask; in can_register_receiver()572 socketcan_id_t can_id, socketcan_id_t can_mask) in can_unregister_receiver() argument580 receivers[i].can_mask == can_mask) { in can_unregister_receiver()[all …]
105 sfilter.can_mask = BIT(31) | BIT(30) | 1234; in ZTEST()132 expected.can_mask = BIT(31) | BIT(30) | 1234; in ZTEST()145 zassert_equal(sfilter.can_mask, expected.can_mask, "CAN mask not same"); in ZTEST()