Home
last modified time | relevance | path

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

/USBX-v6.2.1/common/usbx_host_classes/src/
Dux_host_class_printer_status_get.c100 UCHAR * printer_status_buffer; in _ux_host_class_printer_status_get() local
149printer_status_buffer = _ux_utility_memory_allocate(UX_SAFE_ALIGN, UX_CACHE_SAFE_MEMORY, UX_HOST_… in _ux_host_class_printer_status_get()
150 if (printer_status_buffer == UX_NULL) in _ux_host_class_printer_status_get()
162 transfer_request -> ux_transfer_request_data_pointer = printer_status_buffer; in _ux_host_class_printer_status_get()
185 *printer_status = printer_status_buffer[0]; in _ux_host_class_printer_status_get()
187 *printer_status |= (ULONG)(printer_status_buffer[1] << 8); in _ux_host_class_printer_status_get()
189 *printer_status |= (ULONG)(printer_status_buffer[2] << 16); in _ux_host_class_printer_status_get()
191 *printer_status |= (ULONG)(printer_status_buffer[3] << 24); in _ux_host_class_printer_status_get()
204 _ux_utility_memory_free(printer_status_buffer); in _ux_host_class_printer_status_get()