Home
last modified time | relevance | path

Searched full:mxic (Results 1 – 17 of 17) sorted by relevance

/openbmc/linux/drivers/spi/
H A Dspi-mxic.c6 // Mason Yang <masonccyang@mxic.com.tw>
7 // zhengxunli <zhengxunli@mxic.com.tw>
16 #include <linux/mtd/nand-ecc-mxic.h>
191 static int mxic_spi_clk_enable(struct mxic_spi *mxic) in mxic_spi_clk_enable() argument
195 ret = clk_prepare_enable(mxic->send_clk); in mxic_spi_clk_enable()
199 ret = clk_prepare_enable(mxic->send_dly_clk); in mxic_spi_clk_enable()
206 clk_disable_unprepare(mxic->send_clk); in mxic_spi_clk_enable()
211 static void mxic_spi_clk_disable(struct mxic_spi *mxic) in mxic_spi_clk_disable() argument
213 clk_disable_unprepare(mxic->send_clk); in mxic_spi_clk_disable()
214 clk_disable_unprepare(mxic->send_dly_clk); in mxic_spi_clk_disable()
[all …]
H A DMakefile90 obj-$(CONFIG_SPI_MXIC) += spi-mxic.o
/openbmc/linux/drivers/mtd/nand/
H A Decc-mxic.c19 #include <linux/mtd/nand-ecc-mxic.h>
174 static void mxic_ecc_disable_engine(struct mxic_ecc_engine *mxic) in mxic_ecc_disable_engine() argument
178 reg = readl(mxic->regs + DP_CONFIG); in mxic_ecc_disable_engine()
180 writel(reg, mxic->regs + DP_CONFIG); in mxic_ecc_disable_engine()
183 static void mxic_ecc_enable_engine(struct mxic_ecc_engine *mxic) in mxic_ecc_enable_engine() argument
187 reg = readl(mxic->regs + DP_CONFIG); in mxic_ecc_enable_engine()
189 writel(reg, mxic->regs + DP_CONFIG); in mxic_ecc_enable_engine()
192 static void mxic_ecc_disable_int(struct mxic_ecc_engine *mxic) in mxic_ecc_disable_int() argument
194 writel(0, mxic->regs + INTRPT_SIG_EN); in mxic_ecc_disable_int()
197 static void mxic_ecc_enable_int(struct mxic_ecc_engine *mxic) in mxic_ecc_enable_int() argument
[all …]
H A DMakefile14 nandcore-$(CONFIG_MTD_NAND_ECC_MXIC) += ecc-mxic.o
/openbmc/linux/Documentation/devicetree/bindings/mtd/
H A Dnand-macronix.txt17 - randomizer enable: should be "mxic,enable-randomizer-otp"
25 mxic,enable-randomizer-otp;
H A Dmxic-nand.txt5 - compatible: should be "mxic,multi-itfc-v009-nand-controller"
23 compatible = "mxic,multi-itfc-v009-nand-controller";
/openbmc/linux/drivers/mtd/nand/raw/
H A Dnand_macronix.c105 struct nand_onfi_vendor_macronix *mxic; in macronix_nand_onfi_init() local
113 rand_otp = of_property_read_bool(dn, "mxic,enable-randomizer-otp"); in macronix_nand_onfi_init()
115 mxic = (struct nand_onfi_vendor_macronix *)p->onfi->vendor; in macronix_nand_onfi_init()
118 mxic->reliability_func & MACRONIX_RANDOMIZER_BIT) { in macronix_nand_onfi_init()
139 if ((mxic->reliability_func & MACRONIX_READ_RETRY_BIT) == 0) in macronix_nand_onfi_init()
288 pr_err("Suspending MXIC NAND chip failed (%d)\n", ret); in mxic_nand_suspend()
H A Dmxic_nand.c6 * Mason Yang <masonccyang@mxic.com.tw>
536 0, "mxic-nfc", nfc); in mxic_nfc_probe()
570 { .compatible = "mxic,multi-itfc-v009-nand-controller", },
579 .name = "mxic-nfc",
585 MODULE_AUTHOR("Mason Yang <masonccyang@mxic.com.tw>");
/openbmc/u-boot/drivers/mtd/
H A Djedec_flash.c57 /* MXIC */
228 .name = "MXIC MX29LV040",
354 .name = "MXIC MX29LV800BT",
/openbmc/linux/drivers/net/ethernet/dec/tulip/
H A DKconfig148 as with work-alike chips from Lite-On (PNIC) and Macronix (MXIC) and
H A Dtimer.c148 dev_info(&dev->dev, "MXIC negotiation status %08x\n", in mxic_timer()
/openbmc/u-boot/include/
H A Dflash.h158 #define MX_MANUFACT 0x00C200C2 /* MXIC manuf. ID in D23..D16, D7..D0 */
478 #define FLASH_MAN_MX 0x00030000 /* MXIC */
/openbmc/linux/drivers/mtd/chips/
H A Djedec_probe.c1185 .name = "MXIC MX29LV160T",
1214 .name = "MXIC MX29LV160B",
/openbmc/linux/Documentation/devicetree/bindings/
H A Dvendor-prefixes.yaml917 "^mxic,.*":
/openbmc/linux/
H A Dopengrok0.0.log[all...]
H A Dopengrok2.0.log[all...]
H A Dopengrok1.0.log[all...]