Home
last modified time | relevance | path

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

/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 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 Dplx_pci.c155 u8 ocr; /* output control register */ member
690 priv->ocr = ci->ocr; in plx_pci_add_card()
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()
/linux/drivers/staging/greybus/
H A Dsdio.c93 static u32 _gb_sdio_get_host_ocr(u32 ocr) in _gb_sdio_get_host_ocr() argument
95 return (((ocr & GB_SDIO_VDD_165_195) ? MMC_VDD_165_195 : 0) | in _gb_sdio_get_host_ocr()
96 ((ocr & GB_SDIO_VDD_20_21) ? MMC_VDD_20_21 : 0) | in _gb_sdio_get_host_ocr()
97 ((ocr & GB_SDIO_VDD_21_22) ? MMC_VDD_21_22 : 0) | in _gb_sdio_get_host_ocr()
98 ((ocr & GB_SDIO_VDD_22_23) ? MMC_VDD_22_23 : 0) | in _gb_sdio_get_host_ocr()
99 ((ocr & GB_SDIO_VDD_23_24) ? MMC_VDD_23_24 : 0) | in _gb_sdio_get_host_ocr()
100 ((ocr & GB_SDIO_VDD_24_25) ? MMC_VDD_24_25 : 0) | in _gb_sdio_get_host_ocr()
101 ((ocr & GB_SDIO_VDD_25_26) ? MMC_VDD_25_26 : 0) | in _gb_sdio_get_host_ocr()
102 ((ocr & GB_SDIO_VDD_26_27) ? MMC_VDD_26_27 : 0) | in _gb_sdio_get_host_ocr()
103 ((ocr & GB_SDIO_VDD_27_28) ? MMC_VDD_27_28 : 0) | in _gb_sdio_get_host_ocr()
[all …]
/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/arch/sh/boards/
H A Dboard-sh7757lcr.c223 .ocr = MMC_VDD_32_33 | MMC_VDD_33_34,
/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/arch/sh/boards/mach-ecovec24/
H A Dsetup.c996 .ocr = MMC_VDD_32_33 | MMC_VDD_33_34,
/linux/drivers/tty/
H A Dn_gsm.c816 int ocr; in gsm_send() local
824 ocr = cr ^ (gsm->initiator ? 0 : 1); in gsm_send()
828 *dp++ = (addr << 2) | (ocr << 1) | EA; in gsm_send()
/linux/include/linux/greybus/
H A Dgreybus_protocols.h1425 __le32 ocr; member
/linux/drivers/scsi/megaraid/
H A Dmegaraid_sas_fusion.c61 int megasas_transition_to_ready(struct megasas_instance *instance, int ocr);