Lines Matching refs:control
24 uint8_t control; member
78 if (pkt->control & PKT_CONTROL_SCB) { in osdp_phy_packet_get_data_offset()
93 if (pkt->control & PKT_CONTROL_SCB) { in osdp_phy_packet_get_smb()
142 pkt->control = osdp_phy_get_seq_number(pd, is_cp_mode(pd)); in osdp_phy_packet_init()
143 pkt->control |= PKT_CONTROL_CRC; in osdp_phy_packet_init()
146 pkt->control |= PKT_CONTROL_SCB; in osdp_phy_packet_init()
150 pkt->control |= PKT_CONTROL_SCB; in osdp_phy_packet_init()
196 if (sc_is_active(pd) && (pkt->control & PKT_CONTROL_SCB) && pkt->data[1] >= SCS_15) { in osdp_phy_packet_finalize()
308 if (pkt->control & PKT_CONTROL_CRC) { in osdp_phy_check_packet()
342 comp = pkt->control & PKT_CONTROL_SQN; in osdp_phy_check_packet()
404 len -= pkt->control & PKT_CONTROL_CRC ? 2 : 1; in osdp_phy_decode_packet()
413 if (pkt->control & PKT_CONTROL_SCB) { in osdp_phy_decode_packet()
472 pkt->control & PKT_CONTROL_SCB && pkt->data[1] >= SCS_15) { in osdp_phy_decode_packet()