Lines Matching refs:ocr
33 u32 ocr; member
147 u32 ocr = data->ocr; in sd_app_op_cond_cb() local
157 if (ocr == 0) in sd_app_op_cond_cb()
172 int mmc_send_app_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr) in mmc_send_app_op_cond() argument
177 .ocr = ocr, in mmc_send_app_op_cond()
184 cmd.arg = ocr & (1 << 30); /* SPI only defines one bit */ in mmc_send_app_op_cond()
186 cmd.arg = ocr; in mmc_send_app_op_cond()
215 static int __mmc_send_if_cond(struct mmc_host *host, u32 ocr, u8 pcie_bits, in __mmc_send_if_cond() argument
229 cmd.arg = ((ocr & 0xFF8000) != 0) << 8 | pcie_bits << 8 | test_pattern; in __mmc_send_if_cond()
250 int mmc_send_if_cond(struct mmc_host *host, u32 ocr) in mmc_send_if_cond() argument
252 return __mmc_send_if_cond(host, ocr, 0, NULL); in mmc_send_if_cond()
255 int mmc_send_if_cond_pcie(struct mmc_host *host, u32 ocr) in mmc_send_if_cond_pcie() argument
269 ret = __mmc_send_if_cond(host, ocr, pcie_bits, &resp); in mmc_send_if_cond_pcie()