Home
last modified time | relevance | path

Searched refs:phy_lock (Results 1 – 20 of 20) sorted by relevance

/linux-4.4.14/drivers/usb/phy/
Dphy.c23 static DEFINE_SPINLOCK(phy_lock);
148 spin_lock_irqsave(&phy_lock, flags); in usb_get_phy()
163 spin_unlock_irqrestore(&phy_lock, flags); in usb_get_phy()
199 spin_lock_irqsave(&phy_lock, flags); in devm_usb_get_phy_by_node()
221 spin_unlock_irqrestore(&phy_lock, flags); in devm_usb_get_phy_by_node()
283 spin_lock_irqsave(&phy_lock, flags); in usb_get_phy_dev()
297 spin_unlock_irqrestore(&phy_lock, flags); in usb_get_phy_dev()
393 spin_lock_irqsave(&phy_lock, flags); in usb_add_phy()
408 spin_unlock_irqrestore(&phy_lock, flags); in usb_add_phy()
433 spin_lock_irqsave(&phy_lock, flags); in usb_add_phy_dev()
[all …]
/linux-4.4.14/arch/arm/mach-mmp/
Ddevices.c119 static DEFINE_MUTEX(phy_lock);
221 mutex_lock(&phy_lock); in pxa_usb_phy_init()
224 mutex_unlock(&phy_lock); in pxa_usb_phy_init()
232 mutex_lock(&phy_lock); in pxa_usb_phy_deinit()
235 mutex_unlock(&phy_lock); in pxa_usb_phy_deinit()
/linux-4.4.14/drivers/nfc/st21nfca/
Di2c.c95 struct mutex phy_lock; member
253 mutex_lock(&phy->phy_lock); in st21nfca_hci_i2c_write()
259 mutex_unlock(&phy->phy_lock); in st21nfca_hci_i2c_write()
387 mutex_lock(&phy->phy_lock); in st21nfca_hci_i2c_read()
393 mutex_unlock(&phy->phy_lock); in st21nfca_hci_i2c_read()
615 mutex_init(&phy->phy_lock); in st21nfca_hci_i2c_probe()
/linux-4.4.14/drivers/net/ethernet/broadcom/
Dbnx2.c681 spin_lock_bh(&bp->phy_lock); in bnx2_netif_start()
684 spin_unlock_bh(&bp->phy_lock); in bnx2_netif_start()
1699 __releases(&bp->phy_lock) in bnx2_setup_remote_phy()
1700 __acquires(&bp->phy_lock) in bnx2_setup_remote_phy()
1749 spin_unlock_bh(&bp->phy_lock); in bnx2_setup_remote_phy()
1751 spin_lock_bh(&bp->phy_lock); in bnx2_setup_remote_phy()
1758 __releases(&bp->phy_lock) in bnx2_setup_serdes_phy()
1759 __acquires(&bp->phy_lock) in bnx2_setup_serdes_phy()
1846 spin_unlock_bh(&bp->phy_lock); in bnx2_setup_serdes_phy()
1848 spin_lock_bh(&bp->phy_lock); in bnx2_setup_serdes_phy()
[all …]
Dbnx2.h6842 spinlock_t phy_lock; member
/linux-4.4.14/drivers/net/ethernet/tundra/
Dtsi108_eth.c199 static DEFINE_SPINLOCK(phy_lock);
300 spin_lock_irqsave(&phy_lock, flags); in tsi108_check_phy()
368 spin_unlock_irqrestore(&phy_lock, flags); in tsi108_check_phy()
1226 spin_lock_irqsave(&phy_lock, flags); in tsi108_init_phy()
1267 spin_unlock_irqrestore(&phy_lock, flags); in tsi108_init_phy()
1269 spin_lock_irqsave(&phy_lock, flags); in tsi108_init_phy()
1276 spin_unlock_irqrestore(&phy_lock, flags); in tsi108_init_phy()
1284 spin_lock_irqsave(&phy_lock, flags); in tsi108_kill_phy()
1287 spin_unlock_irqrestore(&phy_lock, flags); in tsi108_kill_phy()
/linux-4.4.14/drivers/dma/
Dmmp_pdma.c131 spinlock_t phy_lock; /* protect alloc/free phy channels */ member
253 spin_lock_irqsave(&pdev->phy_lock, flags); in lookup_phy()
268 spin_unlock_irqrestore(&pdev->phy_lock, flags); in lookup_phy()
285 spin_lock_irqsave(&pdev->phy_lock, flags); in mmp_pdma_free_phy()
288 spin_unlock_irqrestore(&pdev->phy_lock, flags); in mmp_pdma_free_phy()
1014 spin_lock_init(&pdev->phy_lock); in mmp_pdma_probe()
Dpxa_dma.c128 spinlock_t phy_lock; /* Phy association */ member
437 spin_lock_irqsave(&pdev->phy_lock, flags); in lookup_phy()
456 spin_unlock_irqrestore(&pdev->phy_lock, flags); in lookup_phy()
482 spin_lock_irqsave(&pdev->phy_lock, flags); in pxad_free_phy()
488 spin_unlock_irqrestore(&pdev->phy_lock, flags); in pxad_free_phy()
1159 spin_lock(&pdev->phy_lock); in pxad_terminate_all()
1161 spin_unlock(&pdev->phy_lock); in pxad_terminate_all()
1400 spin_lock_init(&pdev->phy_lock); in pxad_probe()
/linux-4.4.14/drivers/infiniband/hw/nes/
Dnes_utils.c767 spin_lock_irqsave(&nesadapter->phy_lock, flags); in nes_mh_fix()
769 spin_unlock_irqrestore(&nesadapter->phy_lock, flags); in nes_mh_fix()
773 spin_unlock_irqrestore(&nesadapter->phy_lock, flags); in nes_mh_fix()
889 spin_lock_irqsave(&nesadapter->phy_lock, flags); in nes_clc()
894 spin_unlock_irqrestore(&nesadapter->phy_lock, flags); in nes_clc()
Dnes_nic.c244 spin_lock_irqsave(&nesdev->nesadapter->phy_lock, flags); in nes_netdev_open()
250 spin_unlock_irqrestore(&nesdev->nesadapter->phy_lock, flags); in nes_netdev_open()
1510 spin_lock_irqsave(&nesadapter->phy_lock, flags); in nes_netdev_get_settings()
1512 spin_unlock_irqrestore(&nesadapter->phy_lock, flags); in nes_netdev_get_settings()
1557 spin_lock_irqsave(&nesadapter->phy_lock, flags); in nes_netdev_set_settings()
1567 spin_unlock_irqrestore(&nesadapter->phy_lock, flags); in nes_netdev_set_settings()
1594 spin_lock_irqsave(&nesadapter->phy_lock, flags); in nes_vlan_mode()
1606 spin_unlock_irqrestore(&nesadapter->phy_lock, flags); in nes_vlan_mode()
1798 spin_lock_irqsave(&nesdev->nesadapter->phy_lock, flags); in nes_netdev_init()
1811 spin_unlock_irqrestore(&nesdev->nesadapter->phy_lock, flags); in nes_netdev_init()
Dnes_hw.c531 spin_lock_init(&nesadapter->phy_lock); in nes_init_adapter()
565 spin_lock_irqsave(&nesadapter->phy_lock, flags); in nes_init_adapter()
574 spin_unlock_irqrestore(&nesadapter->phy_lock, flags); in nes_init_adapter()
589 spin_lock_irqsave(&nesadapter->phy_lock, flags); in nes_init_adapter()
599 spin_unlock_irqrestore(&nesadapter->phy_lock, flags); in nes_init_adapter()
1535 spin_lock_irqsave(&nesdev->nesadapter->phy_lock, flags); in nes_init_phy()
1548 spin_unlock_irqrestore(&nesdev->nesadapter->phy_lock, flags); in nes_init_phy()
2478 spin_lock_irqsave(&nesadapter->phy_lock, flags); in nes_process_mac_intr()
2480 spin_unlock_irqrestore(&nesadapter->phy_lock, flags); in nes_process_mac_intr()
2687 spin_unlock_irqrestore(&nesadapter->phy_lock, flags); in nes_process_mac_intr()
[all …]
Dnes.c813 spin_lock_irqsave(&nesdev->nesadapter->phy_lock, flags); in nes_remove()
815 spin_unlock_irqrestore(&nesdev->nesadapter->phy_lock, flags); in nes_remove()
818 spin_unlock_irqrestore(&nesdev->nesadapter->phy_lock, flags); in nes_remove()
Dnes_hw.h1074 spinlock_t phy_lock; member
/linux-4.4.14/drivers/net/ethernet/
Djme.c1641 spin_lock_bh(&jme->phy_lock); in jme_restart_an()
1645 spin_unlock_bh(&jme->phy_lock); in jme_restart_an()
2559 spin_lock_bh(&jme->phy_lock); in jme_get_pauseparam()
2561 spin_unlock_bh(&jme->phy_lock); in jme_get_pauseparam()
2598 spin_lock_bh(&jme->phy_lock); in jme_set_pauseparam()
2611 spin_unlock_bh(&jme->phy_lock); in jme_set_pauseparam()
2665 spin_lock_bh(&jme->phy_lock); in jme_get_settings()
2667 spin_unlock_bh(&jme->phy_lock); in jme_get_settings()
2691 spin_lock_bh(&jme->phy_lock); in jme_set_settings()
2693 spin_unlock_bh(&jme->phy_lock); in jme_set_settings()
[all …]
Djme.h421 spinlock_t phy_lock; member
/linux-4.4.14/drivers/net/ethernet/marvell/
Dskge.c685 spin_lock_bh(&hw->phy_lock); in skge_led()
756 spin_unlock_bh(&hw->phy_lock); in skge_led()
1499 spin_lock_irqsave(&hw->phy_lock, flags); in xm_link_timer()
1521 spin_unlock_irqrestore(&hw->phy_lock, flags); in xm_link_timer()
2421 spin_lock_bh(&hw->phy_lock); in skge_phy_reset()
2429 spin_unlock_bh(&hw->phy_lock); in skge_phy_reset()
2452 spin_lock_bh(&hw->phy_lock); in skge_ioctl()
2458 spin_unlock_bh(&hw->phy_lock); in skge_ioctl()
2464 spin_lock_bh(&hw->phy_lock); in skge_ioctl()
2471 spin_unlock_bh(&hw->phy_lock); in skge_ioctl()
[all …]
Dsky2.c811 spin_lock_bh(&sky2->phy_lock); in sky2_phy_reinit()
814 spin_unlock_bh(&sky2->phy_lock); in sky2_phy_reinit()
841 spin_lock_bh(&sky2->phy_lock); in sky2_wol_init()
844 spin_unlock_bh(&sky2->phy_lock); in sky2_wol_init()
940 spin_lock_bh(&sky2->phy_lock); in sky2_mac_init()
943 spin_unlock_bh(&sky2->phy_lock); in sky2_mac_init()
1397 spin_lock_bh(&sky2->phy_lock); in sky2_ioctl()
1399 spin_unlock_bh(&sky2->phy_lock); in sky2_ioctl()
1406 spin_lock_bh(&sky2->phy_lock); in sky2_ioctl()
1409 spin_unlock_bh(&sky2->phy_lock); in sky2_ioctl()
[all …]
Dskge.h2425 spinlock_t phy_lock; member
Dsky2.h2224 spinlock_t phy_lock; member
/linux-4.4.14/drivers/net/ethernet/smsc/
Dsmsc9420.c71 spinlock_t phy_lock; member
124 spin_lock_irqsave(&pd->phy_lock, flags); in smsc9420_mii_read()
150 spin_unlock_irqrestore(&pd->phy_lock, flags); in smsc9420_mii_read()
162 spin_lock_irqsave(&pd->phy_lock, flags); in smsc9420_mii_write()
191 spin_unlock_irqrestore(&pd->phy_lock, flags); in smsc9420_mii_write()
1678 spin_lock_init(&pd->phy_lock); in smsc9420_probe()