Lines Matching defs:sdhci_host
318 struct sdhci_host { struct
320 const char *hw_name; /* Hardware bus name */
322 unsigned int quirks; /* Deviations from spec. */
385 unsigned int quirks2; /* More deviations from spec. */
421 int irq; /* Device IRQ */
422 void __iomem *ioaddr; /* Mapped address */
424 const struct sdhci_ops *ops; /* Low level hw interface */
427 struct mmc_host *mmc; /* MMC structure */
428 struct mmc_host_ops mmc_host_ops; /* MMC host ops */
429 u64 dma_mask; /* custom DMA mask */
432 struct led_classdev led; /* LED control */
433 char led_name[32];
436 spinlock_t lock; /* Mutex */
438 int flags; /* Host attributes */
452 unsigned int version; /* SDHCI spec. version */
454 unsigned int max_clk; /* Max possible freq (MHz) */
455 unsigned int timeout_clk; /* Timeout freq (KHz) */
456 unsigned int clk_mul; /* Clock Muliplier value */
458 unsigned int clock; /* Current clock (MHz) */
459 u8 pwr; /* Current voltage */
461 bool runtime_suspended; /* Host is runtime suspended */
462 bool bus_on; /* Bus power prevents runtime suspend */
463 bool preset_enabled; /* Preset is enabled */
465 struct mmc_request *mrq; /* Current request */
466 struct mmc_command *cmd; /* Current command */
467 struct mmc_data *data; /* Current data request */
468 unsigned int data_early:1; /* Data finished before cmd */
469 unsigned int busy_handle:1; /* Handling the order of Busy-end */
471 struct sg_mapping_iter sg_miter; /* SG state for PIO */
472 unsigned int blocks; /* remaining PIO blocks */
474 int sg_count; /* Mapped sg entries */
476 void *adma_table; /* ADMA descriptor table */
477 void *align_buffer; /* Bounce buffer */
479 size_t adma_table_sz; /* ADMA descriptor table size */
480 size_t align_buffer_sz; /* Bounce buffer size */
482 dma_addr_t adma_addr; /* Mapped ADMA descr. table */
483 dma_addr_t align_addr; /* Mapped bounce buffer */
485 unsigned int desc_sz; /* ADMA descriptor size */
486 unsigned int align_sz; /* ADMA alignment */
487 unsigned int align_mask; /* ADMA alignment mask */
489 struct tasklet_struct finish_tasklet; /* Tasklet structures */
491 struct timer_list timer; /* Timer for timeouts */
493 u32 caps; /* Alternative CAPABILITY_0 */
494 u32 caps1; /* Alternative CAPABILITY_1 */
496 unsigned int ocr_avail_sdio; /* OCR bit masks */
520 u32 (*read_l)(struct sdhci_host *host, int reg); argument