lkml.org 
[lkml]   [2022]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH v4 2/2] mmc: Add mmc driver for Sunplus SP7021
Date
Dear Krzysztof:
>
> > + int dma_int_threshold;
> > + struct sg_mapping_iter sg_miter; /* for pio mode to access sglist */
> > + int dma_use_int; /* should raise irq when dma done */
> > + struct spmmc_tuning_info emmc_tuning_info;
> > + struct spsdc_tuning_info sd_tuning_info;
> > + int restore_4bit_sdio_bus;
> > + const struct spmmc_compatible *dev_comp; };
> > +
> > +struct spsdc_host {
>
> Where is this used?
>

struct spmmc_host{} for emmc.
struct spsdc_host{} for SD card.
The register base address and offset address of emmc and sd cards are different.
eMMC and sdcard are their respective hardware settings.


\
 
 \ /
  Last update: 2022-03-21 05:55    [W:0.065 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site