Lines Matching refs:hw_lock
160 spin_lock_irqsave(&adapter->hw_lock, flags); in fcpci_read_isac()
163 spin_unlock_irqrestore(&adapter->hw_lock, flags); in fcpci_read_isac()
179 spin_lock_irqsave(&adapter->hw_lock, flags); in fcpci_write_isac()
182 spin_unlock_irqrestore(&adapter->hw_lock, flags); in fcpci_write_isac()
191 spin_lock_irqsave(&adapter->hw_lock, flags); in fcpci_read_isac_fifo()
194 spin_unlock_irqrestore(&adapter->hw_lock, flags); in fcpci_read_isac_fifo()
203 spin_lock_irqsave(&adapter->hw_lock, flags); in fcpci_write_isac_fifo()
206 spin_unlock_irqrestore(&adapter->hw_lock, flags); in fcpci_write_isac_fifo()
215 spin_lock_irqsave(&adapter->hw_lock, flags); in fcpci_read_hdlc_status()
218 spin_unlock_irqrestore(&adapter->hw_lock, flags); in fcpci_read_hdlc_status()
239 spin_lock_irqsave(&adapter->hw_lock, flags); in fcpci_write_ctrl()
241 spin_unlock_irqrestore(&adapter->hw_lock, flags); in fcpci_write_ctrl()
253 spin_lock_irqsave(&adapter->hw_lock, flags); in fcpci2_read_isac()
256 spin_unlock_irqrestore(&adapter->hw_lock, flags); in fcpci2_read_isac()
271 spin_lock_irqsave(&adapter->hw_lock, flags); in fcpci2_write_isac()
274 spin_unlock_irqrestore(&adapter->hw_lock, flags); in fcpci2_write_isac()
284 spin_lock_irqsave(&adapter->hw_lock, flags); in fcpci2_read_isac_fifo()
288 spin_unlock_irqrestore(&adapter->hw_lock, flags); in fcpci2_read_isac_fifo()
298 spin_lock_irqsave(&adapter->hw_lock, flags); in fcpci2_write_isac_fifo()
302 spin_unlock_irqrestore(&adapter->hw_lock, flags); in fcpci2_write_isac_fifo()
332 spin_lock_irqsave(&adapter->hw_lock, flags); in fcpnp_read_hdlc_status()
337 spin_unlock_irqrestore(&adapter->hw_lock, flags); in fcpnp_read_hdlc_status()
366 spin_lock_irqsave(&adapter->hw_lock, flags); in fcpnp_write_ctrl()
368 spin_unlock_irqrestore(&adapter->hw_lock, flags); in fcpnp_write_ctrl()
409 spin_lock_irqsave(&adapter->hw_lock, flags); in hdlc_fill_fifo()
414 spin_unlock_irqrestore(&adapter->hw_lock, flags); in hdlc_fill_fifo()
423 spin_lock_irqsave(&adapter->hw_lock, flags); in hdlc_fill_fifo()
427 spin_unlock_irqrestore(&adapter->hw_lock, flags); in hdlc_fill_fifo()
447 spin_lock(&adapter->hw_lock); in hdlc_empty_fifo()
451 spin_unlock(&adapter->hw_lock); in hdlc_empty_fifo()
459 spin_lock(&adapter->hw_lock); in hdlc_empty_fifo()
462 spin_unlock(&adapter->hw_lock); in hdlc_empty_fifo()
741 spin_lock_init(&adapter->hw_lock); in fcpcipnp_setup()