Home
last modified time | relevance | path

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

123

/openbmc/linux/drivers/mmc/core/
H A Dsdio.c34 MMC_DEV_ATTR(ocr, "0x%08x\n", card->ocr);
148 int uhs = ocr & R4_18V_PRESENT; in sdio_read_cccr()
648 mmc_send_if_cond(host, ocr); in mmc_sdio_pre_init()
665 u32 ocr_card = ocr; in mmc_sdio_init_card()
671 ocr |= R4_18V_PRESENT; in mmc_sdio_init_card()
676 ocr &= ~R4_18V_PRESENT; in mmc_sdio_init_card()
727 card->ocr = ocr_card; in mmc_sdio_init_card()
747 ocr &= ~R4_18V_PRESENT; in mmc_sdio_init_card()
813 err = sdio_read_cccr(card, ocr); in mmc_sdio_init_card()
816 if (ocr & R4_18V_PRESENT) { in mmc_sdio_init_card()
[all …]
H A Dsd_ops.c118 int mmc_send_app_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr) in mmc_send_app_op_cond() argument
125 cmd.arg = ocr & (1 << 30); /* SPI only defines one bit */ in mmc_send_app_op_cond()
127 cmd.arg = ocr; in mmc_send_app_op_cond()
136 if (ocr == 0) in mmc_send_app_op_cond()
162 static int __mmc_send_if_cond(struct mmc_host *host, u32 ocr, u8 pcie_bits, in __mmc_send_if_cond() argument
176 cmd.arg = ((ocr & 0xFF8000) != 0) << 8 | pcie_bits << 8 | test_pattern; in __mmc_send_if_cond()
197 int mmc_send_if_cond(struct mmc_host *host, u32 ocr) in mmc_send_if_cond() argument
199 return __mmc_send_if_cond(host, ocr, 0, NULL); in mmc_send_if_cond()
202 int mmc_send_if_cond_pcie(struct mmc_host *host, u32 ocr) in mmc_send_if_cond_pcie() argument
216 ret = __mmc_send_if_cond(host, ocr, pcie_bits, &resp); in mmc_send_if_cond_pcie()
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.c716 MMC_DEV_ATTR(ocr, "0x%08x\n", card->ocr);
821 u32 pocr = ocr; in mmc_sd_get_cid()
825 ocr &= ~SD_OCR_S18R; in mmc_sd_get_cid()
843 err = mmc_send_if_cond(host, ocr); in mmc_sd_get_cid()
845 ocr |= SD_OCR_CCS; in mmc_sd_get_cid()
853 ocr |= SD_OCR_S18R; in mmc_sd_get_cid()
861 ocr |= SD_OCR_XPC; in mmc_sd_get_cid()
1435 card->ocr = ocr; in mmc_sd_init_card()
1497 mmc_power_cycle(host, ocr); in mmc_sd_init_card()
1834 u32 ocr, rocr; in mmc_attach_sd() 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 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 Dcore.c1123 if (ocr & 0x7F) { in mmc_select_voltage()
1126 ocr &= ~0x7F; in mmc_select_voltage()
1129 ocr &= host->ocr_avail; in mmc_select_voltage()
1130 if (!ocr) { in mmc_select_voltage()
1136 bit = ffs(ocr) - 1; in mmc_select_voltage()
1137 ocr &= 3 << bit; in mmc_select_voltage()
1138 mmc_power_cycle(host, ocr); in mmc_select_voltage()
1140 bit = fls(ocr) - 1; in mmc_select_voltage()
1147 ocr &= 3 << (bit - 1); in mmc_select_voltage()
1152 return ocr; in mmc_select_voltage()
[all …]
H A Dmmc_ops.c65 u32 ocr; member
189 u32 ocr = data->ocr; in __mmc_send_op_cond_cb() local
217 if (!ocr && !mmc_host_is_spi(host)) in __mmc_send_op_cond_cb()
223 int mmc_send_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr) in mmc_send_op_cond() argument
229 .ocr = ocr, in mmc_send_op_cond()
234 cmd.arg = mmc_host_is_spi(host) ? 0 : ocr; in mmc_send_op_cond()
H A Dsd.h12 int mmc_sd_get_cid(struct mmc_host *host, u32 ocr, u32 *cid, u32 *rocr);
H A Dsdio_ops.h18 int mmc_send_io_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
H A Dmmc.c813 MMC_DEV_ATTR(ocr, "0x%08x\n", card->ocr);
1600 static int mmc_init_card(struct mmc_host *host, u32 ocr, in mmc_init_card() argument
1624 err = mmc_send_op_cond(host, ocr | (1 << 30), &rocr); in mmc_init_card()
1663 card->ocr = ocr; in mmc_init_card()
2169 mmc_power_up(host, host->card->ocr); in _mmc_resume()
2270 mmc_power_cycle(host, card->ocr); in _mmc_hw_reset()
2273 return mmc_init_card(host, card->ocr, card); in _mmc_hw_reset()
2296 u32 ocr, rocr; in mmc_attach_mmc() local
2304 err = mmc_send_op_cond(host, 0, &ocr); in mmc_attach_mmc()
2316 err = mmc_spi_read_ocr(host, 1, &ocr); in mmc_attach_mmc()
[all …]
/openbmc/u-boot/arch/arm/cpu/arm920t/imx/
H A Dgeneric.c22 unsigned int ocr = (gpio_mode & GPIO_OCR_MASK) >> 10; in imx_gpio_mode() local
44 if( ocr == 3 ) in imx_gpio_mode()
56 tmp |= (ocr << (pin*2)); in imx_gpio_mode()
66 tmp |= (ocr << ((pin-16)*2)); in imx_gpio_mode()
/openbmc/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_platform.c117 priv->ocr = pdata->ocr; in sp_populate()
171 priv->ocr |= prop & OCR_MODE_MASK; in sp_populate_of()
173 priv->ocr |= OCR_MODE_NORMAL; /* default */ in sp_populate_of()
177 priv->ocr |= (prop << OCR_TX_SHIFT) & OCR_TX_MASK; in sp_populate_of()
179 priv->ocr |= OCR_TX0_PULLDOWN; /* default */ in sp_populate_of()
/openbmc/linux/drivers/staging/greybus/
H A Dsdio.c93 static u32 _gb_sdio_get_host_ocr(u32 ocr) in _gb_sdio_get_host_ocr() argument
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()
111 ((ocr & GB_SDIO_VDD_35_36) ? MMC_VDD_35_36 : 0) in _gb_sdio_get_host_ocr()
121 u32 ocr; in gb_sdio_get_caps() local
146 ocr = _gb_sdio_get_host_ocr(le32_to_cpu(response.ocr)); in gb_sdio_get_caps()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/tesseract/
H A Dtesseract_5.3.4.bb2 HOMEPAGE = "https://github.com/tesseract-ocr/tesseract"
3 BUGTRACKER = "https://github.com/tesseract-ocr/tesseract/issues"
9 SRC_URI = "git://github.com/${BPN}-ocr/${BPN}.git;branch=main;protocol=https"
H A Dtesseract-lang_4.1.0.bb1 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…
/openbmc/qemu/scripts/ci/setup/ubuntu/
H A Dubuntu-2204-s390x.yaml120 - tesseract-ocr
121 - tesseract-ocr-eng
H A Dubuntu-2204-aarch64.yaml122 - tesseract-ocr
123 - tesseract-ocr-eng
H A Dubuntu-2204-armhf-cross.yml55 - tesseract-ocr
56 - tesseract-ocr-eng
/openbmc/linux/include/linux/can/platform/
H A Dsja1000.h32 u8 ocr; /* output control register */ member
/openbmc/qemu/hw/sd/
H A Dsd.c120 uint32_t ocr; member
381 assert(!FIELD_EX32(sd->ocr, OCR, CARD_POWER_UP)); in sd_ocr_powerup()
384 sd->ocr = FIELD_DP32(sd->ocr, OCR, CARD_POWER_UP, 1); in sd_ocr_powerup()
387 sd->ocr = FIELD_DP32(sd->ocr, OCR, CARD_CAPACITY, 1); in sd_ocr_powerup()
394 sd->ocr = R_OCR_VDD_VOLTAGE_WIN_HI_MASK; in sd_set_ocr()
543 sd->ocr = FIELD_DP32(sd->ocr, OCR, CARD_CAPACITY, 1); in emmc_set_csd()
742 stl_be_p(response, sd->ocr & ACMD41_R3_MASK); in sd_response_r3_make()
764 if (FIELD_EX32(sd->ocr, OCR, CARD_CAPACITY)) { in sd_blk_len()
808 if (FIELD_EX32(sd->ocr, OCR, CARD_CAPACITY)) { in sd_req_get_address()
924 VMSTATE_UINT32(ocr, SDState),
[all …]
/openbmc/u-boot/arch/arm/cpu/arm926ejs/mx27/
H A Dgeneric.c210 unsigned int ocr = (gpio_mode & GPIO_OCR_MASK) >> GPIO_OCR_SHIFT; in imx_gpio_mode() local
255 tmp |= (ocr << (pin * 2)); in imx_gpio_mode()
271 tmp |= (ocr << (pin * 2)); in imx_gpio_mode()
/openbmc/qemu/tests/docker/dockerfiles/
H A Dopensuse-leap.docker108 tesseract-ocr \
109 tesseract-ocr-traineddata-english \
H A Dubuntu2204.docker129 tesseract-ocr \
130 tesseract-ocr-eng \

123