/drivers/net/phy/ |
D | mdio-mux.c | 55 mutex_lock_nested(&pb->mii_bus->mdio_lock, SINGLE_DEPTH_NESTING); in mdio_mux_read() 64 mutex_unlock(&pb->mii_bus->mdio_lock); in mdio_mux_read() 80 mutex_lock_nested(&pb->mii_bus->mdio_lock, SINGLE_DEPTH_NESTING); in mdio_mux_write() 89 mutex_unlock(&pb->mii_bus->mdio_lock); in mdio_mux_write()
|
D | mdio_bus.c | 160 mutex_init(&bus->mdio_lock); in mdiobus_register() 267 mutex_lock(&bus->mdio_lock); in mdiobus_read() 269 mutex_unlock(&bus->mdio_lock); in mdiobus_read() 292 mutex_lock(&bus->mdio_lock); in mdiobus_write() 294 mutex_unlock(&bus->mdio_lock); in mdiobus_write()
|
/drivers/net/ethernet/atheros/alx/ |
D | hw.c | 175 spin_lock(&hw->mdio_lock); in alx_read_phy_reg() 177 spin_unlock(&hw->mdio_lock); in alx_read_phy_reg() 186 spin_lock(&hw->mdio_lock); in alx_write_phy_reg() 188 spin_unlock(&hw->mdio_lock); in alx_write_phy_reg() 197 spin_lock(&hw->mdio_lock); in alx_read_phy_ext() 199 spin_unlock(&hw->mdio_lock); in alx_read_phy_ext() 208 spin_lock(&hw->mdio_lock); in alx_write_phy_ext() 210 spin_unlock(&hw->mdio_lock); in alx_write_phy_ext() 219 spin_lock(&hw->mdio_lock); in alx_read_phy_dbg() 221 spin_unlock(&hw->mdio_lock); in alx_read_phy_dbg() [all …]
|
D | hw.h | 422 spinlock_t mdio_lock; member
|
D | main.c | 1388 spin_lock_init(&alx->hw.mdio_lock); in alx_probe()
|
/drivers/staging/octeon/ |
D | ethernet-rgmii.c | 65 mutex_lock(&priv->phydev->bus->mdio_lock); in cvm_oct_rgmii_poll() 130 mutex_unlock(&priv->phydev->bus->mdio_lock); in cvm_oct_rgmii_poll() 170 mutex_unlock(&priv->phydev->bus->mdio_lock); in cvm_oct_rgmii_poll()
|
/drivers/net/ethernet/freescale/ |
D | xgmac_mdio.c | 180 mutex_lock(&bus->mdio_lock); in xgmac_mdio_reset() 187 mutex_unlock(&bus->mdio_lock); in xgmac_mdio_reset()
|
D | fsl_pq_mdio.c | 166 mutex_lock(&bus->mdio_lock); in fsl_pq_mdio_reset() 178 mutex_unlock(&bus->mdio_lock); in fsl_pq_mdio_reset()
|
/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_main.c | 139 spin_lock_irqsave(&adapter->mdio_lock, flags); in atl1e_phy_config() 141 spin_unlock_irqrestore(&adapter->mdio_lock, flags); in atl1e_phy_config() 223 spin_lock_irqsave(&adapter->mdio_lock, flags); in atl1e_link_chg_task() 225 spin_unlock_irqrestore(&adapter->mdio_lock, flags); in atl1e_link_chg_task() 234 spin_lock(&adapter->mdio_lock); in atl1e_link_chg_event() 237 spin_unlock(&adapter->mdio_lock); in atl1e_link_chg_event() 463 spin_lock_irqsave(&adapter->mdio_lock, flags); in atl1e_mii_ioctl() 497 spin_unlock_irqrestore(&adapter->mdio_lock, flags); in atl1e_mii_ioctl() 618 spin_lock_init(&adapter->mdio_lock); in atl1e_sw_init() 1203 spin_lock(&adapter->mdio_lock); in atl1e_clear_phy_int() [all …]
|
D | atl1e.h | 445 spinlock_t mdio_lock; member
|
/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_main.c | 233 spin_lock_irqsave(&adapter->mdio_lock, flags); in atl1c_phy_config() 235 spin_unlock_irqrestore(&adapter->mdio_lock, flags); in atl1c_phy_config() 255 spin_lock_irqsave(&adapter->mdio_lock, flags); in atl1c_check_link_status() 259 spin_unlock_irqrestore(&adapter->mdio_lock, flags); in atl1c_check_link_status() 275 spin_lock_irqsave(&adapter->mdio_lock, flags); in atl1c_check_link_status() 277 spin_unlock_irqrestore(&adapter->mdio_lock, flags); in atl1c_check_link_status() 308 spin_lock(&adapter->mdio_lock); in atl1c_link_chg_event() 311 spin_unlock(&adapter->mdio_lock); in atl1c_link_chg_event() 590 spin_lock_irqsave(&adapter->mdio_lock, flags); in atl1c_mii_ioctl() 624 spin_unlock_irqrestore(&adapter->mdio_lock, flags); in atl1c_mii_ioctl() [all …]
|
D | atl1c.h | 542 spinlock_t mdio_lock; member
|
/drivers/net/ethernet/xscale/ |
D | ixp4xx_eth.c | 252 static spinlock_t mdio_lock; variable 482 spin_lock_irqsave(&mdio_lock, flags); in ixp4xx_mdio_read() 484 spin_unlock_irqrestore(&mdio_lock, flags); in ixp4xx_mdio_read() 498 spin_lock_irqsave(&mdio_lock, flags); in ixp4xx_mdio_write() 500 spin_unlock_irqrestore(&mdio_lock, flags); in ixp4xx_mdio_write() 528 spin_lock_init(&mdio_lock); in ixp4xx_mdio_register()
|
/drivers/net/ethernet/sfc/ |
D | falcon.c | 727 mutex_lock(&nic_data->mdio_lock); in falcon_mdio_write() 763 mutex_unlock(&nic_data->mdio_lock); in falcon_mdio_write() 776 mutex_lock(&nic_data->mdio_lock); in falcon_mdio_read() 815 mutex_unlock(&nic_data->mdio_lock); in falcon_mdio_read() 843 mutex_init(&nic_data->mdio_lock); in falcon_probe_port()
|
D | nic.h | 131 struct mutex mdio_lock; member
|
/drivers/net/ethernet/chelsio/cxgb3/ |
D | adapter.h | 264 struct mutex mdio_lock; member
|
D | t3_hw.c | 217 mutex_lock(&adapter->mdio_lock); in t3_mi1_read() 224 mutex_unlock(&adapter->mdio_lock); in t3_mi1_read() 236 mutex_lock(&adapter->mdio_lock); in t3_mi1_write() 242 mutex_unlock(&adapter->mdio_lock); in t3_mi1_write() 279 mutex_lock(&adapter->mdio_lock); in mi1_ext_read() 288 mutex_unlock(&adapter->mdio_lock); in mi1_ext_read() 299 mutex_lock(&adapter->mdio_lock); in mi1_ext_write() 307 mutex_unlock(&adapter->mdio_lock); in mi1_ext_write()
|
D | cxgb3_main.c | 3258 mutex_init(&adapter->mdio_lock); in init_one()
|
/drivers/net/ethernet/ibm/emac/ |
D | core.h | 201 struct mutex mdio_lock; member
|
D | core.c | 791 mutex_lock(&dev->mdio_lock); in __emac_mdio_read() 851 mutex_unlock(&dev->mdio_lock); in __emac_mdio_read() 863 mutex_lock(&dev->mdio_lock); in __emac_mdio_write() 914 mutex_unlock(&dev->mdio_lock); in __emac_mdio_write() 2758 mutex_init(&dev->mdio_lock); in emac_probe()
|
/drivers/net/ethernet/intel/ |
D | e100.c | 630 spinlock_t mdio_lock; member 957 spin_lock_irqsave(&nic->mdio_lock, flags); in mdio_ctrl_hw() 965 spin_unlock_irqrestore(&nic->mdio_lock, flags); in mdio_ctrl_hw() 975 spin_unlock_irqrestore(&nic->mdio_lock, flags); in mdio_ctrl_hw() 2919 spin_lock_init(&nic->mdio_lock); in e100_probe()
|