From d097689b14ee173817e4942f1abd36431f2b28a1 Mon Sep 17 00:00:00 2001
From: patacongo struct sdio_dev_s
.
That structure defines a call table with the following methods:
+ Mutual exclusion: +
+
+ #ifdef CONFIG_SDIO_MUXBUS
+ int (*lock)(FAR struct sdio_dev_s *dev, bool lock);
+ #endif
+
Initialization/setup:
@@ -2767,13 +2777,13 @@ extern void up_ledoff(int led);uint8_t (*status)(FAR struct sdio_dev_s *dev);
void (*widebus)(FAR struct sdio_dev_s *dev, bool enable);
void (*clock)(FAR struct sdio_dev_s *dev, enum sdio_clock_e rate);
int (*attach)(FAR struct sdio_dev_s *dev);
+ int (*attach)(FAR struct sdio_dev_s *dev);
Command/Status/Data Transfer:
void (*sendcmd)(FAR struct sdio_dev_s *dev, uint32_t cmd, uint32_t arg);
+
int (*sendcmd)(FAR struct sdio_dev_s *dev, uint32_t cmd, uint32_t arg);
int (*recvsetup)(FAR struct sdio_dev_s *dev, FAR uint8_t *buffer, size_t nbytes);
int (*sendsetup)(FAR struct sdio_dev_s *dev, FAR const uint8_t *buffer, size_t nbytes);
int (*cancel)(FAR struct sdio_dev_s *dev);