/u-boot/cmd/ |
A D | setexpr.c | 194 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 D | slre.c | 505 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 D | denali_dt.c | 21 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 D | tmio-common.c | 54 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 D | msm_sdhci.c | 95 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 D | sdhci.c | 795 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 D | renesas-sdhi.c | 152 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 D | ftsdc010_mci.h | 23 unsigned int caps; member
|
A D | fsl_esdhc.c | 773 u32 caps; in fsl_esdhc_get_cfg_common() local 775 caps = esdhc_read32(®s->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 D | fsl_esdhc_imx.c | 168 u32 caps; member 1167 u32 caps, voltage_caps; in fsl_esdhc_init() local 1207 caps = esdhc_read32(®s->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 D | ftsdc010_mci.c | 375 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 D | mmc.c | 1630 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 D | arm_pl180_mmci.h | 184 unsigned int caps; member
|
/u-boot/drivers/pinctrl/uniphier/ |
A D | pinctrl-uniphier-core.c | 137 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 D | pinctrl-uniphier-ld11.c | 103 .caps = UNIPHIER_PINCTRL_CAPS_PUPD_SIMPLE |
|
A D | pinctrl-uniphier.h | 103 unsigned caps; member
|
A D | pinctrl-uniphier-pxs3.c | 128 .caps = UNIPHIER_PINCTRL_CAPS_PUPD_SIMPLE |
|
A D | pinctrl-uniphier-ld6b.c | 138 .caps = UNIPHIER_PINCTRL_CAPS_PUPD_SIMPLE,
|
A D | pinctrl-uniphier-pxs2.c | 142 .caps = UNIPHIER_PINCTRL_CAPS_PUPD_SIMPLE,
|
/u-boot/drivers/spi/ |
A D | atmel-quadspi.c | 151 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 D | attr.c | 129 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 D | omap5.dtsi | 233 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 D | omap4.dtsi | 263 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 D | at91_udc.h | 119 const struct at91_udc_caps *caps; member
|
/u-boot/board/armltd/vexpress/ |
A D | vexpress_common.c | 94 host->caps = 0; in cpu_mmc_init()
|