%option noinput nounput noyywrap %{ /* Copyright (C) 2001-2020 Free Software Foundation, Inc. This file is part of GNU Binutils. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GLD; see the file COPYING. If not, write to the Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* Note: config.h is #included via syslex_wrap.c. */ #ifdef HAVE_STRING_H #include #else #ifdef HAVE_STRINGS_H #include #endif #endif #include "sysinfo.h" #ifndef YY_NO_UNPUT #define YY_NO_UNPUT #endif extern int yylex (void); %} %% "(" { return '(';} ")" { return ')';} "[" { return '[';} "]" { return ']';} " " { ; } ";".* { ; } "\t" { ; } "\n" { ; } "\""[^\"]*"\"" { yylval.s = malloc (yyleng - 1); memcpy (yylval.s, yytext + 1, yyleng - 2); yylval.s[yyleng - 2] = '\0'; return NAME; } 0x[0-9a-f]+ { yylval.i = strtol(yytext,0,16); return NUMBER; } [0-9]+ { yylval.i = atoi(yytext); return NUMBER; } "bits" { yylval.i =1 ;return UNIT;} "bit" { yylval.i = 1; return UNIT;} "bytes" { yylval.i= 8; return UNIT;} "byte" { yylval.i = 8; return UNIT;} "int" { yylval.s = "INT"; return TYPE;} "barray" { yylval.s = "BARRAY"; return TYPE;} "chars" { yylval.s = "CHARS"; return TYPE;} "variable" { yylval.i = 0; return NUMBER;} "counted" { yylval.i = -4; return NUMBER;} "addrsize" { yylval.i = -2; return NUMBER; } "segsize" { yylval.i = -1; return NUMBER; } "cond" { return COND;} "repeat" { return REPEAT;} ='/netbsd/log/sys/arch/arm'>arm/nvidia/tegra_sdhc.c
AgeCommit message (Expand)Author
2022-02-06sdhc: Retire SDHC_FLAG_USE_ADMA2 flag.jmcneill
2022-02-06sdhc: tegra: Set SDHC_FLAG_BROKEN_ADMA2_ZEROLEN quirk flag.jmcneill
2022-01-22Ensure bus_dmatag_subregion is called with an inclusive max_addrskrll
2021-01-27Rename of_match_compat_data() to of_compatible_match(). Similarly,thorpej
2021-01-15use fdtbus_intr_establish_xnamejmcneill
2020-09-14Trailing whitespace.skrll
2020-03-01bus_dmatag_subregion isn't supported on (compiled into) arm so ifdef itsskrll
2020-02-15Need to limit the DMA range for tx1. Assume 32bit DMA everywhere for now.skrll
2019-10-13Restore %# for PRIxBUSADDRskrll
2019-10-13Use PRIxBUSADDRskrll
2018-07-16Add missing pointer <-> integer castschristos
2017-07-21Disable UHS modes if signaling voltage regulator is unavailable.jmcneill
2017-05-25Match nvidia,tegra210-sdhci compat string.jmcneill
2017-04-22If the "vqmmc-supply" regulator is present, use it to set signal voltage.jmcneill
2017-04-22Set parent clock rate to 100MHz when SDR104 is disabledjmcneill
2017-04-16Disable SDR104 until the Tegra K1 custom tuning method is implemented.jmcneill
2017-04-11Set SDHC_FLAG_NO_HS_BIT for Tegra sdhc. No noticeable impact on performancejmcneill
2015-12-22Switch Tegra over to fdt based clocks and reset controls.jmcneill
2015-12-16use of_getprop_uint32jmcneill
2015-12-15fdtbus_gpio_read handles pin polarity, so fix inverted test in tegra_sdhc_car...jmcneill
2015-12-13Use fdt for device enumeration.jmcneill
2015-08-03set SDHC_FLAG_POLL_CARD_DET when we have a card detect pinjmcneill
2015-08-02set ref clk to 204MHz so we can take advantage of UHS-I modesjmcneill
2015-07-29enable ADMA2 data transfer modejmcneill
2015-07-23use SDHC_FLAG_NO_TIMEOUTjmcneill
2015-07-23Support fractional dividers. This lets us use 48MHz for SDMMC HS modejmcneill
2015-05-30dont set SDHC_FLAG_NO_HS_BIT flagjmcneill
2015-05-03since we dont support SDR104 yet, dont try to optimize it; instead, optimize ...jmcneill
2015-05-03set SDHC_FLAG_SINGLE_POWER_WRITEjmcneill
2015-05-02hook up power, card detect, write protect gpiosjmcneill
2015-05-02SDMMC clock input is PLLP (408 MHz). Set input divisor to 2 to get ajmcneill
2015-03-29NVIDIA Tegra K1 support, work in progress.jmcneill