Lines Matching refs:jz4740_mmc_host
149 struct jz4740_mmc_host { struct
189 static void jz4740_mmc_write_irq_mask(struct jz4740_mmc_host *host, in jz4740_mmc_write_irq_mask() argument
198 static void jz4740_mmc_write_irq_reg(struct jz4740_mmc_host *host, in jz4740_mmc_write_irq_reg()
207 static uint32_t jz4740_mmc_read_irq_reg(struct jz4740_mmc_host *host) in jz4740_mmc_read_irq_reg()
218 static void jz4740_mmc_release_dma_channels(struct jz4740_mmc_host *host) in jz4740_mmc_release_dma_channels()
228 static int jz4740_mmc_acquire_dma_channels(struct jz4740_mmc_host *host) in jz4740_mmc_acquire_dma_channels()
277 static inline struct dma_chan *jz4740_mmc_get_dma_chan(struct jz4740_mmc_host *host, in jz4740_mmc_get_dma_chan()
286 static void jz4740_mmc_dma_unmap(struct jz4740_mmc_host *host, in jz4740_mmc_dma_unmap()
299 static int jz4740_mmc_prepare_dma_data(struct jz4740_mmc_host *host, in jz4740_mmc_prepare_dma_data()
327 static int jz4740_mmc_start_dma_transfer(struct jz4740_mmc_host *host, in jz4740_mmc_start_dma_transfer()
377 struct jz4740_mmc_host *host = mmc_priv(mmc); in jz4740_mmc_pre_request()
392 struct jz4740_mmc_host *host = mmc_priv(mmc); in jz4740_mmc_post_request()
407 static void jz4740_mmc_set_irq_enabled(struct jz4740_mmc_host *host, in jz4740_mmc_set_irq_enabled()
422 static void jz4740_mmc_clock_enable(struct jz4740_mmc_host *host, in jz4740_mmc_clock_enable()
433 static void jz4740_mmc_clock_disable(struct jz4740_mmc_host *host) in jz4740_mmc_clock_disable()
444 static void jz4740_mmc_reset(struct jz4740_mmc_host *host) in jz4740_mmc_reset()
456 static void jz4740_mmc_request_done(struct jz4740_mmc_host *host) in jz4740_mmc_request_done()
470 static unsigned int jz4740_mmc_poll_irq(struct jz4740_mmc_host *host, in jz4740_mmc_poll_irq()
491 static void jz4740_mmc_transfer_check_state(struct jz4740_mmc_host *host, in jz4740_mmc_transfer_check_state()
516 static bool jz4740_mmc_write_data(struct jz4740_mmc_host *host, in jz4740_mmc_write_data()
571 static bool jz4740_mmc_read_data(struct jz4740_mmc_host *host, in jz4740_mmc_read_data()
644 struct jz4740_mmc_host *host = from_timer(host, t, timeout_timer); in jz4740_mmc_timeout()
655 static void jz4740_mmc_read_response(struct jz4740_mmc_host *host, in jz4740_mmc_read_response()
678 static void jz4740_mmc_send_command(struct jz4740_mmc_host *host, in jz4740_mmc_send_command()
741 static void jz_mmc_prepare_data_transfer(struct jz4740_mmc_host *host) in jz_mmc_prepare_data_transfer()
758 struct jz4740_mmc_host *host = (struct jz4740_mmc_host *)devid; in jz_mmc_irq_worker()
841 struct jz4740_mmc_host *host = devid; in jz_mmc_irq()
888 static int jz4740_mmc_set_clock_rate(struct jz4740_mmc_host *host, int rate) in jz4740_mmc_set_clock_rate()
925 struct jz4740_mmc_host *host = mmc_priv(mmc); in jz4740_mmc_request()
941 struct jz4740_mmc_host *host = mmc_priv(mmc); in jz4740_mmc_set_ios()
996 struct jz4740_mmc_host *host = mmc_priv(mmc); in jz4740_mmc_enable_sdio_irq()
1043 struct jz4740_mmc_host *host; in jz4740_mmc_probe()
1045 mmc = mmc_alloc_host(sizeof(struct jz4740_mmc_host), &pdev->dev); in jz4740_mmc_probe()
1163 struct jz4740_mmc_host *host = platform_get_drvdata(pdev); in jz4740_mmc_remove()