Lines Matching refs:mac_lock
100 spinlock_t mac_lock; member
561 spin_lock_irqsave(&pdata->mac_lock, flags); in smsc911x_mii_read()
585 spin_unlock_irqrestore(&pdata->mac_lock, flags); in smsc911x_mii_read()
600 spin_lock_irqsave(&pdata->mac_lock, flags); in smsc911x_mii_write()
628 spin_unlock_irqrestore(&pdata->mac_lock, flags); in smsc911x_mii_write()
876 spin_lock_irqsave(&pdata->mac_lock, flags); in smsc911x_phy_loopbacktest()
879 spin_unlock_irqrestore(&pdata->mac_lock, flags); in smsc911x_phy_loopbacktest()
888 spin_lock_irqsave(&pdata->mac_lock, flags); in smsc911x_phy_loopbacktest()
890 spin_unlock_irqrestore(&pdata->mac_lock, flags); in smsc911x_phy_loopbacktest()
896 spin_lock_irqsave(&pdata->mac_lock, flags); in smsc911x_phy_loopbacktest()
898 spin_unlock_irqrestore(&pdata->mac_lock, flags); in smsc911x_phy_loopbacktest()
942 spin_lock_irqsave(&pdata->mac_lock, flags); in smsc911x_phy_update_flowcontrol()
944 spin_unlock_irqrestore(&pdata->mac_lock, flags); in smsc911x_phy_update_flowcontrol()
962 spin_lock_irqsave(&pdata->mac_lock, flags); in smsc911x_phy_adjust_link()
974 spin_unlock_irqrestore(&pdata->mac_lock, flags); in smsc911x_phy_adjust_link()
1320 spin_lock(&pdata->mac_lock); in smsc911x_rx_multicast_update_workaround()
1336 spin_unlock(&pdata->mac_lock); in smsc911x_rx_multicast_update_workaround()
1620 spin_lock_irq(&pdata->mac_lock); in smsc911x_open()
1622 spin_unlock_irq(&pdata->mac_lock); in smsc911x_open()
1639 spin_lock_irq(&pdata->mac_lock); in smsc911x_open()
1641 spin_unlock_irq(&pdata->mac_lock); in smsc911x_open()
1729 spin_lock_irq(&pdata->mac_lock); in smsc911x_open()
1733 spin_unlock_irq(&pdata->mac_lock); in smsc911x_open()
1894 spin_lock_irqsave(&pdata->mac_lock, flags); in smsc911x_set_multicast_list()
1918 spin_unlock_irqrestore(&pdata->mac_lock, flags); in smsc911x_set_multicast_list()
1946 spin_lock_irq(&pdata->mac_lock); in smsc911x_set_mac_address()
1948 spin_unlock_irq(&pdata->mac_lock); in smsc911x_set_mac_address()
1998 spin_lock_irqsave(&pdata->mac_lock, flags); in smsc911x_ethtool_getregs()
2000 spin_unlock_irqrestore(&pdata->mac_lock, flags); in smsc911x_ethtool_getregs()
2192 spin_lock_init(&pdata->mac_lock); in smsc911x_init()
2299 spin_lock_irq(&pdata->mac_lock); in smsc911x_init()
2301 spin_unlock_irq(&pdata->mac_lock); in smsc911x_init()
2525 spin_lock_irq(&pdata->mac_lock); in smsc911x_drv_probe()
2554 spin_unlock_irq(&pdata->mac_lock); in smsc911x_drv_probe()