Lines Matching refs:ocr
32 u32 ocr; member
137 u32 ocr = data->ocr; in sd_app_op_cond_cb() local
147 if (ocr == 0) in sd_app_op_cond_cb()
162 int mmc_send_app_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr) in mmc_send_app_op_cond() argument
167 .ocr = ocr, in mmc_send_app_op_cond()
174 cmd.arg = ocr & (1 << 30); /* SPI only defines one bit */ in mmc_send_app_op_cond()
176 cmd.arg = ocr; in mmc_send_app_op_cond()
191 static int __mmc_send_if_cond(struct mmc_host *host, u32 ocr, u8 pcie_bits, in __mmc_send_if_cond() argument
205 cmd.arg = ((ocr & 0xFF8000) != 0) << 8 | pcie_bits << 8 | test_pattern; in __mmc_send_if_cond()
226 int mmc_send_if_cond(struct mmc_host *host, u32 ocr) in mmc_send_if_cond() argument
228 return __mmc_send_if_cond(host, ocr, 0, NULL); in mmc_send_if_cond()
231 int mmc_send_if_cond_pcie(struct mmc_host *host, u32 ocr) in mmc_send_if_cond_pcie() argument
245 ret = __mmc_send_if_cond(host, ocr, pcie_bits, &resp); in mmc_send_if_cond_pcie()