Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/usb/phy/
Dphy.c30 static DEFINE_SPINLOCK(phy_lock);
155 spin_lock_irqsave(&phy_lock, flags); in usb_phy_uevent()
157 spin_unlock_irqrestore(&phy_lock, flags); in usb_phy_uevent()
498 spin_lock_irqsave(&phy_lock, flags); in usb_get_phy()
513 spin_unlock_irqrestore(&phy_lock, flags); in usb_get_phy()
549 spin_lock_irqsave(&phy_lock, flags); in devm_usb_get_phy_by_node()
571 spin_unlock_irqrestore(&phy_lock, flags); in devm_usb_get_phy_by_node()
682 spin_lock_irqsave(&phy_lock, flags); in usb_add_phy()
697 spin_unlock_irqrestore(&phy_lock, flags); in usb_add_phy()
734 spin_lock_irqsave(&phy_lock, flags); in usb_add_phy_dev()
[all …]
/Linux-v5.15/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.15/drivers/nfc/st21nfca/
Di2c.c74 struct mutex phy_lock; member
230 mutex_lock(&phy->phy_lock); in st21nfca_hci_i2c_write()
236 mutex_unlock(&phy->phy_lock); in st21nfca_hci_i2c_write()
364 mutex_lock(&phy->phy_lock); in st21nfca_hci_i2c_read()
370 mutex_unlock(&phy->phy_lock); in st21nfca_hci_i2c_read()
520 mutex_init(&phy->phy_lock); in st21nfca_hci_i2c_probe()
/Linux-v5.15/drivers/net/ethernet/broadcom/
Dbnx2.c678 spin_lock_bh(&bp->phy_lock); in bnx2_netif_start()
681 spin_unlock_bh(&bp->phy_lock); in bnx2_netif_start()
1697 __releases(&bp->phy_lock) in bnx2_setup_remote_phy()
1698 __acquires(&bp->phy_lock) in bnx2_setup_remote_phy()
1747 spin_unlock_bh(&bp->phy_lock); in bnx2_setup_remote_phy()
1749 spin_lock_bh(&bp->phy_lock); in bnx2_setup_remote_phy()
1756 __releases(&bp->phy_lock) in bnx2_setup_serdes_phy()
1757 __acquires(&bp->phy_lock) in bnx2_setup_serdes_phy()
1844 spin_unlock_bh(&bp->phy_lock); in bnx2_setup_serdes_phy()
1846 spin_lock_bh(&bp->phy_lock); in bnx2_setup_serdes_phy()
[all …]
Dbnx2.h6842 spinlock_t phy_lock; member
/Linux-v5.15/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.15/drivers/dma/
Dmmp_pdma.c128 spinlock_t phy_lock; /* protect alloc/free phy channels */ member
254 spin_lock_irqsave(&pdev->phy_lock, flags); in lookup_phy()
269 spin_unlock_irqrestore(&pdev->phy_lock, flags); in lookup_phy()
286 spin_lock_irqsave(&pdev->phy_lock, flags); in mmp_pdma_free_phy()
289 spin_unlock_irqrestore(&pdev->phy_lock, flags); in mmp_pdma_free_phy()
1044 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()
1110 spin_lock(&pdev->phy_lock); in pxad_terminate_all()
1112 spin_unlock(&pdev->phy_lock); in pxad_terminate_all()
1367 spin_lock_init(&pdev->phy_lock); in pxad_probe()
/Linux-v5.15/drivers/net/ethernet/
Djme.c1604 spin_lock_bh(&jme->phy_lock); in jme_restart_an()
1608 spin_unlock_bh(&jme->phy_lock); in jme_restart_an()
2467 spin_lock_bh(&jme->phy_lock); in jme_get_pauseparam()
2469 spin_unlock_bh(&jme->phy_lock); in jme_get_pauseparam()
2506 spin_lock_bh(&jme->phy_lock); in jme_set_pauseparam()
2519 spin_unlock_bh(&jme->phy_lock); in jme_set_pauseparam()
2572 spin_lock_bh(&jme->phy_lock); in jme_get_link_ksettings()
2574 spin_unlock_bh(&jme->phy_lock); in jme_get_link_ksettings()
2598 spin_lock_bh(&jme->phy_lock); in jme_set_link_ksettings()
2600 spin_unlock_bh(&jme->phy_lock); in jme_set_link_ksettings()
[all …]
Djme.h408 spinlock_t phy_lock; member
/Linux-v5.15/drivers/net/ethernet/marvell/
Dskge.c690 spin_lock_bh(&hw->phy_lock); in skge_led()
761 spin_unlock_bh(&hw->phy_lock); in skge_led()
1505 spin_lock_irqsave(&hw->phy_lock, flags); in xm_link_timer()
1527 spin_unlock_irqrestore(&hw->phy_lock, flags); in xm_link_timer()
2427 spin_lock_bh(&hw->phy_lock); in skge_phy_reset()
2435 spin_unlock_bh(&hw->phy_lock); in skge_phy_reset()
2458 spin_lock_bh(&hw->phy_lock); in skge_ioctl()
2464 spin_unlock_bh(&hw->phy_lock); in skge_ioctl()
2470 spin_lock_bh(&hw->phy_lock); in skge_ioctl()
2477 spin_unlock_bh(&hw->phy_lock); in skge_ioctl()
[all …]
Dsky2.c801 spin_lock_bh(&sky2->phy_lock); in sky2_phy_reinit()
804 spin_unlock_bh(&sky2->phy_lock); in sky2_phy_reinit()
831 spin_lock_bh(&sky2->phy_lock); in sky2_wol_init()
834 spin_unlock_bh(&sky2->phy_lock); in sky2_wol_init()
930 spin_lock_bh(&sky2->phy_lock); in sky2_mac_init()
933 spin_unlock_bh(&sky2->phy_lock); in sky2_mac_init()
1384 spin_lock_bh(&sky2->phy_lock); in sky2_ioctl()
1386 spin_unlock_bh(&sky2->phy_lock); in sky2_ioctl()
1393 spin_lock_bh(&sky2->phy_lock); in sky2_ioctl()
1396 spin_unlock_bh(&sky2->phy_lock); in sky2_ioctl()
[all …]
Dskge.h2420 spinlock_t phy_lock; member
Dsky2.h2219 spinlock_t phy_lock; member
/Linux-v5.15/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()
1598 spin_lock_init(&pd->phy_lock); in smsc9420_probe()