Lines Matching defs:mxic_spi
171 struct mxic_spi {
191 static int mxic_spi_clk_enable(struct mxic_spi *mxic)
211 static void mxic_spi_clk_disable(struct mxic_spi *mxic)
217 static void mxic_spi_set_input_delay_dqs(struct mxic_spi *mxic, u8 idly_code)
231 static int mxic_spi_clk_setup(struct mxic_spi *mxic, unsigned long freq)
264 static int mxic_spi_set_freq(struct mxic_spi *mxic, unsigned long freq)
285 static void mxic_spi_hw_init(struct mxic_spi *mxic)
342 static int mxic_spi_data_xfer(struct mxic_spi *mxic, const void *txbuf,
393 struct mxic_spi *mxic = spi_master_get_devdata(desc->mem->spi->master);
437 struct mxic_spi *mxic = spi_master_get_devdata(desc->mem->spi->master);
496 struct mxic_spi *mxic = spi_master_get_devdata(desc->mem->spi->master);
513 struct mxic_spi *mxic = spi_master_get_devdata(mem->spi->master);
580 struct mxic_spi *mxic = spi_master_get_devdata(spi->master);
599 struct mxic_spi *mxic = spi_master_get_devdata(master);
644 struct mxic_spi *mxic = nand->ecc.engine->priv;
654 struct mxic_spi *mxic = nand->ecc.engine->priv;
684 static void mxic_spi_mem_ecc_remove(struct mxic_spi *mxic)
693 struct mxic_spi *mxic)
717 struct mxic_spi *mxic = spi_master_get_devdata(master);
728 struct mxic_spi *mxic = spi_master_get_devdata(master);
749 struct mxic_spi *mxic;
752 master = devm_spi_alloc_master(&pdev->dev, sizeof(struct mxic_spi));
824 struct mxic_spi *mxic = spi_master_get_devdata(master);