Lines Matching refs:pd
234 struct platform_device *pd; member
270 #define sh_mmcif_host_to_dev(host) (&host->pd->dev)
419 res = platform_get_resource(host->pd, IORESOURCE_MEM, 0); in sh_mmcif_dma_slave_config()
1150 return p->get_cd(host->pd); in sh_mmcif_get_cd()
1452 struct sh_mmcif_plat_data *pd = dev->platform_data; in sh_mmcif_init_ocr() local
1457 if (!pd) in sh_mmcif_init_ocr()
1461 mmc->ocr_avail = pd->ocr; in sh_mmcif_init_ocr()
1462 else if (pd->ocr) in sh_mmcif_init_ocr()
1472 struct sh_mmcif_plat_data *pd = dev->platform_data; in sh_mmcif_probe() local
1501 host->ccs_enable = !pd || !pd->ccs_unsupported; in sh_mmcif_probe()
1502 host->clk_ctrl2_enable = pd && pd->clk_ctrl2_present; in sh_mmcif_probe()
1504 host->pd = pdev; in sh_mmcif_probe()
1512 if (pd && pd->caps) in sh_mmcif_probe()
1513 mmc->caps |= pd->caps; in sh_mmcif_probe()
1564 if (pd && pd->use_cd_gpio) { in sh_mmcif_probe()
1565 ret = mmc_gpio_request_cd(mmc, pd->cd_gpio, 0); in sh_mmcif_probe()