Lines Matching refs:sunxi_mmc_priv

27 struct sunxi_mmc_priv {  struct
39 struct sunxi_mmc_priv mmc_host[4]; argument
54 struct sunxi_mmc_priv *priv = &mmc_host[sdc_no]; in mmc_resource_init()
96 static int mmc_set_mod_clk(struct sunxi_mmc_priv *priv, unsigned int hz) in mmc_set_mod_clk()
186 static int mmc_update_clk(struct sunxi_mmc_priv *priv) in mmc_update_clk()
208 static int mmc_config_clock(struct sunxi_mmc_priv *priv, struct mmc *mmc) in mmc_config_clock()
235 static int sunxi_mmc_set_ios_common(struct sunxi_mmc_priv *priv, in sunxi_mmc_set_ios_common()
261 struct sunxi_mmc_priv *priv = mmc->priv; in sunxi_mmc_core_init()
271 static int mmc_trans_data_by_cpu(struct sunxi_mmc_priv *priv, struct mmc *mmc, in mmc_trans_data_by_cpu()
306 static int mmc_rint_wait(struct sunxi_mmc_priv *priv, struct mmc *mmc, in mmc_rint_wait()
325 static int sunxi_mmc_send_cmd_common(struct sunxi_mmc_priv *priv, in sunxi_mmc_send_cmd_common()
451 struct sunxi_mmc_priv *priv = mmc->priv; in sunxi_mmc_set_ios_legacy()
459 struct sunxi_mmc_priv *priv = mmc->priv; in sunxi_mmc_send_cmd_legacy()
466 struct sunxi_mmc_priv *priv = mmc->priv; in sunxi_mmc_getcd_legacy()
486 struct sunxi_mmc_priv *priv = &mmc_host[sdc_no]; in sunxi_mmc_init()
490 memset(priv, '\0', sizeof(struct sunxi_mmc_priv)); in sunxi_mmc_init()
534 struct sunxi_mmc_priv *priv = dev_get_priv(dev); in sunxi_mmc_set_ios()
543 struct sunxi_mmc_priv *priv = dev_get_priv(dev); in sunxi_mmc_send_cmd()
550 struct sunxi_mmc_priv *priv = dev_get_priv(dev); in sunxi_mmc_getcd()
570 struct sunxi_mmc_priv *priv = dev_get_priv(dev); in sunxi_mmc_probe()
652 .priv_auto_alloc_size = sizeof(struct sunxi_mmc_priv),