~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to drivers/staging/westbridge/astoria/include/linux/westbridge/cyasstorage.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
832
832
   * CY_AS_ERROR_NO_FIRMWARE - the firmware has not been
833
833
   *    loaded into West Bridge
834
834
   * CY_AS_ERROR_INVALID_HANDLE - an invalid handle was passed in
835
 
   * CY_AS_ERROR_SUCCESS - the module started sucessfully
 
835
   * CY_AS_ERROR_SUCCESS - the module started successfully
836
836
   * CY_AS_ERROR_TIMEOUT - a timeout occurred communicating
837
837
   *    with the West Bridge device
838
838
   * CY_AS_ERROR_OUT_OF_MEMORY
882
882
   * CY_AS_ERROR_INVALID_HANDLE - an invalid handle was
883
883
   *    passed in
884
884
   * CY_AS_ERROR_SUCCESS - this module was shut
885
 
   *    down sucessfully
 
885
   *    down successfully
886
886
   * CY_AS_ERROR_TIMEOUT - a timeout occurred
887
887
   *    communicating with the West Bridge device
888
888
   * CY_AS_ERROR_NOT_RUNNING
934
934
   * CY_AS_ERROR_INVALID_HANDLE - an invalid handle
935
935
   *    was passed in
936
936
   * CY_AS_ERROR_SUCCESS - the function was registered
937
 
   *    sucessfully
 
937
   *    successfully
938
938
   * CY_AS_ERROR_NOT_RUNNING - the stack is not running
939
939
 
940
940
   See Also
981
981
   *    been started
982
982
   * CY_AS_ERROR_INVALID_HANDLE - an invalid handle was
983
983
   *    passed in
984
 
   * CY_AS_ERROR_SUCCESS - this request was sucessfully
 
984
   * CY_AS_ERROR_SUCCESS - this request was successfully
985
985
   *    transmitted to the West Bridge device
986
986
   * CY_AS_ERROR_TIMEOUT - a timeout occurred communicating
987
987
   *    with the West Bridge device
1034
1034
   *    been started
1035
1035
   * CY_AS_ERROR_INVALID_HANDLE - an invalid handle
1036
1036
   *    was passed in
1037
 
   * CY_AS_ERROR_SUCCESS - the media was sucessfully
 
1037
   * CY_AS_ERROR_SUCCESS - the media was successfully
1038
1038
   *    released
1039
1039
   * CY_AS_ERROR_MEDIA_NOT_CLAIMED - the media was not
1040
1040
   *    claimed by the P port
1905
1905
   differ between SD cards.
1906
1906
 
1907
1907
   A large erase can take a while to complete depending on the SD
1908
 
   card. In such a case it is reccomended that an async call is made.
 
1908
   card. In such a case it is recommended that an async call is made.
1909
1909
 
1910
1910
   Returns
1911
1911
   * CY_AS_ERROR_SUCCESS - API call completed successfully
1926
1926
   *    required before erase is allowed
1927
1927
   * CY_AS_ERROR_NO_SUCH_BUS
1928
1928
   * CY_AS_ERROR_NO_SUCH_DEVICE
1929
 
   * CY_AS_ERROR_NOT_SUPPORTED - Erase is currenly only supported
 
1929
   * CY_AS_ERROR_NOT_SUPPORTED - Erase is currently only supported
1930
1930
   *    on SD and using SD only firmware
1931
1931
   * CY_AS_ERROR_OUT_OF_MEMORY
1932
1932
 
1985
1985
   *    type was made
1986
1986
   * CY_AS_ERROR_OUT_OF_MEMORY - insufficient memory available
1987
1987
   * CY_AS_ERROR_INVALID_RESPONSE - an error message was
1988
 
   *    recieved from the firmware
 
1988
   *    received from the firmware
1989
1989
   * CY_AS_ERROR_MEDIA_ACCESS_FAILURE - there was error in
1990
1990
   *    reading from the media
1991
1991
   * CY_AS_ERROR_INVALID_FUNCTION - An IO attempt was made to
2047
2047
   *    pair does not exist
2048
2048
   * CY_AS_ERROR_OUT_OF_MEMORY - insufficient memory available
2049
2049
   * CY_AS_ERROR_INVALID_RESPONSE - an error message was
2050
 
   *    recieved from the firmware
 
2050
   *    received from the firmware
2051
2051
 
2052
2052
*/
2053
2053
cy_as_return_status_t
2095
2095
   *    pair does not exist
2096
2096
   * CY_AS_ERROR_OUT_OF_MEMORY - insufficient memory available
2097
2097
   * CY_AS_ERROR_INVALID_RESPONSE - an error message was
2098
 
   *    recieved from the firmware
 
2098
   *    received from the firmware
2099
2099
   */
2100
2100
cy_as_return_status_t
2101
2101
cy_as_sdio_reset_card(
2139
2139
   * CY_AS_ERROR_NO_SUCH_DEVICE - the specified media/device pair
2140
2140
   *    does not exist
2141
2141
   * CY_AS_ERROR_OUT_OF_MEMORY - insufficient memory available
2142
 
   * CY_AS_ERROR_INVALID_RESPONSE - an error message was recieved
 
2142
   * CY_AS_ERROR_INVALID_RESPONSE - an error message was received
2143
2143
   *    from the firmware
2144
2144
   * CY_AS_ERROR_MEDIA_ACCESS_FAILURE - there was error in reading
2145
2145
   *    from the media
2198
2198
   * CY_AS_ERROR_NO_SUCH_DEVICE - the specified media/device
2199
2199
   * pair does not exist
2200
2200
   * CY_AS_ERROR_OUT_OF_MEMORY - insufficient memory available
2201
 
   * CY_AS_ERROR_INVALID_RESPONSE - an error message was recieved
 
2201
   * CY_AS_ERROR_INVALID_RESPONSE - an error message was received
2202
2202
   * from the firmware
2203
2203
   * CY_AS_ERROR_MEDIA_ACCESS_FAILURE - there was error in
2204
2204
   * reading from the media
2262
2262
   * CY_AS_ERROR_OUT_OF_MEMORY - insufficient memory
2263
2263
   *    available
2264
2264
   * CY_AS_ERROR_INVALID_RESPONSE - an error message was
2265
 
   *    recieved from the firmware
 
2265
   *    received from the firmware
2266
2266
   * CY_AS_ERROR_MEDIA_ACCESS_FAILURE - there was error in
2267
2267
   *    reading from the media
2268
2268
   * CY_AS_ERROR_INVALID_FUNCTION - An IO attempt was made
2319
2319
   *    pair does not exist
2320
2320
   * CY_AS_ERROR_ASYNC_PENDING - an async operation is pending
2321
2321
   * CY_AS_ERROR_OUT_OF_MEMORY - insufficient memory available
2322
 
   * CY_AS_ERROR_INVALID_RESPONSE - an error message was recieved
 
2322
   * CY_AS_ERROR_INVALID_RESPONSE - an error message was received
2323
2323
   *    from the firmware
2324
2324
   * CY_AS_ERROR_MEDIA_ACCESS_FAILURE - there was error in
2325
2325
   *    reading from the media
2396
2396
   * CY_AS_ERROR_ASYNC_PENDING - an async operation is pending
2397
2397
   * CY_AS_ERROR_OUT_OF_MEMORY - insufficient memory available
2398
2398
   * CY_AS_ERROR_INVALID_RESPONSE - an error message was
2399
 
   *    recieved from the firmware
 
2399
   *    received from the firmware
2400
2400
   * CY_AS_ERROR_MEDIA_ACCESS_FAILURE - there was error in
2401
2401
   *    reading from the media
2402
2402
   * CY_AS_ERROR_INVALID_FUNCTION - An IO attempt was made
2471
2471
   * pair does not exist
2472
2472
   * CY_AS_ERROR_OUT_OF_MEMORY - insufficient memory available
2473
2473
   * CY_AS_ERROR_INVALID_RESPONSE - an error message was
2474
 
   *    recieved from the firmware
 
2474
   *    received from the firmware
2475
2475
   * CY_AS_ERROR_MEDIA_ACCESS_FAILURE - there was error in
2476
2476
   *    reading from the media
2477
2477
   * CY_AS_ERROR_INVALID_FUNCTION - An IO attempt was made
2714
2714
   * CY_AS_ERROR_OUT_OF_MEMORY - insufficient memory
2715
2715
   *    available
2716
2716
   * CY_AS_ERROR_INVALID_RESPONSE - an error message was
2717
 
   *    recieved from the firmware
 
2717
   *    received from the firmware
2718
2718
   * CY_AS_ERROR_MEDIA_ACCESS_FAILURE - there was error
2719
2719
   *    in reading from the media
2720
2720
   * CY_AS_ERROR_INVALID_FUNCTION - An IO attempt was