/linux-master/drivers/mmc/core/ |
H A D | sd_ops.h | 17 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 D | sd.h | 12 int mmc_sd_get_cid(struct mmc_host *host, u32 ocr, u32 *cid, u32 *rocr);
|
H A D | sd_ops.c | 118 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 D | sdio.c | 34 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 D | sdio_ops.h | 18 int mmc_send_io_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
|
H A D | sd.c | 715 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 D | core.h | 48 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 D | mmc_ops.h | 29 int mmc_send_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
|
H A D | sdio_ops.c | 18 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 D | core.c | 1115 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 D | mmc_ops.c | 65 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 D | mmc.c | 820 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 D | sja1000.h | 32 u8 ocr; /* output control register */ member in struct:sja1000_platform_data
|
/linux-master/drivers/net/can/sja1000/ |
H A D | sja1000_isa.c | 36 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 D | sja1000_platform.c | 117 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 D | sja1000.h | 173 u8 ocr; /* output control register */ member in struct:sja1000_priv
|
H A D | tscan1.c | 128 priv->ocr = OCR_TX0_PUSHPULL;
|
H A D | plx_pci.c | 156 u8 ocr; /* output control register */ member in struct:plx_pci_card_info 691 priv->ocr = ci->ocr;
|
H A D | f81601.c | 169 priv->ocr = OCR_TX0_PUSHPULL | OCR_TX1_PUSHPULL;
|
H A D | ems_pcmcia.c | 217 priv->ocr = EMS_PCMCIA_OCR;
|
/linux-master/drivers/staging/greybus/ |
H A D | sdio.c | 93 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 D | rtw_eeprom.h | 113 u32 ocr; member in struct:eeprom_priv
|
/linux-master/drivers/net/wireless/realtek/rtlwifi/ |
H A D | efuse.h | 64 u8 ocr[3]; member in struct:efuse_priv
|
/linux-master/include/linux/platform_data/ |
H A D | sh_mmcif.h | 33 u32 ocr; member in struct:sh_mmcif_plat_data
|
/linux-master/include/linux/mmc/ |
H A D | card.h | 268 u32 ocr; /* the current OCR setting */ member in struct:mmc_card
|