Lines Matching refs:p2m_dev
51 struct solo_p2m_dev *p2m_dev;
59 p2m_dev = &solo_dev->p2m_dev[id];
61 down(&p2m_dev->sem);
64 INIT_COMPLETION(p2m_dev->completion);
65 p2m_dev->error = 0;
74 timeout = wait_for_completion_timeout(&p2m_dev->completion, HZ);
78 if (p2m_dev->error)
81 up(&p2m_dev->sem);
154 complete(&solo_dev->p2m_dev[id].completion);
159 struct solo_p2m_dev *p2m_dev;
166 p2m_dev = &solo_dev->p2m_dev[i];
167 p2m_dev->error = 1;
169 complete(&p2m_dev->completion);
183 struct solo_p2m_dev *p2m_dev;
187 p2m_dev = &solo_dev->p2m_dev[i];
189 init_MUTEX(&p2m_dev->sem);
190 init_completion(&p2m_dev->completion);
193 __pa(p2m_dev->desc));