Lines Matching refs:hpi
3 * c67x00-ll-hpi.c: Cypress C67X00 USB Low level interface using HPI
73 return __raw_readw(dev->hpi.base + reg * dev->hpi.regstep);
79 __raw_writew(value, dev->hpi.base + reg * dev->hpi.regstep);
93 spin_lock_irqsave(&dev->hpi.lock, flags);
95 spin_unlock_irqrestore(&dev->hpi.lock, flags);
110 spin_lock_irqsave(&dev->hpi.lock, flags);
112 spin_unlock_irqrestore(&dev->hpi.lock, flags);
124 spin_lock_irqsave(&dev->hpi.lock, flags);
130 spin_unlock_irqrestore(&dev->hpi.lock, flags);
142 spin_lock_irqsave(&dev->hpi.lock, flags);
147 spin_unlock_irqrestore(&dev->hpi.lock, flags);
155 spin_lock_irqsave(&dev->hpi.lock, flags);
158 spin_unlock_irqrestore(&dev->hpi.lock, flags);
166 spin_lock_irqsave(&dev->hpi.lock, flags);
169 spin_unlock_irqrestore(&dev->hpi.lock, flags);
177 spin_lock_irqsave(&dev->hpi.lock, flags);
179 spin_unlock_irqrestore(&dev->hpi.lock, flags);
188 spin_lock_irqsave(&dev->hpi.lock, flags);
190 spin_unlock_irqrestore(&dev->hpi.lock, flags);
200 spin_lock_irqsave(&dev->hpi.lock, flags);
202 spin_unlock_irqrestore(&dev->hpi.lock, flags);
240 res = wait_for_completion_timeout(&dev->hpi.lcp.msg_received, 5 * HZ);
285 mutex_lock(&dev->hpi.lcp.mutex);
291 mutex_unlock(&dev->hpi.lcp.mutex);
301 mutex_lock(&dev->hpi.lcp.mutex);
303 mutex_unlock(&dev->hpi.lcp.mutex);
378 dev->hpi.lcp.last_msg = hpi_recv_mbox(dev);
379 complete(&dev->hpi.lcp.msg_received);
388 mutex_lock(&dev->hpi.lcp.mutex);
391 mutex_unlock(&dev->hpi.lcp.mutex);
471 mutex_init(&dev->hpi.lcp.mutex);
472 init_completion(&dev->hpi.lcp.msg_received);