Lines Matching refs:hw_lock
161 spin_lock_irqsave(&adapter->hw_lock, flags); in fcpci_read_isac()
164 spin_unlock_irqrestore(&adapter->hw_lock, flags); in fcpci_read_isac()
180 spin_lock_irqsave(&adapter->hw_lock, flags); in fcpci_write_isac()
183 spin_unlock_irqrestore(&adapter->hw_lock, flags); in fcpci_write_isac()
192 spin_lock_irqsave(&adapter->hw_lock, flags); in fcpci_read_isac_fifo()
195 spin_unlock_irqrestore(&adapter->hw_lock, flags); in fcpci_read_isac_fifo()
204 spin_lock_irqsave(&adapter->hw_lock, flags); in fcpci_write_isac_fifo()
207 spin_unlock_irqrestore(&adapter->hw_lock, flags); in fcpci_write_isac_fifo()
216 spin_lock_irqsave(&adapter->hw_lock, flags); in fcpci_read_hdlc_status()
219 spin_unlock_irqrestore(&adapter->hw_lock, flags); in fcpci_read_hdlc_status()
240 spin_lock_irqsave(&adapter->hw_lock, flags); in fcpci_write_ctrl()
242 spin_unlock_irqrestore(&adapter->hw_lock, flags); in fcpci_write_ctrl()
254 spin_lock_irqsave(&adapter->hw_lock, flags); in fcpci2_read_isac()
257 spin_unlock_irqrestore(&adapter->hw_lock, flags); in fcpci2_read_isac()
272 spin_lock_irqsave(&adapter->hw_lock, flags); in fcpci2_write_isac()
275 spin_unlock_irqrestore(&adapter->hw_lock, flags); in fcpci2_write_isac()
285 spin_lock_irqsave(&adapter->hw_lock, flags); in fcpci2_read_isac_fifo()
289 spin_unlock_irqrestore(&adapter->hw_lock, flags); in fcpci2_read_isac_fifo()
299 spin_lock_irqsave(&adapter->hw_lock, flags); in fcpci2_write_isac_fifo()
303 spin_unlock_irqrestore(&adapter->hw_lock, flags); in fcpci2_write_isac_fifo()
333 spin_lock_irqsave(&adapter->hw_lock, flags); in fcpnp_read_hdlc_status()
338 spin_unlock_irqrestore(&adapter->hw_lock, flags); in fcpnp_read_hdlc_status()
367 spin_lock_irqsave(&adapter->hw_lock, flags); in fcpnp_write_ctrl()
369 spin_unlock_irqrestore(&adapter->hw_lock, flags); in fcpnp_write_ctrl()
410 spin_lock_irqsave(&adapter->hw_lock, flags); in hdlc_fill_fifo()
415 spin_unlock_irqrestore(&adapter->hw_lock, flags); in hdlc_fill_fifo()
424 spin_lock_irqsave(&adapter->hw_lock, flags); in hdlc_fill_fifo()
428 spin_unlock_irqrestore(&adapter->hw_lock, flags); in hdlc_fill_fifo()
448 spin_lock(&adapter->hw_lock); in hdlc_empty_fifo()
452 spin_unlock(&adapter->hw_lock); in hdlc_empty_fifo()
460 spin_lock(&adapter->hw_lock); in hdlc_empty_fifo()
463 spin_unlock(&adapter->hw_lock); in hdlc_empty_fifo()
742 spin_lock_init(&adapter->hw_lock); in fcpcipnp_setup()