Searched refs:ocr (Results 1 - 25 of 38) sorted by relevance

12

/linux-master/drivers/mmc/core/
H A Dsd_ops.h17 int mmc_send_app_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
18 int mmc_send_if_cond(struct mmc_host *host, u32 ocr);
19 int mmc_send_if_cond_pcie(struct mmc_host *host, u32 ocr);
H A Dsd.h12 int mmc_sd_get_cid(struct mmc_host *host, u32 ocr, u32 *cid, u32 *rocr);
H A Dsd_ops.c118 int mmc_send_app_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr) argument
125 cmd.arg = ocr & (1 << 30); /* SPI only defines one bit */
127 cmd.arg = ocr;
136 if (ocr == 0)
162 static int __mmc_send_if_cond(struct mmc_host *host, u32 ocr, u8 pcie_bits, argument
176 cmd.arg = ((ocr & 0xFF8000) != 0) << 8 | pcie_bits << 8 | test_pattern;
197 int mmc_send_if_cond(struct mmc_host *host, u32 ocr) argument
199 return __mmc_send_if_cond(host, ocr, 0, NULL);
202 int mmc_send_if_cond_pcie(struct mmc_host *host, u32 ocr) argument
216 ret = __mmc_send_if_cond(host, ocr, pcie_bit
[all...]
H A Dsdio.c34 MMC_DEV_ATTR(ocr, "0x%08x\n", card->ocr);
144 static int sdio_read_cccr(struct mmc_card *card, u32 ocr) argument
148 int uhs = ocr & R4_18V_PRESENT;
623 static int mmc_sdio_pre_init(struct mmc_host *host, u32 ocr, argument
648 mmc_send_if_cond(host, ocr);
658 static int mmc_sdio_init_card(struct mmc_host *host, u32 ocr, argument
665 u32 ocr_card = ocr;
671 ocr |= R4_18V_PRESENT;
676 ocr
1209 u32 ocr, rocr; local
[all...]
H A Dsdio_ops.h18 int mmc_send_io_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
H A Dsd.c715 MMC_DEV_ATTR(ocr, "0x%08x\n", card->ocr);
815 int mmc_sd_get_cid(struct mmc_host *host, u32 ocr, u32 *cid, u32 *rocr) argument
820 u32 pocr = ocr;
824 ocr &= ~SD_OCR_S18R;
839 * of the ocr to indicate that we can handle
842 err = mmc_send_if_cond(host, ocr);
844 ocr |= SD_OCR_CCS;
852 ocr |= SD_OCR_S18R;
860 ocr |
1403 mmc_sd_init_card(struct mmc_host *host, u32 ocr, struct mmc_card *oldcard) argument
1830 u32 ocr, rocr; local
[all...]
H A Dcore.h48 u32 mmc_select_voltage(struct mmc_host *host, u32 ocr);
49 int mmc_set_uhs_voltage(struct mmc_host *host, u32 ocr);
57 void mmc_power_up(struct mmc_host *host, u32 ocr);
59 void mmc_power_cycle(struct mmc_host *host, u32 ocr);
H A Dmmc_ops.h29 int mmc_send_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
H A Dsdio_ops.c18 int mmc_send_io_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr) argument
24 cmd.arg = ocr;
33 if (ocr == 0)
H A Dcore.c1115 u32 mmc_select_voltage(struct mmc_host *host, u32 ocr) argument
1123 if (ocr & 0x7F) {
1126 ocr &= ~0x7F;
1129 ocr &= host->ocr_avail;
1130 if (!ocr) {
1136 bit = ffs(ocr) - 1;
1137 ocr &= 3 << bit;
1138 mmc_power_cycle(host, ocr);
1140 bit = fls(ocr) - 1;
1147 ocr
1205 mmc_set_uhs_voltage(struct mmc_host *host, u32 ocr) argument
1332 mmc_power_up(struct mmc_host *host, u32 ocr) argument
1388 mmc_power_cycle(struct mmc_host *host, u32 ocr) argument
[all...]
H A Dmmc_ops.c65 u32 ocr; member in struct:mmc_op_cond_busy_data
189 u32 ocr = data->ocr; local
217 if (!ocr && !mmc_host_is_spi(host))
223 int mmc_send_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr) argument
229 .ocr = ocr,
234 cmd.arg = mmc_host_is_spi(host) ? 0 : ocr;
H A Dmmc.c820 MMC_DEV_ATTR(ocr, "0x%08x\n", card->ocr);
1608 static int mmc_init_card(struct mmc_host *host, u32 ocr, argument
1632 err = mmc_send_op_cond(host, ocr | (1 << 30), &rocr);
1671 card->ocr = ocr;
1736 * ocr register has bit 30 set for sector addressing.
2183 mmc_power_up(host, host->card->ocr);
2184 err = mmc_init_card(host, host->card->ocr, host->card);
2284 mmc_power_cycle(host, card->ocr);
2310 u32 ocr, rocr; local
[all...]
/linux-master/include/linux/can/platform/
H A Dsja1000.h32 u8 ocr; /* output control register */ member in struct:sja1000_platform_data
/linux-master/drivers/net/can/sja1000/
H A Dsja1000_isa.c36 static unsigned char ocr[MAXDEV] = {[0 ... (MAXDEV - 1)] = 0xff}; variable
60 module_param_array(ocr, byte, NULL, 0444);
61 MODULE_PARM_DESC(ocr, "Output control register "
183 if (ocr[idx] != 0xff)
184 priv->ocr = ocr[idx];
185 else if (ocr[0] != 0xff)
186 priv->ocr = ocr[0];
188 priv->ocr
[all...]
H A Dsja1000_platform.c117 priv->ocr = pdata->ocr;
171 priv->ocr |= prop & OCR_MODE_MASK;
173 priv->ocr |= OCR_MODE_NORMAL; /* default */
177 priv->ocr |= (prop << OCR_TX_SHIFT) & OCR_TX_MASK;
179 priv->ocr |= OCR_TX0_PULLDOWN; /* default */
H A Dsja1000.h173 u8 ocr; /* output control register */ member in struct:sja1000_priv
H A Dtscan1.c128 priv->ocr = OCR_TX0_PUSHPULL;
H A Dplx_pci.c156 u8 ocr; /* output control register */ member in struct:plx_pci_card_info
691 priv->ocr = ci->ocr;
H A Df81601.c169 priv->ocr = OCR_TX0_PUSHPULL | OCR_TX1_PUSHPULL;
H A Dems_pcmcia.c217 priv->ocr = EMS_PCMCIA_OCR;
/linux-master/drivers/staging/greybus/
H A Dsdio.c93 static u32 _gb_sdio_get_host_ocr(u32 ocr) argument
95 return (((ocr & GB_SDIO_VDD_165_195) ? MMC_VDD_165_195 : 0) |
96 ((ocr & GB_SDIO_VDD_20_21) ? MMC_VDD_20_21 : 0) |
97 ((ocr & GB_SDIO_VDD_21_22) ? MMC_VDD_21_22 : 0) |
98 ((ocr & GB_SDIO_VDD_22_23) ? MMC_VDD_22_23 : 0) |
99 ((ocr & GB_SDIO_VDD_23_24) ? MMC_VDD_23_24 : 0) |
100 ((ocr & GB_SDIO_VDD_24_25) ? MMC_VDD_24_25 : 0) |
101 ((ocr & GB_SDIO_VDD_25_26) ? MMC_VDD_25_26 : 0) |
102 ((ocr & GB_SDIO_VDD_26_27) ? MMC_VDD_26_27 : 0) |
103 ((ocr
121 u32 ocr; local
[all...]
/linux-master/drivers/staging/rtl8723bs/include/
H A Drtw_eeprom.h113 u32 ocr; member in struct:eeprom_priv
/linux-master/drivers/net/wireless/realtek/rtlwifi/
H A Defuse.h64 u8 ocr[3]; member in struct:efuse_priv
/linux-master/include/linux/platform_data/
H A Dsh_mmcif.h33 u32 ocr; member in struct:sh_mmcif_plat_data
/linux-master/include/linux/mmc/
H A Dcard.h268 u32 ocr; /* the current OCR setting */ member in struct:mmc_card

Completed in 248 milliseconds

12