Lines Matching refs:cmd_id

141 	switch (pd->cmd_id) {  in cp_build_command()
146 buf[len++] = pd->cmd_id; in cp_build_command()
152 buf[len++] = pd->cmd_id; in cp_build_command()
158 buf[len++] = pd->cmd_id; in cp_build_command()
164 buf[len++] = pd->cmd_id; in cp_build_command()
170 buf[len++] = pd->cmd_id; in cp_build_command()
176 buf[len++] = pd->cmd_id; in cp_build_command()
183 buf[len++] = pd->cmd_id; in cp_build_command()
190 buf[len++] = pd->cmd_id; in cp_build_command()
198 buf[len++] = pd->cmd_id; in cp_build_command()
209 buf[len++] = pd->cmd_id; in cp_build_command()
232 buf[len++] = pd->cmd_id; in cp_build_command()
244 buf[len++] = pd->cmd_id; in cp_build_command()
259 buf[len++] = pd->cmd_id; in cp_build_command()
280 buf[len++] = pd->cmd_id; in cp_build_command()
304 buf[len++] = pd->cmd_id; in cp_build_command()
320 buf[len++] = pd->cmd_id; in cp_build_command()
326 LOG_ERR("Unknown/Unsupported CMD(%02x)", pd->cmd_id); in cp_build_command()
367 buf[pos], pd->cmd_id); in cp_decode_response()
514 if (sc_is_active(pd) || pd->cmd_id != CMD_CHLNG) { in cp_decode_response()
533 if (sc_is_active(pd) || pd->cmd_id != CMD_SCRYPT) { in cp_decode_response()
547 pd->cmd_id, pd->reply_id); in cp_decode_response()
553 pd->cmd_id, pd->reply_id); in cp_decode_response()
556 if (pd->cmd_id != CMD_POLL) { in cp_decode_response()
557 LOG_DBG("CMD(%02x) REPLY(%02x)", pd->cmd_id, pd->reply_id); in cp_decode_response()
608 if (pd->cmd_id != CMD_POLL) { in cp_send_command()
632 if (pd->cmd_id != CMD_POLL) { in cp_process_reply()
738 pd->cmd_id = cmd->id; in cp_phy_state_update()
745 pd->cmd_id); in cp_phy_state_update()
750 LOG_ERR("Failed to send CMD(%d)", pd->cmd_id); in cp_phy_state_update()
781 pd->cmd_id); in cp_phy_state_update()
1088 int cmd_id; in osdp_cp_send_command() local
1101 cmd_id = CMD_OUT; in osdp_cp_send_command()
1104 cmd_id = CMD_LED; in osdp_cp_send_command()
1107 cmd_id = CMD_BUZ; in osdp_cp_send_command()
1110 cmd_id = CMD_TEXT; in osdp_cp_send_command()
1113 cmd_id = CMD_COMSET; in osdp_cp_send_command()
1129 p->id = cmd_id; /* translate to internal */ in osdp_cp_send_command()