Home
last modified time | relevance | path

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

/Linux-v5.4/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-v5.4/arch/arm/mach-mmp/
Ddevices.c115 static DEFINE_MUTEX(phy_lock);
217 mutex_lock(&phy_lock); in pxa_usb_phy_init()
220 mutex_unlock(&phy_lock); in pxa_usb_phy_init()
228 mutex_lock(&phy_lock); in pxa_usb_phy_deinit()
231 mutex_unlock(&phy_lock); in pxa_usb_phy_deinit()
/Linux-v5.4/drivers/nfc/st21nfca/
Di2c.c76 struct mutex phy_lock; member
232 mutex_lock(&phy->phy_lock); in st21nfca_hci_i2c_write()
238 mutex_unlock(&phy->phy_lock); in st21nfca_hci_i2c_write()
366 mutex_lock(&phy->phy_lock); in st21nfca_hci_i2c_read()
372 mutex_unlock(&phy->phy_lock); in st21nfca_hci_i2c_read()
525 mutex_init(&phy->phy_lock); in st21nfca_hci_i2c_probe()
/Linux-v5.4/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-v5.4/drivers/net/ethernet/tundra/
Dtsi108_eth.c191 static DEFINE_SPINLOCK(phy_lock);
292 spin_lock_irqsave(&phy_lock, flags); in tsi108_check_phy()
360 spin_unlock_irqrestore(&phy_lock, flags); in tsi108_check_phy()
1220 spin_lock_irqsave(&phy_lock, flags); in tsi108_init_phy()
1261 spin_unlock_irqrestore(&phy_lock, flags); in tsi108_init_phy()
1263 spin_lock_irqsave(&phy_lock, flags); in tsi108_init_phy()
1270 spin_unlock_irqrestore(&phy_lock, flags); in tsi108_init_phy()
1278 spin_lock_irqsave(&phy_lock, flags); in tsi108_kill_phy()
1281 spin_unlock_irqrestore(&phy_lock, flags); in tsi108_kill_phy()
/Linux-v5.4/drivers/dma/
Dmmp_pdma.c129 spinlock_t phy_lock; /* protect alloc/free phy channels */ member
255 spin_lock_irqsave(&pdev->phy_lock, flags); in lookup_phy()
270 spin_unlock_irqrestore(&pdev->phy_lock, flags); in lookup_phy()
287 spin_lock_irqsave(&pdev->phy_lock, flags); in mmp_pdma_free_phy()
290 spin_unlock_irqrestore(&pdev->phy_lock, flags); in mmp_pdma_free_phy()
1043 spin_lock_init(&pdev->phy_lock); in mmp_pdma_probe()
Dpxa_dma.c129 spinlock_t phy_lock; /* Phy association */ member
384 spin_lock_irqsave(&pdev->phy_lock, flags); in lookup_phy()
399 spin_unlock_irqrestore(&pdev->phy_lock, flags); in lookup_phy()
424 spin_lock_irqsave(&pdev->phy_lock, flags); in pxad_free_phy()
427 spin_unlock_irqrestore(&pdev->phy_lock, flags); in pxad_free_phy()
1111 spin_lock(&pdev->phy_lock); in pxad_terminate_all()
1113 spin_unlock(&pdev->phy_lock); in pxad_terminate_all()
1368 spin_lock_init(&pdev->phy_lock); in pxad_probe()
/Linux-v5.4/drivers/net/ethernet/
Djme.c1613 spin_lock_bh(&jme->phy_lock); in jme_restart_an()
1617 spin_unlock_bh(&jme->phy_lock); in jme_restart_an()
2490 spin_lock_bh(&jme->phy_lock); in jme_get_pauseparam()
2492 spin_unlock_bh(&jme->phy_lock); in jme_get_pauseparam()
2529 spin_lock_bh(&jme->phy_lock); in jme_set_pauseparam()
2542 spin_unlock_bh(&jme->phy_lock); in jme_set_pauseparam()
2595 spin_lock_bh(&jme->phy_lock); in jme_get_link_ksettings()
2597 spin_unlock_bh(&jme->phy_lock); in jme_get_link_ksettings()
2621 spin_lock_bh(&jme->phy_lock); in jme_set_link_ksettings()
2623 spin_unlock_bh(&jme->phy_lock); in jme_set_link_ksettings()
[all …]
Djme.h408 spinlock_t phy_lock; member
/Linux-v5.4/drivers/net/ethernet/marvell/
Dskge.c686 spin_lock_bh(&hw->phy_lock); in skge_led()
757 spin_unlock_bh(&hw->phy_lock); in skge_led()
1500 spin_lock_irqsave(&hw->phy_lock, flags); in xm_link_timer()
1522 spin_unlock_irqrestore(&hw->phy_lock, flags); in xm_link_timer()
2422 spin_lock_bh(&hw->phy_lock); in skge_phy_reset()
2430 spin_unlock_bh(&hw->phy_lock); in skge_phy_reset()
2453 spin_lock_bh(&hw->phy_lock); in skge_ioctl()
2459 spin_unlock_bh(&hw->phy_lock); in skge_ioctl()
2465 spin_lock_bh(&hw->phy_lock); in skge_ioctl()
2472 spin_unlock_bh(&hw->phy_lock); in skge_ioctl()
[all …]
Dsky2.c800 spin_lock_bh(&sky2->phy_lock); in sky2_phy_reinit()
803 spin_unlock_bh(&sky2->phy_lock); in sky2_phy_reinit()
830 spin_lock_bh(&sky2->phy_lock); in sky2_wol_init()
833 spin_unlock_bh(&sky2->phy_lock); in sky2_wol_init()
929 spin_lock_bh(&sky2->phy_lock); in sky2_mac_init()
932 spin_unlock_bh(&sky2->phy_lock); in sky2_mac_init()
1382 spin_lock_bh(&sky2->phy_lock); in sky2_ioctl()
1384 spin_unlock_bh(&sky2->phy_lock); in sky2_ioctl()
1391 spin_lock_bh(&sky2->phy_lock); in sky2_ioctl()
1394 spin_unlock_bh(&sky2->phy_lock); in sky2_ioctl()
[all …]
Dskge.h2426 spinlock_t phy_lock; member
Dsky2.h2225 spinlock_t phy_lock; member
/Linux-v5.4/drivers/net/ethernet/smsc/
Dsmsc9420.c59 spinlock_t phy_lock; member
110 spin_lock_irqsave(&pd->phy_lock, flags); in smsc9420_mii_read()
136 spin_unlock_irqrestore(&pd->phy_lock, flags); in smsc9420_mii_read()
148 spin_lock_irqsave(&pd->phy_lock, flags); in smsc9420_mii_write()
177 spin_unlock_irqrestore(&pd->phy_lock, flags); in smsc9420_mii_write()
1621 spin_lock_init(&pd->phy_lock); in smsc9420_probe()