Searched defs:ocr (Results 1 - 12 of 12) sorted by relevance

/drivers/mmc/core/
H A Dsd_ops.c150 int mmc_send_app_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr) argument
159 cmd.arg = ocr & (1 << 30); /* SPI only defines one bit */
161 cmd.arg = ocr;
170 if (ocr == 0)
196 int mmc_send_if_cond(struct mmc_host *host, u32 ocr) argument
209 cmd.arg = ((ocr & 0xFF8000) != 0) << 8 | test_pattern;
H A Dsdio_ops.c22 int mmc_send_io_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr) argument
30 cmd.arg = ocr;
39 if (ocr == 0)
H A Dmmc_ops.c153 int mmc_send_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr) argument
161 cmd.arg = mmc_host_is_spi(host) ? 0 : ocr;
170 if (ocr == 0)
H A Dsdio.c106 static int sdio_read_cccr(struct mmc_card *card, u32 ocr) argument
110 int uhs = ocr & R4_18V_PRESENT;
595 static int mmc_sdio_init_card(struct mmc_host *host, u32 ocr, argument
602 u32 ocr_card = ocr;
609 ocr |= R4_18V_PRESENT;
614 ocr &= ~R4_18V_PRESENT;
621 err = mmc_send_io_op_cond(host, ocr, &rocr);
645 mmc_sd_get_cid(host, ocr & rocr, card->raw_cid, NULL) == 0) {
675 if (!powered_resume && (rocr & ocr & R4_18V_PRESENT)) {
677 ocr);
1109 u32 ocr, rocr; local
1247 u32 ocr; local
[all...]
H A Dsd.c718 int mmc_sd_get_cid(struct mmc_host *host, u32 ocr, u32 *cid, u32 *rocr) argument
723 u32 pocr = ocr;
727 ocr &= ~SD_OCR_S18R;
742 * of the ocr to indicate that we can handle
745 err = mmc_send_if_cond(host, ocr);
747 ocr |= SD_OCR_CCS;
755 ocr |= SD_OCR_S18R;
763 ocr |= SD_OCR_XPC;
765 err = mmc_send_app_op_cond(host, ocr, rocr);
924 static int mmc_sd_init_card(struct mmc_host *host, u32 ocr, argument
1272 u32 ocr, rocr; local
[all...]
H A Dmmc.c1248 static int mmc_init_card(struct mmc_host *host, u32 ocr, argument
1274 err = mmc_send_op_cond(host, ocr | (1 << 30), &rocr);
1314 card->ocr = ocr;
1378 * ocr register has bit 30 set for sector addressing.
1760 mmc_power_up(host, host->card->ocr);
1761 err = mmc_init_card(host, host->card->ocr, host->card);
1848 ret = mmc_init_card(host, host->card->ocr, host->card);
1872 u32 ocr, rocr; local
1881 err = mmc_send_op_cond(host, 0, &ocr);
[all...]
H A Dcore.c1355 u32 mmc_select_voltage(struct mmc_host *host, u32 ocr) argument
1363 if (ocr & 0x7F) {
1366 ocr &= ~0x7F;
1369 ocr &= host->ocr_avail;
1370 if (!ocr) {
1376 bit = ffs(ocr) - 1;
1377 ocr &= 3 << bit;
1378 mmc_power_cycle(host, ocr);
1380 bit = fls(ocr) - 1;
1381 ocr
1408 mmc_set_signal_voltage(struct mmc_host *host, int signal_voltage, u32 ocr) argument
1531 mmc_power_up(struct mmc_host *host, u32 ocr) argument
1606 mmc_power_cycle(struct mmc_host *host, u32 ocr) argument
[all...]
/drivers/net/can/sja1000/
H A Dsja1000_isa.c47 static unsigned char ocr[MAXDEV] = {[0 ... (MAXDEV - 1)] = 0xff}; variable
71 module_param_array(ocr, byte, NULL, S_IRUGO);
72 MODULE_PARM_DESC(ocr, "Output control register "
194 if (ocr[idx] != 0xff)
195 priv->ocr = ocr[idx];
196 else if (ocr[0] != 0xff)
197 priv->ocr = ocr[0];
199 priv->ocr
[all...]
H A Dplx_pci.c157 u8 ocr; /* output control register */ member in struct:plx_pci_card_info
586 priv->ocr = ci->ocr;
H A Dsja1000.h171 u8 ocr; /* output control register */ member in struct:sja1000_priv
/drivers/net/wireless/rtlwifi/
H A Defuse.h92 u8 ocr[3]; member in struct:efuse_priv
/drivers/scsi/megaraid/
H A Dmegaraid_sas_base.c101 int megasas_transition_to_ready(struct megasas_instance *instance, int ocr);
3312 megasas_transition_to_ready(struct megasas_instance *instance, int ocr) argument
3333 if (ocr) {

Completed in 151 milliseconds