Searched refs:oms (Results 1 – 1 of 1) sorted by relevance
38 struct of_mmc_spi *oms = to_of_mmc_spi(dev); in of_mmc_spi_init() local40 return request_threaded_irq(oms->detect_irq, NULL, irqhandler, in of_mmc_spi_init()46 struct of_mmc_spi *oms = to_of_mmc_spi(dev); in of_mmc_spi_exit() local48 free_irq(oms->detect_irq, mmc); in of_mmc_spi_exit()55 struct of_mmc_spi *oms; in mmc_spi_get_pdata() local60 oms = kzalloc(sizeof(*oms), GFP_KERNEL); in mmc_spi_get_pdata()61 if (!oms) in mmc_spi_get_pdata()64 if (mmc_of_parse_voltage(mmc, &oms->pdata.ocr_mask) < 0) in mmc_spi_get_pdata()67 oms->detect_irq = spi->irq; in mmc_spi_get_pdata()68 if (oms->detect_irq > 0) { in mmc_spi_get_pdata()[all …]