| /OK3568_Linux_fs/kernel/drivers/mmc/core/ |
| H A D | sdio.c | 33 MMC_DEV_ATTR(ocr, "0x%08x\n", card->ocr); 143 static int sdio_read_cccr(struct mmc_card *card, u32 ocr) in sdio_read_cccr() argument 147 int uhs = ocr & R4_18V_PRESENT; in sdio_read_cccr() 608 static int mmc_sdio_pre_init(struct mmc_host *host, u32 ocr, in mmc_sdio_pre_init() argument 633 mmc_send_if_cond(host, ocr); in mmc_sdio_pre_init() 643 static int mmc_sdio_init_card(struct mmc_host *host, u32 ocr, in mmc_sdio_init_card() argument 650 u32 ocr_card = ocr; in mmc_sdio_init_card() 656 ocr |= R4_18V_PRESENT; in mmc_sdio_init_card() 661 ocr &= ~R4_18V_PRESENT; in mmc_sdio_init_card() 667 err = mmc_send_io_op_cond(host, ocr, &rocr); in mmc_sdio_init_card() [all …]
|
| H A D | sd.c | 700 MMC_DEV_ATTR(ocr, "0x%08x\n", card->ocr); 802 int mmc_sd_get_cid(struct mmc_host *host, u32 ocr, u32 *cid, u32 *rocr) in mmc_sd_get_cid() argument 807 u32 pocr = ocr; in mmc_sd_get_cid() 811 ocr &= ~SD_OCR_S18R; in mmc_sd_get_cid() 829 err = mmc_send_if_cond(host, ocr); in mmc_sd_get_cid() 831 ocr |= SD_OCR_CCS; in mmc_sd_get_cid() 839 ocr |= SD_OCR_S18R; in mmc_sd_get_cid() 847 ocr |= SD_OCR_XPC; in mmc_sd_get_cid() 849 err = mmc_send_app_op_cond(host, ocr, rocr); in mmc_sd_get_cid() 860 if (!mmc_host_is_spi(host) && (ocr & SD_OCR_S18R) && in mmc_sd_get_cid() [all …]
|
| H A D | sd_ops.c | 117 int mmc_send_app_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr) in mmc_send_app_op_cond() argument 124 cmd.arg = ocr & (1 << 30); /* SPI only defines one bit */ in mmc_send_app_op_cond() 126 cmd.arg = ocr; in mmc_send_app_op_cond() 135 if (ocr == 0) in mmc_send_app_op_cond() 161 int mmc_send_if_cond(struct mmc_host *host, u32 ocr) in mmc_send_if_cond() argument 174 cmd.arg = ((ocr & 0xFF8000) != 0) << 8 | test_pattern; in mmc_send_if_cond()
|
| H A D | core.h | 51 u32 mmc_select_voltage(struct mmc_host *host, u32 ocr); 52 int mmc_set_uhs_voltage(struct mmc_host *host, u32 ocr); 60 void mmc_power_up(struct mmc_host *host, u32 ocr); 62 void mmc_power_cycle(struct mmc_host *host, u32 ocr);
|
| 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);
|
| H A D | core.c | 1108 u32 mmc_select_voltage(struct mmc_host *host, u32 ocr) in mmc_select_voltage() argument 1116 if (ocr & 0x7F) { in mmc_select_voltage() 1119 ocr &= ~0x7F; in mmc_select_voltage() 1122 ocr &= host->ocr_avail; in mmc_select_voltage() 1123 if (!ocr) { in mmc_select_voltage() 1129 bit = ffs(ocr) - 1; in mmc_select_voltage() 1130 ocr &= 3 << bit; in mmc_select_voltage() 1131 mmc_power_cycle(host, ocr); in mmc_select_voltage() 1133 bit = fls(ocr) - 1; in mmc_select_voltage() 1140 ocr &= 3 << (bit - 1); in mmc_select_voltage() [all …]
|
| H A D | sdio_ops.c | 18 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 D | mmc.c | 881 MMC_DEV_ATTR(ocr, "0x%08x\n", card->ocr); 1662 static int mmc_init_card(struct mmc_host *host, u32 ocr, in mmc_init_card() argument 1688 err = mmc_send_op_cond(host, ocr | (1 << 30), &rocr); in mmc_init_card() 1727 card->ocr = ocr; in mmc_init_card() 2224 mmc_power_up(host, host->card->ocr); in _mmc_resume() 2225 err = mmc_init_card(host, host->card->ocr, host->card); in _mmc_resume() 2329 mmc_power_cycle(host, card->ocr); in _mmc_hw_reset() 2332 return mmc_init_card(host, card->ocr, card); in _mmc_hw_reset() 2354 u32 ocr, rocr; in mmc_attach_mmc() local 2362 err = mmc_send_op_cond(host, 0, &ocr); in mmc_attach_mmc() [all …]
|
| H A D | sd.h | 12 int mmc_sd_get_cid(struct mmc_host *host, u32 ocr, u32 *cid, u32 *rocr);
|
| H A D | sdio_ops.h | 18 int mmc_send_io_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
|
| /OK3568_Linux_fs/kernel/drivers/staging/greybus/ |
| H A D | sdio.c | 94 static u32 _gb_sdio_get_host_ocr(u32 ocr) in _gb_sdio_get_host_ocr() argument 96 return (((ocr & GB_SDIO_VDD_165_195) ? MMC_VDD_165_195 : 0) | in _gb_sdio_get_host_ocr() 97 ((ocr & GB_SDIO_VDD_20_21) ? MMC_VDD_20_21 : 0) | in _gb_sdio_get_host_ocr() 98 ((ocr & GB_SDIO_VDD_21_22) ? MMC_VDD_21_22 : 0) | in _gb_sdio_get_host_ocr() 99 ((ocr & GB_SDIO_VDD_22_23) ? MMC_VDD_22_23 : 0) | in _gb_sdio_get_host_ocr() 100 ((ocr & GB_SDIO_VDD_23_24) ? MMC_VDD_23_24 : 0) | in _gb_sdio_get_host_ocr() 101 ((ocr & GB_SDIO_VDD_24_25) ? MMC_VDD_24_25 : 0) | in _gb_sdio_get_host_ocr() 102 ((ocr & GB_SDIO_VDD_25_26) ? MMC_VDD_25_26 : 0) | in _gb_sdio_get_host_ocr() 103 ((ocr & GB_SDIO_VDD_26_27) ? MMC_VDD_26_27 : 0) | in _gb_sdio_get_host_ocr() 104 ((ocr & GB_SDIO_VDD_27_28) ? MMC_VDD_27_28 : 0) | in _gb_sdio_get_host_ocr() [all …]
|
| /OK3568_Linux_fs/kernel/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) 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 D | sja1000_platform.c | 115 priv->ocr = pdata->ocr; in sp_populate() 167 priv->ocr |= prop & OCR_MODE_MASK; in sp_populate_of() 169 priv->ocr |= OCR_MODE_NORMAL; /* default */ in sp_populate_of() 173 priv->ocr |= (prop << OCR_TX_SHIFT) & OCR_TX_MASK; in sp_populate_of() 175 priv->ocr |= OCR_TX0_PULLDOWN; /* default */ in sp_populate_of()
|
| H A D | plx_pci.c | 168 u8 ocr; /* output control register */ member 703 priv->ocr = ci->ocr; in plx_pci_add_card()
|
| /OK3568_Linux_fs/u-boot/arch/arm/cpu/arm920t/imx/ |
| H A D | generic.c | 23 unsigned int ocr = (gpio_mode & GPIO_OCR_MASK) >> 10; in imx_gpio_mode() local 45 if( ocr == 3 ) in imx_gpio_mode() 57 tmp |= (ocr << (pin*2)); in imx_gpio_mode() 67 tmp |= (ocr << ((pin-16)*2)); in imx_gpio_mode()
|
| /OK3568_Linux_fs/buildroot/package/tesseract-ocr/ |
| H A D | Config.in | 1 comment "tesseract-ocr needs a toolchain w/ threads, C++, gcc >= 4.8, dynamic library, wchar" 7 bool "tesseract-ocr" 20 https://github.com/tesseract-ocr/tesseract 24 comment "tesseract-ocr languages support"
|
| H A D | tesseract-ocr.mk | 9 TESSERACT_OCR_SITE = $(call github,tesseract-ocr,tesseract,$(TESSERACT_OCR_VERSION)) 53 $(addprefix https://github.com/tesseract-ocr/tessdata/raw/$(TESSERACT_OCR_DATA_VERSION)/,\
|
| H A D | tesseract-ocr.hash | 2 sha256 2a66ff0d8595bff8f04032165e6c936389b1e5727c3ce5a27b3e059d218db1cb tesseract-ocr-4.1.1.tar.gz
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-graphics/tesseract/ |
| H A D | tesseract_4.1.3.bb | 2 HOMEPAGE = "https://github.com/tesseract-ocr/tesseract" 3 BUGTRACKER = "https://github.com/tesseract-ocr/tesseract/issues" 10 SRC_URI = "git://github.com/${BPN}-ocr/${BPN}.git;branch=${BRANCH};protocol=https \
|
| H A D | tesseract-lang_4.1.0.bb | 1 SUMMARY = "tesseract-ocr language files" 7 SRC_URI = "git://github.com/tesseract-ocr/tessdata.git;branch=main;protocol=https" 20 …pkgs = do_split_packages(d, tessdata_dir, r'^([a-z_]*)\.*', '${BPN}-%s', 'tesseract-ocr language f…
|
| /OK3568_Linux_fs/kernel/include/trace/hooks/ |
| H A D | mmc_core.h | 40 TP_PROTO(struct mmc_host *host, u32 ocr, int err), 41 TP_ARGS(host, ocr, err));
|
| /OK3568_Linux_fs/u-boot/arch/arm/cpu/arm926ejs/mx27/ |
| H A D | generic.c | 211 unsigned int ocr = (gpio_mode & GPIO_OCR_MASK) >> GPIO_OCR_SHIFT; in imx_gpio_mode() local 256 tmp |= (ocr << (pin * 2)); in imx_gpio_mode() 272 tmp |= (ocr << (pin * 2)); in imx_gpio_mode()
|
| /OK3568_Linux_fs/kernel/include/linux/can/platform/ |
| H A D | sja1000.h | 32 u8 ocr; /* output control register */ member
|
| /OK3568_Linux_fs/u-boot/drivers/mmc/ |
| H A D | mmc.c | 560 mmc->ocr = cmd.response[0]; in sd_send_op_cond() 562 mmc->high_capacity = ((mmc->ocr & OCR_HCS) == OCR_HCS); in sd_send_op_cond() 580 (mmc->ocr & OCR_VOLTAGE_MASK)) | in mmc_send_op_cond_iter() 581 (mmc->ocr & OCR_ACCESS_MODE); in mmc_send_op_cond_iter() 586 mmc->ocr = cmd.response[0]; in mmc_send_op_cond_iter() 605 if (mmc->ocr & OCR_BUSY) in mmc_send_op_cond() 620 if (!(mmc->ocr & OCR_BUSY)) { in mmc_complete_op_cond() 629 if (mmc->ocr & OCR_BUSY) in mmc_complete_op_cond() 647 mmc->ocr = cmd.response[0]; in mmc_complete_op_cond() 652 mmc->high_capacity = ((mmc->ocr & OCR_HCS) == OCR_HCS); in mmc_complete_op_cond()
|
| /OK3568_Linux_fs/kernel/drivers/staging/rtl8723bs/include/ |
| H A D | rtw_eeprom.h | 113 u32 ocr; member
|