Searched refs:mcan_class (Results 1 – 2 of 2) sorted by relevance
58 struct m_can_classdev *mcan_class; in m_can_plat_probe() local65 mcan_class = m_can_class_allocate_dev(&pdev->dev); in m_can_plat_probe()66 if (!mcan_class) in m_can_plat_probe()75 mcan_class->device_data = priv; in m_can_plat_probe()77 ret = m_can_class_get_clocks(mcan_class); in m_can_plat_probe()105 mcan_class->net->irq = irq; in m_can_plat_probe()106 mcan_class->pm_clock_support = 1; in m_can_plat_probe()107 mcan_class->can.clock.freq = clk_get_rate(mcan_class->cclk); in m_can_plat_probe()108 mcan_class->dev = &pdev->dev; in m_can_plat_probe()110 mcan_class->ops = &m_can_plat_ops; in m_can_plat_probe()[all …]
411 struct m_can_classdev *mcan_class; in tcan4x5x_can_probe() local414 mcan_class = m_can_class_allocate_dev(&spi->dev); in tcan4x5x_can_probe()415 if (!mcan_class) in tcan4x5x_can_probe()432 mcan_class->device_data = priv; in tcan4x5x_can_probe()434 m_can_class_get_clocks(mcan_class); in tcan4x5x_can_probe()435 if (IS_ERR(mcan_class->cclk)) { in tcan4x5x_can_probe()439 freq = clk_get_rate(mcan_class->cclk); in tcan4x5x_can_probe()451 priv->mcan_dev = mcan_class; in tcan4x5x_can_probe()453 mcan_class->pm_clock_support = 0; in tcan4x5x_can_probe()454 mcan_class->can.clock.freq = freq; in tcan4x5x_can_probe()[all …]