Lines Matching refs:msdc_host

243 struct msdc_host {  struct
286 static void msdc_reset_hw(struct msdc_host *host) in msdc_reset_hw() argument
296 static void msdc_fifo_clr(struct msdc_host *host) in msdc_fifo_clr()
306 static u32 msdc_fifo_rx_bytes(struct msdc_host *host) in msdc_fifo_rx_bytes()
312 static u32 msdc_fifo_tx_bytes(struct msdc_host *host) in msdc_fifo_tx_bytes()
318 static u32 msdc_cmd_find_resp(struct msdc_host *host, struct mmc_cmd *cmd) in msdc_cmd_find_resp()
345 static u32 msdc_cmd_prepare_raw_cmd(struct msdc_host *host, in msdc_cmd_prepare_raw_cmd()
393 static int msdc_cmd_done(struct msdc_host *host, int events, in msdc_cmd_done()
428 static bool msdc_cmd_is_ready(struct msdc_host *host) in msdc_cmd_is_ready()
457 static int msdc_start_command(struct msdc_host *host, struct mmc_cmd *cmd, in msdc_start_command()
492 static void msdc_fifo_read(struct msdc_host *host, u8 *buf, u32 size) in msdc_fifo_read()
514 static void msdc_fifo_write(struct msdc_host *host, const u8 *buf, u32 size) in msdc_fifo_write()
536 static int msdc_pio_read(struct msdc_host *host, u8 *ptr, u32 size) in msdc_pio_read()
578 static int msdc_pio_write(struct msdc_host *host, const u8 *ptr, u32 size) in msdc_pio_write()
620 static int msdc_start_data(struct msdc_host *host, struct mmc_data *data) in msdc_start_data()
648 struct msdc_host *host = dev_get_priv(dev); in msdc_ops_send_cmd()
661 static void msdc_set_timeout(struct msdc_host *host, u32 ns, u32 clks) in msdc_set_timeout()
692 static void msdc_set_buswidth(struct msdc_host *host, u32 width) in msdc_set_buswidth()
714 static void msdc_set_mclk(struct msdc_host *host, enum bus_mode timing, u32 hz) in msdc_set_mclk()
825 struct msdc_host *host = dev_get_priv(dev); in msdc_ops_set_ios()
844 struct msdc_host *host = dev_get_priv(dev); in msdc_ops_get_cd()
865 struct msdc_host *host = dev_get_priv(dev); in msdc_ops_get_wp()
895 static struct msdc_delay_phase get_best_delay(struct msdc_host *host, u32 delay) in get_best_delay()
938 struct msdc_host *host = dev_get_priv(dev); in msdc_tune_response()
1042 struct msdc_host *host = dev_get_priv(dev); in msdc_tune_data()
1129 struct msdc_host *host = dev_get_priv(dev); in msdc_execute_tuning()
1159 static void msdc_init_hw(struct msdc_host *host) in msdc_init_hw()
1268 static void msdc_ungate_clock(struct msdc_host *host) in msdc_ungate_clock()
1278 struct msdc_host *host = dev_get_priv(dev); in msdc_drv_probe()
1315 struct msdc_host *host = dev_get_priv(dev); in msdc_ofdata_to_platdata()
1393 .priv_auto_alloc_size = sizeof(struct msdc_host),