Lines Matching refs:mhi_dev
104 if (!mhi_chan->mhi_dev) in mhi_debugfs_channels_show()
132 struct mhi_device *mhi_dev; in mhi_device_info_show() local
137 mhi_dev = to_mhi_device(dev); in mhi_device_info_show()
140 mhi_dev->name, mhi_dev->dev_type ? "Controller" : "Transfer", in mhi_device_info_show()
141 mhi_dev->dev_wake); in mhi_device_info_show()
144 if (mhi_dev->dev_type == MHI_DEVICE_XFER) in mhi_device_info_show()
146 mhi_dev->ul_chan_id, mhi_dev->dl_chan_id); in mhi_device_info_show()
163 mhi_device_info_show(&mhi_cntrl->mhi_dev->dev, m); in mhi_debugfs_devices_show()
164 device_for_each_child(&mhi_cntrl->mhi_dev->dev, m, mhi_device_info_show); in mhi_debugfs_devices_show()
234 struct mhi_device *mhi_dev = mhi_cntrl->mhi_dev; in mhi_debugfs_device_wake_show() local
242 "Wake count: %d\n%s\n", mhi_dev->dev_wake, in mhi_debugfs_device_wake_show()
254 struct mhi_device *mhi_dev = mhi_cntrl->mhi_dev; in mhi_debugfs_device_wake_write() local
262 ret = mhi_device_get_sync(mhi_dev); in mhi_debugfs_device_wake_write()
264 mhi_device_put(mhi_dev); in mhi_debugfs_device_wake_write()
380 debugfs_create_dir(dev_name(&mhi_cntrl->mhi_dev->dev), in mhi_create_debugfs()