Home
last modified time | relevance | path

Searched refs:m_dev (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/media/platform/s5p-mfc/
H A Ds5p_mfc.c1467 struct s5p_mfc_dev *m_dev = dev_get_drvdata(dev); in s5p_mfc_suspend() local
1470 if (m_dev->num_inst == 0) in s5p_mfc_suspend()
1473 if (test_and_set_bit(0, &m_dev->enter_suspend) != 0) { in s5p_mfc_suspend()
1479 while (test_and_set_bit(0, &m_dev->hw_lock) != 0) { in s5p_mfc_suspend()
1482 ret = wait_event_interruptible_timeout(m_dev->queue, in s5p_mfc_suspend()
1483 m_dev->int_cond, msecs_to_jiffies(MFC_INT_TIMEOUT)); in s5p_mfc_suspend()
1486 clear_bit(0, &m_dev->enter_suspend); in s5p_mfc_suspend()
1491 ret = s5p_mfc_sleep(m_dev); in s5p_mfc_suspend()
1493 clear_bit(0, &m_dev->enter_suspend); in s5p_mfc_suspend()
1494 clear_bit(0, &m_dev in s5p_mfc_suspend()
1501 struct s5p_mfc_dev *m_dev = dev_get_drvdata(dev); s5p_mfc_resume() local
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/samsung/s5p-mfc/
H A Ds5p_mfc.c1472 struct s5p_mfc_dev *m_dev = dev_get_drvdata(dev); in s5p_mfc_suspend() local
1475 if (m_dev->num_inst == 0) in s5p_mfc_suspend()
1478 if (test_and_set_bit(0, &m_dev->enter_suspend) != 0) { in s5p_mfc_suspend()
1484 while (test_and_set_bit(0, &m_dev->hw_lock) != 0) { in s5p_mfc_suspend()
1487 ret = wait_event_interruptible_timeout(m_dev->queue, in s5p_mfc_suspend()
1488 m_dev->int_cond, msecs_to_jiffies(MFC_INT_TIMEOUT)); in s5p_mfc_suspend()
1491 clear_bit(0, &m_dev->enter_suspend); in s5p_mfc_suspend()
1496 ret = s5p_mfc_sleep(m_dev); in s5p_mfc_suspend()
1498 clear_bit(0, &m_dev->enter_suspend); in s5p_mfc_suspend()
1499 clear_bit(0, &m_dev in s5p_mfc_suspend()
1506 struct s5p_mfc_dev *m_dev = dev_get_drvdata(dev); s5p_mfc_resume() local
[all...]

Completed in 4 milliseconds