Searched refs:rsp (Results 1 – 6 of 6) sorted by relevance
/USBX-v6.3.0/common/usbx_device_classes/src/ |
D | ux_device_class_ccid_time_extension.c | 78 UCHAR *rsp, *runner_rsp; in _ux_device_class_ccid_time_extension() local 103 rsp = transfer -> ux_slave_transfer_request_data_pointer; in _ux_device_class_ccid_time_extension() 107 …rsp[UX_DEVICE_CLASS_CCID_OFFSET_MESSAGE_TYPE] = runner_rsp[UX_DEVICE_CLASS_CCID_OFFSET_MESSA… in _ux_device_class_ccid_time_extension() 108 rsp[UX_DEVICE_CLASS_CCID_OFFSET_LENGTH] = 0; in _ux_device_class_ccid_time_extension() 109 rsp[UX_DEVICE_CLASS_CCID_OFFSET_LENGTH+1] = 0; in _ux_device_class_ccid_time_extension() 110 rsp[UX_DEVICE_CLASS_CCID_OFFSET_LENGTH+2] = 0; in _ux_device_class_ccid_time_extension() 111 rsp[UX_DEVICE_CLASS_CCID_OFFSET_LENGTH+3] = 0; in _ux_device_class_ccid_time_extension() 112 …rsp[UX_DEVICE_CLASS_CCID_OFFSET_SLOT] = runner_rsp[UX_DEVICE_CLASS_CCID_OFFSET_SLOT]; in _ux_device_class_ccid_time_extension() 113 … rsp[UX_DEVICE_CLASS_CCID_OFFSET_SEQ] = runner_rsp[UX_DEVICE_CLASS_CCID_OFFSET_SEQ]; in _ux_device_class_ccid_time_extension() 114 …rsp[UX_DEVICE_CLASS_CCID_OFFSET_STATUS] = runner_rsp[UX_DEVICE_CLASS_CCID_OFFSET_STATU… in _ux_device_class_ccid_time_extension() [all …]
|
D | ux_device_class_ccid_thread_entry.c | 88 UX_DEVICE_CLASS_CCID_RDR_TO_PC_SLOT_STATUS_HEADER *rsp; in _ux_device_class_ccid_thread_entry() local 172 rsp = (UX_DEVICE_CLASS_CCID_RDR_TO_PC_SLOT_STATUS_HEADER *) in _ux_device_class_ccid_thread_entry() 174 …_ux_utility_memory_set(rsp, 0, UX_DEVICE_CLASS_CCID_MESSAGE_HEADER_LENGTH); /* Use case of memset … in _ux_device_class_ccid_thread_entry() 175 rsp -> bMessageType = cmd_sett -> ux_device_class_ccid_command_sett_response_type; in _ux_device_class_ccid_thread_entry() 176 rsp -> bSlot = cmd -> bSlot; in _ux_device_class_ccid_thread_entry() 177 rsp -> bSeq = cmd -> bSeq; in _ux_device_class_ccid_thread_entry() 180 if (rsp -> bMessageType == 0 || in _ux_device_class_ccid_thread_entry() 185 rsp -> bStatus = UX_DEVICE_CLASS_CCID_SLOT_STATUS(0, 1); in _ux_device_class_ccid_thread_entry() 187 … _ux_device_class_ccid_response(ccid, (UCHAR *)rsp, UX_DEVICE_CLASS_CCID_MESSAGE_HEADER_LENGTH); in _ux_device_class_ccid_thread_entry() 196 rsp -> bStatus = UX_DEVICE_CLASS_CCID_SLOT_STATUS(2, 1); in _ux_device_class_ccid_thread_entry() [all …]
|
D | ux_device_class_ccid_runner_thread_entry.c | 86 UX_DEVICE_CLASS_CCID_RDR_TO_PC_SLOT_STATUS_HEADER *rsp; in _ux_device_class_ccid_runner_thread_entry() local 131 rsp = (UX_DEVICE_CLASS_CCID_RDR_TO_PC_SLOT_STATUS_HEADER *) in _ux_device_class_ccid_runner_thread_entry() 144 messages.ux_device_class_ccid_messages_rdr_to_pc = (UCHAR *)rsp; in _ux_device_class_ccid_runner_thread_entry() 155 rsp -> bStatus = UX_DEVICE_CLASS_CCID_SLOT_STATUS(1, 1); in _ux_device_class_ccid_runner_thread_entry() 156 rsp -> bError = UX_DEVICE_CLASS_CCID_HW_ERROR; in _ux_device_class_ccid_runner_thread_entry() 164 rsp -> bStatus = UX_DEVICE_CLASS_CCID_SLOT_STATUS(1, 1); in _ux_device_class_ccid_runner_thread_entry() 165 rsp -> bError = UX_DEVICE_CLASS_CCID_BUSY_WITH_AUTO_SEQUENCE; in _ux_device_class_ccid_runner_thread_entry() 176 switch(rsp -> bMessageType) in _ux_device_class_ccid_runner_thread_entry() 182 UX_DEVICE_CLASS_CCID_MESSAGE_LENGTH_SET(rsp, 8); in _ux_device_class_ccid_runner_thread_entry() 206 slot -> ux_device_class_ccid_slot_icc_status = rsp->bStatus & in _ux_device_class_ccid_runner_thread_entry() [all …]
|
D | ux_device_class_ccid_runner_task_run.c | 87 UX_DEVICE_CLASS_CCID_RDR_TO_PC_SLOT_STATUS_HEADER *rsp; in _ux_device_class_ccid_runner_task_run() local 116 rsp = (UX_DEVICE_CLASS_CCID_RDR_TO_PC_SLOT_STATUS_HEADER *) in _ux_device_class_ccid_runner_task_run() 137 messages -> ux_device_class_ccid_messages_rdr_to_pc = (UCHAR *)rsp; in _ux_device_class_ccid_runner_task_run() 148 rsp -> bStatus = UX_DEVICE_CLASS_CCID_SLOT_STATUS(1, 1); in _ux_device_class_ccid_runner_task_run() 149 rsp -> bError = UX_DEVICE_CLASS_CCID_HW_ERROR; in _ux_device_class_ccid_runner_task_run() 152 _ux_device_class_ccid_response(ccid, (UCHAR *)rsp, in _ux_device_class_ccid_runner_task_run() 165 rsp -> bStatus = UX_DEVICE_CLASS_CCID_SLOT_STATUS(1, 1); in _ux_device_class_ccid_runner_task_run() 166 rsp -> bError = UX_DEVICE_CLASS_CCID_BUSY_WITH_AUTO_SEQUENCE; in _ux_device_class_ccid_runner_task_run() 169 _ux_device_class_ccid_response(ccid, (UCHAR *)rsp, in _ux_device_class_ccid_runner_task_run() 182 switch(rsp -> bMessageType) in _ux_device_class_ccid_runner_task_run() [all …]
|
D | ux_device_class_ccid_tasks_run.c | 128 UX_DEVICE_CLASS_CCID_RDR_TO_PC_SLOT_STATUS_HEADER *rsp; in _ux_device_class_ccid_cmd_task() local 236 rsp = (UX_DEVICE_CLASS_CCID_RDR_TO_PC_SLOT_STATUS_HEADER *) in _ux_device_class_ccid_cmd_task() 238 …_ux_utility_memory_set(rsp, 0, UX_DEVICE_CLASS_CCID_MESSAGE_HEADER_LENGTH); /* Use case of memset … in _ux_device_class_ccid_cmd_task() 239 rsp -> bMessageType = cmd_sett -> ux_device_class_ccid_command_sett_response_type; in _ux_device_class_ccid_cmd_task() 240 rsp -> bSlot = cmd -> bSlot; in _ux_device_class_ccid_cmd_task() 241 rsp -> bSeq = cmd -> bSeq; in _ux_device_class_ccid_cmd_task() 244 if (rsp -> bMessageType == 0 || in _ux_device_class_ccid_cmd_task() 249 rsp -> bStatus = UX_DEVICE_CLASS_CCID_SLOT_STATUS(0, 1); in _ux_device_class_ccid_cmd_task() 262 rsp -> bStatus = UX_DEVICE_CLASS_CCID_SLOT_STATUS(2, 1); in _ux_device_class_ccid_cmd_task() 263 rsp -> bError = 5; in _ux_device_class_ccid_cmd_task() [all …]
|
D | ux_device_class_ccid_hardware_error.c | 79 UX_DEVICE_CLASS_CCID_RDR_TO_PC_SLOT_STATUS_HEADER *rsp; in _ux_device_class_ccid_hardware_error() local 111 rsp = (UX_DEVICE_CLASS_CCID_RDR_TO_PC_SLOT_STATUS_HEADER *) in _ux_device_class_ccid_hardware_error() 115 rsp -> bStatus = UX_DEVICE_CLASS_CCID_SLOT_STATUS(1, 1); in _ux_device_class_ccid_hardware_error() 116 rsp -> bError = UX_DEVICE_CLASS_CCID_HW_ERROR; in _ux_device_class_ccid_hardware_error()
|