Searched refs:m_dev (Results 1 – 1 of 1) sorted by relevance
1280 struct s5p_mfc_dev *m_dev = platform_get_drvdata(pdev); in s5p_mfc_suspend() local1283 if (m_dev->num_inst == 0) in s5p_mfc_suspend()1286 if (test_and_set_bit(0, &m_dev->enter_suspend) != 0) { in s5p_mfc_suspend()1292 while (test_and_set_bit(0, &m_dev->hw_lock) != 0) { in s5p_mfc_suspend()1295 ret = wait_event_interruptible_timeout(m_dev->queue, in s5p_mfc_suspend()1296 m_dev->int_cond, msecs_to_jiffies(MFC_INT_TIMEOUT)); in s5p_mfc_suspend()1303 return s5p_mfc_sleep(m_dev); in s5p_mfc_suspend()1309 struct s5p_mfc_dev *m_dev = platform_get_drvdata(pdev); in s5p_mfc_resume() local1311 if (m_dev->num_inst == 0) in s5p_mfc_resume()1313 return s5p_mfc_wakeup(m_dev); in s5p_mfc_resume()[all …]