Lines Matching defs:host
139 #define dbg(host, channels, args...) \ argument
155 static void dbg_dumpregs(struct s3cmci_host *host, char *prefix) in dbg_dumpregs()
192 static void prepare_dbgmsg(struct s3cmci_host *host, struct mmc_command *cmd, in prepare_dbgmsg()
211 static void dbg_dumpcmd(struct s3cmci_host *host, struct mmc_command *cmd, in dbg_dumpcmd()
239 static void dbg_dumpcmd(struct s3cmci_host *host, in dbg_dumpcmd()
242 static void prepare_dbgmsg(struct s3cmci_host *host, struct mmc_command *cmd, in prepare_dbgmsg()
245 static void dbg_dumpregs(struct s3cmci_host *host, char *prefix) { } in dbg_dumpregs()
257 static inline bool s3cmci_host_usedma(struct s3cmci_host *host) in s3cmci_host_usedma()
266 static inline u32 enable_imask(struct s3cmci_host *host, u32 imask) in enable_imask()
278 static inline u32 disable_imask(struct s3cmci_host *host, u32 imask) in disable_imask()
290 static inline void clear_imask(struct s3cmci_host *host) in clear_imask()
311 static void s3cmci_check_sdio_irq(struct s3cmci_host *host) in s3cmci_check_sdio_irq()
321 static inline int get_data_buffer(struct s3cmci_host *host, in get_data_buffer()
350 static inline u32 fifo_count(struct s3cmci_host *host) in fifo_count()
358 static inline u32 fifo_free(struct s3cmci_host *host) in fifo_free()
379 static void s3cmci_enable_irq(struct s3cmci_host *host, bool more) in s3cmci_enable_irq()
406 static void s3cmci_disable_irq(struct s3cmci_host *host, bool transfer) in s3cmci_disable_irq()
424 static void do_pio_read(struct s3cmci_host *host) in do_pio_read()
507 static void do_pio_write(struct s3cmci_host *host) in do_pio_write()
558 struct s3cmci_host *host = (struct s3cmci_host *) data; in pio_tasklet() local
615 struct s3cmci_host *host = dev_id; in s3cmci_irq() local
816 struct s3cmci_host *host = arg; in s3cmci_dma_done_callback() local
834 static void finalize_request(struct s3cmci_host *host) in finalize_request()
929 static void s3cmci_send_command(struct s3cmci_host *host, in s3cmci_send_command()
961 static int s3cmci_setup_data(struct s3cmci_host *host, struct mmc_data *data) in s3cmci_setup_data()
1052 static int s3cmci_prepare_pio(struct s3cmci_host *host, struct mmc_data *data) in s3cmci_prepare_pio()
1074 static int s3cmci_prepare_dma(struct s3cmci_host *host, struct mmc_data *data) in s3cmci_prepare_dma()
1119 struct s3cmci_host *host = mmc_priv(mmc); in s3cmci_send_request() local
1171 struct s3cmci_host *host = mmc_priv(mmc); in s3cmci_request() local
1185 static void s3cmci_set_clk(struct s3cmci_host *host, struct mmc_ios *ios) in s3cmci_set_clk()
1210 struct s3cmci_host *host = mmc_priv(mmc); in s3cmci_set_ios() local
1268 static void s3cmci_reset(struct s3cmci_host *host) in s3cmci_reset()
1278 struct s3cmci_host *host = mmc_priv(mmc); in s3cmci_enable_sdio_irq() local
1336 struct s3cmci_host *host; in s3cmci_cpufreq_transition() local
1361 static inline int s3cmci_cpufreq_register(struct s3cmci_host *host) in s3cmci_cpufreq_register()
1369 static inline void s3cmci_cpufreq_deregister(struct s3cmci_host *host) in s3cmci_cpufreq_deregister()
1376 static inline int s3cmci_cpufreq_register(struct s3cmci_host *host) in s3cmci_cpufreq_register()
1381 static inline void s3cmci_cpufreq_deregister(struct s3cmci_host *host) in s3cmci_cpufreq_deregister()
1391 struct s3cmci_host *host = seq->private; in s3cmci_state_show() local
1450 struct s3cmci_host *host = seq->private; in s3cmci_regs_show() local
1475 static void s3cmci_debugfs_attach(struct s3cmci_host *host) in s3cmci_debugfs_attach()
1500 static void s3cmci_debugfs_remove(struct s3cmci_host *host) in s3cmci_debugfs_remove()
1508 static inline void s3cmci_debugfs_attach(struct s3cmci_host *host) { } in s3cmci_debugfs_attach()
1509 static inline void s3cmci_debugfs_remove(struct s3cmci_host *host) { } in s3cmci_debugfs_remove()
1513 static int s3cmci_probe_pdata(struct s3cmci_host *host) in s3cmci_probe_pdata()
1572 static int s3cmci_probe_dt(struct s3cmci_host *host) in s3cmci_probe_dt()
1596 struct s3cmci_host *host; in s3cmci_probe() local
1792 struct s3cmci_host *host = mmc_priv(mmc); in s3cmci_shutdown() local
1806 struct s3cmci_host *host = mmc_priv(mmc); in s3cmci_remove() local