diff options
Diffstat (limited to 'drivers/staging/westbridge/astoria/include/linux/westbridge/cyasusb_dep.h')
-rw-r--r-- | drivers/staging/westbridge/astoria/include/linux/westbridge/cyasusb_dep.h | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/drivers/staging/westbridge/astoria/include/linux/westbridge/cyasusb_dep.h b/drivers/staging/westbridge/astoria/include/linux/westbridge/cyasusb_dep.h index 0ee18e8..829edde 100644 --- a/drivers/staging/westbridge/astoria/include/linux/westbridge/cyasusb_dep.h +++ b/drivers/staging/westbridge/astoria/include/linux/westbridge/cyasusb_dep.h @@ -37,66 +37,66 @@ typedef struct cy_as_usb_inquiry_data_dep { /* The media for the event */ - cy_as_media_type media ; + cy_as_media_type media; /* The EVPD bit from the SCSI INQUIRY request */ - uint8_t evpd ; + uint8_t evpd; /* The codepage in the inquiry request */ - uint8_t codepage ; + uint8_t codepage; /* This bool must be set to CyTrue indicate * that the inquiry data was changed */ - cy_bool updated ; + cy_bool updated; /* The length of the data */ - uint16_t length ; + uint16_t length; /* The inquiry data */ - void *data ; -} cy_as_usb_inquiry_data_dep ; + void *data; +} cy_as_usb_inquiry_data_dep; typedef struct cy_as_usb_unknown_command_data_dep { /* The media for the event */ - cy_as_media_type media ; + cy_as_media_type media; /* The length of the requst (should be 16 bytes) */ - uint16_t reqlen ; + uint16_t reqlen; /* The request */ - void *request ; + void *request; /* The returned status value for the command */ - uint8_t status ; + uint8_t status; /* If status is failed, the sense key */ - uint8_t key ; + uint8_t key; /* If status is failed, the additional sense code */ - uint8_t asc ; + uint8_t asc; /* If status if failed, the additional sense code qualifier */ - uint8_t ascq ; -} cy_as_usb_unknown_command_data_dep ; + uint8_t ascq; +} cy_as_usb_unknown_command_data_dep; typedef struct cy_as_usb_start_stop_data_dep { /* The media type for the event */ - cy_as_media_type media ; + cy_as_media_type media; /* CyTrue means start request, CyFalse means stop request */ - cy_bool start ; + cy_bool start; /* CyTrue means LoEj bit set, otherwise false */ - cy_bool loej ; -} cy_as_usb_start_stop_data_dep ; + cy_bool loej; +} cy_as_usb_start_stop_data_dep; typedef struct cy_as_usb_enum_control_dep { /* The bits in this member determine which mass storage devices are enumerated. see cy_as_usb_mass_storage_enum for more details. */ - uint8_t enum_mass_storage ; + uint8_t enum_mass_storage; /* If true, West Bridge will control enumeration. If this is false the pport controls enumeration. if the P port is controlling enumeration, traffic will be received via endpoint zero. */ - cy_bool antioch_enumeration ; + cy_bool antioch_enumeration; /* This is the interface # to use for the mass storage interface, if mass storage is enumerated. if mass storage is not enumerated this value should be zero. */ - uint8_t mass_storage_interface ; + uint8_t mass_storage_interface; /* If true, Inquiry, START/STOP, and unknown mass storage requests cause a callback to occur for handling by the baseband processor. */ - cy_bool mass_storage_callbacks ; -} cy_as_usb_enum_control_dep ; + cy_bool mass_storage_callbacks; +} cy_as_usb_enum_control_dep; typedef void (*cy_as_usb_event_callback_dep)( @@ -106,7 +106,7 @@ typedef void (*cy_as_usb_event_callback_dep)( cy_as_usb_event ev, /* The data assocaited with the event being reported */ void *evdata -) ; +); @@ -117,7 +117,7 @@ cy_as_usb_register_callback_dep( cy_as_device_handle handle, /* The function to call */ cy_as_usb_event_callback_dep callback - ) ; + ); extern cy_as_return_status_t @@ -130,7 +130,7 @@ cy_as_usb_set_enum_config_dep( cy_as_function_callback cb, /* Client supplied data */ uint32_t client - ) ; + ); extern cy_as_return_status_t @@ -143,7 +143,7 @@ cy_as_usb_get_enum_config_dep( cy_as_function_callback cb, /* Client supplied data */ uint32_t client - ) ; + ); extern cy_as_return_status_t cy_as_usb_get_descriptor_dep( @@ -159,7 +159,7 @@ cy_as_usb_get_descriptor_dep( points to a uint32_t that contains the length of the buffer. after the call, this value contains the amount of data actually returned. */ uint32_t *length_p - ) ; + ); extern cy_as_return_status_t cy_as_usb_set_stall_dep( @@ -171,7 +171,7 @@ cy_as_usb_set_stall_dep( cy_as_usb_function_callback cb, /* Client supplied data */ uint32_t client -) ; +); EXTERN cy_as_return_status_t cy_as_usb_clear_stall_dep( @@ -183,7 +183,7 @@ cy_as_usb_clear_stall_dep( cy_as_usb_function_callback cb, /* Client supplied data */ uint32_t client - ) ; + ); EXTERN cy_as_return_status_t cy_as_usb_set_nak_dep( @@ -195,7 +195,7 @@ cy_as_usb_set_nak_dep( cy_as_usb_function_callback cb, /* Client supplied data */ uint32_t client -) ; +); EXTERN cy_as_return_status_t cy_as_usb_clear_nak_dep( @@ -207,7 +207,7 @@ cy_as_usb_clear_nak_dep( cy_as_usb_function_callback cb, /* Client supplied data */ uint32_t client - ) ; + ); EXTERN cy_as_return_status_t cy_as_usb_select_m_s_partitions_dep( @@ -217,7 +217,7 @@ cy_as_usb_select_m_s_partitions_dep( cy_as_usb_m_s_type_t type, cy_as_function_callback cb, uint32_t client - ) ; + ); #endif /*__doxygen*/ |