Lines Matching refs:pdata
45 struct mmc_spi_platform_data pdata; member
50 return container_of(dev->platform_data, struct of_mmc_spi, pdata); in to_of_mmc_spi()
104 oms->pdata.ocr_mask |= mask; in mmc_spi_get_pdata()
119 oms->pdata.cd_gpio = oms->gpios[CD_GPIO]; in mmc_spi_get_pdata()
120 oms->pdata.flags |= MMC_SPI_USE_CD_GPIO; in mmc_spi_get_pdata()
122 oms->pdata.caps2 |= MMC_CAP2_CD_ACTIVE_HIGH; in mmc_spi_get_pdata()
125 oms->pdata.ro_gpio = oms->gpios[WP_GPIO]; in mmc_spi_get_pdata()
126 oms->pdata.flags |= MMC_SPI_USE_RO_GPIO; in mmc_spi_get_pdata()
128 oms->pdata.caps2 |= MMC_CAP2_RO_ACTIVE_HIGH; in mmc_spi_get_pdata()
133 oms->pdata.init = of_mmc_spi_init; in mmc_spi_get_pdata()
134 oms->pdata.exit = of_mmc_spi_exit; in mmc_spi_get_pdata()
136 oms->pdata.caps |= MMC_CAP_NEEDS_POLL; in mmc_spi_get_pdata()
139 dev->platform_data = &oms->pdata; in mmc_spi_get_pdata()