Home
last modified time | relevance | path

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

12

/u-boot/cmd/
A Dsetexpr.c194 struct cap caps[slre.num_caps + 2]; in setexpr_regex_sub() local
199 (void) memset(caps, 0, sizeof(caps)); in setexpr_regex_sub()
201 res = slre_match(&slre, datap, len - (datap - data), caps); in setexpr_regex_sub()
206 if (caps[i].len > 0) { in setexpr_regex_sub()
208 caps[i].len, caps[i].ptr); in setexpr_regex_sub()
226 old = caps[0].ptr; in setexpr_regex_sub()
227 olen = caps[0].len; in setexpr_regex_sub()
259 if (caps[i].len == 0) in setexpr_regex_sub()
267 caps[i].len, caps[i].ptr, in setexpr_regex_sub()
279 caps[i].ptr, caps[i].len); in setexpr_regex_sub()
/u-boot/lib/
A Dslre.c505 int *ofs, struct cap *caps) in match() argument
521 s, len, ofs, caps); in match()
624 if (caps != NULL) in match()
629 if (caps != NULL) in match()
631 caps[r->code[pc + 1]].ptr; in match()
649 struct cap *caps) in slre_match() argument
671 struct cap caps[N_CAPS]; in main() local
705 (void) memset(caps, 0, sizeof(caps)); in main()
711 if (caps[i].len > 0) { in main()
713 caps[i].len, in main()
[all …]
/u-boot/drivers/mtd/nand/raw/
A Ddenali_dt.c21 unsigned int caps; member
29 .caps = DENALI_CAP_HW_ECC_FIXUP,
37 .caps = DENALI_CAP_HW_ECC_FIXUP |
47 .caps = DENALI_CAP_HW_ECC_FIXUP |
83 denali->caps = data->caps; in denali_dt_probe()
/u-boot/drivers/mmc/
A Dtmio-common.c54 if (priv->caps & TMIO_SD_CAP_64BIT) in tmio_sd_readl()
56 else if (priv->caps & TMIO_SD_CAP_16BIT) { in tmio_sd_readl()
70 if (priv->caps & TMIO_SD_CAP_64BIT) in tmio_sd_writel()
72 else if (priv->caps & TMIO_SD_CAP_16BIT) { in tmio_sd_writel()
185 if (priv->caps & TMIO_SD_CAP_64BIT) in tmio_sd_pio_read_one_block()
187 else if (priv->caps & TMIO_SD_CAP_16BIT) in tmio_sd_pio_read_one_block()
234 if (priv->caps & TMIO_SD_CAP_64BIT) in tmio_sd_pio_write_one_block()
236 else if (priv->caps & TMIO_SD_CAP_16BIT) in tmio_sd_pio_write_one_block()
697 if (priv->caps & TMIO_SD_CAP_64BIT) in tmio_sd_host_init()
753 priv->caps = quirks; in tmio_sd_probe()
[all …]
A Dmsm_sdhci.c95 u32 caps; in msm_sdc_probe() local
141 caps = readl(host->ioaddr + SDHCI_CAPABILITIES); in msm_sdc_probe()
142 caps |= SDHCI_CAN_VDD_300 | SDHCI_CAN_DO_8BIT; in msm_sdc_probe()
143 writel(caps, host->ioaddr + SDHCI_VENDOR_SPEC_CAPABILITIES0); in msm_sdc_probe()
A Dsdhci.c795 u32 caps, caps_1 = 0; local
803 caps = ~lower_32_bits(dt_caps_mask) &
805 caps |= lower_32_bits(dt_caps);
809 debug("%s, caps: 0x%x\n", __func__, caps);
812 if ((caps & SDHCI_CAN_DO_SDMA)) {
820 if (!(caps & SDHCI_CAN_DO_ADMA2)) {
888 if (caps & SDHCI_CAN_VDD_330)
890 if (caps & SDHCI_CAN_VDD_300)
892 if (caps & SDHCI_CAN_VDD_180)
898 if (caps & SDHCI_CAN_DO_HISPD)
[all …]
A Drenesas-sdhi.c152 if ((priv->caps & TMIO_SD_CAP_RCAR_UHS) && in renesas_sdhi_check_scc_error()
572 u32 caps; in renesas_sdhi_execute_tuning() local
575 if (!(priv->caps & TMIO_SD_CAP_RCAR_UHS)) in renesas_sdhi_execute_tuning()
605 caps = priv->caps; in renesas_sdhi_execute_tuning()
606 priv->caps &= ~TMIO_SD_CAP_DMA_INTERNAL; in renesas_sdhi_execute_tuning()
610 priv->caps = caps; in renesas_sdhi_execute_tuning()
662 if ((priv->caps & TMIO_SD_CAP_RCAR_UHS) && in renesas_sdhi_set_ios()
863 if (!(priv->caps & TMIO_SD_CAP_RCAR_GEN3)) in renesas_sdhi_filter_caps()
866 if (priv->caps & TMIO_SD_CAP_DMA_INTERNAL) in renesas_sdhi_filter_caps()
1009 if (!ret && (priv->caps & TMIO_SD_CAP_RCAR_UHS)) in renesas_sdhi_probe()
A Dftsdc010_mci.h23 unsigned int caps; member
A Dfsl_esdhc.c773 u32 caps; in fsl_esdhc_get_cfg_common() local
775 caps = esdhc_read32(&regs->hostcapblt); in fsl_esdhc_get_cfg_common()
777 caps &= ~(HOSTCAPBLT_SRS | HOSTCAPBLT_VS18 | HOSTCAPBLT_VS30); in fsl_esdhc_get_cfg_common()
779 caps |= HOSTCAPBLT_VS33; in fsl_esdhc_get_cfg_common()
780 if (caps & HOSTCAPBLT_VS18) in fsl_esdhc_get_cfg_common()
782 if (caps & HOSTCAPBLT_VS30) in fsl_esdhc_get_cfg_common()
784 if (caps & HOSTCAPBLT_VS33) in fsl_esdhc_get_cfg_common()
789 if (caps & HOSTCAPBLT_HSS) in fsl_esdhc_get_cfg_common()
961 u32 caps, hostver; in fsl_esdhc_probe() local
981 caps = esdhc_read32(&priv->esdhc_regs->hostcapblt); in fsl_esdhc_probe()
[all …]
A Dfsl_esdhc_imx.c168 u32 caps; member
1167 u32 caps, voltage_caps; in fsl_esdhc_init() local
1207 caps = esdhc_read32(&regs->hostcapblt); in fsl_esdhc_init()
1215 caps &= ~ESDHC_HOSTCAPBLT_HSS; in fsl_esdhc_init()
1219 caps = caps & ~(ESDHC_HOSTCAPBLT_SRS | in fsl_esdhc_init()
1225 caps = caps | ESDHC_HOSTCAPBLT_VS33; in fsl_esdhc_init()
1228 if (caps & ESDHC_HOSTCAPBLT_VS18) in fsl_esdhc_init()
1230 if (caps & ESDHC_HOSTCAPBLT_VS30) in fsl_esdhc_init()
1232 if (caps & ESDHC_HOSTCAPBLT_VS33) in fsl_esdhc_init()
1266 if (caps & ESDHC_HOSTCAPBLT_HSS) in fsl_esdhc_init()
[all …]
A Dftsdc010_mci.c375 uint caps, u32 max_clk, u32 min_clk) in ftsdc_setup_cfg() argument
381 cfg->host_caps = caps; in ftsdc_setup_cfg()
450 chip->caps |= MMC_MODE_HS | MMC_MODE_HS_52MHz; in ftsdc010_mmc_probe()
452 ftsdc_setup_cfg(&plat->cfg, dev->name, chip->buswidth, chip->caps, in ftsdc010_mmc_probe()
A Dmmc.c1630 if (caps & MMC_MODE_8BIT) in mmc_dump_capabilities()
1632 if (caps & MMC_MODE_4BIT) in mmc_dump_capabilities()
1634 if (caps & MMC_MODE_1BIT) in mmc_dump_capabilities()
1638 if (MMC_CAP(mode) & caps) in mmc_dump_capabilities()
1728 if (caps & MMC_CAP(mwt->mode))
1740 uint caps; in sd_select_mode_and_width() local
1760 caps = card_caps & mmc->host_caps; in sd_select_mode_and_width()
1763 caps &= ~UHS_CAPS; in sd_select_mode_and_width()
1765 for_each_sd_mode_by_pref(caps, mwt) { in sd_select_mode_and_width()
1769 if (*w & caps & mwt->widths) { in sd_select_mode_and_width()
[all …]
A Darm_pl180_mmci.h184 unsigned int caps; member
/u-boot/drivers/pinctrl/uniphier/
A Dpinctrl-uniphier-core.c137 if (priv->socdata->caps & UNIPHIER_PINCTRL_CAPS_PERPIN_IECTRL) in uniphier_pinconf_input_enable()
177 if (!(priv->socdata->caps & UNIPHIER_PINCTRL_CAPS_PUPD_SIMPLE)) in uniphier_pinconf_bias_set()
351 if (priv->socdata->caps & UNIPHIER_PINCTRL_CAPS_MUX_4BIT) in uniphier_pinmux_set_one()
354 if (priv->socdata->caps & UNIPHIER_PINCTRL_CAPS_DBGMUX_SEPARATE) { in uniphier_pinmux_set_one()
A Dpinctrl-uniphier-ld11.c103 .caps = UNIPHIER_PINCTRL_CAPS_PUPD_SIMPLE |
A Dpinctrl-uniphier.h103 unsigned caps; member
A Dpinctrl-uniphier-pxs3.c128 .caps = UNIPHIER_PINCTRL_CAPS_PUPD_SIMPLE |
A Dpinctrl-uniphier-ld6b.c138 .caps = UNIPHIER_PINCTRL_CAPS_PUPD_SIMPLE,
A Dpinctrl-uniphier-pxs2.c142 .caps = UNIPHIER_PINCTRL_CAPS_PUPD_SIMPLE,
/u-boot/drivers/spi/
A Datmel-quadspi.c151 const struct atmel_qspi_caps *caps; member
376 if (aq->caps->has_ricr) { in atmel_qspi_set_cfg()
508 if (aq->caps->has_qspick) { in atmel_qspi_enable_clk()
551 aq->caps = (struct atmel_qspi_caps *)dev_get_driver_data(dev); in atmel_qspi_probe()
552 if (!aq->caps) { in atmel_qspi_probe()
/u-boot/env/
A Dattr.c129 struct cap caps[slre.num_caps + 2]; in regex_callback() local
132 strlen(cbp->searched_for), caps)) { in regex_callback()
/u-boot/arch/arm/dts/
A Domap5.dtsi233 hw-caps-read-idle-ctrl;
234 hw-caps-ll-interface;
235 hw-caps-temp-alert;
245 hw-caps-read-idle-ctrl;
246 hw-caps-ll-interface;
247 hw-caps-temp-alert;
A Domap4.dtsi263 hw-caps-read-idle-ctrl;
264 hw-caps-ll-interface;
265 hw-caps-temp-alert;
275 hw-caps-read-idle-ctrl;
276 hw-caps-ll-interface;
277 hw-caps-temp-alert;
/u-boot/drivers/usb/gadget/
A Dat91_udc.h119 const struct at91_udc_caps *caps; member
/u-boot/board/armltd/vexpress/
A Dvexpress_common.c94 host->caps = 0; in cpu_mmc_init()

Completed in 58 milliseconds

12