Home
last modified time | relevance | path

Searched refs:value (Results 1 – 25 of 47) sorted by relevance

12

/USBX-v6.2.1/common/core/src/
Dux_utility_long_put_big_endian.c71 VOID _ux_utility_long_put_big_endian(UCHAR * address, ULONG value) in _ux_utility_long_put_big_endian() argument
78 low_word_value = value >> 16; in _ux_utility_long_put_big_endian()
79 high_word_value = value << 16; in _ux_utility_long_put_big_endian()
80 value = high_word_value | low_word_value; in _ux_utility_long_put_big_endian()
84 *address++ = (UCHAR) ((value >> 8) & 0xff); in _ux_utility_long_put_big_endian()
85 *address++ = (UCHAR) (value & 0xff); in _ux_utility_long_put_big_endian()
86 *address++ = (UCHAR) ((value >> 24 ) & 0xff); in _ux_utility_long_put_big_endian()
87 *address = (UCHAR) ((value >> 16) & 0xff); in _ux_utility_long_put_big_endian()
Dux_utility_long_get.c73 ULONG value; in _ux_utility_long_get() local
78 value = (ULONG) *address++; in _ux_utility_long_get()
79 value |= (ULONG)*address++ << 8; in _ux_utility_long_get()
80 value |= (ULONG)*address++ << 16; in _ux_utility_long_get()
81 value |= (ULONG)*address << 24; in _ux_utility_long_get()
84 return(value); in _ux_utility_long_get()
Dux_utility_long_get_big_endian.c73 ULONG value; in _ux_utility_long_get_big_endian() local
77 value = (ULONG) ((*address++) << 24); in _ux_utility_long_get_big_endian()
78 value |= (ULONG) ((*address++) << 16); in _ux_utility_long_get_big_endian()
79 value |= (ULONG) ((*address++) << 8); in _ux_utility_long_get_big_endian()
80 value |= (ULONG) *address; in _ux_utility_long_get_big_endian()
83 return(value); in _ux_utility_long_get_big_endian()
Dux_utility_short_put_big_endian.c71 VOID _ux_utility_short_put_big_endian(UCHAR * address, USHORT value) in _ux_utility_short_put_big_endian() argument
79 low_byte_value = value >> 8; in _ux_utility_short_put_big_endian()
80 high_byte_value = (USHORT)(value<< 8); in _ux_utility_short_put_big_endian()
81 value = high_byte_value | low_byte_value; in _ux_utility_short_put_big_endian()
85 *address++ = (UCHAR) (value & 0xff); in _ux_utility_short_put_big_endian()
86 *address= (UCHAR) ((value >> 8) & 0xff); in _ux_utility_short_put_big_endian()
Dux_utility_short_get_big_endian.c73 USHORT value; in _ux_utility_short_get_big_endian() local
76 value = (USHORT)((*address++) << 8); in _ux_utility_short_get_big_endian()
77 value = (USHORT)(value | *address); in _ux_utility_short_get_big_endian()
80 return((ULONG) value); in _ux_utility_short_get_big_endian()
Dux_utility_long_put.c71 VOID _ux_utility_long_put(UCHAR * address, ULONG value) in _ux_utility_long_put() argument
76 *address++ = (UCHAR) (value & 0xff); in _ux_utility_long_put()
77 *address++ = (UCHAR) ((value >> 8) & 0xff); in _ux_utility_long_put()
78 *address++ = (UCHAR) ((value >> 16) & 0xff); in _ux_utility_long_put()
79 *address = (UCHAR) ((value >> 24) & 0xff); in _ux_utility_long_put()
Dux_utility_short_get.c73 USHORT value; in _ux_utility_short_get() local
78 value = (USHORT) *address++; in _ux_utility_short_get()
79 value |= (USHORT)(*address << 8); in _ux_utility_short_get()
82 return((ULONG) value); in _ux_utility_short_get()
Dux_utility_short_put.c71 VOID _ux_utility_short_put(UCHAR * address, USHORT value) in _ux_utility_short_put() argument
76 *address++ = (UCHAR) (value & 0xff); in _ux_utility_short_put()
77 *address = (UCHAR) ((value >> 8) & 0xff); in _ux_utility_short_put()
Dux_utility_pci_write.c79 ULONG offset, ULONG value, UINT write_size) in _ux_utility_pci_write() argument
103 outpl(UX_PCI_CFG_DATA_ADDRESS, value); in _ux_utility_pci_write()
112 outpw(UX_PCI_CFG_DATA_ADDRESS + (offset & 2), (USHORT) value); in _ux_utility_pci_write()
121 outpb(UX_PCI_CFG_DATA_ADDRESS + (offset & 3), (UCHAR) value); in _ux_utility_pci_write()
Dux_utility_memory_set.c72 VOID _ux_utility_memory_set(VOID *destination, UCHAR value, ULONG length) in _ux_utility_memory_set() argument
86 *work_ptr++ = value; in _ux_utility_memory_set()
Dux_utility_pci_class_scan.c85 ULONG value; in _ux_utility_pci_class_scan() local
107value = _ux_utility_pci_read(bus_number_index, device_number_index, function_number_index, in _ux_utility_pci_class_scan()
111 current_pci_class = (value >> 8) & 0x00ffffff; in _ux_utility_pci_class_scan()
/USBX-v6.2.1/common/usbx_host_classes/src/
Dux_host_class_hid_item_data_get.c77 ULONG value; in _ux_host_class_hid_item_data_get() local
86 value = (ULONG) *descriptor; in _ux_host_class_hid_item_data_get()
92 value = (ULONG) _ux_utility_short_get(descriptor); in _ux_host_class_hid_item_data_get()
98 value = (ULONG) _ux_utility_long_get(descriptor); in _ux_host_class_hid_item_data_get()
108 return(value); in _ux_host_class_hid_item_data_get()
Dux_host_class_hid_report_compress.c86 UCHAR value; in _ux_host_class_hid_report_compress() local
176 value = (UCHAR) client_value & 1; in _ux_host_class_hid_report_compress()
179 value = (UCHAR)(value << data_offset_bit); in _ux_host_class_hid_report_compress()
182 *report_buffer |= value; in _ux_host_class_hid_report_compress()
Dux_host_class_prolific_command.c88 ULONG value, UCHAR *data_buffer, ULONG data_length) in _ux_host_class_prolific_command() argument
115 transfer_request -> ux_transfer_request_value = value; in _ux_host_class_prolific_command()
Dux_host_class_hid_remote_control_usage_get.c76 …ol_usage_get(UX_HOST_CLASS_HID_REMOTE_CONTROL *remote_control_instance, ULONG *usage, ULONG *value) in _ux_host_class_hid_remote_control_usage_get() argument
113 *value = *(array_tail + 1); in _ux_host_class_hid_remote_control_usage_get()
Dux_host_class_gser_ioctl.c90 ULONG value; in _ux_host_class_gser_ioctl() local
207 value = (line_state -> ux_host_class_gser_line_state_dtr | in _ux_host_class_gser_ioctl()
212 value, UX_NULL,0); in _ux_host_class_gser_ioctl()
221 value = *((ULONG *) parameter); in _ux_host_class_gser_ioctl()
225 value, UX_NULL,0); in _ux_host_class_gser_ioctl()
Dux_host_class_cdc_acm_ioctl.c93 ULONG value; in _ux_host_class_cdc_acm_ioctl() local
215 value = (line_state -> ux_host_class_cdc_acm_line_state_dtr | in _ux_host_class_cdc_acm_ioctl()
220 value, UX_NULL,0); in _ux_host_class_cdc_acm_ioctl()
229 value = *((ULONG *) parameter); in _ux_host_class_cdc_acm_ioctl()
233 value, UX_NULL,0); in _ux_host_class_cdc_acm_ioctl()
Dux_host_class_prolific_ioctl.c93 ULONG value; in _ux_host_class_prolific_ioctl() local
217 value = (line_state -> ux_host_class_prolific_line_state_rts | in _ux_host_class_prolific_ioctl()
222 value, UX_NULL,0); in _ux_host_class_prolific_ioctl()
231 value = *((ULONG *) parameter); in _ux_host_class_prolific_ioctl()
235 value, UX_NULL,0); in _ux_host_class_prolific_ioctl()
Dux_host_class_gser_command.c88 ULONG value, UCHAR *data_buffer, ULONG data_length) in _ux_host_class_gser_command() argument
159 transfer_request -> ux_transfer_request_value = value; in _ux_host_class_gser_command()
Dux_host_class_cdc_acm_command.c88 ULONG value, UCHAR *data_buffer, ULONG data_length) in _ux_host_class_cdc_acm_command() argument
203 transfer_request -> ux_transfer_request_value = value; in _ux_host_class_cdc_acm_command()
/USBX-v6.2.1/common/usbx_host_controllers/src/
Dux_hcd_ehci_register_write.c74 VOID _ux_hcd_ehci_register_write(UX_HCD_EHCI *hcd_ehci, ULONG ehci_register, ULONG value) in _ux_hcd_ehci_register_write() argument
78 *(hcd_ehci -> ux_hcd_ehci_base + ehci_register) = value; in _ux_hcd_ehci_register_write()
Dux_hcd_ohci_register_write.c74 VOID _ux_hcd_ohci_register_write(UX_HCD_OHCI *hcd_ohci, ULONG ohci_register, ULONG value) in _ux_hcd_ohci_register_write() argument
78 *(hcd_ohci -> ux_hcd_ohci_hcor + ohci_register) = value; in _ux_hcd_ohci_register_write()
Dux_hcd_ehci_periodic_descriptor_link.c132 if ((next_physical_lp.value & (UX_EHCI_LINK_ADDRESS_MASK | UX_EHCI_T)) != UX_EHCI_T) in _ux_hcd_ehci_periodic_descriptor_link()
136 virtual_lp.value = next_physical_lp.value & UX_EHCI_LINK_ADDRESS_MASK; in _ux_hcd_ehci_periodic_descriptor_link()
140 switch(next_physical_lp.value & UX_EHCI_TYP_MASK) in _ux_hcd_ehci_periodic_descriptor_link()
/USBX-v6.2.1/common/usbx_device_classes/src/
Dux_device_class_cdc_acm_control_request.c83 ULONG value; in _ux_device_class_cdc_acm_control_request() local
103value = _ux_utility_short_get(transfer_request -> ux_slave_transfer_request_setup + UX_SETUP_VALU… in _ux_device_class_cdc_acm_control_request()
121 if (value & UX_SLAVE_CLASS_CDC_ACM_LINE_STATE_DTR) in _ux_device_class_cdc_acm_control_request()
125 if (value & UX_SLAVE_CLASS_CDC_ACM_LINE_STATE_RTS) in _ux_device_class_cdc_acm_control_request()
Dux_device_class_printer_control_request.c86 ULONG value; in _ux_device_class_printer_control_request() local
115value = _ux_utility_short_get(transfer_request -> ux_slave_transfer_request_setup + UX_SETUP_VALU… in _ux_device_class_printer_control_request()
154 if (index == value) in _ux_device_class_printer_control_request()

12