Home
last modified time | relevance | path

Searched refs:mhi_pdev (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/bus/mhi/host/
H A Dpci_generic.c854 struct mhi_pci_device *mhi_pdev = container_of(work, struct mhi_pci_device, in mhi_pci_recovery_work() local
856 struct mhi_controller *mhi_cntrl = &mhi_pdev->mhi_cntrl; in mhi_pci_recovery_work()
862 del_timer(&mhi_pdev->health_check_timer); in mhi_pci_recovery_work()
866 if (test_and_clear_bit(MHI_PCI_DEV_STARTED, &mhi_pdev->status)) { in mhi_pci_recovery_work()
872 pci_load_saved_state(pdev, mhi_pdev->pci_state); in mhi_pci_recovery_work()
888 set_bit(MHI_PCI_DEV_STARTED, &mhi_pdev->status); in mhi_pci_recovery_work()
889 mod_timer(&mhi_pdev->health_check_timer, jiffies + HEALTH_CHECK_PERIOD); in mhi_pci_recovery_work()
901 struct mhi_pci_device *mhi_pdev = from_timer(mhi_pdev, t, health_check_timer); in health_check() local
902 struct mhi_controller *mhi_cntrl = &mhi_pdev->mhi_cntrl; in health_check()
904 if (!test_bit(MHI_PCI_DEV_STARTED, &mhi_pdev->status) || in health_check()
[all …]