Home
last modified time | relevance | path

Searched refs:ocr (Results 1 – 25 of 26) sorted by relevance

12

/linux/drivers/mmc/core/
H A Dsd_ops.c33 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
[all …]
H A Dsdio_ops.c18 int mmc_send_io_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr) in mmc_send_io_op_cond() argument
24 cmd.arg = ocr; in mmc_send_io_op_cond()
33 if (ocr == 0) in mmc_send_io_op_cond()
H A Dsd_uhs2.c868 u32 ocr; in sd_uhs2_legacy_init() local
888 err = mmc_send_app_op_cond(host, 0, &ocr); in sd_uhs2_legacy_init()
892 card->ocr = ocr; in sd_uhs2_legacy_init()
898 ocr &= ~0x7FFF; in sd_uhs2_legacy_init()
899 rocr = mmc_select_voltage(host, ocr); in sd_uhs2_legacy_init()
910 ocr = rocr; in sd_uhs2_legacy_init()
912 err = mmc_send_app_op_cond(host, ocr, &rocr); in sd_uhs2_legacy_init()
H A Dmmc.c829 MMC_DEV_ATTR(ocr, "0x%08x\n", card->ocr);
1619 static int mmc_init_card(struct mmc_host *host, u32 ocr, in mmc_init_card() argument
1643 err = mmc_send_op_cond(host, ocr | (1 << 30), &rocr); in mmc_init_card()
1682 card->ocr = ocr; in mmc_init_card()
2220 mmc_power_up(host, host->card->ocr); in _mmc_resume()
2221 err = mmc_init_card(host, host->card->ocr, host->card); in _mmc_resume()
2327 mmc_power_cycle(host, card->ocr); in _mmc_hw_reset()
2330 return mmc_init_card(host, card->ocr, card); in _mmc_hw_reset()
2403 u32 ocr, rocr; in mmc_attach_mmc() local
2411 err = mmc_send_op_cond(host, 0, &ocr); in mmc_attach_mmc()
[all …]
H A Dsdio_ops.h18 int mmc_send_io_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
H A Dmmc_ops.h30 int mmc_send_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
/linux/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) in sja1000_isa_probe()
184 priv->ocr = ocr[idx]; in sja1000_isa_probe()
185 else if (ocr[0] != 0xff) in sja1000_isa_probe()
186 priv->ocr = ocr[0]; in sja1000_isa_probe()
188 priv->ocr = OCR_DEFAULT; in sja1000_isa_probe()
H A Dsja1000.h173 u8 ocr; /* output control register */ member
H A Dtscan1.c128 priv->ocr = OCR_TX0_PUSHPULL; in tscan1_probe()
H A Df81601.c169 priv->ocr = OCR_TX0_PUSHPULL | OCR_TX1_PUSHPULL; in f81601_pci_probe()
H A Dems_pcmcia.c217 priv->ocr = EMS_PCMCIA_OCR; in ems_pcmcia_add_card()
H A Dkvaser_pci.c248 priv->ocr = KVASER_PCI_OCR; in kvaser_pci_add_chan()
H A Dems_pci.c373 priv->ocr = EMS_PCI_OCR; in ems_pci_add_card()
H A Dpeak_pcmcia.c560 priv->ocr = PCC_OCR; in pcan_add_channels()
H A Dpeak_pci.c648 priv->ocr = PEAK_PCI_OCR; in peak_pci_probe()
/linux/include/linux/can/platform/
H A Dsja1000.h32 u8 ocr; /* output control register */ member
/linux/drivers/staging/rtl8723bs/include/
H A Drtw_eeprom.h113 u32 ocr; member
/linux/drivers/net/wireless/realtek/rtlwifi/
H A Defuse.h64 u8 ocr[3]; member
/linux/include/linux/platform_data/
H A Dsh_mmcif.h33 u32 ocr; member
/linux/Documentation/driver-api/mmc/
H A Dmmc-dev-attrs.rst38 ocr Operation Conditions Register
/linux/drivers/net/wireless/rsi/
H A Drsi_91x_sdio.c232 card->ocr = resp; in rsi_reset_card()
236 card->ocr, in rsi_reset_card()
/linux/drivers/mmc/host/
H A Dsh_mmcif.c1422 mmc->ocr_avail = pd->ocr; in sh_mmcif_init_ocr()
1423 else if (pd->ocr) in sh_mmcif_init_ocr()
/linux/drivers/tty/
H A Dn_gsm.c815 int ocr; in gsm_send()
823 ocr = cr ^ (gsm->initiator ? 0 : 1); in gsm_send()
827 *dp++ = (addr << 2) | (ocr << 1) | EA; in gsm_send()
816 int ocr; gsm_send() local
/linux/include/linux/greybus/
H A Dgreybus_protocols.h1425 __le32 ocr; member
/linux/drivers/scsi/megaraid/
H A Dmegaraid_sas_base.c134 int megasas_transition_to_ready(struct megasas_instance *instance, int ocr);
4130 megasas_transition_to_ready(struct megasas_instance *instance, int ocr) in megasas_transition_to_ready() argument
4153 if (ocr) { in megasas_transition_to_ready()

12