Searched refs:mbx_lock (Results 1 – 14 of 14) sorted by relevance
/drivers/net/ethernet/intel/igbvf/ |
D | netdev.c | 1227 spin_lock_bh(&hw->mbx_lock); in igbvf_set_rlpml() 1231 spin_unlock_bh(&hw->mbx_lock); in igbvf_set_rlpml() 1240 spin_lock_bh(&hw->mbx_lock); in igbvf_vlan_rx_add_vid() 1244 spin_unlock_bh(&hw->mbx_lock); in igbvf_vlan_rx_add_vid() 1248 spin_unlock_bh(&hw->mbx_lock); in igbvf_vlan_rx_add_vid() 1260 spin_lock_bh(&hw->mbx_lock); in igbvf_vlan_rx_kill_vid() 1265 spin_unlock_bh(&hw->mbx_lock); in igbvf_vlan_rx_kill_vid() 1269 spin_unlock_bh(&hw->mbx_lock); in igbvf_vlan_rx_kill_vid() 1436 spin_lock_bh(&hw->mbx_lock); in igbvf_set_multi() 1440 spin_unlock_bh(&hw->mbx_lock); in igbvf_set_multi() [all …]
|
D | mbx.c | 244 lockdep_assert_held(&hw->mbx_lock); in e1000_write_mbx_vf() 282 lockdep_assert_held(&hw->mbx_lock); in e1000_read_mbx_vf()
|
D | ethtool.c | 274 spin_lock_bh(&hw->mbx_lock); in igbvf_link_test() 278 spin_unlock_bh(&hw->mbx_lock); in igbvf_link_test()
|
D | vf.h | 225 spinlock_t mbx_lock; /* serializes mailbox ops */ member
|
/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_mbx.c | 795 mbx->mbx_lock = FM10K_MBX_ACK; in fm10k_mbx_read() 822 if (mbx->mbx_lock) in fm10k_mbx_write() 823 fm10k_write_reg(hw, mbx->mbx_reg, mbx->mbx_lock); in fm10k_mbx_write() 827 mbx->mbx_lock = 0; in fm10k_mbx_write() 838 mbx->mbx_lock |= FM10K_MBX_REQ; in fm10k_mbx_create_connect_hdr() 860 mbx->mbx_lock |= FM10K_MBX_REQ; in fm10k_mbx_create_data_hdr() 884 mbx->mbx_lock |= FM10K_MBX_ACK; in fm10k_mbx_create_disconnect_hdr() 905 mbx->mbx_lock |= FM10K_MBX_ACK; in fm10k_mbx_create_fake_disconnect_hdr() 935 mbx->mbx_lock |= FM10K_MBX_REQ; in fm10k_mbx_create_error_msg() 1458 mbx->mbx_lock = FM10K_MBX_REQ_INTERRUPT | FM10K_MBX_ACK_INTERRUPT | in fm10k_mbx_connect() [all …]
|
D | fm10k.h | 348 spinlock_t mbx_lock; member 395 spin_lock(&interface->mbx_lock); in fm10k_mbx_lock() 400 spin_unlock(&interface->mbx_lock); in fm10k_mbx_unlock() 405 return spin_trylock(&interface->mbx_lock); in fm10k_mbx_trylock()
|
D | fm10k_mbx.h | 264 u32 mbx_reg, mbmem_reg, mbx_lock, mbx_hdr; member
|
D | fm10k_pci.c | 2074 spin_lock_init(&interface->mbx_lock); in fm10k_sw_init()
|
/drivers/net/can/ |
D | ti_hecc.c | 196 spinlock_t mbx_lock; /* CANME register needs protection */ member 487 spin_lock_irqsave(&priv->mbx_lock, flags); in ti_hecc_xmit() 489 spin_unlock_irqrestore(&priv->mbx_lock, flags); in ti_hecc_xmit() 496 spin_unlock_irqrestore(&priv->mbx_lock, flags); in ti_hecc_xmit() 518 spin_lock_irqsave(&priv->mbx_lock, flags); in ti_hecc_xmit() 525 spin_unlock_irqrestore(&priv->mbx_lock, flags); in ti_hecc_xmit() 754 spin_lock_irqsave(&priv->mbx_lock, flags); in ti_hecc_interrupt() 756 spin_unlock_irqrestore(&priv->mbx_lock, flags); in ti_hecc_interrupt() 920 spin_lock_init(&priv->mbx_lock); in ti_hecc_probe()
|
/drivers/net/ethernet/intel/ixgbevf/ |
D | ixgbevf_main.c | 2022 spin_lock_bh(&adapter->mbx_lock); in ixgbevf_configure_rx() 2025 spin_unlock_bh(&adapter->mbx_lock); in ixgbevf_configure_rx() 2048 spin_lock_bh(&adapter->mbx_lock); in ixgbevf_vlan_rx_add_vid() 2053 spin_unlock_bh(&adapter->mbx_lock); in ixgbevf_vlan_rx_add_vid() 2074 spin_lock_bh(&adapter->mbx_lock); in ixgbevf_vlan_rx_kill_vid() 2079 spin_unlock_bh(&adapter->mbx_lock); in ixgbevf_vlan_rx_kill_vid() 2144 spin_lock_bh(&adapter->mbx_lock); in ixgbevf_set_rx_mode() 2153 spin_unlock_bh(&adapter->mbx_lock); in ixgbevf_set_rx_mode() 2189 spin_lock_bh(&adapter->mbx_lock); in ixgbevf_configure_dcb() 2194 spin_unlock_bh(&adapter->mbx_lock); in ixgbevf_configure_dcb() [all …]
|
D | ipsec.c | 41 spin_lock_bh(&adapter->mbx_lock); in ixgbevf_ipsec_set_pf_sa() 56 spin_unlock_bh(&adapter->mbx_lock); in ixgbevf_ipsec_set_pf_sa() 78 spin_lock_bh(&adapter->mbx_lock); in ixgbevf_ipsec_del_pf_sa() 89 spin_unlock_bh(&adapter->mbx_lock); in ixgbevf_ipsec_del_pf_sa()
|
D | ixgbevf.h | 384 spinlock_t mbx_lock; member
|
D | ethtool.c | 923 spin_lock_bh(&adapter->mbx_lock); in ixgbevf_get_rxfh() 931 spin_unlock_bh(&adapter->mbx_lock); in ixgbevf_get_rxfh()
|
/drivers/media/dvb-frontends/ |
D | dib9000.c | 84 struct mutex mbx_lock; /* to protect the whole mailbox handling */ member 712 if (mutex_lock_interruptible(&state->platform.risc.mbx_lock) < 0) { in dib9000_mbx_process() 723 mutex_unlock(&state->platform.risc.mbx_lock); in dib9000_mbx_process() 2497 mutex_init(&st->platform.risc.mbx_lock); in dib9000_attach()
|