• Home
  • Raw
  • Download

Lines Matching refs:sdhci_host

331 struct sdhci_host {  struct
533 u32 (*read_l)(struct sdhci_host *host, int reg); argument
534 u16 (*read_w)(struct sdhci_host *host, int reg);
535 u8 (*read_b)(struct sdhci_host *host, int reg);
536 void (*write_l)(struct sdhci_host *host, u32 val, int reg);
537 void (*write_w)(struct sdhci_host *host, u16 val, int reg);
538 void (*write_b)(struct sdhci_host *host, u8 val, int reg);
541 void (*set_clock)(struct sdhci_host *host, unsigned int clock);
542 void (*set_power)(struct sdhci_host *host, unsigned char mode,
545 int (*enable_dma)(struct sdhci_host *host);
546 unsigned int (*get_max_clock)(struct sdhci_host *host);
547 unsigned int (*get_min_clock)(struct sdhci_host *host);
548 unsigned int (*get_timeout_clock)(struct sdhci_host *host);
549 unsigned int (*get_max_timeout_count)(struct sdhci_host *host);
550 void (*set_timeout)(struct sdhci_host *host,
552 void (*set_bus_width)(struct sdhci_host *host, int width);
553 void (*platform_send_init_74_clocks)(struct sdhci_host *host,
555 unsigned int (*get_ro)(struct sdhci_host *host);
556 void (*reset)(struct sdhci_host *host, u8 mask);
557 int (*platform_execute_tuning)(struct sdhci_host *host, u32 opcode);
558 void (*set_uhs_signaling)(struct sdhci_host *host, unsigned int uhs);
559 void (*hw_reset)(struct sdhci_host *host);
560 void (*adma_workaround)(struct sdhci_host *host, u32 intmask);
561 void (*card_event)(struct sdhci_host *host);
562 void (*voltage_switch)(struct sdhci_host *host);
563 int (*select_drive_strength)(struct sdhci_host *host,
571 static inline void sdhci_writel(struct sdhci_host *host, u32 val, int reg) in sdhci_writel()
579 static inline void sdhci_writew(struct sdhci_host *host, u16 val, int reg) in sdhci_writew()
587 static inline void sdhci_writeb(struct sdhci_host *host, u8 val, int reg) in sdhci_writeb()
595 static inline u32 sdhci_readl(struct sdhci_host *host, int reg) in sdhci_readl()
603 static inline u16 sdhci_readw(struct sdhci_host *host, int reg) in sdhci_readw()
611 static inline u8 sdhci_readb(struct sdhci_host *host, int reg) in sdhci_readb()
621 static inline void sdhci_writel(struct sdhci_host *host, u32 val, int reg) in sdhci_writel()
626 static inline void sdhci_writew(struct sdhci_host *host, u16 val, int reg) in sdhci_writew()
631 static inline void sdhci_writeb(struct sdhci_host *host, u8 val, int reg) in sdhci_writeb()
636 static inline u32 sdhci_readl(struct sdhci_host *host, int reg) in sdhci_readl()
641 static inline u16 sdhci_readw(struct sdhci_host *host, int reg) in sdhci_readw()
646 static inline u8 sdhci_readb(struct sdhci_host *host, int reg) in sdhci_readb()
653 extern struct sdhci_host *sdhci_alloc_host(struct device *dev,
655 extern void sdhci_free_host(struct sdhci_host *host);
657 static inline void *sdhci_priv(struct sdhci_host *host) in sdhci_priv()
662 extern void sdhci_card_detect(struct sdhci_host *host);
663 extern void __sdhci_read_caps(struct sdhci_host *host, u16 *ver, u32 *caps,
665 extern int sdhci_setup_host(struct sdhci_host *host);
666 extern int __sdhci_add_host(struct sdhci_host *host);
667 extern int sdhci_add_host(struct sdhci_host *host);
668 extern void sdhci_remove_host(struct sdhci_host *host, int dead);
669 extern void sdhci_send_command(struct sdhci_host *host,
672 static inline void sdhci_read_caps(struct sdhci_host *host) in sdhci_read_caps()
677 static inline bool sdhci_sdio_irq_enabled(struct sdhci_host *host) in sdhci_sdio_irq_enabled()
682 u16 sdhci_calc_clk(struct sdhci_host *host, unsigned int clock,
684 void sdhci_set_clock(struct sdhci_host *host, unsigned int clock);
685 void sdhci_set_power(struct sdhci_host *host, unsigned char mode,
687 void sdhci_set_power_noreg(struct sdhci_host *host, unsigned char mode,
689 void sdhci_set_bus_width(struct sdhci_host *host, int width);
690 void sdhci_reset(struct sdhci_host *host, u8 mask);
691 void sdhci_set_uhs_signaling(struct sdhci_host *host, unsigned timing);
694 extern int sdhci_suspend_host(struct sdhci_host *host);
695 extern int sdhci_resume_host(struct sdhci_host *host);
696 extern void sdhci_enable_irq_wakeups(struct sdhci_host *host);
697 extern int sdhci_runtime_suspend_host(struct sdhci_host *host);
698 extern int sdhci_runtime_resume_host(struct sdhci_host *host);