Home
last modified time | relevance | path

Searched refs:slot (Results 1 – 16 of 16) sorted by relevance

/USBX-v6.2.1/common/usbx_device_classes/src/
Dux_device_class_ccid_notify_thread_entry.c81 UX_DEVICE_CLASS_CCID_SLOT *slot; in _ux_device_class_ccid_notify_thread_entry() local
143 slot = ccid -> ux_device_class_ccid_slots; in _ux_device_class_ccid_notify_thread_entry()
148 if (slot -> ux_device_class_ccid_slot_flags & in _ux_device_class_ccid_notify_thread_entry()
151 slot -> ux_device_class_ccid_slot_flags &= in _ux_device_class_ccid_notify_thread_entry()
157 slot -> ux_device_class_ccid_slot_hw_error_seq; in _ux_device_class_ccid_notify_thread_entry()
159 slot -> ux_device_class_ccid_slot_hw_error; in _ux_device_class_ccid_notify_thread_entry()
165 slot ++; in _ux_device_class_ccid_notify_thread_entry()
173 slot = ccid -> ux_device_class_ccid_slots; in _ux_device_class_ccid_notify_thread_entry()
184 icc_mask = (UCHAR)((slot -> ux_device_class_ccid_slot_icc_status == in _ux_device_class_ccid_notify_thread_entry()
189 if (slot -> ux_device_class_ccid_slot_flags & in _ux_device_class_ccid_notify_thread_entry()
[all …]
Dux_device_class_ccid_thread_entry.c81 UX_DEVICE_CLASS_CCID_SLOT *slot; in _ux_device_class_ccid_thread_entry() local
204 slot = &ccid -> ux_device_class_ccid_slots[cmd -> bSlot]; in _ux_device_class_ccid_thread_entry()
208 slot -> ux_device_class_ccid_slot_icc_status, 0); in _ux_device_class_ccid_thread_entry()
212 rsp -> bClockStatus = slot -> ux_device_class_ccid_slot_clock_status; in _ux_device_class_ccid_thread_entry()
224 !slot -> ux_device_class_ccid_slot_aborting) in _ux_device_class_ccid_thread_entry()
228 if ((signed char)slot -> ux_device_class_ccid_slot_runner < 0) in _ux_device_class_ccid_thread_entry()
257 slot -> ux_device_class_ccid_slot_runner = (CHAR)i; in _ux_device_class_ccid_thread_entry()
282 slot -> ux_device_class_ccid_slot_icc_status, 1); in _ux_device_class_ccid_thread_entry()
299 if (cmd -> bSeq != slot -> ux_device_class_ccid_slot_aborting_seq) in _ux_device_class_ccid_thread_entry()
304 slot -> ux_device_class_ccid_slot_icc_status, 1); in _ux_device_class_ccid_thread_entry()
[all …]
Dux_device_class_ccid_notify_task_run.c80 UX_DEVICE_CLASS_CCID_SLOT *slot; in _ux_device_class_ccid_notify_task_run() local
134 slot = ccid -> ux_device_class_ccid_slots; in _ux_device_class_ccid_notify_task_run()
144 if (slot -> ux_device_class_ccid_slot_flags & in _ux_device_class_ccid_notify_task_run()
147 slot -> ux_device_class_ccid_slot_flags &= in _ux_device_class_ccid_notify_task_run()
153 slot -> ux_device_class_ccid_slot_hw_error_seq; in _ux_device_class_ccid_notify_task_run()
155 slot -> ux_device_class_ccid_slot_hw_error; in _ux_device_class_ccid_notify_task_run()
160 else if (slot -> ux_device_class_ccid_slot_flags & in _ux_device_class_ccid_notify_task_run()
163 slot -> ux_device_class_ccid_slot_flags &= in _ux_device_class_ccid_notify_task_run()
171 icc_mask = (UCHAR)((slot -> ux_device_class_ccid_slot_icc_status == in _ux_device_class_ccid_notify_task_run()
Dux_device_class_ccid_auto_seq_start.c71 UINT _ux_device_class_ccid_auto_seq_start(UX_DEVICE_CLASS_CCID *ccid, ULONG slot) in _ux_device_class_ccid_auto_seq_start() argument
77 if (slot >= ccid -> ux_device_class_ccid_parameter.ux_device_class_ccid_max_n_slots) in _ux_device_class_ccid_auto_seq_start()
82 ccid_slot += slot; in _ux_device_class_ccid_auto_seq_start()
Dux_device_class_ccid_runner_thread_entry.c83 UX_DEVICE_CLASS_CCID_SLOT *slot; in _ux_device_class_ccid_runner_thread_entry() local
135 slot = ccid -> ux_device_class_ccid_slots; in _ux_device_class_ccid_runner_thread_entry()
136 slot += runner -> ux_device_class_ccid_runner_slot; in _ux_device_class_ccid_runner_thread_entry()
148 cmd_checks &= (ULONG)slot -> ux_device_class_ccid_slot_flags; 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()
210 slot -> ux_device_class_ccid_slot_clock_status = rsp->bClockStatus; in _ux_device_class_ccid_runner_thread_entry()
216 if (slot -> ux_device_class_ccid_slot_aborting) in _ux_device_class_ccid_runner_thread_entry()
230 slot -> ux_device_class_ccid_slot_runner = -1; in _ux_device_class_ccid_runner_thread_entry()
Dux_device_class_ccid_control_abort.c72 UINT _ux_device_class_ccid_control_abort(UX_DEVICE_CLASS_CCID *ccid, ULONG slot, ULONG seq) in _ux_device_class_ccid_control_abort() argument
86 if (slot >= parameter -> ux_device_class_ccid_max_n_slots) in _ux_device_class_ccid_control_abort()
94 ccid_slot = &ccid -> ux_device_class_ccid_slots[slot]; in _ux_device_class_ccid_control_abort()
114 if (msg -> bSlot == (UCHAR)slot) in _ux_device_class_ccid_control_abort()
149 handles -> ux_device_class_ccid_handles_abort(slot, UX_NULL); in _ux_device_class_ccid_control_abort()
Dux_device_class_ccid_auto_seq_done.c75 UINT _ux_device_class_ccid_auto_seq_done(UX_DEVICE_CLASS_CCID *ccid, ULONG slot, ULONG icc_status) in _ux_device_class_ccid_auto_seq_done() argument
81 if (slot >= ccid -> ux_device_class_ccid_parameter.ux_device_class_ccid_max_n_slots) in _ux_device_class_ccid_auto_seq_done()
86 ccid_slot += slot; in _ux_device_class_ccid_auto_seq_done()
Dux_device_class_ccid_icc_insert.c75 UINT _ux_device_class_ccid_icc_insert(UX_DEVICE_CLASS_CCID *ccid, ULONG slot, ULONG seq_start) in _ux_device_class_ccid_icc_insert() argument
81 if (slot >= ccid -> ux_device_class_ccid_parameter.ux_device_class_ccid_max_n_slots) in _ux_device_class_ccid_icc_insert()
86 ccid_slot += slot; in _ux_device_class_ccid_icc_insert()
Dux_device_class_ccid_icc_remove.c71 UINT _ux_device_class_ccid_icc_remove(UX_DEVICE_CLASS_CCID *ccid, ULONG slot) in _ux_device_class_ccid_icc_remove() argument
77 if (slot >= ccid -> ux_device_class_ccid_parameter.ux_device_class_ccid_max_n_slots) in _ux_device_class_ccid_icc_remove()
82 ccid_slot += slot; in _ux_device_class_ccid_icc_remove()
Dux_device_class_ccid_tasks_run.c121 UX_DEVICE_CLASS_CCID_SLOT *slot; in _ux_device_class_ccid_cmd_task() local
272 slot = ccid -> ux_device_class_ccid_slots; in _ux_device_class_ccid_cmd_task()
276 slot -> ux_device_class_ccid_slot_icc_status, 0); in _ux_device_class_ccid_cmd_task()
280 rsp -> bClockStatus = slot -> ux_device_class_ccid_slot_clock_status; in _ux_device_class_ccid_cmd_task()
292 !slot -> ux_device_class_ccid_slot_aborting) in _ux_device_class_ccid_cmd_task()
327 slot -> ux_device_class_ccid_slot_icc_status, 1); in _ux_device_class_ccid_cmd_task()
346 if (cmd -> bSeq != slot -> ux_device_class_ccid_slot_aborting_seq) in _ux_device_class_ccid_cmd_task()
351 slot -> ux_device_class_ccid_slot_icc_status, 1); in _ux_device_class_ccid_cmd_task()
358 if (slot -> ux_device_class_ccid_slot_aborting) in _ux_device_class_ccid_cmd_task()
370 slot -> ux_device_class_ccid_slot_icc_status, 0); in _ux_device_class_ccid_cmd_task()
[all …]
Dux_device_class_ccid_hardware_error.c72 UINT _ux_device_class_ccid_hardware_error(UX_DEVICE_CLASS_CCID *ccid, ULONG slot, ULONG error) in _ux_device_class_ccid_hardware_error() argument
80 if (slot >= ccid -> ux_device_class_ccid_parameter.ux_device_class_ccid_max_n_slots) in _ux_device_class_ccid_hardware_error()
85 ccid_slot += slot; in _ux_device_class_ccid_hardware_error()
Dux_device_class_ccid_control_request.c80 UCHAR seq, slot; in _ux_device_class_ccid_control_request() local
108 slot = transfer_request -> ux_slave_transfer_request_setup[UX_SETUP_VALUE]; in _ux_device_class_ccid_control_request()
110 return _ux_device_class_ccid_control_abort(ccid, slot, seq); in _ux_device_class_ccid_control_request()
Dux_device_class_ccid_runner_task_run.c84 UX_DEVICE_CLASS_CCID_SLOT *slot; in _ux_device_class_ccid_runner_task_run() local
105 slot = ccid -> ux_device_class_ccid_slots; in _ux_device_class_ccid_runner_task_run()
141 cmd_checks &= (ULONG)slot -> ux_device_class_ccid_slot_flags; in _ux_device_class_ccid_runner_task_run()
217 slot -> ux_device_class_ccid_slot_aborting) in _ux_device_class_ccid_runner_task_run()
Dux_device_class_ccid_time_extension.c69 UINT _ux_device_class_ccid_time_extension(UX_DEVICE_CLASS_CCID *ccid, ULONG slot, ULONG wt) in _ux_device_class_ccid_time_extension() argument
81 ccid_slot += slot; in _ux_device_class_ccid_time_extension()
Dux_device_class_ccid_initialize.c84 UX_DEVICE_CLASS_CCID_SLOT *slot; in _ux_device_class_ccid_initialize() local
331 slot = ccid -> ux_device_class_ccid_slots; in _ux_device_class_ccid_initialize()
336 slot -> ux_device_class_ccid_slot_runner = -1; in _ux_device_class_ccid_initialize()
339 slot -> ux_device_class_ccid_slot_icc_status = UX_DEVICE_CLASS_CCID_ICC_NOT_PRESENT; in _ux_device_class_ccid_initialize()
342 slot ++; in _ux_device_class_ccid_initialize()
/USBX-v6.2.1/common/usbx_device_classes/inc/
Dux_device_class_ccid.h908 typedef UINT (*UX_DEVICE_CLASS_CCID_HANDLE)(ULONG slot, UX_DEVICE_CLASS_CCID_MESSAGES*);
1151 UINT _ux_device_class_ccid_control_abort(UX_DEVICE_CLASS_CCID *ccid, ULONG slot, ULONG seq);
1157 UINT _ux_device_class_ccid_icc_insert(UX_DEVICE_CLASS_CCID *ccid, ULONG slot, ULONG seq_start);
1158 UINT _ux_device_class_ccid_icc_remove(UX_DEVICE_CLASS_CCID *ccid, ULONG slot);
1159 UINT _ux_device_class_ccid_auto_seq_start(UX_DEVICE_CLASS_CCID *ccid, ULONG slot);
1160 UINT _ux_device_class_ccid_auto_seq_done(UX_DEVICE_CLASS_CCID *ccid, ULONG slot, ULONG icc_status);
1161 UINT _ux_device_class_ccid_time_extension(UX_DEVICE_CLASS_CCID *ccid, ULONG slot, ULONG wt);
1162 UINT _ux_device_class_ccid_hardware_error(UX_DEVICE_CLASS_CCID *ccid, ULONG slot, ULONG error);