Lines Matching refs:smb
132 uint8_t *smb = osdp_phy_packet_get_smb(pd, buf); in cp_build_command() local
297 if (smb == NULL) { in cp_build_command()
301 smb[0] = 3; /* length */ in cp_build_command()
302 smb[1] = SCS_11; /* type */ in cp_build_command()
303 smb[2] = ISSET_FLAG(pd, PD_FLAG_SC_USE_SCBKD) ? 0 : 1; in cp_build_command()
312 if (smb == NULL) { in cp_build_command()
317 smb[0] = 3; /* length */ in cp_build_command()
318 smb[1] = SCS_13; /* type */ in cp_build_command()
319 smb[2] = ISSET_FLAG(pd, PD_FLAG_SC_USE_SCBKD) ? 0 : 1; in cp_build_command()
331 if (smb && (smb[1] > SCS_14) && sc_is_active(pd)) { in cp_build_command()
337 smb[0] = 2; in cp_build_command()
338 smb[1] = (len > 1) ? SCS_17 : SCS_15; in cp_build_command()