Searched refs:oms (Results 1 – 1 of 1) sorted by relevance
56 struct of_mmc_spi *oms = to_of_mmc_spi(dev); in of_mmc_spi_init() local58 return request_threaded_irq(oms->detect_irq, NULL, irqhandler, in of_mmc_spi_init()64 struct of_mmc_spi *oms = to_of_mmc_spi(dev); in of_mmc_spi_exit() local66 free_irq(oms->detect_irq, mmc); in of_mmc_spi_exit()73 struct of_mmc_spi *oms; in mmc_spi_get_pdata() local81 oms = kzalloc(sizeof(*oms), GFP_KERNEL); in mmc_spi_get_pdata()82 if (!oms) in mmc_spi_get_pdata()102 oms->pdata.ocr_mask |= mask; in mmc_spi_get_pdata()105 for (i = 0; i < ARRAY_SIZE(oms->gpios); i++) { in mmc_spi_get_pdata()108 oms->gpios[i] = of_get_gpio_flags(np, i, &gpio_flags); in mmc_spi_get_pdata()[all …]