Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/usb/phy/
Dphy.c30 static DEFINE_SPINLOCK(phy_lock);
449 spin_lock_irqsave(&phy_lock, flags); in usb_get_phy()
464 spin_unlock_irqrestore(&phy_lock, flags); in usb_get_phy()
500 spin_lock_irqsave(&phy_lock, flags); in devm_usb_get_phy_by_node()
522 spin_unlock_irqrestore(&phy_lock, flags); in devm_usb_get_phy_by_node()
633 spin_lock_irqsave(&phy_lock, flags); in usb_add_phy()
648 spin_unlock_irqrestore(&phy_lock, flags); in usb_add_phy()
678 spin_lock_irqsave(&phy_lock, flags); in usb_add_phy_dev()
680 spin_unlock_irqrestore(&phy_lock, flags); in usb_add_phy_dev()
696 spin_lock_irqsave(&phy_lock, flags); in usb_remove_phy()
[all …]
/Linux-v4.19/arch/arm/mach-mmp/
Ddevices.c118 static DEFINE_MUTEX(phy_lock);
220 mutex_lock(&phy_lock); in pxa_usb_phy_init()
223 mutex_unlock(&phy_lock); in pxa_usb_phy_init()
231 mutex_lock(&phy_lock); in pxa_usb_phy_deinit()
234 mutex_unlock(&phy_lock); in pxa_usb_phy_deinit()
/Linux-v4.19/drivers/nfc/st21nfca/
Di2c.c87 struct mutex phy_lock; member
243 mutex_lock(&phy->phy_lock); in st21nfca_hci_i2c_write()
249 mutex_unlock(&phy->phy_lock); in st21nfca_hci_i2c_write()
377 mutex_lock(&phy->phy_lock); in st21nfca_hci_i2c_read()
383 mutex_unlock(&phy->phy_lock); in st21nfca_hci_i2c_read()
536 mutex_init(&phy->phy_lock); in st21nfca_hci_i2c_probe()
/Linux-v4.19/drivers/net/ethernet/broadcom/
Dbnx2.c684 spin_lock_bh(&bp->phy_lock); in bnx2_netif_start()
687 spin_unlock_bh(&bp->phy_lock); in bnx2_netif_start()
1703 __releases(&bp->phy_lock) in bnx2_setup_remote_phy()
1704 __acquires(&bp->phy_lock) in bnx2_setup_remote_phy()
1753 spin_unlock_bh(&bp->phy_lock); in bnx2_setup_remote_phy()
1755 spin_lock_bh(&bp->phy_lock); in bnx2_setup_remote_phy()
1762 __releases(&bp->phy_lock) in bnx2_setup_serdes_phy()
1763 __acquires(&bp->phy_lock) in bnx2_setup_serdes_phy()
1850 spin_unlock_bh(&bp->phy_lock); in bnx2_setup_serdes_phy()
1852 spin_lock_bh(&bp->phy_lock); in bnx2_setup_serdes_phy()
[all …]
Dbnx2.h6842 spinlock_t phy_lock; member
/Linux-v4.19/drivers/net/ethernet/tundra/
Dtsi108_eth.c203 static DEFINE_SPINLOCK(phy_lock);
304 spin_lock_irqsave(&phy_lock, flags); in tsi108_check_phy()
372 spin_unlock_irqrestore(&phy_lock, flags); in tsi108_check_phy()
1231 spin_lock_irqsave(&phy_lock, flags); in tsi108_init_phy()
1272 spin_unlock_irqrestore(&phy_lock, flags); in tsi108_init_phy()
1274 spin_lock_irqsave(&phy_lock, flags); in tsi108_init_phy()
1281 spin_unlock_irqrestore(&phy_lock, flags); in tsi108_init_phy()
1289 spin_lock_irqsave(&phy_lock, flags); in tsi108_kill_phy()
1292 spin_unlock_irqrestore(&phy_lock, flags); in tsi108_kill_phy()
/Linux-v4.19/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()
1028 spin_lock_init(&pdev->phy_lock); in mmp_pdma_probe()
Dpxa_dma.c132 spinlock_t phy_lock; /* Phy association */ member
433 spin_lock_irqsave(&pdev->phy_lock, flags); in lookup_phy()
448 spin_unlock_irqrestore(&pdev->phy_lock, flags); in lookup_phy()
473 spin_lock_irqsave(&pdev->phy_lock, flags); in pxad_free_phy()
476 spin_unlock_irqrestore(&pdev->phy_lock, flags); in pxad_free_phy()
1160 spin_lock(&pdev->phy_lock); in pxad_terminate_all()
1162 spin_unlock(&pdev->phy_lock); in pxad_terminate_all()
1418 spin_lock_init(&pdev->phy_lock); in pxad_probe()
/Linux-v4.19/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()
888 spin_lock_irqsave(&nesadapter->phy_lock, flags); in nes_clc()
893 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()
1496 spin_lock_irqsave(&nesadapter->phy_lock, flags); in nes_netdev_get_link_ksettings()
1498 spin_unlock_irqrestore(&nesadapter->phy_lock, flags); in nes_netdev_get_link_ksettings()
1551 spin_lock_irqsave(&nesadapter->phy_lock, flags); in nes_netdev_set_link_ksettings()
1561 spin_unlock_irqrestore(&nesadapter->phy_lock, flags); in nes_netdev_set_link_ksettings()
1588 spin_lock_irqsave(&nesadapter->phy_lock, flags); in nes_vlan_mode()
1600 spin_unlock_irqrestore(&nesadapter->phy_lock, flags); in nes_vlan_mode()
1790 spin_lock_irqsave(&nesdev->nesadapter->phy_lock, flags); in nes_netdev_init()
1803 spin_unlock_irqrestore(&nesdev->nesadapter->phy_lock, flags); in nes_netdev_init()
Dnes_hw.c522 spin_lock_init(&nesadapter->phy_lock); in nes_init_adapter()
556 spin_lock_irqsave(&nesadapter->phy_lock, flags); in nes_init_adapter()
565 spin_unlock_irqrestore(&nesadapter->phy_lock, flags); in nes_init_adapter()
580 spin_lock_irqsave(&nesadapter->phy_lock, flags); in nes_init_adapter()
590 spin_unlock_irqrestore(&nesadapter->phy_lock, flags); in nes_init_adapter()
1521 spin_lock_irqsave(&nesdev->nesadapter->phy_lock, flags); in nes_init_phy()
1534 spin_unlock_irqrestore(&nesdev->nesadapter->phy_lock, flags); in nes_init_phy()
2436 spin_lock_irqsave(&nesadapter->phy_lock, flags); in nes_process_mac_intr()
2438 spin_unlock_irqrestore(&nesadapter->phy_lock, flags); in nes_process_mac_intr()
2645 spin_unlock_irqrestore(&nesadapter->phy_lock, flags); in nes_process_mac_intr()
[all …]
Dnes.c790 spin_lock_irqsave(&nesdev->nesadapter->phy_lock, flags); in nes_remove()
792 spin_unlock_irqrestore(&nesdev->nesadapter->phy_lock, flags); in nes_remove()
795 spin_unlock_irqrestore(&nesdev->nesadapter->phy_lock, flags); in nes_remove()
Dnes_hw.h1070 spinlock_t phy_lock; member
/Linux-v4.19/drivers/net/ethernet/
Djme.c1632 spin_lock_bh(&jme->phy_lock); in jme_restart_an()
1636 spin_unlock_bh(&jme->phy_lock); in jme_restart_an()
2511 spin_lock_bh(&jme->phy_lock); in jme_get_pauseparam()
2513 spin_unlock_bh(&jme->phy_lock); in jme_get_pauseparam()
2550 spin_lock_bh(&jme->phy_lock); in jme_set_pauseparam()
2563 spin_unlock_bh(&jme->phy_lock); in jme_set_pauseparam()
2616 spin_lock_bh(&jme->phy_lock); in jme_get_link_ksettings()
2618 spin_unlock_bh(&jme->phy_lock); in jme_get_link_ksettings()
2642 spin_lock_bh(&jme->phy_lock); in jme_set_link_ksettings()
2644 spin_unlock_bh(&jme->phy_lock); in jme_set_link_ksettings()
[all …]
Djme.h421 spinlock_t phy_lock; member
/Linux-v4.19/drivers/net/ethernet/marvell/
Dskge.c696 spin_lock_bh(&hw->phy_lock); in skge_led()
767 spin_unlock_bh(&hw->phy_lock); in skge_led()
1510 spin_lock_irqsave(&hw->phy_lock, flags); in xm_link_timer()
1532 spin_unlock_irqrestore(&hw->phy_lock, flags); in xm_link_timer()
2432 spin_lock_bh(&hw->phy_lock); in skge_phy_reset()
2440 spin_unlock_bh(&hw->phy_lock); in skge_phy_reset()
2463 spin_lock_bh(&hw->phy_lock); in skge_ioctl()
2469 spin_unlock_bh(&hw->phy_lock); in skge_ioctl()
2475 spin_lock_bh(&hw->phy_lock); in skge_ioctl()
2482 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 …]
Dsky2.h2225 spinlock_t phy_lock; member
Dskge.h2426 spinlock_t phy_lock; member
/Linux-v4.19/drivers/net/ethernet/smsc/
Dsmsc9420.c71 spinlock_t phy_lock; member
122 spin_lock_irqsave(&pd->phy_lock, flags); in smsc9420_mii_read()
148 spin_unlock_irqrestore(&pd->phy_lock, flags); in smsc9420_mii_read()
160 spin_lock_irqsave(&pd->phy_lock, flags); in smsc9420_mii_write()
189 spin_unlock_irqrestore(&pd->phy_lock, flags); in smsc9420_mii_write()
1633 spin_lock_init(&pd->phy_lock); in smsc9420_probe()