mmc: core: Use CMD23 for multiblock transfers when we can.
[deliverable/linux.git] / include / linux / mmc / mmc.h
index 9fa5a73f393de052a88343f5fd9816839d8ebc00..ac26a685cca8a82e55f2b6eba31ee1321ff70727 100644 (file)
 #define MMC_APP_CMD              55   /* ac   [31:16] RCA        R1  */
 #define MMC_GEN_CMD              56   /* adtc [0] RD/WR          R1  */
 
+static inline bool mmc_op_multi(u32 opcode)
+{
+       return opcode == MMC_WRITE_MULTIPLE_BLOCK ||
+              opcode == MMC_READ_MULTIPLE_BLOCK;
+}
+
 /*
  * MMC_SWITCH argument format:
  *
This page took 0.041192 seconds and 5 git commands to generate.